/* ================================================================= */
/* Секция "О мастере"                                               */
/* ================================================================= */
.about-section {
  margin-top: 30px;
}

/* Карточка: фото слева, контент справа */
.about-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-delicate);
  box-shadow: var(--shadow-warm);
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Блок фото мастера */
.about-photo-wrapper {
  flex: 0 0 280px;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: #f0ece6;
  box-shadow: 0 8px 24px rgba(78, 61, 46, 0.08);
}

/* Фотография */
.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Блок контента */
.about-content {
  flex: 1;
  min-width: 0;
}

/* Тег о бренде */
.about-tag {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-accent);
  display: inline-block;
  margin-bottom: 8px;
}

/* Заголовок */
.about-title {
  /*font-family: 'Raleway Italic', cursive, sans-serif;
  font-family: 'Playpen Sans', cursive, sans-serif;*/
  /*font-size: 2.3rem;*/
  font-size: 1.5rem;
  /*font-weight: 500;*/
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 18px;
}

/* Текст описания */
.about-text {
  font-size: 0.98rem;
  color: var(--text-soft);
  margin-bottom: 14px;
  line-height: 1.65;
}

.about-text:last-of-type {
  margin-bottom: 0;
}

.about-text strong {
  color: var(--text-main);
  font-weight: 600;
}

/* Преимущества мастера (3 колонки) */
.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-delicate);
}

.about-feat-item {
  display: flex;
  flex-direction: column;
  align-items: center; /* Центрируем иконку и подпись */
  text-align: center;
}

.about-feat-item strong {
  font-size: 1.25rem;
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 2px;
}

.about-feat-item span {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.3;
}

/* ================================================================= */
/* Адаптив для планшетов и смартфонов                               */
/* ================================================================= */
@media (max-width: 768px) {
  .about-card {
    flex-direction: column;
    padding: 20px; /* Равномерная рамка вокруг контента */
    gap: 20px;
    text-align: center;
  }

  .about-photo-wrapper {
    flex: none;
    width: 100%;             /* Растягивается на всю ширину внутри карточки */
    max-width: 340px;        /* Ограничитель, чтобы фото не становилось гигантским на планшетах */
    aspect-ratio: 4 / 5;     /* Сохраняет пропорции фото независимо от экрана */
    margin: 0 auto;          /* Идеальное центрирование с равными полями слева и справа */
  }

  .about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .about-title {
    font-size: 1.2rem;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}



/* Обёртка под иконку */
.about-feat-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Сама SVG иконка */
.about-feat-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Текстовая подпись под иконкой */
.about-feat-item span {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.35;
}

@media (max-width: 768px) {
  .about-feat-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 6px;
  }
}