/* ——— ПРЕИМУЩЕСТВА ———
   Серая канва во всю ширину сайта (не только 1440), контент внутри
   по-прежнему выровнен по общей сетке. Island edge language: a card
   is flush (sharp) on the side that meets its neighbour, rounded
   only on the outer side that meets open canvas — same rule as the
   hero photo/panel above. */
.benefits {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: var(--canvas);
  padding: 72px 0 88px;
}
.benefits-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 56px;
}

/* ——— Единая типографика заголовков секций ——— */
.section-head { margin-bottom: 40px; }
.section-head h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.section-head .lead {
  margin-top: 10px;
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--muted);
  max-width: 60ch;
}
.benefits-head h2 span {
  display: block;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
  margin-top: 10px;
  color: #888;
}

/* Zwei feste Zeilenhöhen statt einzelner min-heights je Karte — so
   summieren top1+fill bzw. top2+bottom (inkl. Gap) exakt auf die Höhe
   von stat/quote, und alle vier kleinen Karten sind gleich hoch. */
.bento {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.15fr 1fr;
  grid-template-rows: 176px 240px;
  grid-template-areas:
    "stat top1 quote top2"
    "stat fill  quote bottom";
  gap: 14px;
}

.card {
  background: var(--card);
  padding: 26px;
  display: flex;
  flex-direction: column;
  border-radius: 0 28px 28px 0;
}

.area-stat   { grid-area: stat;   justify-content: space-between; gap: 24px; }
.area-quote  { grid-area: quote;  justify-content: space-between; gap: 24px; }
.area-top1   { grid-area: top1;   border-radius: 0 28px 0 0; }
.area-top2   { grid-area: top2;   border-radius: 0 28px 0 0; }
.area-fill   { grid-area: fill;   border-radius: 0 0 28px 0; justify-content: space-between; }

/* area-bottom: Foto füllt die ganze Karte (wie die Hero-Insel) statt
   nur einen schmalen Streifen — Text liegt weiß auf einem Verlauf am
   unteren Rand, damit die Karte nicht leer wirkt. */
.area-bottom {
  grid-area: bottom;
  border-radius: 0 0 28px 0;
  position: relative;
  overflow: hidden;
  padding: 20px;
  color: #fff;
}
.area-bottom .bottom-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.area-bottom .bottom-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.85); }
.area-bottom::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.78) 100%);
  z-index: 1;
}
.area-bottom .plus { position: absolute; top: 20px; right: 20px; z-index: 2; border-color: rgba(255,255,255,.6); color: #fff; }
.area-bottom .quote { position: relative; z-index: 2; color: #fff; }

.quote { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.03em; line-height: 1.3; margin-top: auto; }

.stat-num {
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}
.stat-num small { font-size: 20px; color: #999; font-weight: 600; }
.stat-copy { margin-top: 12px; font-size: var(--fs-body); line-height: 1.45; color: #333; max-width: 240px; }

.card-label { font-size: var(--fs-small); font-weight: 700; color: var(--accent); letter-spacing: .04em; text-transform: uppercase; }
.card h3 { font-size: var(--fs-h3); line-height: 1.25; font-weight: 700; letter-spacing: -0.03em; }
.card p { font-size: var(--fs-body); line-height: 1.4; color: #333; }

/* Logos linksbündig in einer Spalte statt umbrechender Reihe — dadurch
   wirken sie trotz unterschiedlicher Formate einheitlicher. */
.brand-row { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 18px; }
.brand-row img { height: 40px; width: auto; max-width: 150px; object-fit: contain; object-position: left center; }

.plus {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid #ddd; color: #999;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; line-height: 1; align-self: flex-end;
}

.accent-card {
  background: var(--accent);
  color: #fff;
}
.accent-card p, .accent-card h3 { color: #fff; }
.accent-card .plus { border-color: rgba(255,255,255,.5); color: #fff; }
.icon-badge {
  width: 72px;
  height: 72px;
  align-self: flex-start;
  color: #fff;
}
.icon-badge svg { width: 100%; height: 100%; }

@media (max-width: 1100px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-template-areas:
      "stat quote"
      "top1 top2"
      "fill bottom";
  }
  .area-stat, .area-quote { min-height: 260px; }
}
@media (max-width: 860px) {
  .benefits { padding: 40px 0 56px; }
  .benefits-inner { padding: 0 20px; }
  .bento {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-template-areas: "stat" "quote" "top1" "fill" "top2" "bottom";
    gap: 12px;
  }
  .area-stat, .area-quote, .area-top1, .area-top2, .area-fill, .area-bottom {
    min-height: 0;
    border-radius: 0 24px 24px 0;
  }
  .area-bottom { border-radius: 0 0 24px 0; min-height: 200px; }
}
