/* ===== Кейс «Цветок граната»: сайт и уведомления о заявках ===== */
.case-study-page--banket .case-study-work {
  border-radius: 44px;
}

/* Все скриншоты в ровных рамках, без наклона и обрезки содержания. */
.banket-website-gallery .case-study-site-gallery__preview {
  background: #faf7f0;
}

.banket-website-gallery .case-study-site-gallery__crop {
  height: 100%;
  aspect-ratio: auto;
}

.banket-website-gallery img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===== Бот: пример уведомления и путь заявки ===== */
.banket-bot {
  padding-block: clamp(64px, 7vw, 112px) 24px;
}

.banket-bot__header {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 24px 56px;
  margin-bottom: 48px;
}

.banket-bot__header .case-study-eyebrow {
  grid-column: 1 / -1;
  color: rgba(247, 247, 244, .54);
}

.banket-bot h2 {
  margin: 0;
  font-size: clamp(48px, 4.9vw, 82px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.035em;
}

.banket-bot__header > p:last-child {
  max-width: 30em;
  margin: 0;
  color: rgba(247, 247, 244, .7);
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.6;
}

.banket-bot__layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 56px;
}

.banket-bot__evidence {
  padding: 32px;
  border-radius: 28px;
  color: var(--quantum-black);
  background: var(--neural-white);
}

.banket-bot__evidence > .case-study-eyebrow {
  margin-bottom: 24px;
  color: rgba(10, 10, 10, .5);
  text-align: center;
}

.banket-bot__gallery {
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 281px);
  margin: 0 auto;
}

.banket-bot__preview {
  aspect-ratio: 281 / 368;
}

.banket-bot__gallery figcaption {
  text-align: center;
}

/* Небольшой исходник уведомления не растягиваем до размытой картинки. */
.case-study-page--banket .case-study-lightbox:has(img[width="281"]) {
  width: min(600px, calc(100% - 24px));
}

.case-study-page--banket .case-study-lightbox__capture:has(img[width="281"]) {
  max-width: 281px;
}

.banket-bot__copy h3 {
  margin: 0 0 24px;
  font-size: clamp(27px, 2.4vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.03em;
}

.banket-bot__steps {
  display: grid;
  gap: 24px;
  margin: 0;
  padding-left: 28px;
}

.banket-bot__steps li {
  padding-left: 8px;
}

.banket-bot__steps li::marker {
  color: var(--solar-core);
  font-variant-numeric: tabular-nums;
}

.banket-bot__steps h4 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 500;
}

.banket-bot__steps p {
  margin: 0;
  color: rgba(247, 247, 244, .65);
  font-size: 16px;
  line-height: 1.6;
}

.banket-bot__summary {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(247, 247, 244, .16);
  border-radius: 20px;
  background: #151515;
}

.banket-bot__summary p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.banket-bot__summary .case-study-work__summary-label {
  margin-bottom: 12px;
  color: rgba(247, 247, 244, .54);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

@media (max-width: 1000px) {
  .banket-bot__header,
  .banket-bot__layout {
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .case-study-page--banket .case-study-work {
    border-radius: 30px;
  }

  .banket-bot__header,
  .banket-bot__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .banket-bot__header {
    margin-bottom: 32px;
  }

  .banket-bot h2 {
    font-size: clamp(32px, 9.3vw, 58px);
  }

  .banket-bot__evidence {
    padding: 24px;
  }
}
