.offer-page {
  --offer-ink: #20251f;
  --offer-muted: #687067;
  --offer-green: #386f2d;
  --offer-accent: #69b52b;
  --offer-soft: #f1f8ef;
  --offer-line: #dce8d9;
  color: var(--offer-ink);
  margin: 0 auto;
  max-width: 1320px;
  padding: 22px 24px 72px;
}

.breadcrumbs + .offer-page {
  margin-top: -25px;
}

.offer-hero {
  background: linear-gradient(125deg, #edf7e9 0%, #f8fbf6 62%, #eef7ec 100%);
  border: 1px solid var(--offer-line);
  border-radius: 22px;
  overflow: hidden;
  padding: 42px 48px 38px;
  position: relative;
}

.offer-hero::after {
  background: var(--offer-accent);
  border-radius: 50%;
  content: "";
  height: 170px;
  opacity: .11;
  position: absolute;
  right: -42px;
  top: -78px;
  width: 170px;
}

.offer-hero__eyebrow {
  color: var(--offer-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .11em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.offer-hero h1 {
  color: var(--offer-ink);
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.05;
  margin: 0;
}

.offer-hero > p {
  color: #4f584e;
  font-size: 18px;
  line-height: 1.45;
  margin: 14px 0 0;
}

.offer-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.offer-hero__meta span {
  background: rgba(255, 255, 255, .72);
  border: 1px solid #d5e4d1;
  border-radius: 999px;
  color: #4f614b;
  font-size: 13px;
  padding: 7px 12px;
}

.offer-layout {
  align-items: start;
  display: grid;
  gap: 48px;
  grid-template-columns: 270px minmax(0, 820px);
  justify-content: center;
  margin-top: 42px;
}

.offer-nav {
  border-left: 2px solid var(--offer-line);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 4px 0 4px 20px;
  position: sticky;
  top: 16px;
}

.offer-nav__title {
  color: var(--offer-ink);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.offer-nav nav {
  display: grid;
  gap: 2px;
}

.offer-nav a {
  align-items: baseline;
  border-radius: 8px;
  color: #596157;
  display: flex;
  font-size: 13px;
  gap: 9px;
  line-height: 1.25;
  padding: 6px 8px;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}

.offer-nav a span {
  color: #8da188;
  flex: 0 0 18px;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.offer-nav a:hover,
.offer-nav a:focus-visible {
  background: var(--offer-soft);
  color: var(--offer-green);
  outline: none;
}

.offer-mobile-nav {
  display: none;
}

.oferta-text {
  min-width: 0;
}

.oferta-text > .title,
.oferta-text .bx > .h3:first-child {
  display: none;
}

.oferta-text .bx > p:first-of-type {
  background: var(--offer-soft);
  border-left: 4px solid var(--offer-accent);
  border-radius: 0 12px 12px 0;
  color: #394237;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 36px;
  padding: 20px 24px;
}

.oferta-text .h3 {
  color: var(--offer-ink);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.25;
  margin: 46px 0 17px;
  scroll-margin-top: 24px;
}

.oferta-text .h3 br {
  display: none;
}

.oferta-text p {
  color: #444b42;
  font-size: 16px;
  line-height: 1.72;
  margin: 0 0 14px;
}

.oferta-text p br {
  content: "";
  display: block;
  margin-top: 10px;
}

.oferta-text a {
  color: var(--offer-green);
  font-weight: 600;
  text-decoration-color: #a9cba2;
  text-underline-offset: 3px;
}

.oferta-text a:hover,
.oferta-text a:focus-visible {
  color: #285820;
}

@media (max-width: 920px) {
  .offer-page {
    padding-left: 20px;
    padding-right: 20px;
  }

  .offer-layout {
    display: block;
    margin-top: 30px;
  }

  .offer-nav {
    display: none;
  }

  .offer-mobile-nav {
    background: #fff;
    border: 1px solid var(--offer-line);
    border-radius: 14px;
    display: block;
    margin-top: 16px;
  }

  .offer-mobile-nav summary {
    align-items: center;
    color: var(--offer-ink);
    cursor: pointer;
    display: flex;
    font-size: 15px;
    font-weight: 700;
    justify-content: space-between;
    list-style: none;
    padding: 15px 17px;
  }

  .offer-mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .offer-mobile-nav summary::after {
    color: var(--offer-green);
    content: "+";
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
  }

  .offer-mobile-nav[open] summary::after {
    content: "−";
  }

  .offer-mobile-nav summary span {
    color: var(--offer-muted);
    font-size: 12px;
    font-weight: 400;
    margin-left: auto;
    padding-right: 12px;
  }

  .offer-mobile-nav nav {
    border-top: 1px solid var(--offer-line);
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(7, 1fr);
    padding: 14px 17px 17px;
  }

  .offer-mobile-nav a {
    align-items: center;
    aspect-ratio: 1;
    background: var(--offer-soft);
    border-radius: 8px;
    color: var(--offer-green);
    display: flex;
    font-size: 12px;
    font-weight: 700;
    justify-content: center;
    text-decoration: none;
  }
}

@media (max-width: 560px) {
  .offer-page {
    padding: 10px 12px 50px;
  }

  .offer-hero {
    border-radius: 16px;
    padding: 27px 20px 24px;
  }

  .offer-hero h1 {
    font-size: 34px;
  }

  .offer-hero > p {
    font-size: 15px;
    margin-top: 10px;
  }

  .offer-hero__meta {
    margin-top: 18px;
  }

  .offer-layout {
    margin-top: 24px;
  }

  .oferta-text .bx > p:first-of-type {
    border-left-width: 3px;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
    padding: 16px 17px;
  }

  .oferta-text .h3 {
    font-size: 20px;
    line-height: 1.3;
    margin: 36px 0 13px;
  }

  .oferta-text p {
    font-size: 15px;
    line-height: 1.68;
  }

  .oferta-text p br {
    margin-top: 9px;
  }

  .offer-mobile-nav nav {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer-nav a {
    transition: none;
  }
}
