/**
 * section_last.css — Стили для последней секции страницы
 * Методология: БЭМ (Блок-Элемент-Модификатор)
 *
 * Структура:
 * .section-last__container (flex row)
 *   ├── .section-last__person (левая часть: фото + подпись)
 *   └── .section-last__content (правая часть: H2, подзаголовок, кнопки)
 */

/* Блок: section-last */
.section-last {
  width: 100%;
}

/* Элемент: основной контейнер (горизонтальный) */
.section-last__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
}

/* Элемент: левая часть — фото и подпись */
.section-last__person {
  display: none;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 120px;
}

@media (min-width: 640px) {
  .section-last__person {
    display: flex;
  }
}

/* Элемент: фото сотрудника (круглое) */
.section-last__person-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

/* Элемент: подпись под фото */
.section-last__person-caption {
  margin-top: 12px;
  text-align: center;
}

/* Элемент: имя сотрудника */
.section-last__person-name {
  margin: 0;
  font-weight: 500;
  text-align: center;
}

/* Элемент: должность сотрудника */
.section-last__person-position {
  margin: 0;
  color: #666;
  font-size: 14px;
  text-align: center;
}

/* Элемент: правая часть — контент */
.section-last__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}

/* Элемент: заголовок H2 */
/* font-size берётся из global.css (30px) */
.section-last__title {
  margin: 0 !important;
  padding: 0 !important;
  font-weight: 600;
}

/* Элемент: подзаголовок */
.section-last__subtitle {
  margin: 0;
  color: #333;
}

/* Элемент: информация */
.section-last__info {
  margin: 0;
}

/* Элемент: ряд кнопок (кнопка + соцсети) */
.section-last__actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

/* Элемент: контейнер соцсетей */
.section-last__socials {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

/* Элемент: иконка соцсети (высота = высота кнопки) */
.section-last__social-icon {
  height: 36px;
  width: 36px;
  display: block;
}
