.catalog-hero,
.secondary-hero {
  position: relative;
  color: var(--prime-ink, #23282b);
  background: var(--prime-paper, #fff);
}

.catalog-hero {
  padding-block: clamp(90px, 10vw, 143px);
  border-bottom: 0;
}

.catalog-hero--works {
  padding-block: clamp(48px, 7vw, 102px) clamp(32px, 4vw, 56px);
}

.catalog-hero--works + .prime-solutions {
  padding-block-start: 0;
}

@media (650px < width <= 950px) {
  .catalog-hero--works + .prime-solutions .prime-solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.catalog-hero--media,
.secondary-hero {
  display: grid;
  align-items: center;
  min-height: 675px;
  padding-block: 73px;
}

.catalog-detail .catalog-hero--media {
  padding-top: 104px;
}

.catalog-hero--media .catalog-hero-inner,
.secondary-hero .secondary-hero__layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(28px, 5vw, 68px);
}

.catalog-hero h1,
.secondary-hero h1 {
  max-width: 19ch;
  font-size: clamp(2.25rem, 4.25vw, 3.375rem);
  font-weight: 720;
  line-height: 1.045;
  letter-spacing: -.048em;
  text-wrap: initial;
  overflow-wrap: anywhere;
}

.catalog-hero p,
.secondary-hero p {
  color: var(--sif-muted);
  font-size: clamp(1rem, 1.48vw, 1.19rem);
  line-height: 1.62;
}

.catalog-hero .catalog-back {
  position: absolute;
  inset-block-start: 24px;
  inset-inline-start: max(var(--gutter), calc((100% - 1200px) / 2));
  margin: 0;
  color: var(--sif-muted);
  font-size: .8rem;
}

.catalog-hero .button {
  min-height: 52px;
  margin-top: 29px;
  padding-inline: 24px;
}

.catalog-hero img,
.secondary-cee-hero-image {
  aspect-ratio: 1.13;
  border-radius: 22px;
}

.secondary-cee-hero-image {
  object-fit: contain;
  background: transparent;
}

.catalog-jumps {
  background: var(--prime-stone, #f3f5f6);
}

.offers-page > .section {
  padding-block: clamp(72px, 8.5vw, 122px);
}

.offers-list {
  color: var(--prime-ink, #23282b);
  background: var(--prime-stone, #f3f5f6);
}

.offers-page .offers-list h2,
.offers-page .offers-process h2,
.offers-page .offers-faq h2 {
  max-width: 25ch;
  font-size: clamp(2rem, 3.4vw, 2.625rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.037em;
}

.offers-lead,
.offers-faq-grid > div:first-child p {
  max-width: 65ch;
  margin-top: 19px;
  color: var(--sif-muted);
  font-size: 1.07rem;
  line-height: 1.65;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 45px;
}

.offer-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #23282b19;
  border-radius: 22px;
  background: var(--prime-paper, #fff);
}

.offer-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.8;
  object-fit: cover;
}

.offer-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(19px, 2.25vw, 30px);
}

.offer-card h3 {
  margin-bottom: 13px;
  font-size: clamp(1.35rem, 2.2vw, 1.66rem);
  font-weight: 690;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.offer-card p,
.offer-card li {
  color: var(--sif-muted);
  font-size: .98rem;
  line-height: 1.55;
}

.offer-card ul {
  display: grid;
  width: 100%;
  gap: 10px;
  margin: 17px 0 25px;
  padding: 15px 0 0;
  border-top: 1px solid #23282b22;
  list-style: none;
}

.offer-card li {
  position: relative;
  padding-left: 19px;
}

.offer-card li::before {
  position: absolute;
  top: .23em;
  left: 3px;
  width: 6px;
  height: 10px;
  border: solid var(--sif-link);
  border-width: 0 1.5px 1.5px 0;
  content: '';
  transform: rotate(42deg);
}

.offer-card .button {
  margin-top: auto;
}

.offers-process {
  color: var(--sif-ink);
  background: var(--sif-surface);
}

.offers-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 69px;
  padding: 0;
  list-style: none;
}

.offers-steps li {
  position: relative;
  padding: 24px;
  border: 1px solid var(--sif-line);
  border-radius: 20px;
  background: var(--sif-paper);
}

.offers-steps li::before {
  position: absolute;
  top: -32px;
  left: 24px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--prime-lime, #37562d);
  box-shadow: 0 0 0 4px #23282b26;
  content: '';
}

.offers-steps li:not(:last-child)::after {
  position: absolute;
  top: -26px;
  left: 45px;
  right: -38px;
  height: 1px;
  background: var(--sif-control);
  content: '';
}

.offers-steps span {
  display: block;
  margin-bottom: 17px;
  color: var(--prime-lime, #37562d);
  font-size: 2.95rem;
  font-weight: 300;
  line-height: 1;
}

.offers-steps h3 {
  margin-bottom: 8px;
  color: var(--sif-ink);
  font-size: 1.28rem;
  font-weight: 650;
  line-height: 1.2;
}

.offers-steps p {
  color: var(--sif-muted);
  font-size: .98rem;
  line-height: 1.55;
}

.offers-faq {
  color: var(--prime-ink, #23282b);
  background: var(--prime-paper, #fff);
}

.offers-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: start;
  gap: clamp(27px, 7vw, 92px);
}

.offers-faq-grid > div:first-child p {
  max-width: 35ch;
}

.offers-faq-items details {
  border-bottom: 1px solid #23282b2c;
}

.offers-faq-items summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 71px;
  padding: 13px 48px 13px 0;
  list-style: none;
  font-size: clamp(1.02rem, 1.55vw, 1.19rem);
  font-weight: 570;
  line-height: 1.38;
  cursor: pointer;
}

.offers-faq-items summary::-webkit-details-marker {
  display: none;
}

.offers-faq-items summary::after {
  position: absolute;
  top: 50%;
  right: 3px;
  width: 33px;
  height: 33px;
  border: 1px solid #23282b1f;
  border-radius: 50%;
  background: linear-gradient(currentColor, currentColor) center / 10px 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 10px no-repeat, #fff;
  color: var(--prime-deep, #37562d);
  content: '';
  transform: translateY(-50%);
}

.offers-faq-items details[open] summary::after {
  background-size: 10px 1px, 0 0, auto;
}

.offers-faq-items p {
  max-width: 66ch;
  padding: 0 32px 21px 0;
  color: var(--sif-muted);
  line-height: 1.66;
}

.offers-faq-items p a {
  text-underline-offset: .2em;
}

@media (max-width: 900px) {
  .offers-grid,
  .offers-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offers-steps {
    row-gap: 45px;
  }

  .offers-steps li:nth-child(even)::after {
    display: none;
  }
}

@media (max-width: 750px) {
  .catalog-hero--media,
  .secondary-hero {
    min-height: 0;
    padding-block: 49px 43px;
  }

  .catalog-detail .catalog-hero {
    padding-top: 74px;
  }

  .catalog-hero--media .catalog-hero-inner,
  .secondary-hero .secondary-hero__layout,
  .offers-faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .catalog-hero h1,
  .secondary-hero h1 {
    font-size: clamp(2.1rem, 8.8vw, 3.15rem);
  }

  .catalog-hero img,
  .secondary-cee-hero-image {
    aspect-ratio: 1.4;
  }

  .offers-page > .section {
    padding-block: clamp(56px, 11vw, 70px);
  }
}

@media (max-width: 530px) {
  .offers-grid,
  .offers-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .offers-grid {
    gap: 19px;
    margin-top: 28px;
  }

  .offers-steps li:not(:last-child)::after {
    display: none;
  }
}
