.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Prices ---------- */

.prices-section {
  padding: 110px 0;
  background-color: var(--color-bg);
}

.prices-group {
  margin-bottom: 140px;
}

.prices-group:last-child {
  margin-bottom: 0;
}

.price-info-section {
  padding: 0 0 110px;
  margin-top: 110px;
  background-color: var(--color-bg);
}

.prices-group__title {
  margin: 0 0 48px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.6vw, 2.4rem);
  font-weight: 400;
  line-height: 0.95;
}

.price-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: clamp(28px, 3vw, 52px);
  width: 100%;
}

.price-card-grid--season {
  grid-template-columns: repeat(3, minmax(170px, 1fr));
}

.price-card {
  border-radius: 12px;
  overflow: hidden;
  background-color: #ffffff;
}

.price-card__top {
  min-height: 92px;
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.price-card--pink .price-card__top {
  background-color: var(--color-accent-pink);
}

.price-card--green .price-card__top {
  background-color: var(--color-primary);
}

.price-card__title {
  margin: 0 0 4px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.price-card__age {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.price-card__bottom {
  min-height: 76px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
}

.price-card__price {
  margin: 0;
  color: var(--color-accent-pink);
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 400;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.price-card--green .price-card__price {
  color: var(--color-primary);
}

/* ---------- Price info ---------- */

.price-info-section {
  padding: 0 0 110px;
  background-color: var(--color-bg);
}

.price-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(56px, 8vw, 160px);
  margin-bottom: 110px;
}

.keeper-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(56px, 8vw, 160px);
  align-items: start;
}

.price-info-block__title,
.keeper-info__title {
  margin: 0 0 24px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.6vw, 2.4rem);
  font-weight: 400;
  line-height: 0.95;
}

.price-info-block__text,
.keeper-info__text {
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.55;
}

.price-info-block__text p,
.keeper-info__text p {
  margin: 0 0 20px;
}

.price-info-block__text p:last-child,
.keeper-info__text p:last-child {
  margin-bottom: 0;
}

.price-info-block__text strong,
.keeper-info__text strong {
  font-weight: 700;
}

.price-info-block__text a,
.keeper-info__text a {
  color: #ffffff;
  text-decoration: none;
}

.price-info-block__text a:hover,
.keeper-info__text a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.keeper-info__content {
  max-width: 520px;
}

.keeper-info__image-wrap {
  width: 100%;
  margin-top: 0;
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--color-primary);
}

.keeper-info__image {
  width: 100%;
  height: 280px;
  display: block;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 900px) {
  .price-info-grid,
  .keeper-info {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .price-info-grid {
    margin-bottom: 80px;
  }

  .keeper-info__content {
    max-width: none;
  }

  .keeper-info__image-wrap {
    margin-top: 0;
  }

  .keeper-info__image {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .prices-section {
    padding: 72px 0 56px;
  }

  .prices-group {
    margin-bottom: 88px;
  }

  .prices-group:last-child {
    margin-bottom: 0;
  }

  .prices-group__title {
    margin-bottom: 28px;
  }

  .price-card-grid,
  .price-card-grid--season {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .price-card {
    width: 100%;
    max-width: 360px;
  }

  .price-card__top {
    min-height: 78px;
    padding: 18px 16px 14px;
  }

  .price-card__bottom {
    min-height: 68px;
    padding: 16px;
  }

  .price-card__title {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .price-card__age {
    font-size: 0.95rem;
  }

  .price-card__price {
    font-size: clamp(1.35rem, 7vw, 1.85rem);
  }

  .price-info-section {
    padding-bottom: 72px;
    margin-top: 72px;
  }

  .price-info-grid {
    gap: 48px;
    margin-bottom: 72px;
  }

  .price-info-block__title,
  .keeper-info__title {
    margin-bottom: 18px;
    font-size: clamp(1.75rem, 2.6vw, 2.4rem);
  }

  .price-info-block__text,
  .keeper-info__text {
    font-size: 1rem;
    line-height: 1.55;
  }

  .keeper-info {
    gap: 40px;
  }

  .keeper-info__image {
    height: 240px;
  }
}