/* ── Cases Page ─────────────────────────────────────────────────── */

.cases-hero {
  background: var(--bg-cream);
  padding: 96px 0 48px;
  border-bottom: 1px solid #E0DED8;
}
.cases-hero__inner { display: flex; flex-direction: column; gap: 12px; }
.cases-hero__title {
  font-family: var(--font-display);
  font-size: 48px; font-weight: 800;
  color: var(--text-primary); line-height: 1.1;
}
.cases-hero__sub { font-size: 16px; color: var(--text-secondary); }

/* ── Each case section ─────────────────────────────────────────── */
.case-section {
  padding: 40px 0;
  background: #fff;
  border-bottom: 1px solid #EBEBEB;
}
.case-section:nth-child(even) { background: var(--bg-cream); }
.new-cases-list .case-section:nth-child(odd) { background: var(--bg-cream); }
.new-cases-list .case-section:nth-child(even) { background: #fff; }
.case-review-avatar {
  background: linear-gradient(135deg, #E8F4FD, #C3DDFA);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.case-header__title {
  font-family: var(--font-heading);
  font-size: 34px; font-weight: 700; color: #111;
  margin: 0; line-height: 1;
}
.case-header__cat {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 14px; border-radius: 100px;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 1.2;
  letter-spacing: 0.5px; text-transform: uppercase;
}

.case-bento { display: flex; flex-direction: column; gap: 16px; }

/* ── Row 1: Slider + Desc ────────────────────────────────────── */
.case-row--main { display: flex; gap: 16px; height: 400px; }

/* ── Case Slider ─────────────────────────────────────────────── */
.case-slider {
  flex: 0 0 640px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #E8E6E1;
  touch-action: pan-y;
}
.case-slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.48s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.case-slider__slide {
  min-width: 100%; height: 100%;
  background-size: cover; background-position: center;
  flex-shrink: 0;
}
.case-slider__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(18, 18, 18, 0.34);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 50%;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}
.case-slider__btn:hover { background: rgba(18, 18, 18, 0.58); }
.case-slider__btn:active { transform: translateY(-50%) scale(0.96); }
.case-slider__btn--prev { left: 12px; }
.case-slider__btn--next { right: 12px; }
.case-slider__bottom {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 60px 24px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}
.case-slider__stats {
  display: flex; align-items: flex-end; gap: 0;
  margin-bottom: 14px;
}
.case-slider__stat {
  display: flex; flex-direction: column; gap: 3px;
  padding-right: 20px; margin-right: 20px;
  border-right: 1px solid rgba(255,255,255,0.22);
}
.case-slider__stat:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.case-slider__stat-val {
  font-size: 24px; font-weight: 800; color: #fff;
  font-family: var(--font-heading); line-height: 1;
}
.case-slider__stat-label {
  font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase; letter-spacing: 0.6px;
}
.case-slider__bars { display: flex; gap: 5px; }
.case-slider__bar {
  flex: 1; height: 2.5px; border-radius: 2px;
  background: rgba(255,255,255,0.28);
  transition: background 0.3s;
}
.case-slider__bar--active { background: #fff; }

/* ── Top overlay: badge + title ──────────────────────────────── */
.case-slider__top {
  position: absolute; top: 0; left: 0; right: 0;
  padding: 22px 24px 50px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, transparent 100%);
  pointer-events: none;
}
.case-photo-title { font-size: 20px; font-weight: 700; color: #fff; line-height: 1.2; }

/* ── Row 2: Gallery ─────────────────────────────────────────── */
.case-row--gallery { display: flex; gap: 8px; height: 160px; }
.case-gallery-item {
  flex: 1; border-radius: 12px;
  background-size: cover; background-position: center;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  cursor: pointer; position: relative;
  transition: opacity 0.2s;
}
.case-gallery-item:hover { opacity: 0.85; }
.case-gallery-item--active::after {
  content: '';
  position: absolute; inset: 0;
  border: 2.5px solid var(--accent);
  border-radius: 12px;
  pointer-events: none;
}
.case-gallery-cap {
  display: flex; align-items: center; gap: 5px;
  padding: 5px 8px;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
  color: #fff; font-size: 9px; font-weight: 700;
  font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.4px;
}

.case-desc-card {
  flex: 1; min-width: 300px;
  background: #fff;
  border-radius: 20px; border: 1px solid #F0F0F0;
  padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.case-desc-top { display: flex; flex-direction: column; flex: 1; }
.case-desc-title { font-size: 20px; font-weight: 700; color: #111; margin-bottom: 10px; }
.case-desc-text {
  font-size: 14px; color: #555; line-height: 1.6; margin-bottom: 16px;
}
.case-stats { display: flex; gap: 12px; margin-top: auto; padding-top: 14px; }
.case-stat {
  flex: 1;
  background: #F8F8F8; border-radius: 10px; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.case-stat__label { font-size: 12px; color: #888; }
.case-stat__value { font-size: 15px; font-weight: 700; color: #111; }

.case-divider { height: 1px; background: #F0F0F0; margin: 20px 0; }

.case-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.case-tag {
  padding: 6px 13px; border-radius: 100px;
  background: #F0F4FF; color: #2952B3;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.1px;
}

.case-cta { display: flex; flex-direction: column; gap: 10px; }
.case-btn-primary {
  display: flex; align-items: center; justify-content: center;
  height: 48px; border-radius: 12px;
  background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 700; font-family: var(--font-body);
  border: none; cursor: pointer;
  transition: background 0.2s;
}
.case-btn-primary:hover { background: var(--accent-hover); color: #fff; }
.case-btn-secondary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; border-radius: 12px;
  background: #F4F4F4; color: #555;
  font-size: 14px; font-weight: 500; font-family: var(--font-body);
  transition: background 0.2s;
}
.case-btn-secondary:hover { background: #E8E8E8; }

/* ── Row 2: Gallery ──────────────────────────────────────────── */
.case-row--gallery { display: flex; gap: 8px; height: 180px; }
.case-gallery-item {
  flex: 1; border-radius: 6px;
  background-size: cover; background-position: center;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  cursor: pointer; position: relative;
  transition: opacity 0.2s, transform 0.2s;
}
.case-gallery-item:hover { opacity: 0.88; transform: scale(1.01); }
.case-gallery-item:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.case-gallery-cap {
  display: flex; align-items: center; gap: 7px;
  padding: 20px 10px 8px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
  color: #fff; font-size: 13px; font-weight: 700; font-family: var(--font-body);
  text-transform: uppercase; letter-spacing: 0.5px;
}

/* ── Row 3: Specs + Review ───────────────────────────────────── */
.case-row--bottom { display: flex; gap: 16px; }
.case-row--bottom .case-specs-card { flex: 1; }
.case-row--bottom .case-faq-card { flex: 1.2; }
.case-row--bottom .bento-quote { flex: 1; }

.case-specs-card {
  background: #fff;
  border-radius: 20px; border: 1px solid #F0F0F0;
  padding: 20px;
}
.case-specs-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.case-specs-head__title { font-size: 18px; font-weight: 700; color: #111; }
.case-specs-head__badge {
  display: inline-block;
  padding: 6px 14px; border-radius: 100px;
  background: #F4F4F4; color: #888; font-size: 12px;
}
.specs-divider { height: 1px; background: #F0F0F0; }
.spec-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0;
}
.spec-key { font-size: 14px; color: #888; }
.spec-val { font-size: 14px; font-weight: 700; color: #111; }
.spec-sep { height: 1px; background: #F5F5F5; }

/* ── FAQ card ────────────────────────────────────────────────── */
.case-faq-card {
  flex: 1;
  background: #fff;
  border-radius: 20px; border: 1px solid #F0F0F0;
  padding: 20px;
  display: flex; flex-direction: column;
}
.case-faq-label {
  font-size: 12px; font-weight: 700; color: #888;
  letter-spacing: 0.5px; text-transform: uppercase;
  margin-bottom: 16px;
}
.case-faq-item {
  border-top: 1px solid #F0F0F0;
}
.case-faq-item:last-child { border-bottom: 1px solid #F0F0F0; }
.case-faq-item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 0;
  cursor: pointer;
  font-size: 13.5px; font-weight: 600; color: #111;
  user-select: none;
}
.case-faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: #F4F4F4;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.25s;
}
.faq-icon svg { stroke: #999; transition: stroke 0.2s; }
.case-faq-item[open] .faq-icon {
  background: var(--accent);
  transform: rotate(45deg);
}
.case-faq-item[open] .faq-icon svg { stroke: #fff; }
.case-faq-a {
  font-size: 13px; color: #666; line-height: 1.65;
  padding-bottom: 14px;
}

/* ── CTA Banner ──────────────────────────────────────────────── */
.cases-cta {
  background: var(--accent);
  padding: 80px 0;
  text-align: center;
}
.cases-cta__title {
  font-family: var(--font-display);
  font-size: 40px; font-weight: 800; color: #fff;
  margin-bottom: 14px;
}
.cases-cta__sub {
  font-size: 17px; color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}
.cases-cta__btns { display: flex; gap: 14px; justify-content: center; }
.cases-cta__btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 40px; border-radius: 12px;
  border: 2px solid transparent;
  background: #fff; color: var(--accent);
  font-size: 15px; font-weight: 700; font-family: var(--font-body);
  transition: opacity 0.2s;
}
.cases-cta__btn-primary:hover { opacity: 0.9; }
.cases-cta__btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 40px; border-radius: 12px;
  background: rgba(255,255,255,0.18); color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  font-size: 15px; font-weight: 600; font-family: var(--font-body);
  transition: background 0.2s;
}
.cases-cta__btn-secondary:hover { background: rgba(255,255,255,0.26); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .case-slider { flex: 1 1 auto; }
}

/* Collapse chevron + FAQ count badge for specs/FAQ cards — hidden by
   default (desktop), only shown and made interactive inside the mobile
   breakpoint below. */
.case-card-chevron, .case-faq-head__badge { display: none; }

@media (max-width: 900px) {
  /* Reflow the bento into a mobile-friendly single column:
     main photo -> extra photos -> description -> specs -> FAQ -> quote.
     case-row--main is unwrapped via display:contents so the slider and
     desc card can be reordered against the gallery row, which sits
     right under the hero photo instead of after the text block. */
  .case-bento { gap: 12px; }
  .case-row--main { display: contents; }
  .case-slider { order: 1; flex: none; height: 300px; }
  .case-row--gallery { order: 2; height: 130px; }
  .case-desc-card { order: 3; min-width: unset; width: 100%; }
  .case-row--bottom { order: 4; flex-direction: column; gap: 12px; }

  .case-slider__stat-val { font-size: 18px; }
  .cases-hero__title { font-size: 34px; }
  .case-header__title { font-size: 26px; }
  .cases-cta__btns { flex-direction: column; align-items: center; }

  /* Specs & FAQ become tap-to-expand accordions to cut scroll length.
     Header wraps onto two rows — title on its own line, badge + chevron
     on the row below — so the title never gets squeezed/wrapped oddly
     next to the badge like a single-row layout would force it to. */
  .case-specs-card, .case-faq-card { padding: 18px 20px; transition: padding 0.2s; }
  .case-specs-card.is-collapsed, .case-faq-card.is-collapsed { padding: 4px 20px; }
  .case-specs-head, .case-faq-head {
    cursor: pointer; flex-wrap: wrap; row-gap: 10px;
    padding: 14px 0; margin-bottom: 0 !important;
    transition: opacity 0.15s;
  }
  .case-specs-head:active, .case-faq-head:active { opacity: 0.6; }
  .case-specs-head__title, .case-faq-head .case-faq-label { flex: 1 1 100%; }
  .case-faq-head .case-faq-label {
    font-size: 18px; font-weight: 700; color: #111;
    letter-spacing: normal; text-transform: none;
  }
  .case-specs-head__badge, .case-faq-head__badge { order: 2; }
  .case-faq-head__badge {
    display: inline-block;
    padding: 6px 14px; border-radius: 100px;
    background: #F4F4F4; color: #888; font-size: 12px; font-weight: 400;
    text-transform: none; letter-spacing: normal;
  }
  .case-card-chevron {
    display: inline-flex; align-items: center; justify-content: center;
    order: 3; margin-left: auto;
    width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
    background: #F4F4F4; color: #999;
    transition: transform 0.25s, background 0.2s, color 0.2s;
  }
  .case-specs-card:not(.is-collapsed) .case-card-chevron,
  .case-faq-card:not(.is-collapsed) .case-card-chevron {
    transform: rotate(180deg); background: var(--accent); color: #fff;
  }
  .case-specs-card.is-collapsed .specs-divider,
  .case-specs-card.is-collapsed .spec-row,
  .case-specs-card.is-collapsed .spec-sep { display: none; }
  .case-faq-card.is-collapsed .case-faq-item { display: none; }
}

/* ── Room Gallery Modal ────────────────────────────────────── */
.room-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 3000;
  display: flex; align-items: center; justify-content: center;
  padding:
    calc(16px + env(safe-area-inset-top, 0px))
    calc(16px + env(safe-area-inset-right, 0px))
    calc(16px + env(safe-area-inset-bottom, 0px))
    calc(16px + env(safe-area-inset-left, 0px));
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}
.room-modal-overlay.is-open { opacity: 1; pointer-events: all; }
.room-modal {
  position: relative;
  width: min(100%, 960px);
  max-height: 100%;
  display: flex; flex-direction: column;
}
.room-modal__header {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px;
}
.room-modal__title { font-size: 18px; font-weight: 700; color: #fff; letter-spacing: 0.3px; }
.room-modal__header-right { display: flex; align-items: center; gap: 16px; }
.room-modal__counter { font-size: 14px; color: rgba(255,255,255,0.5); }
.room-modal__close {
  background: rgba(255,255,255,0.12); border: none; cursor: pointer;
  color: #fff; border-radius: 50%; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.room-modal__close:hover { background: rgba(255,255,255,0.25); }
.room-modal__close:focus-visible,
.room-modal__btn:focus-visible,
.room-modal__dot:focus-visible,
.case-slider__btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.room-modal__img-wrap {
  position: relative; border-radius: 16px; overflow: hidden;
  background: #0a0a0a; max-height: 72vh;
  display: flex; align-items: center; justify-content: center;
}
.room-modal__img { width: 100%; max-height: 72vh; object-fit: contain; display: block; }
.room-modal__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 50%;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #fff;
  transition: background 0.2s;
}
.room-modal__btn:hover { background: rgba(255,255,255,0.3); }
.room-modal__btn--prev { left: 14px; }
.room-modal__btn--next { right: 14px; }
.room-modal__dots {
  display: flex; justify-content: center; gap: 7px; padding-top: 16px;
}
.room-modal__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.25); transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}
.room-modal__dot--active { background: #fff; transform: scale(1.2); }

@media (max-width: 640px) {
  .room-modal__header { gap: 12px; }
  .room-modal__title {
    min-width: 0;
    font-size: 16px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  .room-modal__header-right { flex-shrink: 0; gap: 10px; }
  .room-modal__btn { width: 44px; height: 44px; }
  .room-modal__btn--prev { left: 8px; }
  .room-modal__btn--next { right: 8px; }
  .room-modal__dots { padding-top: 12px; }
}

/* ── Refined mobile cases layout ────────────────────────────────── */
@media (max-width: 768px) {
  /* A little more breathing room at the edges, without making the
     content column feel narrow on compact phones. */
  .cases-hero .categories-inner,
  .case-section .categories-inner,
  .cases-cta .categories-inner {
    padding-inline: clamp(20px, 5.5vw, 28px);
  }

  .cases-cta__btns { align-items: stretch; }
  .cases-cta__btn-primary,
  .cases-cta__btn-secondary { height: 100%; }

  .cases-hero {
    padding: 86px 0 28px;
  }
  .cases-hero__inner { gap: 10px; }
  .cases-hero__title {
    font-size: clamp(32px, 9vw, 38px);
    line-height: 1.04;
    letter-spacing: 0.02em;
  }
  .cases-hero__sub {
    max-width: 35ch;
    font-size: 16px;
    line-height: 1.5;
  }

  .case-section { padding: 30px 0 34px; }
  .case-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
  }
  .case-header__title {
    width: 100%;
    min-width: 0;
    font-size: clamp(25px, 7.2vw, 28px);
    line-height: 1.02;
    letter-spacing: 0.02em;
  }
  .case-header__cat {
    flex: 0 0 auto;
    padding: 7px 12px;
    font-size: 10px;
  }

  .case-bento { gap: 10px; }
  .case-slider {
    height: clamp(286px, 80vw, 320px);
    border-radius: 18px;
  }
  /* На телефоне все фотографии доступны в основном слайдере. */
  .case-row--gallery { display: none; }
  .case-slider__top { padding: 20px 20px 46px; }
  .case-slider__bottom { padding: 58px 20px 16px; }
  .case-slider__btn {
    width: 44px;
    height: 44px;
  }
  .case-slider__btn--prev { left: 2px; }
  .case-slider__btn--next { right: 2px; }
  .case-slider__stat {
    min-width: 0;
    padding-right: 12px;
    margin-right: 12px;
  }
  .case-slider__stat-val {
    font-size: clamp(17px, 5.1vw, 20px);
    white-space: nowrap;
  }
  .case-slider__stat-label { font-size: 9px; }

  .case-desc-card {
    padding: 20px;
    border-radius: 18px;
  }

  .case-row--bottom { gap: 10px; }

  /* Specs and FAQ share the same compact two-line accordion header.
     The chevron remains a full 44px touch target. */
  .case-specs-card,
  .case-faq-card,
  .case-specs-card.is-collapsed,
  .case-faq-card.is-collapsed {
    position: relative;
    padding: 0 18px;
    border: 1px solid #E7EAF0;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(22, 43, 77, 0.045);
  }
  .case-specs-card:not(.is-collapsed),
  .case-faq-card:not(.is-collapsed) {
    padding-bottom: 16px;
  }
  .case-specs-head,
  .case-faq-head {
    min-height: 78px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    grid-template-rows: auto auto;
    align-content: center;
    align-items: center;
    column-gap: 12px;
    row-gap: 3px;
    padding: 13px 0;
    margin: 0 !important;
  }
  .case-specs-head__title,
  .case-faq-head .case-faq-label {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.2px;
    text-transform: none;
    color: #111827;
  }
  .case-specs-head__badge,
  .case-faq-head__badge {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    order: initial;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #667085;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
  }
  .case-card-chevron {
    grid-column: 2;
    grid-row: 1 / 3;
    justify-self: end;
    order: initial;
    width: 44px;
    height: 44px;
    margin: 0;
    background: #F1F4F8;
    color: #667085;
  }
  .case-card-chevron svg {
    width: 12px;
    height: 12px;
  }
  .case-specs-card:not(.is-collapsed) .case-card-chevron,
  .case-faq-card:not(.is-collapsed) .case-card-chevron {
    background: var(--accent);
    color: #fff;
  }
  .spec-row { padding: 13px 0; }
  .spec-key,
  .spec-val { font-size: 14px; }
  .case-faq-item summary {
    min-height: 56px;
    padding: 10px 0;
    font-size: 14px;
    line-height: 1.35;
  }
  .faq-icon {
    width: 32px;
    height: 32px;
  }
  .case-faq-a {
    padding: 0 0 14px;
    font-size: 14px;
    line-height: 1.55;
  }

  /* Make the testimonial feel like a deliberate third block instead
     of another plain white panel. */
  .case-row--bottom .bento-quote {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 18px;
    gap: 8px;
    border: 1px solid #DCE7FF;
    border-radius: 18px;
    background: linear-gradient(145deg, #F8FBFF 0%, #EEF4FF 100%);
    box-shadow: 0 8px 24px rgba(20, 101, 252, 0.07);
  }
  .case-row--bottom .bento-quote::before {
    content: 'Отзыв клиента';
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.75px;
    text-transform: uppercase;
  }
  .case-row--bottom .quote-mark {
    position: absolute;
    top: 13px;
    right: 16px;
    font-size: 0;
  }
  .case-row--bottom .quote-mark::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 40px;
    line-height: 1;
    color: var(--accent);
  }
  .case-row--bottom .quote-text {
    font-size: 14px;
    line-height: 1.5;
    color: #263244;
  }
  .case-row--bottom .quote-author {
    gap: 10px;
    padding-top: 2px;
  }
  .case-row--bottom .quote-avatar {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }
  .case-row--bottom .quote-name {
    font-size: 12px;
    line-height: 1.35;
    color: #667085;
  }
}

@media (max-width: 360px) {
  .cases-hero .categories-inner,
  .case-section .categories-inner,
  .cases-cta .categories-inner { padding-inline: 18px; }

  .case-specs-card,
  .case-faq-card,
  .case-specs-card.is-collapsed,
  .case-faq-card.is-collapsed { padding-inline: 16px; }

  .case-specs-head__title,
  .case-faq-head .case-faq-label { font-size: 16px; }
}
