/* ===== ABOUT PAGE ===== */
:root {
  --about-bg: #f5f5f8;
  --about-text: #2c2d2e;
  --about-muted: #737373;
  --about-blue: #005ff9;
}

.about-page {
  min-height: calc(100vh - 160px);
  padding: 0 0 100px;
  background:
    url("/images/homepage/bg-pattern.png") center 0 / 33.27% auto repeat,
    var(--about-bg);
}

.about-container {
  max-width: 1340px;
  padding: 0 50px;
}

/* Breadcrumbs */
.about-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.21;
  color: var(--about-muted);
  padding: 30px 0;
}

.about-breadcrumbs__link {
  color: var(--about-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.about-breadcrumbs__link:hover {
  color: var(--about-blue);
}

.about-breadcrumbs__sep {
  color: var(--about-muted);
}

/* Hero Section */
.about-hero {
  position: relative;
  height: 685px;
  margin-bottom: 100px;
}

.about-hero__content {
  position: relative;
  z-index: 2;
  max-width: 588px;
}

.about-hero__btn {
  margin-top: 24px;
}

.about-title {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--about-text);
  margin: 0 0 24px;
}

.about-lead {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--about-muted);
  margin: 0 0 24px;
  max-width: 509px;
}

.about-hero__since {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--about-text);
}

.about-hero__media {
  position: absolute;
  right: 0;
  top: -44px;
  width: 877px;
  height: 657px;
  z-index: 1;
  pointer-events: none;
}

.about-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Stats Badges */
.about-hero__badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0px 8px 54px rgba(0, 0, 0, 0.03);
  border-radius: 32px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  z-index: 3;
}

.about-hero__badge strong {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--about-text);
}

.about-hero__badge span {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.21;
  color: var(--about-muted);
}

.about-hero__badge--orders {
  left: 529px;
  top: 256px;
}

.about-hero__badge--users {
  left: 868px;
  top: 15px;
  white-space: pre-line;
}

/* Advantages */
.about-advantages {
  display: flex;
  gap: 15px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
}

.about-adv {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 24px;
  background: #fff;
  border-radius: 24px;
  min-height: 233px;
}

.about-adv__icon {
  width: 64px;
  height: 64px;
}

.about-adv__icon img {
  width: 64px;
  height: 64px;
}

.about-adv__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-adv__title {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--about-text);
}

.about-adv__desc {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.21;
  color: var(--about-muted);
}

/* Video Section */
.about-video {
  margin-bottom: 100px;
}

.about-video__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 568px;
  border-radius: 32px;
  background: var(--about-text);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.about-video__card:hover {
  opacity: 0.9;
}

.about-video__play {
  width: 82px;
  height: 82px;
}

.about-video__play img {
  width: 100%;
  height: 100%;
}

.about-video__label {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}

/* Section Title */
.about-h2 {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--about-text);
  margin: 0 0 24px;
}

/* Social Section */
.about-social {
  margin-bottom: 100px;
}

.about-social__grid {
  display: flex;
  gap: 20px;
}

.about-social-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border-radius: 32px;
}

.about-social-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-social-card__icon {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 24px;
  object-fit: cover;
}

.about-social-card__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-social-card__title {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--about-text);
}

.about-social-card__url {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-social-card__url span {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.21;
  color: var(--about-text);
}

.about-social-card__copy {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.about-social-card__copy:hover {
  opacity: 1;
}

.about-social-card__copy img {
  width: 100%;
  height: 100%;
}

.about-social-card__btn {
  align-self: stretch;
}

/* Services Section */
.about-services {
  margin-bottom: 0;
}

.about-services__tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  position: relative;
  padding-right: 52px;
}

.about-tab {
  height: 42px;
  padding: 0 16px;
  border-radius: 9999px;
  background: #fff;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.21;
  color: var(--about-text);
  transition: all 0.2s ease;
}

.about-tab:hover {
  background: #f4f5f7;
}

.about-tab.is-active {
  border-color: var(--about-blue);
}

.about-tab__icon {
  width: 24px;
  height: 24px;
}

.about-services__nav {
  position: absolute;
  right: 0;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0px 8px 40px rgba(0, 0, 0, 0.08);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.about-services__nav:hover {
  transform: scale(1.05);
}

.about-services__nav img {
  width: 24px;
  height: 24px;
}

.about-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-service {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border-radius: 24px;
  position: relative;
}

.about-service--tall {
  grid-row: span 2;
}

.about-service__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-service__title {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--about-text);
}

.about-service__desc {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.21;
  color: var(--about-muted);
}

.about-service__icon {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 24px;
  height: 24px;
  opacity: 1;
}

.about-service__icon img {
  width: 100%;
  height: 100%;
}

.about-service__bottom {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: auto;
}

.about-service__btn {
  flex-shrink: 0;
}

.about-service__price {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--about-text);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .about-container {
    padding: 0 30px;
  }

  .about-hero__media {
    width: 600px;
    right: -50px;
  }

  .about-hero__badge--orders {
    left: 350px;
  }

  .about-hero__badge--users {
    right: 150px;
  }
}

@media (max-width: 991px) {
  .about-title {
    font-size: 40px;
  }

  .about-h2 {
    font-size: 32px;
  }

  .about-hero {
    height: auto;
    margin-bottom: 60px;
  }

  .about-hero__media {
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
    height: 400px;
    margin-top: 40px;
  }

  .about-hero__badge {
    display: none;
  }

  .about-advantages {
    position: relative;
    flex-direction: column;
    margin-top: 40px;
  }

  .about-video {
    margin-bottom: 60px;
  }

  .about-video__card {
    height: 300px;
  }

  .about-social {
    margin-bottom: 60px;
  }

  .about-social__grid {
    flex-direction: column;
  }

  .about-services__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .about-page {
    padding: 0 0 60px;
  }

  .about-container {
    padding: 0 20px;
  }

  .about-breadcrumbs {
    padding: 20px 0;
    font-size: 14px;
  }

  .about-title {
    font-size: 32px;
  }

  .about-h2 {
    font-size: 24px;
  }

  .about-video__card {
    height: 220px;
  }

  .about-video__play {
    width: 56px;
    height: 56px;
  }

  .about-video__label {
    font-size: 16px;
  }

  .about-social-card {
    padding: 20px;
  }

  .about-social-card__icon {
    width: 64px;
    height: 64px;
  }

  .about-social-card__title {
    font-size: 18px;
  }

  .about-services__tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    margin: 0 -20px 24px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-tab {
    flex-shrink: 0;
  }

  .about-services__grid {
    grid-template-columns: 1fr;
  }

  .about-service__title {
    font-size: 20px;
  }
}
