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

.home-price__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.9rem 1.5rem;
  margin-bottom: 1.15rem;
}

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

.home-price__head h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--hp-steel);
  line-height: 1.2;
}

.home-price__head p {
  margin: 0.4rem 0 0;
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--hp-muted);
  font-weight: 560;
}

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

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

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

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

.home-price__btn--ghost {
  background: rgba(25, 178, 127, 0.1);
  color: var(--hp-green-deep);
}

.home-price__btn--ghost:hover {
  background: rgba(25, 178, 127, 0.18);
  transform: translateY(-1px);
}

.home-price__panel {
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--hp-line);
  box-shadow: 0 12px 32px rgba(21, 32, 41, 0.06);
  overflow: hidden;
}

.home-price__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.home-price__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.home-price__table th,
.home-price__table td {
  padding: 0.95rem 1.15rem;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--hp-line);
}

.home-price__table th {
  background: var(--hp-soft);
  color: var(--hp-steel);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-price__table tbody tr {
  transition: background 0.18s ease;
}

.home-price__table tbody tr:hover {
  background: rgba(25, 178, 127, 0.06);
}

.home-price__table tbody tr:last-child td {
  border-bottom: 0;
}

.home-price__table td:first-child {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--hp-steel);
}

.home-price__table td:nth-child(2),
.home-price__table td:nth-child(3) {
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--hp-green-deep);
  font-variant-numeric: tabular-nums;
}

.home-price__table td:nth-child(3) {
  color: var(--hp-muted);
  font-weight: 650;
}

.home-price__table a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(25, 178, 127, 0.35);
}

.home-price__table a:hover {
  color: var(--hp-green-deep);
  border-bottom-color: var(--hp-green);
}

.home-price__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 1rem 1.15rem;
  background: var(--hp-soft);
  border-top: 1px solid var(--hp-line);
}

.home-price__foot p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--hp-muted);
  line-height: 1.45;
  max-width: 40rem;
}

.home-price__foot a {
  color: var(--hp-green-deep);
  font-weight: 750;
  text-decoration: none;
}

.home-price__foot a:hover {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .home-price__btn,
  .home-price__table tbody tr { transition: none; }
  .home-price__btn:hover { transform: none; }
}
