/* ===== БЛОК «О КОМПАНИИ» ===== */

.about {
  position: relative;

  padding: 80px clamp(32px, 4.2vw, 80px) 120px;

  background-color: #353334;
}

/* ===== ЗАГОЛОВОК ===== */

.about-title {
  width: min(640px, calc(100% + clamp(32px, 4.2vw, 80px)));
  min-height: 133px;

  margin-left: calc(clamp(32px, 4.2vw, 80px) * -1);
  margin-bottom: 70px;
  padding: 24px 70px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 0 67px 67px 0;

  background-color: #ffd000;
}

.about-title h2 {
  margin: 0;

  color: #353334;

  font-family: 'Inter', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.09em;
  text-align: center;

  -webkit-text-stroke: 1px #353334;
}

/* ===== КОНТЕНТ ===== */

.about-content {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: minmax(360px, 522px) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(34px, 3.2vw, 60px);
}

/* ===== ФОТО ===== */

.about-image {
  min-height: 582px;

  overflow: hidden;

  border: 5px solid #ffd000;
  border-radius: 76px;

  background-color: #282627;
}

.about-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* ===== КАРТОЧКИ ===== */

.about-cards {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.about-card {
  min-width: 0;
  padding: clamp(20px, 1.6vw, 30px);

  display: flex;
  align-items: center;

  border-radius: 20px;

  background-color: #d6d6d6;
  color: #141213;

  font-family: 'Inter', sans-serif;
  font-size: clamp(18px, 1.25vw, 24px);
  font-weight: 500;
  line-height: 1.12;
}

/* ===== НОУТБУКИ ===== */

@media (max-width: 1440px) {
  .about {
    padding-top: 70px;
    padding-bottom: 100px;
  }

  .about-title {
    width: min(540px, calc(100% + clamp(32px, 4.2vw, 80px)));
    min-height: 112px;
    margin-bottom: 56px;
  }

  .about-title h2 {
    font-size: 42px;
  }

  .about-content {
    grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
    gap: 40px;
  }

  .about-image {
    min-height: 540px;
    border-radius: 56px;
  }

  .about-card {
    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 1.18;
  }
}

/* ===== ПЛАНШЕТЫ ===== */

@media (max-width: 1024px) {
  .about {
    padding: 64px 32px 88px;
  }

  .about-title {
    width: min(500px, calc(100% + 32px));
    min-height: 104px;
    margin-left: -32px;
    margin-bottom: 48px;
    padding: 20px 48px;

    border-radius: 0 52px 52px 0;
  }

  .about-title h2 {
    font-size: 38px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-image {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;

    border-width: 4px;
    border-radius: 42px;
  }

  .about-cards {
    grid-template-rows: none;
    gap: 18px;
  }

  .about-card {
    min-height: 0;
    padding: 24px 26px;

    font-size: 18px;
    line-height: 1.35;
  }
}

/* ===== ТЕЛЕФОНЫ ===== */

@media (max-width: 520px) {
  .about {
    padding: 50px 16px 70px;
  }

  .about-title {
    width: min(88%, calc(100% + 16px));
    min-height: 76px;
    margin-left: -16px;
    margin-bottom: 34px;
    padding: 16px 28px;

    border-radius: 0 38px 38px 0;
  }

  .about-title h2 {
    font-size: 28px;
    letter-spacing: 0.06em;
    -webkit-text-stroke: 0;
  }

  .about-content {
    gap: 24px;
  }

  .about-image {
    aspect-ratio: 4 / 3;

    border-width: 3px;
    border-radius: 28px;
  }

  .about-cards {
    gap: 14px;
  }

  .about-card {
    padding: 20px;

    border-radius: 16px;

    font-size: 16px;
    line-height: 1.42;
  }
}

@media (max-width: 360px) {
  .about-title h2 {
    font-size: 25px;
  }

  .about-card {
    padding: 18px;
    font-size: 15px;
  }
}
