.section-package {
  min-height: auto;
  padding-top: clamp(90px, 18vw, 128px);
  padding-bottom: clamp(94px, 20vw, 142px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), transparent 26%),
    var(--color-ivory);
}

.package-glow {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(30px);
}

.package-glow--one {
  top: 12%;
  right: -30%;
  width: 62%;
  height: 30%;
  background: rgba(112, 125, 83, 0.18);
}

.package-glow--two {
  left: -32%;
  bottom: 8%;
  width: 62%;
  height: 28%;
  background: rgba(179, 154, 102, 0.14);
}

.package-heading {
  max-width: 620px;
}

.package-price {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  width: fit-content;
  margin: 8px 0 clamp(44px, 11vw, 74px);
}

.package-price strong {
  font-family: var(--font-serif);
  font-size: clamp(7rem, 29vw, 12rem);
  font-weight: 500;
  line-height: 0.62;
  letter-spacing: -0.09em;
}

.package-price__currency {
  margin: 3px 6px 0 0;
  color: var(--color-olive);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.package-price__label {
  align-self: flex-end;
  margin: 0 0 7px 15px;
  color: var(--color-muted);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.package-composition {
  position: relative;
  min-height: 760px;
}

.package-photo {
  position: relative;
  width: 82%;
  height: 460px;
  margin-left: auto;
  overflow: hidden;
  border-radius: 48% 48% 18px 18px;
  box-shadow: 0 30px 72px rgba(39, 43, 31, 0.16);
}

.package-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 58%, rgba(28, 31, 23, 0.38)),
    linear-gradient(90deg, rgba(242, 238, 227, 0.08), transparent 42%);
}

.package-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
  filter: saturate(0.74) contrast(0.98) brightness(1.02);
}

.package-photo figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.instax-card {
  position: absolute;
  z-index: 4;
  width: 132px;
  padding: 9px 9px 17px;
  background: #faf8f1;
  box-shadow: 0 18px 42px rgba(38, 42, 30, 0.2);
}

.instax-card--front {
  top: 322px;
  left: 2px;
  transform: rotate(-7deg);
}

.instax-card__image {
  height: 142px;
  overflow: hidden;
  background: var(--color-paper);
}

.instax-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
  filter: saturate(0.72) contrast(1.02);
}

.instax-card figcaption {
  margin-top: 11px;
  color: var(--color-olive);
  font-size: 0.46rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-align: center;
}

.package-panel {
  position: absolute;
  z-index: 5;
  left: 8%;
  right: 0;
  top: 430px;
  padding: 19px 20px;
  border-radius: 28px;
}

.package-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-line);
}

.package-item:first-child {
  padding-top: 4px;
}

.package-item:last-child {
  padding-bottom: 4px;
  border-bottom: 0;
}

.package-item__number {
  padding-top: 4px;
  color: var(--color-olive);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.package-item__copy h3 {
  margin-bottom: 4px;
  font-size: clamp(1.3rem, 5vw, 1.65rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.package-item__copy p {
  max-width: 400px;
  color: var(--color-muted);
  font-size: 0.7rem;
  line-height: 1.48;
}

.package-footer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  margin-top: 28px;
  color: var(--color-olive);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.package-footer__rule {
  height: 1px;
  background: var(--color-line);
}

@media (max-width: 374px) {
  .package-price strong {
    font-size: 6.4rem;
  }

  .package-price__label {
    margin-left: 10px;
  }

  .package-composition {
    min-height: 735px;
  }

  .package-photo {
    width: 84%;
    height: 430px;
  }

  .instax-card {
    width: 116px;
  }

  .instax-card__image {
    height: 126px;
  }

  .package-panel {
    left: 4%;
    top: 410px;
    padding: 17px;
  }

  .package-item {
    grid-template-columns: 29px minmax(0, 1fr);
  }

  .package-footer {
    font-size: 0.46rem;
  }
}

@media (min-width: 560px) {
  .package-composition {
    min-height: 800px;
  }

  .package-photo {
    width: 76%;
    height: 520px;
  }

  .instax-card {
    width: 154px;
  }

  .instax-card__image {
    height: 170px;
  }

  .instax-card--front {
    top: 356px;
    left: 10px;
  }

  .package-panel {
    left: 14%;
    top: 492px;
    padding: 24px 26px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .package-photo img,
  .instax-card img {
    transition: transform var(--transition-slow), filter var(--transition-medium);
  }

  .package-photo:hover img {
    transform: scale(1.035);
    filter: saturate(0.86) contrast(1);
  }

  .instax-card:hover {
    transform: rotate(-4deg) translateY(-4px);
  }
}
