:root {
  --white-text: #fff;
  --green-text: #23ce70;
}

html {
  scroll-padding: 3vw;
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.2;
  font-size: 1.111vw;
  color: #000;
  background-color: #fff;
}

.wrapper {
  min-height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.main {
  flex-grow: 1;
  overflow: hidden;
}

.container {
  max-width: 102.083vw;
  margin: 0 auto;
  padding: 0 1.042vw;
  height: 100%;
}

/* ================================================================= */

.body--opened-menu {
  overflow: hidden;
}

.modal {
  padding: 0 10px;
  position: fixed;
  inset: 0;
  z-index: 12;
  background: #05141d;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}

.body--opened-modal .modal {
  opacity: 1;
  visibility: visible;
  padding: 0px 40px;
}

.modal__window {
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: white;
  border-radius: 20px;
  padding: 10px 47px 39px 42px;
  max-width: 529px;
  align-items: center;
}

.modal__cancel {
  position: absolute;
  right: 15px;
  top: 15px;
}

.modal__title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  margin-top: 40px;
}

.modal__span {
  margin-top: 10px;
  margin-bottom: 20px;
  text-align: center;
  color: #5c5c5c;
  font-weight: 500;
  line-height: 1.3;
}

.modal__inputf {
  width: 100%;
  height: 54px;
  border-radius: 8px;
  border: 0.836px solid #e9e9e9;
  background: #f9f9f9 url("../img/mail.svg") no-repeat 20px center;
  padding-left: 58px;
  box-sizing: border-box;
}

.input-wrapper {
  position: relative;
  width: 100%;
  max-width: 619px;
}

.input-wrapper1 {
  position: relative;
}

.input-wrapper2 {
  position: relative;
}

.modal__inputf {
  width: 100%;
  height: 54px;
  padding-left: 58px;
  border-radius: 8px;
  border: 0.836px solid #e9e9e9;
  background: #f9f9f9;
  box-sizing: border-box;
}

.input-wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  width: 18px;
  height: 15px;
  background-image: url("../img/mail.svg");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.input-wrapper1::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  width: 18px;
  height: 15px;
  background-image: url("../img/pas.svg");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.input-wrapper2::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  width: 18px;
  height: 15px;
  background-image: url("../img/pas.svg");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 619px;
  width: 100%;
}

.modal__inputf {
  display: flex;
  border-radius: 8px;
  border: 0.836px solid #e9e9e9;
  background: #f9f9f9;
  max-width: 619px;
  width: 100%;
  height: 54px;
  padding: 16px 0 17px 58px;
}

.modal__checks {
  position: relative;
  display: flex;
  gap: 20px;
  width: fit-content;
  align-items: center;
  color: #5c5c5c;
  font-weight: 500;
  line-height: 1.3;
  max-width: 500px;
  font-size: 11px;
}

.iconPas {
  position: absolute;
  top: 90px;
  left: 20px;
}

.modal-check-f {
  appearance: none;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 3px;
  border: 1px solid #e9e9e9;
  background: #f9f9f9;
}

.modal-check-f:checked {
  background-color: #f9f9f9;
  background-image: url("../img/check.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}

.modal__link-free {
  max-width: 619px;
  width: 100%;
  height: 58px;
  border-radius: 8px;
  background: var(--1, linear-gradient(90deg, #7cdb63 0%, #1fbab6 100%));
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  align-self: self-start;
  color: #fff;
  font-weight: 700;
}

/* ================================================================= */

.modal1 {
  padding: 0 10px;
  position: fixed;
  inset: 0;
  z-index: 12;
  background: #05141d;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}

.body--opened-modal1 .modal1 {
  opacity: 1;
  visibility: visible;
}

.modal__window1 {
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: white;
  border-radius: 20px;
  padding: 40px 47px 39px 42px;
  max-width: 529px;
  width: 100%;
  align-items: center;
}

.modal__cancel1 {
  position: absolute;
  top: 15px;
  right: 15px;
}

.modal__title1 {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 30px;
}

.passLoss {
  color: #5c5c5c;
  font-weight: 500;
  line-height: 1.3;
  align-self: self-start;
  margin-top: 18px;
}

/* ================================================================= */

.modal2 {
  padding: 0 10px;
  position: fixed;
  inset: 0;
  z-index: 12;
  background: #05141d;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}

.body--opened-modal2 .modal2 {
  opacity: 1;
  visibility: visible;
}

.modal__window2 {
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: white;
  border-radius: 20px;
  padding: 40px 47px 39px 42px;
  max-width: 529px;
  width: 100%;
  align-items: center;
}

.modal__cancel2 {
  position: absolute;
  top: 15px;
  right: 15px;
}

.modal__title2 {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 30px;
}

.modal__link-free2 {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 619px;
  width: 100%;
  height: 58px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--1, linear-gradient(90deg, #7cdb63 0%, #1fbab6 100%));
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

/* ================================= */

.header__lang {
  position: relative;
}

.language-list {
  position: absolute;
  bottom: -158px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.1);
}

.nav__link {
  transition: all 0.4s;
}

.nav__link:hover {
  text-decoration: underline;
  text-underline-offset: 8px;
}
.header__log {
  transition: all 0.4s;
}

.header__log:hover {
  text-decoration: underline;
  text-underline-offset: 8px;
}
.header__try {
  transition: all 0.4s;
}
.header__try:hover {
  background-color: #1d8e50;
}
.footer__link {
  transition: all 0.4s;
}

.footer__link:hover {
  text-decoration: underline;
  text-underline-offset: 8px;
}
.pll-switcher-select {
  cursor: pointer;
}

.pll-switcher-select {
  opacity: 0;
  position: absolute;
  pointer-events: none;
  height: 0;
  width: 0;
}

.custom-select {
  position: relative;
  display: inline-block;
  font-family: sans-serif;
  cursor: pointer;
  font-size: 15px;
}

.custom-select .selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 6px;
}

.selected-label {
  margin-right: 7px;
  font-size: 17px;
}

.arrow svg {
  transition: transform 0.3s ease;
  display: block;
}

.custom-select .selected.open .arrow svg {
  transform: rotate(180deg);
}

.custom-select .dropdown {
  font-size: 1.2vw;
  display: none;
  position: absolute;
  top: 2.9556vw;
  left: 0;
  right: 0;
  background: white;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.1);
  margin-top: 5px;
  z-index: 1000;
  box-shadow: none;
}

.custom-select .dropdown.open {
  display: flex;
  gap: 7px;
  padding: 1.3889vw 1.6667vw;
}

.custom-select .dropdown li {
  transition: 0.4s;
}

.custom-select .dropdown li:hover {
  transform: scale(1.2);
  color: #5c5c5c;
}

.dropdown.open {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* Светлый фон — чёрная стрелка (по умолчанию) */
.custom-select {
  color: #000000;
}

/* Тёмный фон — белая стрелка */
.custom-select.dark {
  color: #fff;
}

.custom-select.open-up .dropdown {
  top: auto;
  bottom: 100%;
  margin-top: 0;
  margin-bottom: 5px;
}

.custom-select .dropdown li {
  color: #000;
}
