/**
 * Блок «Преимущества усадьбы» — типографика и сетка как .gle-ohota__features / .home-of.
 */

.gle-usadba-benefits {
  --home-font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, ""Acrom-Light", system-ui, Arial, sans-serif;
  --home-green-text: #1a6b1a;
  width: 100%;
  max-width: none;
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
  padding: clamp(2rem, 4vw, 3.25rem) 0 clamp(2.25rem, 4.5vw, 3.5rem);
  background: #fff;
  box-sizing: border-box;
}

/* .gle-ohota__subhead — макет: крупнее */
.gle-usadba-benefits__title {
  position: relative;
  z-index: 1;
  text-align: center;
  font-family: var(--home-font-body, system-ui, sans-serif);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  margin: 0;
  padding: 0 clamp(1rem, 2.5vw, 1.5rem) clamp(2rem, 4vw, 2.85rem);
  color: #111;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

/* .gle-ohota__features */
.gle-usadba-benefits__features {
  position: relative;
  z-index: 1;
  max-width: var(--gle-content-width);
  margin: 0 auto;
  padding: 0 clamp(0.75rem, 2vw, 1.5rem) clamp(2.5rem, 4.5vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  box-sizing: border-box;
}

.gle-usadba-benefits__features::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  width: min(54vw, 440px);
  height: min(48vw, 380px);
  background-image: var(
    --gle-usadba-benefits-watermark,
    url("../img/disk/stroitelstvo/stroitelstvo-dom-svetlana-benefits-watermark.png")
  );
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.14;
  filter: invert(1);
  pointer-events: none;
}

/* .gle-ohota-of */
.gle-usadba-benefits__item {
  text-align: left;
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: clamp(0.65rem, 1.6vw, 1.05rem);
  row-gap: 0.65rem;
  align-items: start;
}

/* .gle-ohota-of__icon — макет ~79px */
.gle-usadba-benefits__icon {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  justify-self: start;
  position: relative;
  z-index: 2;
  width: clamp(4.25rem, 6.5vw, 4.95rem);
  height: clamp(4.25rem, 6.5vw, 4.95rem);
  margin: 0;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 0;
  flex-shrink: 0;
  box-sizing: border-box;
  isolation: isolate;
}

.gle-usadba-benefits__icon-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* .gle-ohota-of__h */
.gle-usadba-benefits__h {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--home-font-body, system-ui, sans-serif);
  color: var(--home-green-text, #1a6b1a);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  line-height: 1.05;
  text-align: left;
}

/* .gle-ohota-of__p */
.gle-usadba-benefits__p {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-family: var(--home-font-body, system-ui, sans-serif);
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  line-height: 1.45;
  color: #1a1a1a;
  text-align: left;
  max-width: none;
}

/* pdf-shell: без увеличения от глобальных правил */
.pdf-shell .gle-usadba-benefits__title,
.pdf-shell .gle-usadba-benefits__h,
.pdf-shell .gle-usadba-benefits__p {
  font-family: var(--home-font-body, system-ui, sans-serif);
}

.pdf-shell .gle-usadba-benefits__title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.15;
}

.pdf-shell .gle-usadba-benefits__h {
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  line-height: 1.05;
}

.pdf-shell .gle-usadba-benefits__p {
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  line-height: 1.45;
}

@media (max-width: 720px) {
  .gle-usadba-benefits__features {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 900px) {
  .gle-usadba-benefits__p {
    font-size: clamp(0.95rem, 1.35vw, 1.15rem);
  }
}
