/* about-presentation.css — блок «Презентация компании» на /about.
 * Тёмная карточка в цветах презентации (графит + фирменный красный), чтобы
 * блок читался как отдельный документ, а не очередная секция текста. */

.ab-deck {
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px 40px 8px;
}

.ab-deck__card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 32px;
  border-radius: 20px;
  background: #16150f;
  color: #f7f6f2;
}

.ab-deck__cover {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgb(0 0 0 / 35%);
  transition: transform .2s ease;
}

.ab-deck__cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ab-deck__badge {
  /* Снизу справа: сверху слева на обложке стоит логотип. */
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgb(22 21 15 / 78%);
  color: #f7f6f2;
  font-size: 13px;
  font-weight: 600;
}

.ab-deck__eyebrow {
  margin: 0 0 12px;
  color: #ef5a5f;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ab-deck__title {
  margin: 0 0 16px;
  color: #f7f6f2;
  font-family: Unbounded, var(--font-display, var(--font-base, sans-serif));
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.ab-deck__text {
  margin: 0 0 28px;
  max-width: 520px;
  color: #bdb8ad;
  font-size: 17px;
  line-height: 1.6;
}

.ab-deck__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
}

.ab-deck__btn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 12px;
  background: #d8232a;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background .18s ease;
}

.ab-deck__size {
  font-weight: 400;
  opacity: .8;
}

.ab-deck__link {
  color: #f7f6f2;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* iOS: hover на тач-экране съедает первый тап — эффекты только для мыши. */
@media (hover: hover) {
  .ab-deck__cover:hover { transform: translateY(-3px); }
  .ab-deck__btn:hover { background: #b31c22; }
  .ab-deck__link:hover { color: #ef5a5f; }
}

.ab-deck__btn:focus-visible,
.ab-deck__link:focus-visible,
.ab-deck__cover:focus-visible {
  outline: 3px solid #ef5a5f;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .ab-deck { padding: 32px 16px 0; }

  .ab-deck__card {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 16px 16px 24px;
  }

  .ab-deck__body { padding: 0 4px; }
  .ab-deck__btn { justify-content: center; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .ab-deck__cover,
  .ab-deck__btn { transition: none; }
}
