.p-wrapper {
  position: relative;
  z-index: 0;
}
.p-wrapper::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 520px;
  content: "";
  background-image: var(--bg-primary);
  background-repeat: no-repeat;
  background-size: cover;
}
@media (max-width: 525px) {
  .p-wrapper::before {
    height: 420px;
  }
}

.p-price {
  margin: 80px 0 120px;
}
@media (max-width: 1024px) {
  
}
@media (max-width: 768px) {
  .p-price {
    margin: 56px 0 80px;
  }
}

.p-price__section + .p-price__section {
  margin-top: 88px;
}
@media (max-width: 768px) {
  .p-price__section + .p-price__section {
    margin-top: 64px;
  }
}

.p-price__heading {
  margin-bottom: 1.4em;
}

/*
.p-price__body {
  max-width: 860px;
}
*/

.p-price__body > p + p,
.p-price__lead + .p-price__subheading,
.p-price__subheading + p {
  margin-top: 1em;
}

.p-price__subheading {
  margin-top: 2.4em;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  line-height: 1.6;
  color: var(--color-heading-primary);
}

.p-price__list {
  margin-top: 1em;
  font-size: var(--font-size-md);
  line-height: 1.9;
}

.p-price__intro {
  max-width: 860px;
  margin-top: 1.4em;
}

.p-price__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em 1.25em;
  margin-top: 1.6em;
  font-size: var(--font-size-md);
}

.p-price__nav a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.p-price__block {
  margin-top: 3.5em;
  scroll-margin-top: 120px;
}

.p-price__block__heading {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
  color: var(--color-heading-primary);
}

.p-price__table-wrap {
  margin-top: 1.2em;
}

.p-price__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-md);
  line-height: 1.7;
}

.p-price__table th,
.p-price__table td {
  padding: 0.9em 1em;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.p-price__table thead th {
  font-weight: var(--font-weight-bold);
  color: var(--color-text-contrast);
  background-color: rgba(var(--color-primary-rgb), 0.88);
}

.p-price__table tbody th {
  font-weight: var(--font-weight-bold);
  background-color: rgba(var(--color-primary-rgb), 0.06);
}

.p-price__note {
  max-width: 860px;
  margin-top: 1em;
}

.p-price__risk {
  max-width: 860px;
  margin-top: 1.6em;
  font-size: var(--font-size-md);
  line-height: 1.9;
}

.p-price__risk__heading {
  margin-bottom: 0.45em;
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);
  line-height: 1.7;
}

.p-price__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  margin-top: 1.6em;
}

@media (max-width: 640px) {
  .p-price__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .p-price__table,
  .p-price__table tbody,
  .p-price__table tr,
  .p-price__table th,
  .p-price__table td {
    display: block;
    width: 100%;
  }

  .p-price__table tr {
    margin-top: 1em;
    border: 1px solid rgba(0, 0, 0, 0.12);
  }

  .p-price__table tbody th,
  .p-price__table td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .p-price__table tr > :last-child {
    border-bottom: 0;
  }

  .p-price__table td::before {
    display: block;
    font-weight: var(--font-weight-bold);
    content: attr(data-label);
  }
}
