:root {
  --black: #000000;
  --white: #ffffff;
  --brand-primary: #daf268;
  --brand-secondary: #3dd4c3;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
}

ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

p {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  display: inline-block;
  text-decoration: none;
  font-family: inherit;
}

input,
button {
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  color: #000000;
}

button {
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

/* header */

.header {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
}

.nav-wrapper {
  padding: 0 20px;
  background-color: var(--black);
}

.nav-wrapper > div {
  min-height: 80px;
  max-width: 1440px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0 auto;
}

.logo-link {
  flex-shrink: 0;
}

.lang-switch {
  flex-shrink: 0;
  color: var(--white);
}

.lang-switch a {
  color: var(--white);
}

.lang-switch .current {
  font-weight: 700;
  color: var(--brand-primary);
}

.nav {
  margin: 0 auto;
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 30px;
}

.nav a {
  color: var(--white);
}

.login-link {
  max-width: 230px;
  width: 100%;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  font-weight: 700;
  color: var(--white);
  border-radius: 8px;
  background-color: var(--brand-secondary);
}

.open-popup-button {
  display: none;
  margin-left: auto;
  padding: 8px;
  border-radius: 8px;
  background-color: var(--brand-secondary);
  color: var(--white);
}

/* lead */

.lead {
  position: relative;
}

.lead-link {
  display: block;
  width: 100%;
}

.lead-bg__mobile {
  display: none;
}

.lead-calculator-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 50px 100px;
}

.lead-calculator {
  z-index: 1;
  max-width: 560px;
  width: 100%;
}

.lead-calculator > div {
  padding: 50px 35px;
  background-color: #484ff3;
  border-radius: 0 24px 24px 24px;
  box-shadow: 12px 0px 18px 0px rgba(0, 0, 0, 0.25);
}

.lead-calculator_tab-button {
  position: relative;
  bottom: -1px;
  min-width: 220px;
  color: var(--brand-primary);
  background-color: #484ff3;
  padding: 15px;
  padding-bottom: 5px;
  font-size: 20px;
  font-weight: 600;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border: none;
  outline: none;
}

.lead-calculator_title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  color: var(--white);
}

.lead-calculator_title-wrapper h3 {
  font-size: 16px;
  font-weight: 600;
}

.lead-calculator_title-wrapper p {
  font-weight: 700;
}

.lead-calculator_ranges {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  color: var(--white);
  border-bottom: 1px solid var(--white);
}

.lead-calculator_link {
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  color: var(--black);
  background: linear-gradient(96.83deg, #d6ff13 0%, #3dd4c3 101%);
  border-radius: 24px;
}

.lead-calculator_contacts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.lead-calculator_contacts-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 500;
  font-size: 14px;
}

.lead-calculator_contacts-list div {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: var(--brand-secondary);
}

.slider {
  width: 100%;
  height: 18px;
  border-radius: 24px;
  appearance: none;
  outline: none;
}

.slider::-webkit-slider-thumb {
  width: 36px;
  height: 36px;
  background-color: #ffffff;
  border-radius: 50%;
  border: 6px solid #3dd4c3;
  filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.15));
  cursor: pointer;
  appearance: none;
}

/* how-to-get */

.how-to-get_section {
  padding: 120px 100px;
}

.how-to-get_wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.how-to-get_title {
  margin-bottom: 20px;
  font-size: 40px;
  font-weight: 500;
}

.how-to-get_text {
  margin-bottom: 20px;
}

.how-to-get_list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.how-to-get_list-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px;
  border-radius: 24px;
  box-shadow: 4px 4px 6px 0 #00000026;
  background-color: #f8f8f8;
}

.how-to-get_list-item > img {
  flex-shrink: 0;
}

.how-to-get_list-item > div > h3 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 10px;
}

.how-to-get_list-item > div > p {
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--brand-secondary);
}

.how-to-get_list-item > div > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.how-to-get_list-item > div > div > span {
  color: var(--brand-secondary);
  font-size: 32px;
  font-weight: 600;
}

.how-to-get_list-item > div > div > p {
  font-size: 14px;
}

/* advantages */

.advantages_section {
  padding: 80px 100px 100px;
  background: linear-gradient(
    95.4deg,
    rgba(86, 255, 236, 0.5),
    rgba(22, 169, 152, 0.5)
  );
}

.advantages_wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.advantages_title {
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 50px;
  text-align: center;
}

.advantages_list {
  display: flex;
  gap: 50px;
}

.advantages_list-item {
  flex: 1;
  text-align: center;
}

.advantages_list-item > img {
  flex-shrink: 0;
  margin-bottom: 20px;
}

.advantages_list-item > h3 {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 600;
}

/* services-info */

.services-info_section {
  padding: 120px 100px;
}

.services-info_wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.services-info_title {
  margin-bottom: 30px;
  font-size: 40px;
  font-weight: 500;
}

.services-info_list {
  margin-bottom: 50px;
  font-size: 24px;
}

.services-info_list-item {
  list-style-type: decimal;
  list-style-position: inside;
}

.services-info_list-item:not(:last-child) {
  margin-bottom: 10px;
}

.services-info_text {
  font-size: 24px;
}

/* app-promo */

.app-promo_section {
  background-color: #ebfffd;
  padding: 50px 100px;
}

.app-promo_wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.app-promo_title {
  margin-bottom: 20px;
  font-size: 40px;
  font-weight: 500;
}

.app-promo_text {
  margin-bottom: 20px;
  font-size: 20px;
}

.app-promo_links-wrapper {
  display: flex;
  gap: 20px;
}

.app-promo_links-wrapper > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.app-promo_links-wrapper > div a {
  display: block;
}

.app-promo_qr {
  padding: 7px;
  background-color: var(--white);
  border-radius: 24px;
  box-shadow: 0px 0px 40px 5px rgba(0, 0, 0, 0.15);
}

.download-app_section {
  display: none;
}

/* contacts */

.contacts_section {
  padding: 120px 100px;
}

.contacts_wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.contacts_title {
  margin-bottom: 50px;
  font-size: 40px;
  font-weight: 500;
}

.contacts_list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px 60px;
}

.contacts_list-item {
}

.contacts_list-item > a {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 24px;
  color: var(--black);
}

.contacts_list-item > a > div {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--brand-secondary);
  display: flex;
  justify-content: center;
  align-items: center;
}

.terminals_section {
  padding: 100px;
  background-color: #f2f2f2;
}

.terminals_wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.terminals_title {
  margin-bottom: 50px;
  font-size: 40px;
  font-weight: 500;
}

.terminals_list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.terminals_list-item {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.terminals_list-item h3 {
  margin-bottom: 15px;
}

.terminals_list-item p {
  margin-bottom: 10px;
  font-size: 14px;
}

.terminals_list-item a {
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  background-color: var(--white);
  border: 1px solid var(--brand-secondary);
  color: var(--brand-secondary);
  cursor: pointer;
}

.footer {
  padding: 80px 100px 50px;
  background-color: var(--black);
}

.footer_wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.footer_wrapper > div {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 80px;
}

.footer_logo-link {
  margin-bottom: 50px;
}

.footer_nav-list {
}

.footer_nav-list li:not(:last-child) {
  margin-bottom: 20px;
}

.footer_nav-list a {
  color: var(--white);
}

.footer_call-center {
}

.footer_call-center h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.footer_call-center a {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--brand-secondary);
}

.footer_contacts_list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  color: var(--white);
}

.footer_contacts_list h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
}

.footer_contacts_list a {
  font-size: 14px;
  color: var(--white);
}

.footer_text {
  color: var(--white);
  font-size: 12px;
  text-align: center;
}

/* repayment-methods */

.repayment-methods_section {
  padding: 120px 100px 60px;
}

.repayment-methods_wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.repayment-methods_title {
  margin-bottom: 50px;
  font-size: 40px;
  font-weight: 500;
}

.tab-content {
  display: none;
  gap: 100px;
  padding: 50px 100px 40px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f7ffd3, #fcffee);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.tab-content.active {
  display: flex;
}

.tab-content > div > h3 {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 600;
}

.tab-content > div ul {
  font-size: 14px;
  list-style-type: disc;
  margin-left: 15px;
}

.tab-content > div > ul > li:not(:last-child) {
  margin-bottom: 10px;
}

.tab-content > div > ul > li > ul li:not(:last-child) {
  margin-bottom: 5px;
}

.tabs {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.tab {
  flex: 1;
  display: flex;
  padding: 24px 30px;
  align-items: center;
  gap: 20px;
  font-weight: 600;
  border-radius: 24px;
  background: linear-gradient(
    95.4deg,
    rgba(86, 255, 236, 0.5),
    rgba(22, 169, 152, 0.5)
  );
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  user-select: none;
}

.tab.active {
  background: linear-gradient(95.4deg, #d6ff13, #add100);
}

.tab span {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  color: var(--white);
  border-radius: 50%;
  background-color: var(--brand-secondary);
}

.tab p {
  text-align: left;
}

.popup {
  position: relative;
  border: none;
  background-color: transparent;
}

.popup_content {
  top: 0;
  right: 0;
  position: fixed;
  min-width: 70vw;
  min-height: 80svh;
  display: flex;
  flex-direction: column;
  padding: 50px 30px;
  background: linear-gradient(169.55deg, #1bd7c1, #007467);
  border-top-left-radius: 32px;
  border-bottom-left-radius: 32px;
}

.close-popup-button {
  position: absolute;
  right: 5px;
  top: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 20px;
  padding: 5px;
}

.popup_logo-link {
  display: block;
  margin-bottom: 30px;
  text-align: right;
}

.popup_nav {
  margin-bottom: 20px;
}

.popup_nav-list {
  text-align: right;
}

.popup_nav-list li:not(:last-child) {
  margin-bottom: 30px;
}

.popup_nav-list li:last-child,
.popup_nav-list li:nth-last-child(2) {
  margin-bottom: 20px;
  font-weight: 700;
}

.popup_nav-list li:last-child a {
  background: linear-gradient(95.4deg, #d6ff13, #b2d703 86.88%, #add100);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.popup_divider {
  width: 60%;
  margin-left: auto;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--white);
}

.popup_nav-list a {
  color: var(--white);
}

@media (max-width: 1200px) {
  .nav {
    display: none;
  }

  .how-to-get_section {
    padding: 80px 50px;
  }

  .how-to-get_list {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .advantages_section {
    padding: 80px 50px;
  }

  .advantages_list {
    gap: 30px;
  }

  .services-info_section {
    padding: 80px 50px;
  }

  .app-promo_section {
    padding: 50px;
  }

  .app-promo_wrapper {
    flex-direction: column-reverse;
    gap: 50px;
  }

  .app-promo_links-wrapper {
    justify-content: center;
  }

  .app-promo_title {
    text-align: center;
  }

  .contacts_section {
    padding: 80px 50px;
  }

  .contacts_list {
    gap: 20px 40px;
    grid-template-columns: 1fr 1fr;
  }

  .terminals_section {
    padding: 50px;
  }

  .terminals_list {
    grid-template-columns: 1fr 1fr;
  }

  .footer {
    padding: 50px;
  }

  .repayment-methods_section {
    padding: 80px 50px 40px;
  }

  .tab-content {
    padding: 40px 50px;
    gap: 50px;
  }

  .tab-content > img {
    width: 160px;
    height: 160px;
  }

  .tab {
    padding: 20px;
  }

  .tab span {
    display: none;
  }
}

@media (max-width: 768px) {
  .header {
    min-height: auto;
    background-color: transparent;
  }

  .header-wrapper {
    gap: 15px;
    background-color: var(--black);
  }

  .nav-wrapper > div {
    gap: 15px;
  }

  .login-link {
    display: none;
  }

  .open-popup-button {
    display: flex;
  }

  .lead {
    flex-direction: column;
  }

  .lead-bg {
    display: none;
  }

  .lead-bg__mobile {
    display: block;
    width: 100%;
  }

  .lead-calculator-wrapper {
    position: static;
    justify-content: center;
    padding: 30px 20px;
    background-color: #53a296;
  }

  .lead-calculator {
    padding: 20px;
  }

  .lead-calculator > div {
    padding: 40px 20px;
  }

  .how-to-get_section {
    padding: 40px 20px;
  }

  .how-to-get_title {
    font-size: 24px;
  }

  .how-to-get_text {
    font-size: 14px;
  }

  .how-to-get_list-item {
    gap: 10px;
    padding: 20px;
  }

  .how-to-get_list-item > img {
    width: 73px;
    height: 73px;
  }

  .how-to-get_list-item > div > h3 {
    font-size: 16px;
  }

  .how-to-get_list-item > div > p {
    margin-bottom: 15px;
    font-size: 14px;
  }

  .advantages_section {
    padding: 50px 20px;
  }

  .advantages_title {
    margin-bottom: 35px;
    font-size: 24px;
  }

  .advantages_list {
    flex-direction: column;
  }

  .advantages_list-item {
    flex: 1;
    text-align: center;
  }

  .advantages_list-item > img {
    width: 80px;
    height: 80px;
  }

  .advantages_list-item > h3 {
    margin-bottom: 5px;
    font-size: 18px;
  }

  .advantages_list-item > p {
    font-size: 14px;
  }

  .services-info_section {
    padding: 50px 20px;
  }

  .services-info_title {
    margin-bottom: 20px;
    font-size: 24px;
  }

  .services-info_list {
    margin-bottom: 30px;
    font-size: 14px;
  }

  .services-info_text {
    font-size: 14px;
  }

  .app-promo_section {
    display: none;
  }

  .download-app_section {
    display: block;
    padding: 30px 20px;
  }

  .download-app_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-weight: 500;
  }

  .download-app_wrapper > div {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .contacts_section {
    padding: 30px 20px 50px 20px;
  }

  .contacts_title {
    margin-bottom: 30px;
    font-size: 24px;
  }

  .contacts_list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contacts_list-item > a {
    gap: 10px;
    font-size: 16px;
  }

  .terminals_section {
    padding: 30px 20px;
  }

  .terminals_title {
    margin-bottom: 30px;
    font-size: 24px;
  }

  .terminals_list {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 50px 20px;
  }

  .footer_logo-link {
    margin-bottom: 30px;
  }

  .footer_wrapper > div {
    flex-direction: column;
    margin-bottom: 50px;
  }

  .footer_nav-list li:not(:last-child) {
    margin-bottom: 15px;
  }

  .footer_call-center h3 {
    margin-bottom: 5px;
  }

  .footer_contacts_list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer_contacts_list h3 {
    margin-bottom: 5px;
  }

  .repayment-methods_section {
    padding: 80px 20px 40px;
  }

  .repayment-methods_title {
    margin-bottom: 30px;
    font-size: 24px;
    text-align: center;
  }

  .tab-content {
    flex-direction: column;
    padding: 40px 20px;
    gap: 30px;
  }

  .tab-content > img {
    margin: 0 auto;
  }

  .tab-content > div > h3 {
    margin-bottom: 10px;
    font-size: 16px;
  }

  .tabs {
    flex-direction: column;
  }

  .tab {
    padding: 20px 30px;
  }

  .tab span {
    display: flex;
    width: 70px;
    height: 70px;
  }
}

.swiper {
  position: relative;
}

.swiper-prev-btn,
.swiper-next-btn {
  position: absolute;
  z-index: 1;
  top: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  transform: translateY(-50%);
  font-size: 48px;
  color: #ffffff;
}

.swiper-prev-btn {
  left: 15px;
}

.swiper-next-btn {
  right: 15px;
}
