/* ===== v3 AUDIENCE — «Для кого» (экран 8 ТЗ) ===== */
/* Asymmetric layout: left text column + right 3×2 painted bento.
   Соседние секции с paper-warm подложкой держат zebra-ритм. */

.audience {
  padding-top: clamp(68px, 10vh, 111px);
  padding-bottom: clamp(68px, 10vh, 111px);
}

.audience__layout {
  display: flex;
  flex-direction: column;
  gap: clamp(41px, 6vh, 61px);
}

/* ---------- TOP: centered head ---------- */

.audience__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
  text-align: center;
  max-width: 782px;
  margin: 0 auto;
}

.audience__title {
  font-size: clamp(34px, 5.2vw, 65px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.audience__lead {
  max-width: 476px;
  margin: 0 auto;
  text-align: center;
}

/* ---------- BOTTOM: 3×2 bento ---------- */

.audience__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(15px, 2vw, 24px);
}

.aud-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  padding: clamp(14px, 1.4vw, 19px) clamp(15px, 1.6vw, 22px) clamp(19px, 2vw, 26px);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}

/* Лёгкий чередующийся tilt — чтобы сетка дышала, не была плоской */
.aud-card:nth-child(odd)  { transform: rotate(-0.7deg); }
.aud-card:nth-child(even) { transform: rotate(0.7deg); }
.aud-card:nth-child(3n)   { transform: rotate(-0.4deg); }

.aud-card:hover {
  transform: rotate(0) translateY(-4px);
  box-shadow:
    0 24px 51px -20px rgba(28,34,54,0.22),
    0 7px 17px -7px rgba(233,74,161,0.18);
}

.aud-card__viz {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 12px;
  /* Watercolor PNG с alpha-feather'ом — пусть свободно растекается до краёв
     карточки. Лёгкий negative-margin визуально вписывает сцену в padding. */
  margin-left: calc(-1 * clamp(6px, 0.6vw, 10px));
  margin-right: calc(-1 * clamp(5px, 0.6vw, 9px));
}
.aud-card__viz img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.aud-card__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(14px, 1.25vw, 17px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 7px;
}

.aud-card__caption {
  font-size: clamp(12px, 0.9vw, 12px);
  line-height: 1.42;
  color: var(--ink-mute);
  margin: 0;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1100px) {
  .audience__layout {
    grid-template-columns: 1fr;
    gap: 41px;
  }
  .audience__head { position: static; }
  .audience__lead { max-width: 476px; }
  .audience__title { font-size: clamp(29px, 6vw, 44px); }
}

@media (max-width: 760px) {
  .audience__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(12px, 2.6vw, 16px);
  }
}

/* Узкие телефоны — оставляем 2-колоночную плитку, сжимаем padding/typo,
   приглушаем tilt чтобы карточки не толкались краями. */
@media (max-width: 480px) {
  .audience__grid {
    gap: 10px;
  }
  .aud-card {
    padding: 12px 12px 16px;
    border-radius: var(--radius);
  }
  .aud-card__viz {
    margin: 0 0 10px;
  }
  .aud-card__title {
    font-size: 14px;
    line-height: 1.16;
  }
  .aud-card__caption {
    font-size: 11px;
    line-height: 1.4;
  }
  .aud-card:nth-child(odd)  { transform: rotate(-0.4deg); }
  .aud-card:nth-child(even) { transform: rotate(0.4deg); }
  .aud-card:nth-child(3n)   { transform: rotate(-0.25deg); }
}
