/* Полный прайс */
.prices-full {
  padding: 0 0 0;
}
.prices-full > .container--wide {
  max-width: 1440px;
}
.prices-full__heading {
  max-width: none;
  margin: 0 0 48px;
}
.prices-full__heading h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 400;
  line-height: 56px;
  letter-spacing: 0;
}
.prices-full__heading p {
  max-width: none;
  margin: 24px 0 0;
  color: #383838;
  font-size: 16px;
  line-height: 30px;
}
.prices-full__table-wrap {
  overflow-x: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.prices-full__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 24px;
  text-align: left;
}
.prices-full__table th,
.prices-full__table td {
  padding: 0 0;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
}
.prices-full__table thead th {
  height: 52px;
  padding: 12px 0;
  background: #f1f1f1;
  color: #555;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0;
  text-transform: none;
}
.prices-full__table thead th:first-child,
.prices-full__table td:first-child {
  width: 76%;
  text-align: left;
}
.prices-full__table thead th:last-child,
.prices-full__table td:last-child {
  width: 24%;
  text-align: left;
  white-space: nowrap;
}
.prices-full__category th {
  padding: 0;
  background: transparent;
  color: #252525;
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  text-align: left;
}
.prices-full__table tbody tr:not(.prices-full__category) td {
  height: 55px;
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e5;
  box-sizing: border-box;
}
.prices-full__table tbody tr:not(.prices-full__category) td:last-child {
  padding-left: 0;
}
.prices-full__table tbody tr:last-child td {
  border-bottom: 0;
}

/* CTA внутри 1440px макетного контейнера */
.price-cta {
  position: relative;
  isolation: isolate;
  display: flex;
  width: min(1440px, calc(100% - 48px));
  height: 367px;
  margin: 100px auto 120px;
  overflow: hidden;
  border-radius: 15px;
  color: #fff;
}
.price-cta__image-wrap,
.price-cta__image-wrap:after {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.price-cta__image-wrap:after {
  content: '';
  background: rgba(23, 23, 23, 0.79);
}
.price-cta__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.price-cta__inner {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 52px 47px 0;
}
.price-cta__copy h2 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  font-weight: 400;
  line-height: 23px;
  letter-spacing: 0;
}
.price-cta__copy p {
  max-width: 641px;
  margin: 44px 0 0;
  color: #fff;
  font-size: 36px;
  font-weight: 400;
  line-height: 37px;
}
.price-cta .button {
  min-height: 48px;
  margin-top: 75px;
  padding: 0 27px;
  border: 0;
  border-radius: 33px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
}

/* Детальная страница */
.template-content {
  padding: 139px 0 60px;
}
.template-content__container {
  max-width: 1480px;
}
.template-content__prices {
  margin: 0 0 36px;
}
.template-content__prices h2 {
  display: none;
}
.template-content__note {
  margin: 0 0 31px;
  color: #777b74;
  font-size: 20px;
  line-height: 27px;
}
.template-content__table-wrap {
  box-sizing: border-box;
  overflow: hidden;
  padding: 28px 40px;
  border-radius: 24px;
  background: #f1f1f1;
  box-shadow: none;
}
.template-content__table-wrap table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.template-content__table-wrap th,
.template-content__table-wrap td {
  padding: 0;
  border: 0;
  border-bottom: 1px solid #dededc;
  font-size: 24px;
  font-weight: 400;
  line-height: 31px;
}
.template-content__table-wrap thead th {
  height: 74px;
  color: #777b74;
  font-size: 20px;
  line-height: 26px;
}
.template-content__table-wrap tbody td {
  height: 86px;
}
.template-content__table-wrap th:first-child,
.template-content__table-wrap td:first-child {
  width: 76%;
  text-align: left;
}
.template-content__table-wrap th:last-child,
.template-content__table-wrap td:last-child {
  width: 24%;
  text-align: left;
  white-space: nowrap;
}
.template-content__table-wrap tbody tr:last-child td {
  border-bottom: 0;
}
.template-content__conditions {
  margin: 0 0 96px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.template-content__conditions h2 {
  margin: 0 0 17px;
  font-size: 30px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: 0;
}
.template-content__conditions div {
  color: #777b74;
  font-size: 20px;
  line-height: 31px;
  white-space: normal;
}
.template-content__block {
  box-sizing: border-box;
  display: grid;
  height: 530px;
  grid-template-columns: 670px 730px;
  gap: 40px;
  align-items: center;
  margin: 0 0 90px;
  padding-left: 40px;
}
.template-content__block:nth-of-type(even) {
  grid-template-columns: 770px 670px;
  padding-left: 0;
}
.template-content__block:nth-of-type(even) .template-content__figure {
  order: -1;
}
.template-content__text h2 {
  margin: 0 0 16px;
  font-size: 36px;
  font-weight: 400;
  line-height: 45px;
  letter-spacing: 0;
}
.template-content__text > div {
  color: #777b74;
  font-size: 24px;
  line-height: 35px;
  white-space: pre-line;
}
.template-content__figure {
  box-sizing: border-box;
  width: 100%;
  height: 530px;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #f1f1ef;
}
.template-content__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.template-content__placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #e9ece5;
  color: #84907e;
  text-align: center;
}
.template-content__placeholder strong {
  font-size: 36px;
  font-weight: 400;
  line-height: 49px;
}
.template-content__placeholder span {
  font-size: 20px;
  line-height: 27px;
}
.template-content__block:last-of-type {
  margin-bottom: 92px;
}
.template-content__faq {
  margin: 0;
}
.template-content__faq h2 {
  margin: 0 0 32px;
  font-size: 36px;
  font-weight: 400;
  line-height: 66px;
  letter-spacing: 0;
}
.template-content__questions {
  border-top: 1px solid #e5e5e5;
}
.template-content__questions details {
  border-bottom: 1px solid #e5e5e5;
}
.template-content__questions summary {
  display: flex;
  min-height: 100px;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 0;
  cursor: pointer;
  list-style: none;
  font-size: 24px;
  font-weight: 400;
  line-height: 34px;
}
.template-content__questions summary::-webkit-details-marker {
  display: none;
}
.template-content__questions summary span {
  flex: none;
  color: #9a6d31;
  font-size: 30px;
  line-height: 41px;
}
.template-content__questions details > div {
  padding: 0 0 20px;
  color: #6b6963;
  font-size: 18px;
  line-height: 1.6;
}
.template-content__extra {
  box-sizing: border-box;
  min-height: 193px;
  margin: 100px 0 0;
  padding: 42px 40px;
  border: 1px solid #dededc;
  border-radius: 15px;
  background: #fafaf9;
}
.template-content__extra h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: 0;
}
.template-content__extra div {
  margin-top: 18px;
  color: #777b74;
  font-size: 18px;
  line-height: 28px;
}

@media (max-width: 767px) {
  .prices-full {
    padding: 0;
  }
  .prices-full__heading {
    margin-bottom: 28px;
  }
  .prices-full__heading h2 {
    font-size: 28px;
    line-height: 1.2;
  }
  .prices-full__heading p {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.5;
  }
  .prices-full__table {
    border-spacing: 0 12px;
  }
  .prices-full__table th,
  .prices-full__table td {
    font-size: 14px;
    line-height: 22px;
  }
  .prices-full__table thead th {
    height: auto;
    padding: 10px 0;
    font-size: 13px;
    line-height: 20px;
  }
  .prices-full__category th {
    font-size: 16px;
    line-height: 24px;
  }
  .prices-full__table tbody tr:not(.prices-full__category) td {
    height: auto;
    padding: 10px 0;
  }
  .price-cta {
    width: calc(100% - 32px);
    height: auto;
    min-height: 300px;
    margin: 48px auto 64px;
    border-radius: 14px;
  }
  .price-cta__inner {
    padding: 32px 24px;
  }
  .price-cta__copy h2 {
    font-size: 23px;
    line-height: 1.2;
  }
  .price-cta__copy p {
    margin-top: 20px;
    font-size: 25px;
    line-height: 1.25;
  }
  .price-cta .button {
    margin-top: 32px;
  }
  .template-content {
    padding: 80px 0 48px;
  }
  .template-content__note {
    font-size: 16px;
    line-height: 24px;
  }
  .template-content__table-wrap {
    padding: 16px;
    border-radius: 16px;
  }
  .template-content__table-wrap th,
  .template-content__table-wrap td {
    font-size: 16px;
    line-height: 24px;
  }
  .template-content__table-wrap thead th {
    height: 56px;
    font-size: 14px;
  }
  .template-content__table-wrap tbody td {
    height: 64px;
  }
  .template-content__conditions {
    margin-bottom: 56px;
  }
  .template-content__conditions h2 {
    font-size: 24px;
    line-height: 1.25;
  }
  .template-content__conditions div {
    font-size: 16px;
    line-height: 24px;
  }
  .template-content__block,
  .template-content__block:nth-of-type(even) {
    height: auto;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 0 0 48px;
    padding-left: 0;
  }
  .template-content__block:nth-of-type(even) .template-content__figure {
    order: 0;
  }
  .template-content__text h2 {
    font-size: 28px;
    line-height: 1.25;
  }
  .template-content__text > div {
    font-size: 18px;
    line-height: 1.5;
  }
  .template-content__figure {
    height: auto;
    min-height: 260px;
  }
  .template-content__placeholder {
    min-height: 260px;
  }
  .template-content__placeholder strong {
    font-size: 27px;
    line-height: 1.3;
  }
  .template-content__placeholder span {
    font-size: 16px;
    line-height: 1.5;
  }
  .template-content__block:last-of-type {
    margin-bottom: 56px;
  }
  .template-content__faq h2 {
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 20px;
  }
  .template-content__questions summary {
    min-height: 72px;
    padding: 22px 0;
    font-size: 17px;
    line-height: 1.4;
  }
  .template-content__questions summary span {
    font-size: 24px;
  }
  .template-content__extra {
    min-height: 140px;
    margin-top: 56px;
    padding: 26px 22px;
  }
  .template-content__extra h2 {
    font-size: 24px;
    line-height: 1.3;
  }
}
/* Геометрия таблицы соответствует 79px шагу макета */
.prices-full__heading {
  margin-bottom: 0;
}
.prices-full__table {
  margin-bottom: -24px;
}
.prices-full__table thead th,
.prices-full__table .prices-full__category th {
  border-bottom: 0;
}
.template-content {
  padding-top: 151px;
  padding-bottom: 54px;
}
.template-content__prices {
  margin-bottom: 34px;
}
.template-content__note {
  margin-bottom: 32px;
}
.template-content__conditions h2 {
  margin-bottom: 15px;
}
.template-content__block:last-of-type {
  margin-bottom: 94px;
}
.template-content__faq h2 {
  margin-bottom: 31px;
}
.template-content__questions summary {
  min-height: 99px;
  padding: 29px 0;
}
.template-content__extra {
  padding-top: 38px;
}
@media (max-width: 767px) {
  .prices-full__heading {
    margin-bottom: 28px;
  }
  .prices-full__table {
    margin-bottom: 0;
  }
  .template-content {
    padding-top: 80px;
    padding-bottom: 48px;
  }
  .template-content__prices {
    margin-bottom: 56px;
  }
  .template-content__note {
    margin-bottom: 18px;
  }
  .template-content__conditions h2 {
    margin-bottom: 12px;
  }
  .template-content__block:last-of-type {
    margin-bottom: 56px;
  }
  .template-content__faq h2 {
    margin-bottom: 20px;
  }
  .template-content__questions summary {
    min-height: 72px;
    padding: 22px 0;
  }
  .template-content__extra {
    padding-top: 26px;
  }
}
.price-cta {
  background: transparent;
}
.template-content__table-wrap {
  padding-bottom: 25px;
}
.template-content__prices {
  margin-bottom: 37px;
}
.template-content__block:last-of-type {
  margin-bottom: 96px;
}
.template-content__extra {
  padding-right: 39px;
  padding-left: 39px;
}
@media (max-width: 767px) {
  .template-content__table-wrap {
    padding-bottom: 16px;
  }
  .template-content__prices {
    margin-bottom: 56px;
  }
  .template-content__block:last-of-type {
    margin-bottom: 56px;
  }
  .template-content__extra {
    padding-right: 22px;
    padding-left: 22px;
  }
}
.price-cta__image-wrap {
  z-index: 0;
}
.price-cta__image-wrap:after {
  z-index: 0;
}
.price-cta__inner {
  position: relative;
  z-index: 1;
}
.template-content__block:nth-of-type(4) {
  margin-bottom: 92px;
}
@media (min-width: 768px) and (max-width: 1699px) {
  .template-content__block,
  .template-content__block:nth-of-type(even) {
    height: auto;
    min-height: 390px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    padding-left: 24px;
  }
  .template-content__block:nth-of-type(even) .template-content__figure {
    order: -1;
  }
  .template-content__figure {
    height: auto;
    min-height: 350px;
    aspect-ratio: 1.35;
  }
}
@media (max-width: 767px) {
  .template-content__block:nth-of-type(4) {
    margin-bottom: 56px;
  }
}
.template-content__block:nth-of-type(4) {
  margin-bottom: 92px;
}
@media (max-width: 767px) {
  .template-content__block:nth-of-type(4) {
    margin-bottom: 56px;
  }
}
.price-cta__image {
  position: relative;
  z-index: 0;
}
.price-cta__image-wrap:after {
  z-index: 1;
}
.price-cta__inner {
  z-index: 2;
}
.price-cta__image-wrap {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
