.offer-page {
  --offer-brand: #246f7c;
  --offer-brand-deep: #174f59;
  --offer-green: #5f7f61;
  --offer-gold: #ae8449;
  --offer-ink: #19363b;
  --offer-muted: #607276;
  --offer-line: #d7e4e5;
  --offer-soft: #f2f7f7;
  --offer-warm: #fbf7ef;
  --offer-shadow: 0 22px 58px rgba(25, 75, 83, .1);
  color: var(--offer-ink);
  margin-bottom: clamp(3rem, 7vw, 6rem);
  margin-top: clamp(1rem, 2.5vw, 2rem);
  max-width: 1200px;
}

.offer-page *,
.offer-page *::before,
.offer-page *::after {
  box-sizing: border-box;
}

.offer-page h1,
.offer-page h2,
.offer-page h3,
.offer-page p {
  text-wrap: pretty;
}

.offer-page [hidden] {
  display: none !important;
}

.offer-kicker {
  color: var(--offer-gold);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .15em;
  margin: 0 0 .7rem;
  text-transform: uppercase;
}

.offer-hero {
  background:
    radial-gradient(circle at 5% 5%, rgba(255, 255, 255, .85) 0 8%, transparent 27%),
    linear-gradient(135deg, #eef6f5 0%, #f8fbfa 58%, #f7f1e7 100%);
  border: 1px solid var(--offer-line);
  border-radius: 30px;
  box-shadow: var(--offer-shadow);
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr);
  overflow: hidden;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  position: relative;
}

.offer-hero::after {
  border: 1px solid rgba(36, 111, 124, .12);
  border-radius: 50%;
  content: "";
  height: 290px;
  left: -185px;
  pointer-events: none;
  position: absolute;
  top: -175px;
  width: 290px;
}

.offer-hero__content {
  align-self: center;
  position: relative;
  z-index: 1;
}

.offer-hero h1 {
  color: var(--offer-brand-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4.2vw, 3.7rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1;
  margin: 0;
  max-width: 700px;
}

.offer-hero__lead {
  color: #4f6569;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.5;
  margin: .85rem 0 0;
  max-width: 680px;
}

.offer-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.35rem;
}

.offer-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: .9rem;
  font-weight: 750;
  gap: .35rem;
  justify-content: center;
  min-height: 48px;
  padding: .75rem 1.25rem;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.offer-button:hover,
.offer-button:focus-visible {
  transform: translateY(-2px);
}

.offer-button:focus-visible,
.offer-page a:focus-visible,
.offer-page input:focus-visible {
  outline: 3px solid rgba(174, 132, 73, .38);
  outline-offset: 3px;
}

.offer-button--primary {
  background: var(--offer-brand);
  color: #fff;
}

.offer-button--primary:hover,
.offer-button--primary:focus-visible {
  background: var(--offer-brand-deep);
  color: #fff;
}

.offer-button--secondary {
  background: rgba(255, 255, 255, .78);
  border-color: rgba(36, 111, 124, .28);
  color: var(--offer-brand-deep);
}

.offer-button--secondary:hover,
.offer-button--secondary:focus-visible {
  background: #fff;
  border-color: var(--offer-brand);
  color: var(--offer-brand-deep);
}

.offer-hero__guide {
  align-self: center;
  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(36, 111, 124, .18);
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(30, 78, 86, .12);
  padding: clamp(.9rem, 1.8vw, 1.25rem);
  position: relative;
  z-index: 1;
}

.offer-hero__guide-label {
  color: var(--offer-gold);
  display: block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .13em;
  margin-bottom: .7rem;
  text-transform: uppercase;
}

.offer-hero__guide ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.offer-hero__guide li {
  border-bottom: 1px solid var(--offer-line);
}

.offer-hero__guide li > a {
  align-items: center;
  border-radius: 12px;
  color: inherit;
  display: flex;
  gap: .7rem;
  padding: .45rem .25rem;
  text-decoration: none;
  transition: background-color .2s ease;
}

.offer-hero__guide li:first-child > a {
  padding-top: 0;
}

.offer-hero__guide li:last-child {
  border-bottom: 0;
}

.offer-hero__guide li:last-child > a {
  padding-bottom: 0;
}

.offer-hero__guide li > a:hover,
.offer-hero__guide li > a:focus-visible {
  background: rgba(36, 111, 124, .055);
}

.offer-hero__guide li > a > span {
  align-items: center;
  background: var(--offer-soft);
  border: 1px solid #d2e2e3;
  border-radius: 50%;
  color: var(--offer-brand);
  display: flex;
  flex: 0 0 36px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .75rem;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.offer-hero__guide strong,
.offer-hero__guide small {
  display: block;
}

.offer-hero__guide strong {
  color: var(--offer-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.offer-hero__guide small {
  color: var(--offer-muted);
  font-size: .76rem;
  line-height: 1.4;
  margin-top: .15rem;
}

.offer-search {
  align-items: center;
  background: var(--offer-warm);
  border: 1px solid #e8ddc8;
  border-radius: 20px;
  display: grid;
  gap: 1rem 1.5rem;
  grid-template-columns: minmax(220px, .7fr) minmax(320px, 1.3fr);
  margin-top: 1rem;
  padding: 1.15rem 1.25rem;
}

.offer-search h2 {
  color: var(--offer-brand-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.offer-search > div p {
  color: var(--offer-muted);
  font-size: .78rem;
  margin: .2rem 0 0;
}

.offer-search label {
  align-items: center;
  background: #fff;
  border: 1px solid #d8dfdb;
  border-radius: 999px;
  display: flex;
  min-height: 48px;
  padding: .2rem .85rem;
}

.offer-search label:focus-within {
  border-color: var(--offer-brand);
  box-shadow: 0 0 0 3px rgba(36, 111, 124, .12);
}

.offer-search svg {
  fill: none;
  flex: 0 0 21px;
  height: 21px;
  stroke: var(--offer-brand);
  stroke-linecap: round;
  stroke-width: 1.8;
  width: 21px;
}

.offer-search input {
  background: transparent;
  border: 0;
  color: var(--offer-ink);
  flex: 1;
  font-size: .88rem;
  min-width: 0;
  outline: 0;
  padding: .6rem .7rem;
}

.offer-search input:focus-visible {
  outline: 0;
}

.offer-search__status {
  color: var(--offer-muted);
  font-size: .72rem;
  grid-column: 2;
  margin: -.65rem .9rem 0;
}

.offer-no-results {
  background: var(--offer-soft);
  border: 1px solid var(--offer-line);
  border-radius: 18px;
  color: var(--offer-muted);
  margin: 2rem 0 0;
  padding: 1.2rem;
  text-align: center;
}

.offer-section {
  scroll-margin-top: 1.5rem;
  margin-top: clamp(4rem, 9vw, 7rem);
}

.offer-section__heading {
  align-items: end;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.offer-section__heading h2,
.offer-trust h2,
.offer-help h2 {
  color: var(--offer-brand-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.1vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.08;
  margin: 0;
}

.offer-section__heading > p,
.offer-section__heading > div:last-child > p {
  color: var(--offer-muted);
  font-size: .98rem;
  line-height: 1.62;
  margin: 0;
}

.offer-section__heading > div:last-child > a {
  color: var(--offer-brand);
  display: inline-block;
  font-size: .84rem;
  font-weight: 750;
  margin-top: .65rem;
  text-decoration: none;
}

.offer-section__heading > div:last-child > a:hover,
.offer-section__heading > div:last-child > a:focus-visible {
  text-decoration: underline;
  text-underline-offset: .2rem;
}

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

.offer-grid--featured {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.offer-card {
  min-width: 0;
  position: relative;
}

.offer-card__link {
  background: #fff;
  border: 1px solid var(--offer-line);
  border-radius: 20px;
  color: var(--offer-ink);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 330px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.offer-card__link:hover,
.offer-card__link:focus-visible {
  border-color: rgba(36, 111, 124, .42);
  box-shadow: 0 19px 45px rgba(29, 78, 86, .12);
  color: var(--offer-ink);
  transform: translateY(-4px);
}

.offer-card__visual {
  background: linear-gradient(145deg, #e9f3f2, #f7faf8);
  border-bottom: 1px solid var(--offer-line);
  height: 148px;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.offer-card__visual img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
  width: 100%;
}

.offer-card__link:hover .offer-card__visual img,
.offer-card__link:focus-visible .offer-card__visual img {
  transform: scale(1.035);
}

.offer-card__visual:not(figure) {
  align-items: flex-end;
  display: flex;
  padding: 1.05rem 1.2rem;
}

.offer-card__visual:not(figure)::before,
.offer-card__visual:not(figure)::after,
.offer-card__visual:not(figure) i {
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 50%;
  content: "";
  position: absolute;
}

.offer-card__visual:not(figure)::before {
  height: 150px;
  right: -42px;
  top: -69px;
  width: 150px;
}

.offer-card__visual:not(figure)::after {
  height: 91px;
  right: 13px;
  top: -42px;
  width: 91px;
}

.offer-card__visual:not(figure) i {
  border-radius: 55% 45% 70% 30%;
  height: 54px;
  right: 40px;
  top: 61px;
  transform: rotate(32deg);
  width: 34px;
}

.offer-card__visual:not(figure) > span {
  color: rgba(255, 255, 255, .92);
  font-size: .67rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .13em;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.offer-card__visual--therapist {
  background: linear-gradient(135deg, #286f78, #174f59);
}

.offer-card__visual--education {
  background: linear-gradient(135deg, #6f8b69, #4e7052);
}

.offer-card__visual--course {
  background: linear-gradient(135deg, #bf9860, #98703b);
}

.offer-card__visual--event {
  background: linear-gradient(135deg, #567a81, #315d65);
}

.offer-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.2rem;
}

.offer-card__category {
  color: var(--offer-gold);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .105em;
  margin: 0 0 .5rem;
  text-transform: uppercase;
}

.offer-card h3 {
  color: var(--offer-brand-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.24;
  margin: 0;
}

.offer-card__start {
  color: var(--offer-muted);
  font-size: .85rem;
  line-height: 1.52;
  margin: .65rem 0 0;
}

.offer-card__start span {
  color: var(--offer-brand-deep);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .08em;
  margin-right: .3rem;
  text-transform: uppercase;
}

.offer-card__more {
  color: var(--offer-brand);
  font-size: .8rem;
  font-weight: 750;
  margin-top: auto;
  padding-top: 1rem;
}

.offer-card__more b {
  display: inline-block;
  font-size: 1rem;
  margin-left: .2rem;
  transition: transform .2s ease;
}

.offer-card__link:hover .offer-card__more b,
.offer-card__link:focus-visible .offer-card__more b {
  transform: translateX(4px);
}

.offer-card__edit {
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--offer-line);
  border-radius: 999px;
  color: var(--offer-brand-deep);
  font-size: .68rem;
  padding: .3rem .55rem;
  position: absolute;
  right: .65rem;
  text-decoration: none;
  top: .65rem;
  z-index: 2;
}

.offer-page--list .offer-grid,
.offer-page--list .offer-grid--featured {
  gap: .6rem;
  grid-template-columns: 1fr;
}

.offer-page--list .offer-card__link {
  border-radius: 14px;
  min-height: 0;
  overflow: visible;
}

.offer-page--list .offer-card__visual {
  display: none;
}

.offer-page--list .offer-card__body {
  align-items: center;
  display: grid;
  gap: .45rem 1.5rem;
  grid-template-columns: minmax(230px, .8fr) minmax(240px, 1.2fr) auto;
  padding: 1rem 1.2rem;
}

.offer-page--list .offer-card__category {
  display: none;
}

.offer-page--list .offer-card h3 {
  font-size: 1.12rem;
  grid-column: 1;
}

.offer-page--list .offer-card__start {
  font-size: .8rem;
  grid-column: 2;
  margin: 0;
}

.offer-page--list .offer-card__more {
  grid-column: 3;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.offer-page--list .offer-card--admin .offer-card__more {
  margin-right: 4.6rem;
}

.offer-page--list .offer-card__edit {
  top: 50%;
  transform: translateY(-50%);
}

.offer-section__empty {
  color: var(--offer-muted);
  grid-column: 1 / -1;
}

.offer-trust {
  align-items: center;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 255, 255, .11) 0 7%, transparent 23%),
    linear-gradient(135deg, var(--offer-brand-deep), var(--offer-brand));
  border-radius: 26px;
  color: #fff;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-top: clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
  padding: clamp(1.5rem, 4.5vw, 3.2rem);
}

.offer-trust > div {
  max-width: 760px;
}

.offer-trust .offer-kicker {
  color: #e6c993;
}

.offer-trust h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.7vw, 2.85rem);
}

.offer-trust p:last-child {
  color: rgba(255, 255, 255, .82);
  line-height: 1.6;
  margin: .8rem 0 0;
}

.offer-button--light {
  background: #fff;
  color: var(--offer-brand-deep);
  flex: 0 0 auto;
}

.offer-button--light:hover,
.offer-button--light:focus-visible {
  background: #f7fbfb;
  color: var(--offer-brand-deep);
}

.offer-help {
  align-items: center;
  background: var(--offer-warm);
  border: 1px solid #eadfc9;
  border-radius: 25px;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-top: clamp(4rem, 9vw, 7rem);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.offer-help > div:first-child {
  max-width: 700px;
}

.offer-help h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.7rem);
}

.offer-help p:last-child {
  color: var(--offer-muted);
  line-height: 1.6;
  margin: .7rem 0 0;
}

.offer-help__actions {
  flex: 0 0 auto;
  margin-top: 0;
}

@media (max-width: 960px) {
  .offer-hero {
    grid-template-columns: 1fr;
  }

  .offer-hero__guide {
    max-width: 690px;
    transform: none;
  }

  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-trust,
  .offer-help {
    align-items: flex-start;
    flex-direction: column;
  }

  .offer-help__actions {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .offer-search,
  .offer-section__heading {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .offer-search__status {
    grid-column: 1;
    margin-left: .9rem;
  }

  .offer-page--list .offer-card__body {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .offer-page--list .offer-card h3 {
    grid-column: 1;
  }

  .offer-page--list .offer-card__start {
    grid-column: 1;
  }

  .offer-page--list .offer-card__more {
    align-self: center;
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 600px) {
  .offer-hero,
  .offer-trust,
  .offer-help {
    border-radius: 21px;
  }

  .offer-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.35rem);
  }

  .offer-help__actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }

  .offer-card__link {
    min-height: 0;
  }

  .offer-card__visual {
    height: 135px;
  }

  .offer-button--light {
    align-self: stretch;
  }

  .offer-page--list .offer-card__body {
    display: block;
    padding: 1rem;
  }

  .offer-page--list .offer-card--admin .offer-card__body {
    padding-right: 5.5rem;
  }

  .offer-page--list .offer-card__start {
    margin-top: .3rem;
  }

  .offer-page--list .offer-card__more {
    display: inline-block;
    margin-top: .7rem;
  }

  .offer-page--list .offer-card--admin .offer-card__more {
    margin-right: 0;
  }

  .offer-page--list .offer-card__edit {
    top: .75rem;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer-button,
  .offer-card__link,
  .offer-card__visual img,
  .offer-card__more b {
    transition: none;
  }
}
