/* ============================================================
   ABOUT block  (node 4:17850)
   Title + white panel: О нас / Почему / Кому мы помогаем
   ============================================================ */
.about__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about__title {
  margin: 0;
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -1.092px;
  color: var(--text-primary);
}

/* white rounded panel */
.about__panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-24);
  padding: 20px 20px 20px 71px;
  overflow: hidden;
}

/* a block = text + trailing divider */
.about__block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--text-primary);
}

.about__divider {
  width: 100%;
  height: 0;
  margin: 0;
  border: none;
  border-top: 1px solid var(--border-tertiary);
}

/* shared subtitle  (Subtitle/LM) */
.about__subtitle {
  margin: 0;
  font-family: 'Geologica', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.18px;
  color: var(--text-primary);
}

/* paragraph (Paragraph/S = 14px) */
.about__paragraph {
  margin: 0;
  font-family: 'Geologica', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.15;
  color: var(--text-primary);
}

/* ---- Почему: numbered list ---- */
.about__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about__item {
  display: flex;
  flex-direction: column;
}
.about__item-title,
.about__item-desc {
  margin: 0;
  font-family: 'Geologica', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.15;
  color: var(--text-primary);
}

/* ---- Кому мы помогаем ---- */
.about__block--help {
  gap: 16px;
}

.about__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.about__card {
  position: relative;
  min-height: 229px;
  border-radius: var(--radius-16);
  overflow: hidden;
  padding: 22px;
}
.about__card--dark { background: var(--bg-primary); }
.about__card--teal { background: var(--teal); }

.about__card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 215px;
}
.about__card-title {
  margin: 0;
  font-family: 'Geologica', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.18px;
  color: var(--text-primary-inverse);
}
.about__card-desc {
  margin: 0;
  font-family: 'Geologica', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: 0.0053px;
  color: rgba(255, 255, 255, 0.85);
}

/* 3D illustrations bleeding off the bottom-right corners.
   Sizes/offsets expressed in % of card width (~280px @ 1440) so they scale. */
.about__card-img {
  position: absolute;
  z-index: 1;
  max-width: none;
  pointer-events: none;
  bottom: 0;
  right: 0;
}
.about__card-img--1 {
  width: 92%;
  right: -49%;
  bottom: -28%;
  transform: rotate(-13.2deg);
}
.about__card-img--2 {
  width: 104%;
  right: -31%;
  bottom: -29%;
  transform: rotate(0.76deg);
}
.about__card-img--3 {
  width: 84%;
  right: -18%;
  bottom: -15%;
}
.about__card-img--4 {
  width: 100%;
  right: -37%;
  bottom: -42%;
}

/* ---- delivery / phone line ---- */
.about__delivery {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.about__delivery-line {
  margin: 0;
  font-family: 'Geologica', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.15;
  color: var(--text-primary);
}
.about__phone-line {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: 'Geologica', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.15;
  color: var(--text-primary);
}
.about__phone {
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: 0.0053px;
  color: var(--text-accent);
  text-decoration: underline;
  white-space: nowrap;
}
.about__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  flex-shrink: 0;
}
.about__copy svg { display: block; }
.about__phone-note { white-space: nowrap; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about__panel { padding: 24px; }
  .about__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about__inner { gap: 24px; }
  .about__panel { padding: 20px; gap: 20px; }
  .about__phone-note { white-space: normal; }
}

@media (max-width: 560px) {
  .about__cards {
    grid-template-columns: 1fr;
  }
}
