/* минимальные добавки к уже существующим стилям */
:root {
  --primary: #3e4939;
  --white: #fff;
  --bg-light: #fbfbf9;
  --light-yellow: #fcffd8;
}

.legal-hero {
  background-image: url("image/bgwhite.webp");
  background-position: 50%;
  background-size: cover;
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.legal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .65), rgba(255, 255, 255, .9));
}

.legal-hero .w-container {
  position: relative;
  z-index: 1;
}

.legal-hero h1 {
  font-family: Prata, serif;
  font-weight: 400;
  margin: 0 0 12px
}

.lead {
  opacity: .85
}

.legal-section {
  padding: 60px 0;
  background: #fff;
}

.legal-content {
  max-width: 900px
}

.legal-content h2 {
  margin: 28px 0 12px
}

.legal-content ul {
  margin: 12px 0 16px 18px
}

.legal-contacts a {
  text-decoration: underline
}

.legal-contacts {
  line-height: 1.7em;
  margin-top: 8px
}

.thankyou-hero {
  text-align: center
}

.thanks-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 18px 0
}

.autoback {
  opacity: .7;
  margin-top: 8px
}

/* плавное появление */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease
}

.reveal.reveal-in {
  opacity: 1;
  transform: none
}

/* тёмный хедер при скролле (совместимо с вашим style.css) */
header.navbar-absolute.is-sticky {
  background: rgba(62, 73, 57, .96) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08)
}

header.navbar-absolute.is-sticky .nav-link-block {
  color: #fbfbf9
}