/* Stoimost page — oknaminsk24 */
:root {
  --st-ink: #152029;
  --st-muted: #5d6b78;
  --st-steel: #1f3a52;
  --st-green: #19b27f;
  --st-green-deep: #149a74;
  --st-accent: #e07a1f;
  --st-line: #d9e1e8;
  --st-paper: #eef2f6;
  --st-bg: #f5f1ea;
  --st-font: "Manrope", system-ui, sans-serif;
  --st-max: 1380px;
}

* { box-sizing: border-box; }

body.stoimost-page {
  margin: 0;
  font-family: var(--st-font);
  color: var(--st-ink);
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(25, 178, 127, 0.12), transparent 55%),
    linear-gradient(180deg, #f7f3ec 0%, #eef2f6 42%, #f7f3ec 100%);
  min-height: 100vh;
}

.st-wrap {
  width: min(var(--st-max), calc(100% - 2rem));
  margin: 0 auto;
}

/* Hero */
.st-hero {
  position: relative;
  overflow: hidden;
  padding: 1.25rem 0 2.4rem;
}

.st-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}

.st-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(25, 178, 127, 0.12);
  color: var(--st-green-deep);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.st-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--st-green);
}

.st-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.1rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--st-steel);
}

.st-hero__lead {
  margin: 0 0 1.25rem;
  max-width: 36rem;
  color: var(--st-muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.st-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.st-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  border-radius: 12px;
  border: 0;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 750;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.15s, filter 0.15s, background 0.15s;
}

.st-btn:hover { transform: translateY(-1px); }

.st-btn--green {
  background: linear-gradient(90deg, #31a375, #19b27f);
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(25, 178, 127, 0.28);
}

.st-btn--ghost {
  background: rgba(255, 255, 255, 0.8);
  color: var(--st-ink) !important;
  border: 1px solid rgba(25, 178, 127, 0.35);
}

.st-btn--orange {
  background: var(--st-accent);
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(224, 122, 31, 0.25);
}

.st-btn--block { width: 100%; }

.st-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.st-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(28, 52, 72, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--st-steel);
}

.st-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--st-green);
}

.st-hero__visual {
  position: relative;
  min-height: 340px;
}

.st-hero__shot {
  position: absolute;
  inset: 10% 4% 8% 12%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(16, 32, 48, 0.18);
  animation: st-float 7s ease-in-out infinite;
}

.st-hero__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.st-hero__badge {
  position: absolute;
  z-index: 2;
  padding: 0.7rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(28, 52, 72, 0.08);
  box-shadow: 0 14px 30px rgba(16, 32, 48, 0.12);
  font-weight: 750;
  color: var(--st-steel);
  animation: st-float 5.8s ease-in-out infinite;
}

.st-hero__badge strong {
  display: block;
  font-size: 1.15rem;
  color: var(--st-green-deep);
}

.st-hero__badge span {
  font-size: 0.78rem;
  color: var(--st-muted);
  font-weight: 600;
}

.st-hero__badge--a { top: 8%; left: 0; animation-delay: -1s; }
.st-hero__badge--b { right: 0; bottom: 12%; animation-delay: -2.4s; }

@keyframes st-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Filters */
.st-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.25rem 0 1.5rem;
  padding: 0.45rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(28, 52, 72, 0.08);
  width: fit-content;
  max-width: 100%;
}

.st-filters button {
  appearance: none;
  border: 0;
  background: transparent;
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 750;
  color: var(--st-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.st-filters button.is-active,
.st-filters button:hover {
  background: rgba(25, 178, 127, 0.12);
  color: var(--st-green-deep);
}

/* Series */
.st-series {
  margin-bottom: 2.25rem;
}

.st-series[hidden] { display: none !important; }

.st-series__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.st-series__head h2 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: var(--st-steel);
  letter-spacing: -0.02em;
}

.st-series__head p {
  margin: 0;
  color: var(--st-muted);
  max-width: 40rem;
  line-height: 1.45;
}

.st-series__tag {
  flex: none;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(224, 122, 31, 0.12);
  color: var(--st-accent);
  font-size: 0.78rem;
  font-weight: 750;
}

.st-series--prestige .st-series__tag {
  background: rgba(31, 58, 82, 0.1);
  color: var(--st-steel);
}

.st-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.st-series--standard .st-grid,
.st-series--prestige .st-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
}

.st-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(28, 52, 72, 0.08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(16, 32, 48, 0.06);
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease, box-shadow 0.2s;
}

.st-card.is-in {
  transform: none;
  opacity: 1;
}

.st-card:hover {
  box-shadow: 0 20px 42px rgba(16, 32, 48, 0.12);
  transform: translateY(-4px);
}

.st-card.is-in:hover {
  transform: translateY(-4px);
}

.st-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8eef3;
}

.st-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.st-card:hover .st-card__media img {
  transform: scale(1.05);
}

.st-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.05rem 1.1rem 1.15rem;
  flex: 1;
}

.st-card h3 {
  margin: 0;
  font-size: 1.12rem;
  color: var(--st-steel);
}

.st-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.st-card li {
  display: flex;
  gap: 0.45rem;
  color: var(--st-muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.st-card li::before {
  content: "★";
  color: var(--st-green);
  flex: none;
}

.st-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.35rem;
}

.st-price {
  font-weight: 800;
  color: var(--st-steel);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.st-price span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--st-muted);
  margin-right: 0.2rem;
}

/* Info */
.st-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0.5rem 0 2.5rem;
}

.st-info__card {
  padding: 1.35rem 1.4rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(28, 52, 72, 0.08);
  box-shadow: 0 14px 30px rgba(16, 32, 48, 0.05);
}

.st-info__card h2 {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
  color: var(--st-steel);
}

.st-info__card p {
  margin: 0;
  color: var(--st-muted);
  line-height: 1.55;
}

.st-info__card b { color: var(--st-ink); }

/* CTA band */
.st-cta {
  margin: 0 0 2.75rem;
  padding: 1.5rem;
  border-radius: 24px;
  background:
    linear-gradient(120deg, rgba(31, 58, 82, 0.96), rgba(25, 178, 127, 0.88));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  overflow: hidden;
  position: relative;
}

.st-cta::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.st-cta h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}

.st-cta p {
  margin: 0;
  opacity: 0.9;
  max-width: 34rem;
  line-height: 1.45;
}

.st-cta .st-btn--orange { position: relative; z-index: 1; }

/* Footer */
.st-foot {
  border-top: 1px solid rgba(28, 52, 72, 0.08);
  padding: 1.5rem 0 2rem;
  color: var(--st-muted);
  font-size: 0.88rem;
}

.st-foot__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.st-foot a {
  color: var(--st-green-deep);
  font-weight: 700;
  text-decoration: none;
}

.st-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
  font-size: 0.86rem;
  color: var(--st-muted);
}

.st-crumbs a {
  color: var(--st-muted);
  text-decoration: none;
}

.st-crumbs a:hover { color: var(--st-green-deep); }

@media (max-width: 900px) {
  .st-hero__grid,
  .st-info,
  .st-grid,
  .st-series--standard .st-grid,
  .st-series--prestige .st-grid {
    grid-template-columns: 1fr;
  }

  .st-hero__visual {
    min-height: 260px;
    order: -1;
  }

  .st-hero__shot {
    inset: 0;
    position: relative;
    height: 240px;
  }

  .st-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .st-series__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  .st-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .st-card,
  .st-hero__shot,
  .st-hero__badge,
  .st-card__media img {
    animation: none !important;
    transition: none !important;
  }

  .st-card {
    opacity: 1;
    transform: none;
  }
}
