/* Homepage why OknaMinsk24 — oknaminsk24 */
.home-why {
  --hw-ink: #152029;
  --hw-muted: #5d6b78;
  --hw-steel: #1f3a52;
  --hw-green: #19b27f;
  --hw-green-deep: #0f8f64;
  --hw-orange: #e07a1f;
  --hw-line: rgba(31, 58, 82, 0.08);
  --hw-soft: #f3f7f5;
  max-width: 1380px;
  margin: 0.25rem auto 2.5rem;
  padding: 0 1rem;
  font-family: Manrope, system-ui, sans-serif;
}

.home-why__top {
  display: grid;
  gap: 1.35rem;
  align-items: center;
  margin-bottom: 1.35rem;
}

@media (min-width: 900px) {
  .home-why__top {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
  }
}

.home-why__kicker {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hw-green-deep);
}

.home-why h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.5vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--hw-steel);
  line-height: 1.2;
}

.home-why__lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--hw-muted);
  font-weight: 560;
}

.home-why__lead strong {
  color: var(--hw-steel);
  font-weight: 750;
}

.home-why__photo {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--hw-line);
  box-shadow: 0 14px 36px rgba(21, 32, 41, 0.08);
  background: var(--hw-soft);
}

.home-why__photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (min-width: 900px) {
  .home-why__photo img {
    min-height: 320px;
  }
}

.home-why__grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .home-why__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .home-why__grid { grid-template-columns: repeat(4, 1fr); }
}

.home-why__card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.15rem 1.05rem 1.2rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--hw-line);
  box-shadow: 0 10px 26px rgba(21, 32, 41, 0.045);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.home-why__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(21, 32, 41, 0.1);
  border-color: rgba(25, 178, 127, 0.28);
}

.home-why__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: rgba(25, 178, 127, 0.12);
  color: var(--hw-green-deep);
  font-size: 0.82rem;
  font-weight: 800;
}

.home-why__card h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hw-steel);
  line-height: 1.25;
}

.home-why__card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--hw-muted);
  font-weight: 560;
}

.home-why__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(25, 178, 127, 0.1), rgba(31, 58, 82, 0.05));
  border: 1px solid var(--hw-line);
}

.home-why__cta h3 {
  margin: 0 0 0.3rem;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--hw-steel);
}

.home-why__cta p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--hw-muted);
  max-width: 36rem;
  line-height: 1.45;
}

.home-why__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.home-why__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.home-why__btn--green {
  background: var(--hw-green);
  color: #fff;
  box-shadow: 0 6px 16px rgba(25, 178, 127, 0.28);
}

.home-why__btn--green:hover {
  background: var(--hw-green-deep);
  transform: translateY(-1px);
}

.home-why__btn--ghost {
  background: #fff;
  color: var(--hw-steel);
  border: 1px solid var(--hw-line);
}

.home-why__btn--ghost:hover {
  border-color: rgba(25, 178, 127, 0.35);
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .home-why__card,
  .home-why__btn { transition: none; }
  .home-why__card:hover,
  .home-why__btn:hover { transform: none; }
}
