/* ==========================================================================
   ПродАй — страница «О нас»
   ========================================================================== */

.about {
  background: var(--paper);
}

/* --- Первый экран ------------------------------------------------------------ */

.ahead {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 10vw, 136px) 0 clamp(72px, 10vw, 128px);
  background: var(--ink);
  color: #fff;
}

.ahead__inner {
  position: relative;
  max-width: 1140px;
}

.ahead .eyebrow {
  color: var(--muted-dark);
}

.ahead__title {
  max-width: 14ch;
  margin-top: 16px;
  font-size: clamp(2.3rem, 6.4vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.ahead__title span {
  background: linear-gradient(90deg, var(--signal), #ff4fd8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ahead__lead {
  max-width: 56ch;
  margin-top: 22px;
  color: var(--muted-dark);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.55;
}

.ahead .cta-row {
  justify-content: flex-start;
}

.ahead .btn--ghost {
  border-color: var(--ink-line);
  color: #fff;
}

.ahead .btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

/* Знак бренда крупно — четыре плитки цветов площадок */
.ahead__tiles {
  position: absolute;
  right: clamp(-170px, -10vw, -80px);
  top: 50%;
  display: grid;
  grid-template-columns: repeat(2, clamp(90px, 12vw, 170px));
  gap: clamp(10px, 1.2vw, 16px);
  transform: translateY(-50%) rotate(-8deg);
  opacity: 0.9;
}

.ahead__tiles i {
  aspect-ratio: 1;
  border-radius: clamp(20px, 3vw, 40px);
}

.ahead__tiles i:nth-child(1) { background: var(--vk); }
.ahead__tiles i:nth-child(2) { background: var(--wb); }
.ahead__tiles i:nth-child(3) { background: var(--oz); }
.ahead__tiles i:nth-child(4) { background: var(--signal); }

@media (max-width: 899px) {
  .ahead__tiles {
    right: -90px;
    top: auto;
    bottom: -80px;
    grid-template-columns: repeat(2, 110px);
    transform: rotate(-8deg);
    opacity: 0.35;
  }
}

/* --- Факты ------------------------------------------------------------------ */

.afacts {
  position: relative;
  margin-top: -40px;
}

.afacts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
}

.afact {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 24px 50px -36px rgba(13, 18, 32, 0.4);
}

.afact b {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.afact b small {
  color: var(--signal);
  font-size: 0.6em;
}

.afact span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* --- История ------------------------------------------------------------------ */

.astory__grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 900px) {
  .astory__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 64px;
  }
}

.astory__text {
  display: grid;
  gap: 1em;
  color: #2a3242;
  font-size: 1.08rem;
  line-height: 1.7;
}

.astory__text p:first-child::first-letter {
  float: left;
  margin: 6px 10px 0 0;
  color: var(--signal);
  font-family: var(--display);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 0.8;
}

/* --- Принципы ------------------------------------------------------------------ */

.avalues {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 14px;
}

.avalue {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.avalue__num {
  color: var(--signal);
  font: 500 0.78rem/1 var(--mono);
  letter-spacing: 0.12em;
}

.avalue h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.avalue p {
  color: var(--muted);
  line-height: 1.55;
}

/* --- Путь ------------------------------------------------------------------ */

.aroad {
  display: grid;
  gap: 0;
  max-width: 820px;
}

.aroad__item {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 0 0 36px 44px;
}

.aroad__item::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 22px;
  bottom: 0;
  width: 2px;
  background: var(--line-strong);
}

.aroad__item:last-child {
  padding-bottom: 0;
}

.aroad__item:last-child::before {
  display: none;
}

.aroad__item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
}

.aroad__item.is-done::after {
  border-color: #1faa6e;
  background: #1faa6e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 10.5 2.6 2.6L14 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.aroad__item.is-done::before {
  background: #1faa6e;
}

.aroad__item.is-now::after {
  border-color: var(--signal);
  background: var(--signal);
  box-shadow: 0 0 0 6px rgba(255, 122, 24, 0.18);
}

.aroad__when {
  color: var(--muted);
  font: 500 0.74rem/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.aroad__item.is-now .aroad__when {
  color: var(--signal);
}

.aroad__item h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  letter-spacing: -0.02em;
}

.aroad__item p {
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.55;
}

.aroad__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.aroad__tags a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.aroad__tags a:hover {
  border-color: var(--ink);
}

/* --- Команда ------------------------------------------------------------------ */

.aperson {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
  max-width: 760px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.aperson__avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--vk), var(--wb) 55%, var(--signal));
  color: #fff;
  font: 700 1.8rem/1 var(--display);
  letter-spacing: -0.04em;
}

.aperson__body {
  flex: 1 1 260px;
  display: grid;
  gap: 6px;
}

.aperson__body b {
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.aperson__body > span {
  color: var(--signal);
  font: 500 0.78rem/1.3 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.aperson__body p {
  margin: 8px 0 10px;
  color: var(--muted);
  line-height: 1.55;
}

.aperson__body .btn {
  justify-self: start;
}

/* --- Присоединяйтесь ---------------------------------------------------------- */

.ajoin {
  background:
    radial-gradient(circle at 10% 0%, rgba(43, 140, 255, 0.24), transparent 40%),
    radial-gradient(circle at 90% 100%, rgba(203, 17, 171, 0.24), transparent 45%),
    var(--ink);
  color: #fff;
}

.ajoin .eyebrow,
.ajoin .section__sub {
  color: var(--muted-dark);
}

.ajoin .eyebrow {
  justify-content: center;
}

.ajoin__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 14px;
}

.ajoin__card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.ajoin__card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.07);
}

.ajoin__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  border-radius: 14px;
  background: rgba(255, 122, 24, 0.18);
  color: var(--signal);
  font-size: 1.3rem;
}

.ajoin__card b {
  font-size: 1.2rem;
}

.ajoin__card > span:not(.ajoin__icon):not(.ajoin__go) {
  color: var(--muted-dark);
  line-height: 1.55;
}

.ajoin__go {
  margin-top: auto;
  padding-top: 8px;
  color: #fff;
  font-weight: 650;
}

/* --- Реквизиты ------------------------------------------------------------------ */

.areq {
  display: grid;
  gap: 28px;
  align-items: start;
}

@media (min-width: 900px) {
  .areq {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 56px;
  }

  .areq__side {
    position: sticky;
    top: 96px;
  }
}

.areq__side .btn {
  margin-top: 22px;
}

.areq__status {
  min-height: 1.4em;
  margin-top: 10px;
  color: #148a57;
  font-size: 0.9rem;
}

.areq__list {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.areq__list > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) minmax(0, 1.3fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}

.areq__list > div:first-child {
  border-top: 0;
}

.areq__list dt {
  color: var(--muted);
  font-size: 0.9rem;
}

.areq__list dd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.areq__list dd small {
  color: var(--muted);
  font-weight: 500;
}

.areq__list dd a {
  color: var(--text);
}

.areq__ok {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #148a57;
}

.areq__ok::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1faa6e;
}

.areq__copy {
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font: 600 0.78rem/1 var(--body);
  cursor: pointer;
  opacity: 0.7;
}

.areq__list > div:hover .areq__copy,
.areq__copy:focus-visible {
  border-color: var(--line-strong);
  opacity: 1;
}

.areq__copy.is-done {
  color: #148a57;
  opacity: 1;
}

@media (max-width: 560px) {
  .areq__list > div {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 8px;
  }

  .areq__list dt {
    grid-column: 1;
  }

  .areq__list dd {
    grid-column: 1;
  }

  .areq__copy {
    grid-column: 2;
    grid-row: 1 / 3;
  }
}
