/* ================================================================
   СТРАНИЦА О НАС
   ================================================================ */

   

/* ── Hero ──────────────────────────────────────────────────────── */
.about-hero {
  position: relative;
  overflow: hidden;
  min-height: 724px;
  background: linear-gradient(159deg, #FF8391 14.9%, #FF4658 87.3%);
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.about-hero__bg-photo {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  object-fit: cover;
  object-position: right bottom;
}

.about-hero__bg-blend {
  position: absolute;
  inset: 0;
  background: linear-gradient(159deg, #83B5FF 14.9%, #FF4658 87.3%);
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Контейнер внутри hero — flex, чтобы panel растянулся на всю высоту */
.about-hero__container {
  display: flex;
  align-items: stretch;
  min-height: 724px;
}

/*
  Белая панель-контент. Расчёт из SVG маски Figma (1920px frame):
    маска:  left=122.79px, width=848.587px
    container left при 1920px = (1920−1300)/2 = 310px
    → маска на 187px ЛЕВЕЕ контейнера (310−122.79≈187)
    → текст начинается от левого края контейнера (margin-left:0)
    → ::before (левый скос): 187px, left=−187px
    → ::after  (правый алмаз): 80px, right=−80px
    → panel width = 891.377−310 ≈ 581px
*/
.about-hero__panel {
  position: relative;
  background: #fff;
  width: 581px;
  flex-shrink: 0;
  margin-left: 0;
  z-index: 1;
}

/* Левый скос: выходит на 187px влево от контейнера
   SVG-пространство 187×724:
     x=0   → левый край маски (122.79px от viewport при 1920px)
     x=187 → левый край контейнера / панели
   Диагональ: (154.315,0) → (0,457.89) → (0,724) → (187,724) → (187,0) */
.about-hero__panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: -187px;
  width: 187px;
  height: 100%;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 187 724' preserveAspectRatio='none'><path d='M154.315 0 L187 0 L187 724 L0 724 L0 457.89 Z' fill='white'/></svg>") no-repeat center / 100% 100%;
}

/* Правый алмаз-стрелка */
.about-hero__panel::after {
  content: '';
  position: absolute;
  top: 0;
  right: -80px;
  width: 80px;
  height: 100%;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 724' preserveAspectRatio='none'><path d='M0 0 L80 362 L0 724 Z' fill='white'/></svg>") no-repeat center / 100% 100%;
}

.about-hero__content {
  position: relative;
  max-width: 598px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 180px 0 186px;
}

/* Обёртка заголовка — точка отсчёта для блоба и стрелки */
.about-hero__heading {
  position: relative;
  width: 598px;
}

.about-hero__title {
  position: relative;
  z-index: 1;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 64px;
  line-height: 70px;
  letter-spacing: -0.5px;
  color: #0C3249;
  margin: 0;
  width: 592px;
}

.about-hero__title-brand { color: #CF031D; white-space: nowrap; }
.about-hero__title-tag   { color: #fff; }

/* Синяя плашка за «О нас»
   Figma: left=-25.15px, top=70.07px, w=242.43px, h=83.547px
   transform: scaleY(-1) rotate(178.6deg) */
.about-hero__title-blob {
  position: absolute;
  left: -25px;
  top: 70px;
  width: 242px;
  height: 84px;
  pointer-events: none;
  z-index: 0;
}

/* Стрелка
   Figma: left=220px, top=88px, w=93.214px, h=73.467px
   transform: scaleY(-1) rotate(15.34deg) */
.about-hero__arrow {
  position: absolute;
  left: 220px;
  top: 88px;
  width: 93px;
  height: 73px;
  pointer-events: none;
  z-index: 1;
}

.about-hero__desc {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.667; /* 30px */
  color: #4A5565;
}

/* Два блока текста с разными шириками из Figma */
.about-hero__desc-block--1 { max-width: 546px; }
.about-hero__desc-block--2 { max-width: 572px; }
.about-hero__desc-block p  { margin: 0; }
.about-hero__desc p      { margin: 0; }
.about-hero__desc strong { font-weight: 700; }

/* ── Stats card ─────────────────────────────────────────────────── */
.about-stats-section {
  position: relative;
  z-index: 2;
  padding: 0;
  margin-top: -43px;
}

.about-stats {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 22px 0 rgba(78, 134, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 100px;
  min-height: 168px;
}

.about-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  color: #0C3249;
  cursor: pointer;
  border-radius: 12px;
  padding: 12px 16px;
  transition: background 0.2s;
  position: relative;
}

.about-stats__item:hover { background: rgba(207, 3, 29, 0.04); }

.about-stats__item--active { color: #CF031D; }
.about-stats__item--red   { color: #CF031D; }

.about-stats__num {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 34px;
  line-height: 28px;
  letter-spacing: -1px;
  white-space: nowrap;
}

.about-stats__label {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 20px;
  text-align: center;
  max-width: 184px;
}

.about-stats__divider {
  width: 1px;
  height: 76px;
  background: #D1D5DC;
  flex-shrink: 0;
}

/* ── Achievements card ──────────────────────────────────────────── */
.about-achievements-section {
  position: relative;
  z-index: 1;
  padding: 20px 0 0;
  margin-top: -27px;
}

.about-achievements {
  background: #F6FDFF;
  border-radius: 18px;
  box-shadow: 0 8px 22px 0 rgba(78, 134, 255, 0.1);
  padding: 90px 100px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.about-achievements__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.about-achievements__item h3 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 34px;
  line-height: 36px;
  letter-spacing: -1px;
  color: #0C3249;
  margin: 0;
}

.about-achievements__item p {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 24px;
  color: #0C3249;
  margin: 0;
}

/* горизонтальный разделитель */
.about-achievements__divider {
  width: 76px;
  height: 1px;
  background: #D1D5DC;
  flex-shrink: 0;
}

/* Панели — переключаются JS-ом через [hidden] */
.about-achievements__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
  transition: opacity 0.2s ease;
}
.about-achievements__panel[hidden] { display: none; }

/* ── Certificate eye button ─────────────────────────────────────── */
.about-achievements {
  position: relative;
}

.about-cert-btn {
  position: absolute;
  bottom: 24px;
  right: 30px;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: #CF031D;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 13px;
  gap: 5px;
  overflow: hidden;
  color: white;
  transition: width 0.4s ease, background 0.4s ease, color 0.3s ease, opacity 0.25s ease;
}

.about-cert-btn:hover {
  width: 152px;
  background: #FCF9F4;
  color: #CF031D;
}

.about-cert-btn .cz-desc__scroll-btn__label {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.about-cert-btn:hover .cz-desc__scroll-btn__label {
  opacity: 1;
  transition: opacity 0.2s ease 0.2s;
}

.about-cert-btn svg {
  width: 29px;
  height: 29px;
  flex-shrink: 0;
}

/* ── Certificate modal ──────────────────────────────────────────── */
.modal-cert {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(207, 3, 29, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-cert.is-open {
  opacity: 1;
  pointer-events: all;
}

.modal-cert__panel {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 40px;
  position: relative;
  max-width: min(720px, 90vw);
  max-height: calc(90vh - 80px);
  overflow: hidden;
  transform: translateY(30px);
  transition: transform 0.4s ease;
  cursor: default;
}

.modal-cert.is-open .modal-cert__panel {
  transform: translateY(0);
}

.modal-cert__close {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #F3F4F6;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 1;
}

.modal-cert__close:hover {
  background: #E5E7EB;
}

.modal-cert__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(90vh - 80px);
  object-fit: contain;
}

/* ── Expertise ──────────────────────────────────────────────────── */
.about-expertise {
  padding: 180px 0;
}

.about-expertise__inner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: center;
}

.about-expertise__icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  margin-top: 2px;
}

.about-expertise__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  text-align: center;
}

.about-expertise__title {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 44px;
  line-height: 60px;
  letter-spacing: -0.5px;
  color: #0C3249;
  margin: 0;
}

/* «экспертиза» — обёртка с SVG-блобом */
.about-expertise__hl-wrap {
  position: relative;
  display: inline-block;
  margin-left: 10px;
}

.about-expertise__hl-blob {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 272.143px;
  height: 65px;
  z-index: 0;
  pointer-events: none;
}

.about-expertise__highlight {
  position: relative;
  z-index: 1;
  color: #fff;
}

.about-expertise__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.about-expertise__desc {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 25px;
  color: #9C9EA7;
  max-width: 613px;
  margin: 0;
  text-align: center;
}
.about-expertise__desc strong { font-weight: 700; }

.about-expertise__chinese {
  font-family: 'SourceHanSerifTC', serif;
  font-weight: 600;
  font-size: 34px;
  line-height: 36px;
  color: #0C3249;
  max-width: 663px;
  margin: 0;
  text-align: center;
}

/* ── Methodology section ────────────────────────────────────────── */
.about-methodology {
  background: #fff;
  padding: 80px 0 180px;
  border-radius: 10px 10px 0 0;
}

.about-methodology__wrapper {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.about-methodology__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.about-methodology__image {
  width: 664px;
  height: 426px;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.about-methodology__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(147deg, rgb(131,181,255) 14.9%, rgb(255,70,88) 87.3%);
  mix-blend-mode: screen;
  border-radius: 20px;
  pointer-events: none;
}

.about-methodology__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.about-methodology__content {
  width: 536px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex-shrink: 0;
}

.about-methodology__title {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 44px;
  line-height: 60px;
  letter-spacing: -0.5px;
  color: #0C3249;
  margin: 0;
  white-space: nowrap;
}

/* «результат» — обёртка с SVG-блобом */
.about-methodology__hl-wrap {
  position: relative;
  display: inline-block;
}

.about-methodology__hl-blob {
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%)  ;
  width: 250px;
  height: 70px;
  z-index: 0;
  pointer-events: none;
}

.about-methodology__highlight {
  position: relative;
  z-index: 1;
  color: #fff;
}

.about-methodology__text {
  display: flex;
  flex-direction: column;
  gap: 40px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 25px;
  color: #9C9EA7;
}
.about-methodology__text p      { margin: 0; }
.about-methodology__text strong { font-weight: 700; }

/* ── Cards ──────────────────────────────────────────────────────── */
.about-cards {
  display: flex;
  gap: 33px;
  align-items: stretch; /* все карточки одинаковой высоты */
}

.about-card {
  flex: 1 0 0;
  min-width: 0;
  max-width: 500px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 40px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow: hidden;
}

.about-card__icon { flex-shrink: 0; }
.about-card__icon img {
  display: block;
  width: 52px;
  height: 52px;
}

/* body растягивается, чтобы кнопка была у нижнего края */
.about-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* text занимает всё свободное место → кнопка прижата к низу */
.about-card__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-card__title {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 34px;
  line-height: 36px;
  letter-spacing: -1px;
  color: #0C3249;
  margin: 0;
}

.about-card__desc {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 20px;
  color: #4A5565;
  margin: 0;
}

.about-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 44px;
  padding: 4px 30px;
  border-radius: 44px;
  border: 1px solid #D1D5DC;
  background: #fff;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #101828;
  text-decoration: none;
  white-space: nowrap;
  align-self: flex-start;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}



.about-card__btn:hover { background: #f0f8ff; }