/* ==============================================
   FARIZON — About Page (Про нас)
   assets/css/pages/about.css
   Шрифти: Roboto Flex (заголовки) / Helvetica (текст)
   Кольори: успадковуємо з farizon.css
   ============================================== */

/* ── BASE ──────────────────────────────────── */
.ab-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #191919;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 13px 32px;
  border-radius: 31px;
  text-decoration: none;
  transition: background .22s, color .22s;
  white-space: nowrap;
}

.ab-btn-primary:hover {
  background: #dfb66f;
  color: #191919;
}

/* Кнопка в hero — біла з чорним текстом */
.ab-hero .ab-btn-outline {
  background: #fff;
  color: #191919;
  border-color: #fff;
  padding: 10px 24px;
  border-radius: 31px;
  font-size: 14px;
  border-width: 1.5px;
}

.ab-hero .ab-btn-outline:hover {
  background: #dfb66f;
  border-color: #dfb66f;
  color: #191919;
}

.ab-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 32px;
  border: 2px solid #fff;
  border-radius: 31px;
  text-decoration: none;
  transition: background .22s, color .22s;
  white-space: nowrap;
}

.ab-btn-outline:hover {
  background: #fff;
  color: #191919;
}

.ab-center {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ── HERO ──────────────────────────────────── */
.ab-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: #191919;
  overflow: hidden;
}

.ab-hero__bg {
  position: absolute;
  inset: 0;
}

.ab-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ab-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(25, 25, 25, .85) 0%, rgba(25, 25, 25, .35) 60%, transparent 100%);
}

.ab-hero__content {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 80px;
  /* Без обмежень — текст зліва, контейнер тримає відступи */
  width: 100%;
}

.ab-hero__title {
  font-family: 'Roboto Flex', Helvetica, sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.1;
  color: #fff;
  margin: 0 0 32px;
  text-align: left;
  max-width: 600px;
  /* обмежуємо ширину тексту — решта для фото */
}

/* ── SECTIONS ──────────────────────────────── */
.ab-section {
  padding: 100px 0;
}

.ab-section--light {
  background: #191919;
}

.ab-section--dark {
  background: #141414;
}

.ab-section--innov {
  background: #191919;
  padding: 0;
}

.ab-section--white {
  background: #ffffff;
}

.ab-section--white .ab-section__title {
  color: #191919;
}

.ab-section--white .ab-section__body {
  color: rgba(25, 25, 25, 0.75);
}

.ab-section--white .ab-section__body p {
  color: rgba(25, 25, 25, 0.75);
}

.ab-section__title {
  font-family: 'Roboto Flex', Helvetica, sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.8vw, 40px);
  line-height: 1.2;
  color: #fff;
  margin: 0 0 24px;
}

.ab-section__title--center {
  text-align: center;
  margin-bottom: 48px;
}

.ab-section__subtitle {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .65);
  text-align: center;
  max-width: 640px;
  margin: -32px auto 48px;
}

.ab-section__body {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: rgb(255 255 255);
}

.ab-section__body strong {
  font-weight: 700;
}

.ab-section__body p {
  margin: 0 0 16px;
}

.ab-section__body p:last-child {
  margin: 0;
}

/* ── TWO COL ────────────────────────────────── */
.ab-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Вузька ліва колонка — 1/3 заголовок + 2/3 текст (секція Geely) */
.ab-two-col--narrow-left {
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

/* Зображення приклеєне до лівого краю — без відступів (секція Інновації) */
.ab-two-col--bleed-left {
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.ab-two-col--bleed-left .ab-two-col__image {
  border-radius: 0;
  aspect-ratio: auto;
  min-height: 480px;
  margin-left: calc(-1 * (60vw - 100%) / 2);
  position: relative;
  height: 70%;
  margin-top: auto;
  margin-bottom: auto;
}

/* Градієнт з усіх 4 сторін — зливає краї картинки з фоном */
.ab-two-col--bleed-left .ab-two-col__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, #191919 0%, transparent 25%, transparent 75%, #191919 100%),
    linear-gradient(to bottom, #191919 0%, transparent 20%, transparent 80%, #191919 100%);
  pointer-events: none;
}

.ab-two-col--bleed-left .ab-two-col__text {
  padding: 80px 0 80px 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

.ab-section--reverse .ab-two-col {}

.ab-two-col__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ab-two-col__image {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.ab-two-col__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.ab-two-col__image:hover img {
  transform: scale(1.02);
}

/* Multiple images (platforms) */
.ab-two-col__images {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ab-two-col__images-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.ab-two-col__images-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── CHECKLIST з золотою галочкою ──────────── */
.ab-checklist {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ab-checklist li {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  /* checklist items */
  padding-left: 36px;
  position: relative;
}

.ab-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none'%3E%3Ccircle cx='11' cy='11' r='11' fill='%23dfb66f'/%3E%3Cpath d='M6 11.5l3.5 3.5 6.5-7' stroke='%23191919' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* ── BG IMAGE SECTION (Надійність) ─────────── */
.ab-section--bg-image {
  position: relative;
  background-image: var(--bg-desktop);
  background-size: cover;
  background-position: center;
  background-color: #191919;
  padding: 80px 0;
  /* Ефект накладання — наступна секція заїжджає під цю */
  z-index: 1;
}

/* М'який градієнт зліва — починається не з чорного а з напівпрозорого */
.ab-section--bg-image__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(25, 25, 25, 0.75) 0%,
      rgba(25, 25, 25, 0.55) 25%,
      rgba(25, 25, 25, 0.2) 50%,
      transparent 70%);
  pointer-events: none;
}

.ab-section--bg-image__content {
  position: relative;
  z-index: 1;
  max-width: 750px;
  margin-left: 0;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* WYSIWYG вміст — стилізуємо списки і параграфи */
.ab-section__body--wysiwyg ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ab-section__body--wysiwyg ul li {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  padding-left: 36px;
  position: relative;
}

.ab-section__body--wysiwyg ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none'%3E%3Ccircle cx='11' cy='11' r='11' fill='%23dfb66f'/%3E%3Cpath d='M6 11.5l3.5 3.5 6.5-7' stroke='%23191919' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.ab-section__body--wysiwyg p {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255);
  margin: 0 0 16px;
}

.ab-section__body--wysiwyg p:last-child {
  margin: 0;
}

/* ── WHY SECTION (світла) ──────────────────── */
.ab-section--why {
  background: #F9F9F9;
  padding: 100px 0;
}

/* Заголовок і підзаголовок на світлому фоні — ліво */
.ab-section__title--dark {
  color: #191919;
}

.ab-section__subtitle--dark {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(25, 25, 25, 0.65);
  text-align: left;
  margin: -10px 0 48px;
}

/* Кнопка на світлому фоні — темна, компактна */
.ab-btn-primary--dark {
  background: #191919;
  color: #fff;
  padding: 10px 24px;
  font-size: 14px;
  border-radius: 31px;
}

/* Кнопка в CTA банері — ~40px висота */
.ab-cta-banner .ab-btn-primary {
  padding: 9px 28px;
  font-size: 14px;
  border-radius: 31px;
}

.ab-btn-primary--dark:hover {
  background: #dfb66f;
  color: #191919;
}

/* ── WHY GRID (4 col) ──────────────────────── */
.ab-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 0;
  margin-bottom: 32px;
  /* відступ між блоками і кнопкою */
}

.ab-why-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Картка — білий фон з бордером */
.ab-why-card--light {
  background: #ffffff;
  border: 1px solid rgba(25, 25, 25, 0.10);
  border-radius: 12px;
  padding: 24px;
  gap: 14px;
}

.ab-why-card--light .ab-why-card__title {
  color: #191919;
}

/* Іконка — менша, з сірим box-shadow */
.ab-why-card--light .ab-why-card__icon {
  width: 40px;
  height: 40px;
  background: #ffffff;
  border: 1px solid rgba(25, 25, 25, 0.10);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  margin-bottom: 6px;
  flex-shrink: 0;
}

.ab-why-card--light .ab-why-card__icon img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.ab-why-card__subtitle {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: #191919;
  margin: 0;
}

.ab-why-card__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.ab-why-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ab-why-card__icon-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #222;
}

.ab-why-card__title {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  color: #fff;
  margin: 0;
}

.ab-why-card__text {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .65);
  margin: 0;
}

/* ── CTA BANNER ─────────────────────────────── */
.ab-cta-banner {
  position: relative;
  z-index: 2;
  padding: 120px 0;
  background-size: cover;
  background-position: center;
  background-color: #191919;
}

.ab-cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(25, 25, 25, .72);
}

.ab-cta-banner .container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.ab-cta-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  width: 50%;
  margin: 0 auto;
}

.ab-cta-banner__title {
  font-family: 'Roboto Flex', Helvetica, sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1.15;
  color: #fff;
  margin: 0;
}

/* WYSIWYG в CTA банері */
.ab-cta-banner__wysiwyg {
  width: 100%;
}

.ab-cta-banner__wysiwyg h1,
.ab-cta-banner__wysiwyg h2,
.ab-cta-banner__wysiwyg h3 {
  font-family: 'Roboto Flex', Helvetica, sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.5vw, 40px);
  line-height: 1.2;
  color: #fff;
  margin: 0 0 12px;
}

.ab-cta-banner__wysiwyg p {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 8px;
}

.ab-cta-banner__wysiwyg strong {
  font-weight: 700;
  color: #fff;
}

/* Список в CTA — іконка рядом з текстом */
.ab-cta-banner__wysiwyg ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  /* inline щоб не розтягувати */
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.ab-cta-banner__wysiwyg ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  padding-left: 0;
  /* скидаємо падінг від загального стилю */
}

.ab-cta-banner__wysiwyg ul li::before {
  content: '';
  position: static;
  /* не absolute — в потоці */
  display: inline-block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none'%3E%3Ccircle cx='11' cy='11' r='11' fill='%23dfb66f'/%3E%3Cpath d='M6 11.5l3.5 3.5 6.5-7' stroke='%23191919' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  top: auto;
  left: auto;
}

/* ── AWARDS ─────────────────────────────────── */
.ab-awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}

.ab-award-card {
  background: #141414;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease;
}

.ab-award-card:hover {
  transform: translateY(-4px);
}

.ab-award-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #111;
}

.ab-award-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ab-award-card__title {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin: 0;
  padding: 20px 20px 8px;
}

.ab-award-card__desc {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
  margin: 0;
  padding: 0 20px 20px;
  line-height: 1.5;
}



/* ── RESPONSIVE 768px ──────────────────────── */
/* ── OPTIMIZATION SECTION ──────────────────── */
.ab-section--optim {
  background: #ffffff;
  padding: 0;
  /* без відступів — картинка займає повну висоту */
}

.ab-optim__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  /* 1/3 картинка + 2/3 текст */
  min-height: 560px;
  align-items: stretch;
}

/* Картинка — повністю притиснута до лівого краю */
.ab-optim__image {
  overflow: hidden;
}

.ab-optim__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left;
  display: block;
}

/* Текст — відступи як у container (120px зліва) */
.ab-optim__text {
  padding: 80px max(120px, calc((100vw - 1512px) / 2 + 120px)) 80px 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

/* Текст на білому фоні — темні кольори */
.ab-section__body--on-white {
  color: #191919;
}

.ab-section__body--on-white p {
  color: rgba(25, 25, 25, 0.75);
}

.ab-section__body--on-white strong {
  color: #191919;
  font-weight: 700;
}

.ab-section__body--on-white ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ab-section__body--on-white ul li {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #191919;
  padding-left: 36px;
  position: relative;
}

.ab-section__body--on-white ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none'%3E%3Ccircle cx='11' cy='11' r='11' fill='%23dfb66f'/%3E%3Cpath d='M6 11.5l3.5 3.5 6.5-7' stroke='%23191919' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* ── HISTORY SECTION ───────────────────────── */
.ab-section--history {
  background: #F9F9F9;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  padding: 0;
}

/* Текст — всередині .container, починається від лівого краю */
.ab-history__text {
  padding-top: 80px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 55%;
  /* обмежуємо ширину щоб не перекривало картинку */
  position: relative;
  z-index: 1;
  /* Явно зліва — без будь-якого центрування */
  margin-left: 0;
  margin-right: auto;
}

/* Картинка — абсолютна, права нижня без відступів */
.ab-history__image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.ab-history__image img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: right bottom;
}

/* Темний текст на світлому фоні */
.ab-section__body--dark {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(25, 25, 25, 0.75);
}

.ab-section__body--dark p {
  margin: 0 0 16px;
}

.ab-section__body--dark p:last-child {
  margin: 0;
}

.ab-section__body--dark strong {
  font-weight: 700;
  color: #191919;
}

/* ── MISSION SECTION ───────────────────────── */
.ab-section--mission {
  background: #191919;
  position: relative;
  /* для абсолютної картинки */
  padding: 0;
}

/* Картинка — абсолютна, займає ліву частину повністю */
.ab-mission__image {
  position: absolute;
  top: 0;
  left: max(120px, calc((100% - 1512px) / 2 + 120px));
  bottom: 0;
  width: 42%;
  overflow: hidden;
}

.ab-mission__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left;
  display: block;
}

/* Мобільне фото — приховане на десктопі */
.ab-mission__image .ab-mission__image-mobile {
  display: none !important;
}

.ab-mission__image .ab-mission__image-desktop {
  display: block;
}



/* Текст справа — його висота = висота секції */
.ab-mission__text-wrap {
  margin-left: calc(max(120px, (100% - 1512px) / 2 + 120px) + 36%);
  padding: 0 max(120px, calc((100% - 1512px) / 2 + 120px)) 0 80px;
}

.ab-mission__text {
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── AWARDS SECTION ────────────────────────── */
.ab-section--awards {
  background: #ffffff;
  padding: 100px 0;
}

.ab-section--awards .ab-section__title--dark {
  color: #191919;
}

.ab-awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.ab-award-card--light {
  background: #FDFDFD;
  border: 1px solid rgba(25, 25, 25, 0.10);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .25s ease;
}

.ab-award-card--light:hover {
  transform: translateY(-4px);
}

/* Іконка — білий квадрат з box-shadow */
.ab-award-card__img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  overflow: hidden;
}

.ab-award-card__img img {
  width: 65%;
  height: 65%;
  object-fit: contain;
  display: block;
}

.ab-award-card__title {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  color: #191919;
  margin: 0;
  padding: 20px 0px 8px;
}

.ab-award-card__subtitle {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(25, 25, 25, 0.6);
  margin: 0;
}

/* ── PLATFORMS SECTION (фон-зображення) ────── */
.ab-section--platforms {
  position: relative;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  background-color: #191919;
}

/* Градієнт зліва — текст читається, права частина відкрита */
.ab-section--platforms__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.90) 20%,
      rgba(0, 0, 0, 0.70) 45%,
      rgba(0, 0, 0, 0.20) 70%,
      transparent 85%);
  pointer-events: none;
}

/* Текст вирівнюється з лого через .container */
.ab-section--platforms__content {
  position: relative;
  z-index: 1;
  max-width: 65%;
  margin-left: 0;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── INTERNATIONAL RECOGNITION ─────────────── */
.ab-section--intl {
  background: #ffffff;
  display: flex;
  align-items: stretch;
  padding: 0;
  min-height: 480px;
}

/* Текст — ліва частина, відступи через container */
.ab-intl__text-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  /* Вирівнювання з лого — однакове з .container на будь-якому екрані */
  padding-left: max(120px, calc((100vw - 1512px) / 2 + 120px));
  padding-right: 40px;
}

.ab-intl__text {
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Картинка справа — без відступів справа і зверху/знизу */
.ab-intl__image {
  flex: 0 0 45%;
  overflow: hidden;
  position: relative;
}

.ab-intl__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  display: block;
}

/* ── EXPANSION SECTION ─────────────────────── */
.ab-section--expansion {
  position: relative;
  padding: 100px 0;
  background-color: #0e0e0e;
  background-size: contain;
  background-position: bottom;
  background-repeat: no-repeat;
}

.ab-expansion__overlay {
  position: absolute;
  inset: 0;
  background: rgba(25, 25, 25, 0.82);
  /* фото проглядає крізь темний оверлей */
  pointer-events: none;
}

.ab-expansion__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ab-expansion__content {
  text-align: center;
  /* все по центру */
}

.ab-section--expansion .ab-section__title {
  text-align: center;
}

.ab-expansion__subtitle {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
  max-width: 450px;
  margin: 0 auto 16px;
  text-align: center;
}

/* Три колонки */
.ab-expansion__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 16px 0;
}

/* Картка — центрований текст, темний фон */
.ab-expansion__card {
  background: #222222;
  border: 1px solid #313131;
  border-radius: 8px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

/* Іконка — квадрат 40×40 з золотим фоном */
.ab-expansion__card-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #DFB66F;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ab-expansion__card-icon img {
  width: 50%;
  height: 50%;
  object-fit: contain;
  display: block;
}

.ab-expansion__card-icon-placeholder {
  width: 40px;
  height: 40px;
  background: #313131;
  border-radius: 8px;
}

.ab-expansion__card-title {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  color: #ffffff;
  margin: 0;
}

.ab-expansion__card-subtitle {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.35;
  color: rgba(255, 255, 255);
  margin: 0;
}

/* Текст під колонками */
.ab-expansion__text {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: #ffffff;
  max-width: 580px;
  margin: 8px auto 0;
  text-align: center;
}

/* ── DIGITAL SOLUTIONS SECTION ─────────────── */
.ab-section--digital {
  background: #F9F9F9;
  display: flex;
  align-items: stretch;
  padding: 0;
  min-height: 480px;
  overflow: hidden;
  /* картинка може обрізатись справа */
}

/* Текст зліва — padding як у .container */
.ab-digital__text-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
  /* Лівий відступ = як у .container на будь-якому розмірі екрану */
  padding-left: max(120px, calc((100vw - 1512px) / 2 + 120px));
  padding-right: 40px;
}

.ab-digital__text {
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* Картинка справа — без відступів, може обрізатись */
.ab-digital__image {
  flex: 0 0 45%;
  overflow: hidden;
  position: relative;
  padding: 90px 0;
}

.ab-digital__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  /* обрізається справа */
  display: block;
}

/* Темний текст */
.ab-section--digital .ab-section__title--dark {
  color: #191919;
}

.ab-section--digital .ab-section__body--on-white {
  color: #191919;
}

.ab-section--digital .ab-section__body--on-white p {
  color: rgba(25, 25, 25, 0.75);
}

.ab-section--digital .ab-section__body--on-white strong {
  color: #191919;
}

.ab-section--digital .ab-section__body--on-white ul li {
  color: #191919;
}

/* ── LOGISTICS SECTION ─────────────────────── */
.ab-section--logistics {
  background: #ffffff;
  display: flex;
  align-items: stretch;
  padding: 0;
  min-height: 480px;
  overflow: hidden;
}

/* Картинка зліва — без відступу зліва, з відступами зверху/знизу */
.ab-logistics__image {
  flex: 0 0 45%;
  padding: 80px 0;
  /* тільки зверху/знизу */
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ab-logistics__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
}

/* Текст справа — вирівнюється з лого через max() */
.ab-logistics__text-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  padding-right: max(120px, calc((100vw - 1512px) / 2 + 120px));
  padding-left: 60px;
}

.ab-logistics__text {
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* ── BOTTOM MEDIA SECTION ──────────────────── */
.ab-section--bottom-media {
  position: relative;
  width: 100%;
  min-height: 560px;
  overflow: hidden;
}

/* Відео фон */
.ab-bottom-media__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Картинка фон */
.ab-bottom-media__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

/* ── SCROLL FADE-IN ANIMATION ───────────────── */
/* Базовий стан — прихований */
.ab-fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Активний стан — видимий */
.ab-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── SCROLL OVERLAP ANIMATION ──────────────── */
/* Наступна секція заїжджає ПІД секцію з фоном, а не зверху */
.ab-section--bg-image {
  position: sticky;
  top: 64px;
  /* висота хедера */
}

/* Секція що йде ПІСЛЯ — піднімається поверх */
.ab-section--bg-image~.ab-section {
  position: relative;
  z-index: 2;
}

/* ── LARGE SCREENS > 1512px ────────────────── */
@media (min-width: 1513px) {
  .ab-section--bg-image__content {
    max-width: 75%;
  }

  .ab-section--platforms__content {
    max-width: 75%;
  }

  .ab-mission__image {
    width: 20%;
  }

  .ab-mission__text-wrap {
    margin-left: calc(max(120px, (100% - 1512px) / 2 + 120px) + 20%);
  }

  .ab-logistics__image {
    max-height: 700px;
  }

  .ab-intl__image {
    max-height: 550px;
  }

  .ab-optim__image {
    max-height: 630px;
  }
}

@media (min-width: 1101px) and (max-width: 1350px) {
  .ab-hero {
    position: relative;
    min-height: 50vh;
  }

  .ab-two-col--bleed-left .ab-two-col__text {
    padding: 40px 0 40px 80px;
  }

  .ab-optim__text {
    padding: 40px max(120px, calc((100vw - 1512px) / 2 + 120px)) 40px 80px;
  }

  .ab-cta-banner__content {
    width: 65%
  }

  .ab-cta-banner {
    padding: 80px 0;
  }

  .ab-history__text {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .ab-mission__image img {
    object-fit: fill;
  }

  .ab-mission__image {
    width: 35%;
  }

  .ab-mission__text-wrap {
    margin-left: calc(max(120px, (100% - 1512px) / 2 + 120px) + 35%);
  }

  .ab-intl__text-wrap {
    padding-left: max(40px, calc((100vw - 1512px) / 2 + 120px));
  }

  .ab-digital__text-wrap {
    padding-left: max(40px, calc((100vw - 1512px) / 2 + 120px));
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .ab-hero {
    min-height: 50vh;
  }

  .ab-section {
    padding: 40px 0;
  }

  .ab-two-col--bleed-left .ab-two-col__text {
    padding: 0px 0 0px 20px;
  }

  .ab-optim__inner {
    min-height: 400px;
  }

  .ab-optim__text {
    padding: 0px max(24px, calc((100vw - 1512px) / 2 + 120px)) 0px 24px;
  }

  .ab-cta-banner {
    padding: 40px 0;
  }

  .ab-cta-banner__content {
    width: 65%;
  }

  .ab-history__text {
    padding-top: 0px;
    padding-bottom: 0px;
  }

  .ab-mission__text {
    padding: 0;
  }

  .ab-mission__text-wrap {
    margin-left: calc(max(120px, (100% - 1512px) / 2 + 120px) + 28%);
    padding: 0 max(20px, calc((100% - 1512px) / 2 + 120px)) 0 80px;
  }

  .ab-mission__image {
    left: max(24px, calc((100% - 1512px) / 2 + 120px));
  }

  .ab-mission__image img {
    object-fit: fill;
  }

  .ab-awards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ab-intl__text-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    padding-left: max(24px, calc((100vw - 1512px) / 2 + 120px));
  }

  .ab-intl__text {
    padding: 0;
  }

  .ab-digital__text {
    padding: 0;
  }

  .ab-digital__text-wrap {
    padding-left: max(24px, calc((100vw - 1512px) / 2 + 120px));
  }

  .ab-logistics__text {
    padding: 0;
  }

  .ab-logistics__text-wrap {
    padding-right: max(24px, calc((100vw - 1512px) / 2 + 20px));
  }
}

/* ── RESPONSIVE 1100px ─────────────────────── */
@media (max-width: 1100px) {
  .ab-two-col {
    gap: 48px;
  }

  .ab-why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .ab-hero__content {
    text-align: center;
  }

  .ab-mission__image .ab-mission__image-desktop {
    display: none !important;
  }

  .ab-mission__image .ab-mission__image-mobile {
    display: block !important;
  }

  .ab-section {
    padding: 64px 0;
  }

  .ab-hero {
    min-height: 70vh;
    align-items: center;
  }

  .ab-hero__content {
    padding-top: 100px;
    padding-bottom: 64px;
    max-width: 100%;
    /* на мобілці — повна ширина */
  }

  .ab-hero__title {
    font-size: clamp(24px, 7vw, 36px);
  }

  .ab-two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ab-two-col .ab-two-col__image {
    order: 1;
    margin-left: 0px;
  }

  .ab-two-col .ab-two-col__text {
    order: 0;
    padding: 0px;
  }

  .ab-why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .ab-awards-grid {
    grid-template-columns: 1fr;
  }

  .ab-cta-banner {
    padding: 80px 0;
  }

  .ab-cta-banner .ab-cta-banner__content {
    max-width: 100%;
    width: 100%;
    padding: 0px 24px !important;
  }

  .ab-section__title--center {
    text-align: left;
  }

  .ab-section__subtitle {
    text-align: left;
    margin-left: 0;
  }

  .ab-section--bg-image {
    background-image: var(--bg-mobile);
  }

  .ab-section--bg-image__content {
    margin-bottom: 440px;
  }

  .ab-optim__inner {
    grid-template-columns: unset;
    min-height: unset;
  }

  .ab-optim__image {
    order: 1;
    padding-right: 40%;
  }

  .ab-optim__text {
    padding: 0px max(24px, calc((100vw - 1512px) / 2 + 120px)) 20px 24px;
  }

  .ab-history__text {
    padding-top: 0px;
    padding-bottom: 40px;
    max-width: 100%;
  }

  .ab-section.ab-section--history {
    display: grid;
    padding-bottom: 0;
  }

  .ab-history__image {
    position: relative;
    order: 1;
    width: 100%;
  }

  .ab-section--mission {
    display: grid;
  }

  .ab-mission__image {
    position: relative;
    order: 1;
    width: 100%;
    padding: 0;
    left: 0;
  }

  .ab-mission__text-wrap {
    margin-left: 0;
    padding: 0px max(24px, calc((100vw - 1512px) / 2 + 120px));
  }

  .ab-mission__text {
    padding: 0;
    padding-bottom: 40px;
  }

  .ab-section--platforms {
    background-repeat: no-repeat;
    background-size: auto;
    background-position: bottom left;
  }

  .ab-section--platforms__content {
    max-width: 100%;
    padding-bottom: 440px;
  }

  .ab-section--platforms__overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.90) 40%, rgba(0, 0, 0, 0.70) 50%, rgba(0, 0, 0, 0.20) 80%, transparent 100%)
  }

  .ab-section--intl {
    min-height: unset;
    flex-direction: column;
  }

  .ab-intl__text-wrap {
    padding-left: max(24px, calc((100vw - 1512px) / 2 + 120px));
    padding-right: 24px;
  }

  .ab-intl__text {
    padding: 0px 0px 40px;
  }

  .ab-expansion__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .ab-section--digital {
    min-height: unset;
    flex-direction: column;
  }

  .ab-digital__text-wrap {
    padding-left: max(24px, calc((100vw - 1512px) / 2 + 120px));
    padding-right: 24px;
    margin-bottom: 40px;
  }

  .ab-digital__image img {
    transform: scale(1.5);
  }

  .ab-digital__text {
    padding: 0;
  }

  .ab-section--logistics {
    min-height: unset;
    flex-direction: column;
  }

  .ab-logistics__image {
    order: 1;
    padding: 0;
    padding-right: 40px;
  }

  .ab-logistics__text {
    padding: 0 0 40px;
  }

  .ab-logistics__text-wrap {
    padding-right: max(24px, calc((100vw - 1512px) / 2 + 120px));
    padding-left: 24px;
  }

  .ab-section--bottom-media {
    min-height: 360px;
  }
}

/* ── RESPONSIVE 480px ──────────────────────── */
@media (max-width: 480px) {
  .ab-why-grid {
    grid-template-columns: 1fr;
  }

  .ab-btn-outline,
  .ab-btn-primary {
    width: 100%;
    justify-content: center;
  }

      .ab-two-col .ab-two-col__image {
        order: 1;
        margin: 0px -24px;
        min-height: unset;
        height: 100%;
        /*transform: scale(1.5);*/
        /*overflow: hidden;*/
        margin-top: 30px;
        object-position: right;
    }
}