.pricingBlock {
  padding: 112px 0;
  width: 100%;
}

.pricingBlock__container {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin: 0 auto;
  max-width: 875px;
  width: min(100% - 128px, 1280px);
}

.pricingBlock__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 860px;
}

.pricingBlock__title {
  color: #ffffff;
  font-family: "Gilda Display", serif;
  font-size: 48px;
  font-weight: 400;
  letter-spacing: 0.48px;
  line-height: 1.2;
  margin: 0;
}

.pricingBlock__text {
  color: rgba(255, 255, 255, 0.8);
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

.pricingBlock__tabs {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.pricingBlock__tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 23px;
}

.pricingBlock__tab {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  color: #ffffff;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  padding: 10px 20px;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.pricingBlock__tab:hover {
  background: rgba(0, 204, 255, 0.12);
  border-color: rgba(0, 204, 255, 0.45);
}

.pricingBlock__tab.is-active {
  background: #00ccff;
  border-color: #00ccff;
  color: #ffffff;
}

.pricingBlock__panel {
  display: none;
}

.pricingBlock__panel.is-active {
  display: block;
}

.pricingBlock__panel-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  max-width: 860px;
}

.pricingBlock__panel-title {
  color: #ffffff;
  font-family: "Gilda Display", serif;
  font-size: 48px;
  font-weight: 400;
  letter-spacing: 0.48px;
  line-height: 1.2;
  margin: 0;
}

.pricingBlock__panel-text {
  color: rgba(255, 255, 255, 0.8);
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

.pricingBlock__card {
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px;
}

.pricingBlock__table-header {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.pricingBlock__table-heading {
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
}

.pricingBlock__table-heading--right {
  text-align: right;
}

.pricingBlock__divider {
  display: block;
  height: auto;
  width: 100%;
}

.pricingBlock__rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricingBlock__row {
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 8px 0;
}

.pricingBlock__row:hover {
  color: #ffffff;
}

.pricingBlock__row-treatment,
.pricingBlock__row-price {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

.pricingBlock__row-price {
  text-align: right;
  white-space: nowrap;
}

.pricingBlock__note {
  border-left: 4px solid #00ccff;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  margin-top: 8px;
  padding-left: 20px;
}

.pricingBlock__card-buttons {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.pricingBlock__button {
  align-items: center;
  border-radius: 4px;
  display: inline-flex;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 500;
  justify-content: center;
  line-height: 1.6;
  padding: 10px 20px;
  text-decoration: none;
  transition:
    opacity 0.2s ease,
    background-color 0.2s ease;
}

.pricingBlock__button--primary {
  background: #00ccff;
  border: 1px solid #00ccff;
  color: #ffffff;
}

.pricingBlock__button--primary:hover {
  background: #00728e;
  border: 1px solid #00728e;
}

.pricingBlock__button--secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.pricingBlock__button--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 1200px) {
  .pricingBlock__container {
    width: min(100% - 80px, 1280px);
  }
}

@media (max-width: 992px) {
  .pricingBlock {
    padding: 92px 0;
  }

  .pricingBlock__container {
    gap: 64px;
    width: min(100% - 48px, 1280px);
  }

  .pricingBlock__title {
    font-size: 40px;
  }

  .pricingBlock__panel-title {
    font-size: 40px;
  }

  .pricingBlock__card-buttons {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pricingBlock {
    padding: 72px 0;
  }

  .pricingBlock__container {
    gap: 48px;
    width: min(100% - 32px, 1280px);
  }

  .pricingBlock__title {
    font-size: 34px;
  }

  .pricingBlock__panel-title {
    font-size: 34px;
  }

  .pricingBlock__tabs-nav {
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
    white-space: nowrap;
  }

  .pricingBlock__tab {
    flex: 0 0 auto;
  }

  .pricingBlock__card {
    border-radius: 16px;
    padding: 24px 20px;
  }

  .pricingBlock__table-header,
  .pricingBlock__row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .pricingBlock__table-heading--right,
  .pricingBlock__row-price {
    text-align: left;
    white-space: normal;
  }
}
