.wy-page {
  background: var(--bg-white);
}

.wy-nav.nav {
  background: rgba(255,255,255,0);
}

.wy-nav.nav.scrolled {
  background: rgba(255,255,255,.94);
}

.wy-hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0d1417;
}

.wy-hero__media,
.wy-hero__media img,
.wy-hero__overlay {
  position: absolute;
  inset: 0;
}

.wy-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wy-hero__overlay {
  background:
    linear-gradient(180deg, rgba(8,12,15,.18), rgba(8,12,15,.74)),
    linear-gradient(90deg, rgba(8,12,15,.38), rgba(8,12,15,.08));
}

.wy-hero__content {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  padding: 7rem clamp(1.5rem, 6vw, 8rem) 4rem;
  text-align: center;
}

.wy-hero .hero-title {
  max-width: 900px;
  margin-bottom: 1.6rem;
}

.wy-intro {
  background: var(--surface);
  padding: clamp(2.25rem, 4vw, 4rem) clamp(1.5rem, 5vw, 5rem);
}

.wy-intro__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: end;
}

.wy-intro h2 {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.12;
}

.wy-intro p,
.wy-copy p {
  color: var(--muted);
  font-size: clamp(.95rem, 1.35vw, 1.12rem);
  font-weight: 300;
  line-height: 1.8;
}

.wy-offer {
  padding: clamp(2.75rem, 4vw, 4.25rem) 0;
  background: var(--bg-white);
}

.wy-offer--alt {
  background: var(--bg);
}

.wy-gallery .gallery-stage {
  aspect-ratio: 4 / 3;
}

.wy-offer__body {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: start;
}

.wy-copy {
  display: grid;
  gap: 1.35rem;
}

.wy-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.wy-facts li {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 1rem 1.15rem;
  background: #fff;
  color: var(--text);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.45;
}

.wy-offer--alt .wy-facts li {
  background: var(--bg-white);
}

.wy-price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.wy-service-price-table {
  margin: 0;
}

.wy-service-price-table td:not(:first-child) {
  white-space: normal;
}

.wy-service-details {
  color: var(--text);
  font-size: .95rem;
  line-height: 1.55;
}

.wy-price-options {
  display: grid;
  gap: .35rem;
  margin-top: .75rem;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.45;
}

.wy-contacts {
  background: var(--surface);
}

.wy-contacts .contacts-map {
  min-height: 440px;
}

@media (max-width: 960px) {
  .wy-hero {
    min-height: 82svh;
  }

  .wy-hero__content {
    padding-top: 6rem;
  }

  .wy-intro__inner,
  .wy-offer__body {
    grid-template-columns: 1fr;
  }

  .wy-offer__body .btn {
    justify-self: start;
  }

  .wy-gallery .gallery-stage {
    aspect-ratio: 4 / 3;
  }

  .wy-price-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .wy-facts {
    grid-template-columns: 1fr;
  }

  .wy-facts li {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .wy-service-price-table td:nth-child(2)::before {
    content: 'Стоимость: ';
  }
}

@media (max-width: 520px) {
  .wy-hero .hero-subactions {
    gap: .7rem;
  }

  .wy-hero .hero-subaction-btn {
    width: 100%;
    max-width: 260px;
    padding-inline: 1.2em;
  }
}
