.about__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}

.about__title {
  font-size: 45px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 24px;
}

.about__desc {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 28px;
}

.about__quote {
  border-left: 3px solid #4a90d9;
  padding: 4px 0 4px 20px;
  margin: 0 0 40px;
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.65;
}

.about__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.about__btn-outline {
  gap: 10px;
  color: var(--text-muted);
}

.about__btn-outline::before {
  content: '';
  display: inline-block;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  background: currentColor;
  mask: url('../../assets/img/icons/ui/arrow-redo.svg') center / contain no-repeat;
  -webkit-mask: url('../../assets/img/icons/ui/arrow-redo.svg') center / contain no-repeat;
}

.about__media {
  flex-shrink: 0;
}

.about__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
}

@media (max-width: 1024px) {
  .about__inner {
    grid-template-columns: 1fr 320px;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .about__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about__media {
    order: -1;
  }

  .about__img-placeholder {
    aspect-ratio: 16 / 9;
  }

  .about {
    padding: 48px 0;
  }
}

@media (max-width: 480px) {
  .about {
    padding: 36px 0;
  }

  .about__inner {
    gap: 24px;
  }

  .about__media {
    order: 2;
  }

  .about__img {
    aspect-ratio: 1 / 1.05;
    border-radius: 12px;
  }

  .about__title {
    margin-bottom: 16px;
    font-size: 30px;
  }

  .about__desc {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 16px;
  }

  .about__quote {
    margin-bottom: 20px;
    padding-left: 14px;
    font-size: 15px;
    line-height: 1.5;
  }

  .about__actions {
    gap: 10px;
  }

  .about__actions .btn--primary,
  .about__actions .btn--outline {
    width: 100%;
    min-height: 42px;
    justify-content: center;
    font-size: 13px;
  }
}
