/* ===================== /deals/ — реальные сделки (E-E-A-T) ===================== */
.deals-wrap { width: min(1280px, 100% - 48px); margin: 0 auto; padding: 28px 0 90px; }
.deals-hero { padding: 28px 0 8px; }
.deals-hero h1 { font-family: 'Manrope'; font-weight: 800; font-size: 42px; line-height: 1.12; letter-spacing: -0.02em; color: var(--midnight); margin: 14px 0 16px; max-width: 900px; }
.deals-hero .lead { font-size: 17px; line-height: 26px; color: var(--graphite); max-width: 820px; margin: 0 0 24px; }
.deals-hero .lead a { color: var(--midnight); }
.deals-stats { display: flex; gap: 40px; flex-wrap: wrap; margin: 8px 0 24px; }
.deals-stats div { display: flex; flex-direction: column; }
.deals-stats strong { font-family: 'Manrope'; font-weight: 800; font-size: 34px; color: var(--midnight); line-height: 1; }
.deals-stats span { font-size: 13px; color: var(--grey-light); margin-top: 6px; }

.deals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.deal-card { display: flex; flex-direction: column; border: 1px solid var(--stone); border-radius: var(--radius-lg); overflow: hidden; background: var(--snow); text-decoration: none; color: inherit; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.deal-card:hover { box-shadow: var(--shadow-pop); transform: translateY(-2px); }
.deal-card-img { display: block; aspect-ratio: 4 / 3; background: #EEF2F5; overflow: hidden; }
.deal-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.deal-card-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.deal-card-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.deal-card-title { font-family: 'Manrope'; font-weight: 700; font-size: 18px; line-height: 1.25; color: var(--midnight); }
.deal-card-cta { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--midnight); }

.deal-badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: 0.02em; }
.deal-badge.is-done { background: rgba(0, 184, 112, 0.12); color: #00805A; }
.deal-badge.is-stock { background: rgba(0, 200, 150, 0.14); color: #00705C; }
.deal-badge.is-transit { background: rgba(245, 166, 35, 0.16); color: #9A6700; }
.deal-badge.is-process { background: rgba(15, 42, 61, 0.07); color: var(--midnight); }
.deal-country { font-size: 13px; color: var(--graphite); }
.deal-date { font-size: 13px; color: var(--grey-light); }

.deals-note { margin-top: 56px; max-width: 820px; }
.deals-note h2 { font-family: 'Manrope'; font-weight: 700; font-size: 28px; color: var(--midnight); margin: 0 0 12px; letter-spacing: -0.015em; }
.deals-note p { font-size: 15px; line-height: 24px; color: var(--graphite); margin: 0 0 12px; }
.deals-note a { color: var(--midnight); }

/* ── страница кейса ── */
.deal-page h1 { font-family: 'Manrope'; font-weight: 800; font-size: 40px; line-height: 1.12; letter-spacing: -0.02em; color: var(--midnight); margin: 14px 0 12px; max-width: 900px; }
.deal-meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 0 0 24px; }
.deal-src { margin-left: auto; font-size: 13px; color: var(--grey-light); text-decoration: underline; }
.deal-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 1020px; margin: 0 auto; }
.deal-gallery-note { margin: 10px 0 0; font-size: 13px; color: var(--grey-light); }
.deal-gallery-note a { color: var(--midnight); }
.deal-photo { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 1px solid var(--stone); background: #EEF2F5; }
.deal-photo:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: 16 / 10; }
.deal-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s ease; }
.deal-photo:hover img { transform: scale(1.03); }
.deal-section { margin-top: 40px; max-width: 820px; }
.deal-section h2 { font-family: 'Manrope'; font-weight: 700; font-size: 26px; color: var(--midnight); margin: 0 0 14px; letter-spacing: -0.015em; }
.deal-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.deal-facts li { position: relative; padding-left: 26px; font-size: 15px; line-height: 23px; color: var(--graphite); }
.deal-facts li::before { content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 2px; background: var(--voltage); border-radius: 2px; }
.deal-cta { background: var(--midnight); border-radius: var(--radius-lg); padding: 36px 40px; max-width: none; }
.deal-cta h2 { color: var(--snow); }
.deal-cta p { color: rgba(255, 255, 255, 0.8); font-size: 15px; line-height: 24px; max-width: 640px; margin: 0 0 22px; }
.deal-cross { margin-top: 28px; display: flex; gap: 18px; flex-wrap: wrap; }
.deal-cross a { color: var(--midnight); font-size: 14px; font-weight: 600; }

@media (max-width: 960px) {
  .deals-grid { grid-template-columns: 1fr 1fr; }
  .deal-gallery { grid-template-columns: 1fr 1fr; }
  .deal-photo:first-child { grid-column: span 2; }
  .deal-cta { padding: 26px 22px; }
}
@media (max-width: 640px) {
  .deals-wrap { width: calc(100% - 32px); }
  .deals-hero h1, .deal-page h1 { font-size: 30px; }
  .deals-grid { grid-template-columns: 1fr; }
  .deal-gallery { grid-template-columns: 1fr; }
  .deal-photo:first-child { grid-column: span 1; }
}
