* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Montserrat", sans-serif;
  color: #fff;
  overflow-x: hidden;
  background-color: rgba(8, 19, 34, 1);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.logo img {
  height: 40px;
  width: auto;
}

.header_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px 0;

  .logo {
    flex-shrink: 0;
  }

  .header_navigation {
    display: flex;
    align-items: center;
    column-gap: 40px;

    h5 a {
      color: #fff;
      text-decoration: none;
      font-weight: 400;
      font-size: 16px;
    }
  }

  .header_actions {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 25px;
    flex-shrink: 0;

    h5 {
      font-size: 16px;
      font-weight: 400;
    }

    .header_icons {
      display: flex;
      column-gap: 18px;

      .h_icon {
        width: 24px;
        height: 24px;
      }
    }

    .header_btn {
      font-family: "Montserrat", sans-serif;
      font-size: 15px;
      font-weight: 400;
      padding: 10px 50px;
      border-radius: 167px;
      border: none;
      background-color: #fff;
      cursor: pointer;
      transition: 0.2s ease;

      &:hover {
        background: #e8eeff;
      }
    }
  }
}

.footer {
  background: rgba(8, 19, 34, 1);
  padding: 26px 0 34px;
}

.footer_mobile {
  display: none;
}

.footer_mid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 8px 0;

  p,
  a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
  }
}

.footer_mid_contacts {
  display: flex;
  align-items: flex-end;
  gap: 24px;
}

.footer_bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding: 8px 0 0;
}

.footer_legal {
  p {
    font-size: 13px;
    opacity: 0.75;
    margin-bottom: 6px;
  }

  a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
  }
}

.footer_pays {
  display: flex;
  justify-content: flex-end;
  gap: 10px;

  img {
    object-fit: contain;
    height: 28px;
  }
}

.prices_body {
  min-height: 100vh;
  padding: 48px 0 100px;
}

.prices_cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  flex-wrap: wrap;
}

.prices_cards.is-hidden {
  display: none;
}

.prices_title {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  row-gap: 36px;
  align-items: center;
  margin-bottom: 40px;
  text-align: center;
}

.prices_title h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
}

.prices_mode {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.prices_mode_button {
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.prices_mode_button.is-active {
  border-color: #fff;
  background: #fff;
  color: #0d3059;
}

.prices_card,
.multi_subscription_card {
  width: min(410px, 100%);
  min-height: 494px;
  height: auto;
  padding: 20px;
  border-radius: 30px;
  background: #fff;
  color: #0d3059;
  display: flex;
  flex-direction: column;
}

.prices_card_title h4 {
  font-size: 32px;
  font-weight: 400;
}

.prices_card_title h3 {
  margin-top: 10px;
  font-size: 48px;
  font-weight: 400;
}

.prices_card_pay button {
  width: 100%;
  height: 55px;
  margin: 8px 0 17px;
  padding: 12px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(100deg, #1768bd, #4b9aeb);
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.prices_card_select {
  flex: 1;
  min-height: 240px;
  padding: 28px;
  border-radius: 24px;
  background: #e8eef5;
}

.prices_card_select p {
  margin-bottom: 12px;
  font-size: 18px;
  color: #3e72af;
}

.prices_card_select label {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 34px;
  color: #3e72af;
  font-size: 15px;
  cursor: pointer;
}

.prices_card_select input {
  appearance: none;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  margin: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.prices_card_select input:checked::after {
  display: block;
  width: 10px;
  height: 5px;
  margin: 6px 0 0 6px;
  border-bottom: 4px solid #1768bd;
  border-left: 4px solid #1768bd;
  transform: rotate(-45deg);
  content: "";
}

.prices_card_select input:focus-visible {
  outline: 3px solid rgba(23, 104, 189, 0.45);
  outline-offset: 2px;
}

.multi_subscription {
  margin-top: 105px;
}

.multi_subscription h2 {
  width: fit-content;
  margin: 0 auto 30px;
  padding: 14px 60px;
  border-radius: 999px;
  background: #fff;
  color: #0d3059;
  font-size: 24px;
  font-weight: 400;
}

.multi_subscription_cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.multi_subscription_card .prices_card_select label {
  cursor: default;
}

@media (max-width: 1280px) {
  .container {
    padding-left: 28px;
    padding-right: 28px;
  }

  .logo img {
    height: 34px;
  }

  .header_inner {
    gap: 16px;
    padding: 22px 0;
  }

  .header_inner .header_navigation {
    column-gap: 24px;
  }

  .header_inner .header_actions {
    column-gap: 16px;
  }

  .header_inner .header_actions .header_btn {
    padding: 10px 36px;
  }

  .prices_cards {
    gap: 28px;
  }

  .prices_card {
    width: min(410px, calc((100% - 56px) / 3));
  }

  .multi_subscription_cards {
    gap: 28px;
  }

  .multi_subscription_card {
    width: min(410px, calc((100% - 28px) / 2));
  }
}

@media (max-width: 1024px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .header_inner .header_navigation {
    column-gap: 18px;
  }

  .header_inner .header_navigation h5 a {
    font-size: 15px;
  }

  .header_inner .header_actions .header_icons {
    display: none;
  }

  .header_inner .header_actions .header_btn {
    padding: 10px 28px;
  }

  .prices_body {
    padding: 36px 0 80px;
  }

  .prices_title {
    row-gap: 28px;
    margin-bottom: 32px;
  }

  .prices_cards {
    gap: 20px;
  }

  .prices_card {
    width: min(410px, calc((100% - 40px) / 3));
    min-height: 460px;
    padding: 18px;
  }

  .multi_subscription_cards {
    gap: 20px;
  }

  .multi_subscription_card {
    width: min(410px, calc((100% - 20px) / 2));
    min-height: 460px;
    padding: 18px;
  }

  .prices_card_title h4 {
    font-size: 28px;
  }

  .prices_card_title h3 {
    font-size: 42px;
  }

  .prices_card_select {
    padding: 22px;
    min-height: 220px;
  }

  .multi_subscription {
    margin-top: 72px;
  }
}

@media (max-width: 960px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }

  .logo img {
    height: 32px;
  }

  .header_inner {
    padding: 20px 0;
  }

  .header_inner .header_navigation {
    column-gap: 20px;
  }

  .header_inner .header_actions {
    column-gap: 14px;
  }

  .header_inner .header_actions .header_icons {
    display: none;
  }

  .header_inner .header_actions .header_btn {
    padding: 10px 28px;
  }

  .prices_body {
    padding: 28px 0 72px;
  }

  .prices_title {
    row-gap: 24px;
    margin-bottom: 28px;
  }

  .prices_title h1 {
    font-size: 40px;
  }

  .prices_mode_button {
    padding: 10px 18px;
    font-size: 13px;
  }

  .prices_cards,
  .multi_subscription_cards {
    gap: 18px;
  }

  .prices_card,
  .multi_subscription_card {
    width: calc(50% - 9px);
    max-width: none;
    min-height: 450px;
    border-radius: 26px;
  }

  .prices_card_title h4 {
    font-size: 26px;
  }

  .prices_card_title h3 {
    margin-top: 8px;
    font-size: 40px;
  }

  .prices_card_pay button {
    height: 50px;
    margin: 8px 0 14px;
  }

  .prices_card_select {
    padding: 20px;
    border-radius: 20px;
  }

  .prices_card_select p {
    font-size: 16px;
  }

  .prices_card_select label {
    font-size: 14px;
    gap: 12px;
  }

  .multi_subscription {
    margin-top: 64px;
  }

  .multi_subscription h2 {
    padding: 12px 40px;
    font-size: 22px;
  }

  .footer_mid,
  .footer_bottom {
    gap: 24px;
  }
}

@media (max-width: 700px) {
  .prices_card,
  .multi_subscription_card {
    width: min(420px, 100%);
    max-width: 100%;
  }

  .header_inner .header_navigation {
    display: none;
  }

  .header_inner .header_actions .header_btn {
    padding: 10px 24px;
  }

  .footer_desktop {
    display: none;
  }

  .footer_mobile {
    display: block;
    padding-top: 8px;
  }

  .footer_mobile_logo {
    margin-bottom: 16px;
  }

  .footer_mobile_logo img {
    height: 28px;
    width: auto;
  }

  .footer_mobile_info a,
  .footer_mobile_info p {
    display: block;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 2px;
  }

  .footer_mobile_info a:first-child,
  .footer_mobile_info a:nth-child(2) {
    font-size: 14px;
  }

  .footer_mobile_info a:nth-child(2) {
    margin-bottom: 10px;
  }

  .footer_mobile_bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 22px;
    margin-bottom: 16px;
  }

  .footer_mobile_lang {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
  }

  .footer_mobile_btn {
    width: 107px;
    height: 34px;
    border: none;
    border-radius: 28px;
    background: #fff;
    color: #0d1d2b;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
  }

  .footer_mobile_payments img {
    height: 28px;
    width: auto;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .logo img {
    height: 28px;
  }

  .header_inner {
    padding: 16px 0;
  }

  .header_inner .header_navigation,
  .header_inner .header_actions {
    display: none;
  }

  .prices_body {
    padding: 20px 0 56px;
  }

  .prices_title {
    row-gap: 18px;
    margin-bottom: 22px;
  }

  .prices_title h1 {
    font-size: 34px;
  }

  .prices_mode {
    gap: 6px;
  }

  .prices_mode_button {
    padding: 10px 16px;
    font-size: 13px;
  }

  .prices_cards,
  .multi_subscription_cards {
    gap: 16px;
  }

  .prices_card,
  .multi_subscription_card {
    width: 100%;
    min-height: 0;
    padding: 16px;
    border-radius: 24px;
  }

  .prices_card_title h4 {
    font-size: 24px;
  }

  .prices_card_title h3 {
    margin-top: 6px;
    font-size: 36px;
  }

  .prices_card_pay button {
    height: 48px;
    margin: 10px 0 14px;
    font-size: 15px;
  }

  .prices_card_select {
    min-height: 0;
    padding: 18px 16px;
    border-radius: 18px;
  }

  .prices_card_select p {
    margin-bottom: 10px;
    font-size: 15px;
  }

  .prices_card_select label {
    min-height: 30px;
    gap: 12px;
    font-size: 14px;
  }

  .prices_card_select input {
    flex-basis: 22px;
    width: 22px;
    height: 22px;
    border-radius: 6px;
  }

  .prices_card_select input:checked::after {
    width: 8px;
    height: 4px;
    margin: 5px 0 0 5px;
    border-bottom-width: 3px;
    border-left-width: 3px;
  }

  .multi_subscription {
    margin-top: 48px;
  }

  .multi_subscription h2 {
    margin-bottom: 20px;
    padding: 10px 28px;
    font-size: 18px;
  }

  .footer {
    padding: 18px 0 22px;
  }
}

@media (max-width: 390px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .prices_title h1 {
    font-size: 32px;
  }

  .prices_card_title h4 {
    font-size: 22px;
  }

  .prices_card_title h3 {
    font-size: 34px;
  }

  .prices_card_select {
    padding: 16px 14px;
  }

  .prices_card_select p {
    font-size: 14px;
  }

  .prices_card_select label {
    font-size: 13px;
  }

  .multi_subscription h2 {
    font-size: 16px;
    padding: 10px 22px;
  }
}
