/* =========================
   MODERN RESET (Production)
========================= */

/* 1. Box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margins */
body,
h1, h2, h3, h4, h5, h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* 3. Remove list styles */
ul[role='list'],
ol[role='list'],
ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 4. Core body defaults */
html:focus-within {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
}

/* 5. Images */
img,
picture {
  max-width: 100%;
  display: block;
}

/* 6. Form elements */
input,
button,
textarea,
select {
  font: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

button:disabled{
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

/* 7. Remove default input styles (important for Safari/iOS) */
input,
textarea {
  border-radius: 0;
  outline: none;
}

/* 8. Remove animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}



/* =========================
   BASE
========================= */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  background: #ffffff;
  color: #323141;
  line-height: 1.4;
  font-size: 18px;
}

/* =========================
   LAYOUT
========================= */

section {
  width: 100%;
  padding: 80px 0;
}

.container {
  max-width: 1580px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   TYPOGRAPHY
========================= */

.title {
  font-weight: 700;
  margin-bottom: 30px;
  font-size: 48px;
  line-height: 52px;
}

.text {
  font-weight: 400;
  margin-bottom: 20px;
}

/* =========================
   header
========================= */
.header {
 background: #EFF2FF;
  padding: 30px 0 1px;
position: relative;
  overflow: hidden;
}
.header  .container {
position:relative;
  z-index:3;
}
.hero-blobs{
  position:absolute;
  inset:0;
  pointer-events:none;
}

.blob{
  position:absolute;
  filter: blur(120px);
  opacity:0.9;
}
.blob1{
  width:70%;
  height:600px;
  background:#72E7FC;
  top:-150px;
  left:-20%;
  border-radius:50%;
}

.blob2{
  width:100%;
  height:650px;
  background:#4328E8;
  top:-120px;
  right:-50%;
  border-radius:50%;
}
.blob3{
  width:120%;
  height:500px;
  background:#EFF2FF;
  bottom:-50px;
  left:-10%;
  border-radius:50%;
  z-index:2;
  opacity:1;
}

.topline {
  display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	align-content: stretch;
}
.topline .btn {
  border: 1px solid #EBEBEB;
}

.topline_logo {
  width: 234px;
  height: 62px;
  background: url(../img/logo.png) no-repeat center center / contain;
}
.topline_nav {
  display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	align-content: stretch;
  gap: 1.5em;
  
}
.topline_nav li a {
  color: #241896;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.topline_nav li a:hover {
  color: #6351ff;
}
.topline_right {
  display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	align-content: stretch;
  gap: 2em;
}
.switch-lng {
  display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	align-content: stretch;
  gap: 0.5em;
}
.switch-lng__item {
  font-weight: 600;
  width: 44px;
  height: 44px;
  color: #fff;
  border-radius: 50%;
  border: 1px solid #fff;

  display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: stretch;

  cursor: pointer;
  transition: all 0.3s ease;

}
.switch-lng__item:hover {
  background: #fff;
  color: #323141;
}
.switch-lng__item.active {
  background: #fff;
  color: #323141;
}

/* === Бургер (скрыт на ПК) === */

/* =========================
   BURGER
========================= */
.burger {
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  display: none;
  flex-shrink: 0;
  z-index: 1100;
}

.burger span {
  position: absolute;
  left: 50%;
  width: 24px;
  height: 2px;
  background: #000;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: top 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.burger span:nth-child(1) {
  top: 14px;
}

.burger span:nth-child(2) {
  top: 21px;
}

.burger span:nth-child(3) {
  top: 28px;
}

.burger.active span:nth-child(1) {
  top: 21px;
  transform: translateX(-50%) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  top: 21px;
  transform: translateX(-50%) rotate(-45deg);
}


/* =========================
   OVERLAY
========================= */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1040;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}


/* =========================
   BODY LOCK
========================= */
body.menu-open {
  overflow: hidden;
}



.headcont {
 display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
  gap: 3em;
  max-width: 930px;
  width: 100%;
  margin: 90px auto;
  text-align: center;
}
.headcont-bullits {
  display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: stretch;
  gap: 2em;
}
.headcont-bullits__item {
  color: #241896;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  height: 27px;
  line-height: 27px;
  border-radius: 40px;
  padding: 0 20px;
  background: #fff;
}
.headcont__title {
  font-size: 73px;
  line-height: 1.3em;
  font-weight: 700;
}
.headcont__lead {
  font-size: 22px;
  line-height: 1.7;
}
.btn {
}


/* =========================
   about
========================= */
.b2 {
  background: #EFF2FF;
  padding-top: 0;
}
.about {
  display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
  gap: 3em;
}
.about-left {
  flex:0 0 auto;
}
.about-left img {
  display:block;
  max-width:none;
}
.about-right {
  flex:1 1 auto;
  background: #fff;
  border-radius: 10px;
  padding: 40px;
  display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
  gap: 1em;
  margin-top: 50px;
}
.about-right__title {
  font-size: 26px;
  font-weight: 700;
  color: #241896;
}
/* =========================
   why
========================= */
.b3 {
  background: #FBFBFF;
}
.b3 .title {
  display: block;
  max-width: 985px;
  width: 100%;
  margin: 0 auto 80px;
  text-align: center;
}

.benefits {
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap: 1em;
  margin-bottom: 3em;
}
.benefits-item {
 display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	align-content: stretch;
  gap: 2em;

  background: #EFF1FF;
  border-radius: 10px;
  padding: 30px 10px;
  text-align: center;
}
.benefits__icon {
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: #BEC6FD;

  display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: stretch;
}
.benefits__txt {
}
.benefits__title {
  color: #241896;
  font-weight: 600;
  margin-bottom: 1em;
}
.benefits__text {
}
/* =========================
   directions
========================= */

.b4 {
  background:
    url(../img/geo.jpg) no-repeat calc(50% + 341px) bottom / auto 100%,#fff;
}

.b4 .title{
  margin-bottom: 50px;
}

.directions {
  display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
}
.directions-left {
  width: 48%;
}
.title {
  margin: 0 0 20px 0;
}
.subtitle {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 3em;
}
.directions-right {
  position: relative;
  flex: 1;
 
}

.phrase {
  font-size: 20px;
  color: #170B67;
  font-weight: 600;
  border: 2px solid #3825E2;
  background: #fff;
  border-radius: 50px;
  padding: 20px 30px;
  text-align: center;
}
.directions-right__info {
  position: absolute;
  right: 0;
  bottom: -37px;
}

.comfor {
  display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
  gap: 3em;
}
.comfor-item {
  display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	align-content: stretch;
  gap:2em ;
}
.comfor-item__icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #BEC6FD;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comfor-item__icon img{
  max-width: 50px;
  width: 60%;
}

.comfor-item__text {
}

/* =========================
   who
========================= */
.b5 {
  background: #FBFBFF;
}
.who {
  display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: stretch;
	align-content: stretch;
  gap: 1em;
}
.who-left {

}
.who-left .phrase {
  margin-bottom: 50px;
}
.who-left .title {
  margin: 40px 0 50px;
}
.who-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
  gap: 2em;
  margin-bottom: 40px;
}

.who-list li {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 20px;
  font-weight: 600;
  color: #170B67;
}

.who-list li::before {
  content: "";
  width: 45px;
  height: 25px;
  background: url("../img/check.png") no-repeat center / contain;
}
.who-right {
}
.step-box {
  background: #fff;
  border-radius: 10px;
  -webkit-box-shadow: 0 0 128px 0 #F4F3FF;
  box-shadow: 0 0 128px 0 #F4F3FF;
  padding: 40px;
}
.step-box__title {
  font-size: 48px;
  text-align: center;
  margin-bottom: 30px;
}
.steps {
  display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
  gap: 1em;
  margin-bottom: 30px;
}
.steps-item {
  display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
}
.steps-item__number {
  background: #241896;
  font-size: 24px;
  color: #fff;
  font-weight: 700;
  display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: stretch;
    padding: 20px 0;
  flex: 0 0 70px;
  border-radius: 10px 0 0 10px;
}
.steps-item__text {
  background: #BEC6FD;
  font-size: 20px;
  font-weight: 600;
  color: #170B67;
  padding: 20px 30px;
  flex: 1;
  min-width: 0;
  border-radius: 0 10px 10px 0;
}
.step-box__days {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}
/* =========================
   open
========================= */
.b6 {
  background: #FBFBFF;
}
.b6 .title {
  text-align: center;
  margin-bottom: 60px;
}

.country-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom:50px;
}

.country-tab {
  height: 56px;
  padding: 0 20px 0 15px;
  border: 2px solid #4b41ff;
  border-radius: 999px;
  background: #fff;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  color: #241f6a;
  cursor: pointer;
  transition: all 0.25s ease;

  display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	align-content: stretch;
  gap: 10px;
}
.country-tab img {
  width: 24px;
  height: 24px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.15);
}

.country-tab:hover {
  background: #f3f2ff;
}

.country-tab.active {
  background: #b9c1f7;
  border-color: #b9c1f7;
}

.country-panels {
  position: relative;
}

.country-panel {
  display: none;
}

.country-panel.active {
  display: block;
}

.vacancy-card {
  background: #EFF1FF;
  border-radius: 10px;
  margin-bottom: 20px;
 display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	align-content: stretch;
  padding: 20px 30px;
  gap: 1em;
}
.vacancy-card h3 {
  margin-right: auto;
  font-size: 24px;
  font-weight: 600;
}
.vacancy-card .btn {
  margin: 0;
}



/* =========================
   growth
========================= */
.b7 {
  background: #EFF1FF url(../img/career.png) no-repeat calc(50% + 659px) top / auto 100%;
}
.b7 .title {
  text-align: center;
}
.b7 .title + p {
  text-align: center;
  font-weight: 600;
  line-height: 2em;
  margin: 0 auto 60px;
  max-width: 900px;
}

.career {
  display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-evenly;
	align-items: center;
	align-content: stretch;
 
}
.career-item {
  color: #241896;
  font-weight: 700;
  display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: stretch;
   background: #BEC6FD;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  text-align: center;
  position: relative;
  box-sizing: border-box;
    border: 10px solid #EFF1FF;
}
.career > div:nth-child(2) {
  width: 174px;
  height: 174px;
}
.career > div:nth-child(3) {
  width: 208px;
  height: 208px;
}
.career > div:nth-child(4) {
  width: 240px;
  height: 240px;
}

.career > div:nth-child(1):before,
.career > div:nth-child(2):before,
.career > div:nth-child(3):before {
  content: '';
  display: block;
  background: url(../img/arrow.png) no-repeat 0 0;
  width: 46px;
  height: 24px;
  position: absolute;
}
.career > div:nth-child(1):before {
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
}
.career > div:nth-child(2):before {
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
}
.career > div:nth-child(3):before {
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
}

/* =========================
   footer form
========================= */
.end {
  background: #241896;
}
.footer {
  display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
  gap: 10em;
}
.footer-left {
  color: #fff;
  display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: stretch;
	align-content: stretch;
  gap: 3em;
}
.footer-left__title {
  font-size: 48px;
}
.footer-left__subtitle {
  font-size: 22px;
}
.footer-left .headcont-bullits {
  justify-content: flex-start;
}
.headcont-bullits__item {
}
.footer-right {
}
/* =========================
   BUTTON
========================= */

.btn {
  display: block;
  text-decoration: none;
  text-align: center;
  background-color: #3825E2;
  color: #ffffff;
  width: fit-content; 
  height: 70px;
  line-height: 1em;
  border-radius: 10px;
  font-size: 22px;
  font-weight: 500;
  transition: 0.3s ease;
  padding: 0 40px;
  margin: 0 auto;
  transition: all 0.3s ease;

  display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: stretch;
}
.btn-small {
  height: 75px;
  line-height: 75px;
  width: 300px;
}
.btn:hover {
  background-color: #4330ec;
}

/* =========================
   INPUTS
========================= */
.input-group {
  position: relative;
  overflow: hidden;
}

.input {
  width: 100%;
  height: 70px;
  background: #E8EAF8;
  border-radius: 10px;
  border: 2px solid transparent;
  outline: none;

  padding: 22px 20px 6px;
  box-sizing: border-box;

  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  text-align: center;

  transition: border-color .25s ease, box-shadow .25s ease;
}
.input-group label {
  position: absolute;
  left: 50%;
  top: 50%;

  max-width: 100%;

  transform: translate(-50%, -50%);
  font-size: 18px;
  color: #3B3950;

  pointer-events: none;

  transition: all .25s ease;
  background: #E8EAF8;
  padding: 0 6px;
  white-space: nowrap;
  pointer-events: none;
}
.input:focus + label,
.input:not(:placeholder-shown) + label {

  top: 8px;
  font-size: 13px;
  transform: translateX(-50%);
  color: #241896;

}
.input:focus {

  border-color: #4b41ff;
  box-shadow: 0 4px 14px rgba(75,65,255,0.15);

}

/* =========================
   FORM
========================= */
.form-box {
  background: #fff;
  border-radius: 10px;
  padding: 50px 60px;
 min-width: 550px;
}
.join-form {
display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
  gap: 1em;
}
.join-form {
  
}
.join-form .btn {
  width: 100%;
}

/* =========================
   footer politics
========================= */
footer {
  background: #241896;
  color: #fff;
  
}
footer .container {
  border-top: 1px solid #5d53bf;
  padding-top: 40px;
  padding-bottom: 40px;
}
.foot {
  display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: stretch;
	align-content: stretch;
}
.foot-left {
  opacity: 0.5;
}
.foot-right {
  display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: stretch;
	align-content: stretch;
  gap: 2em;
}
.foot-right a {
  color: #fff;
  text-decoration: none;
}
.foot-right a:hover {
  text-decoration: underline;
}


.legal-popup {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    font-family: 'Montserrat', sans-serif;
}

.legal-popup.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 15, 70, 0.5);
}

.legal-popup__dialog {
    position: relative;
    z-index: 2;
    width: min(900px, calc(100% - 40px));
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #FFFFFF;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 48px 40px 40px;
}

.legal-popup__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    font-size: 34px;
    line-height: 1;
    color: #3825E2;
    cursor: pointer;
    padding: 0;
}

.legal-popup__content h2 {
    margin: 0 0 28px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    color: #3B3950;
}

.legal-popup__content h3 {
    margin: 0 0 14px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #3825E2;
}

.legal-popup__content p,
.legal-popup__content li {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #3B3950;
}

.legal-popup__content p {
    margin: 0 0 18px;
}

.legal-popup__content ul {
    margin: 0 0 24px;
    padding-left: 24px;
}

.legal-popup__content li {
    margin-bottom: 10px;
}

.legal-popup__content li:last-child {
    margin-bottom: 0;
}
/* =========================
   POPUP vakancy
========================= */


.vacancy-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  font-family: 'Montserrat', sans-serif;
}

.vacancy-popup.is-open {
  display: block;
}

.vacancy-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 15, 70, 0.45);
}

.vacancy-popup__dialog {
  position: relative;
  z-index: 2;
  width: min(1350px, calc(100% - 40px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  margin: 20px auto;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 58px 60px 64px;
  box-sizing: border-box;
}

.vacancy-popup__content,
.vacancy-popup__form-box {
  display: none;
}

.vacancy-popup__content.is-active,
.vacancy-popup__form-box.is-active {
  display: block;
}

.vacancy-popup__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 50px;
}

.vacancy-popup__top--form {
  align-items: center;
}

.vacancy-popup__title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  color: #3B3950;
}

.vacancy-popup__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 30px;
  padding-top: 8px;
}

.vacancy-popup__meta-item {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #3B3950;
  white-space: nowrap;
}

.vacancy-popup__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1em;
  margin-bottom: 62px;
}

.vacancy-popup__card {
  background: #EEF0FF;
  border-radius: 10px;
  padding: 25px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vacancy-popup__card h1 ,
.vacancy-popup__card h2 ,
.vacancy-popup__card h3 ,
.vacancy-popup__card h4 ,
.vacancy-popup__card h5 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #2B27AA;
}

.vacancy-popup__card ul,
.vacancy-popup__card ol {
  margin: 0;
  padding: 0;
  list-style: disc;
  padding-left: 20px;
}

.vacancy-popup__card ol{
  list-style: decimal;
}


.vacancy-popup__card li {
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  color: #2B27AA;
}

.vacancy-popup__card li:last-child {
  margin-bottom: 0;
}

.vacancy-popup__actions {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.vacancy-popup__btn {
  min-width: 260px;
  height: 72px;
  padding: 0 34px;
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.25s ease;
}

.vacancy-popup__btn--primary {
  border: 1px solid #3825E2;
  background: #3825E2;
  color: #FFFFFF;
}

.vacancy-popup__btn--primary:hover {
  opacity: 0.95;
}

.vacancy-popup__btn--ghost {
  border: 1px solid #3825E2;
  background: #FFFFFF;
  color: #3825E2;
}

.vacancy-popup__btn--ghost:hover {
  background: #F6F5FF;
}

.vacancy-popup__icon-close {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  font-size: 36px;
  line-height: 1;
  color: #3825E2;
  cursor: pointer;
  padding: 0;
}

/* FORM */
.vacancy-form {
  max-width: 760px;
  margin: 0 auto;
}

.vacancy-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 36px;
}

/* =========================
   POPUP thanks
========================= */
.thanks-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  font-family: 'Montserrat', sans-serif;
}

.thanks-popup.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 15, 70, 0.45);
}

.thanks-popup__dialog {
  position: relative;
  z-index: 2;
  width: min(500px, calc(100% - 40px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: 10px;
  padding: 40px 30px;
  box-sizing: border-box;
  text-align: center;
}

.thanks-popup__dialog h2 {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #3B3950;
}

.thanks-popup__dialog p {
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.5;
  color: #3B3950;
}


.soc-link{
  display: flex;
  justify-content: center;
  gap: 10px;
}
.soc-link a{
  display: block;
}
.soc-link img{
  max-width: 40px;
  display: block;
  transition: all ease-in-out .3s;
}
.soc-link a:hover img{
  opacity: 0.8;
  transform: scale(1.05);
}

/* =========================
   BREAKPOINTS
========================= */

@media (max-width: 1579px) {
  .container {
    width: 1200px;
  }
  .topline .btn {
    display: none;
  }
  .about-left {
   flex:0 0 33%;
}

.about-right {
    flex:1;
  min-width:0;
    margin-top: 35px;
    
}
.about-left  img{
    width:100%;
    height:auto;
    max-width:100%;
  }
  .benefits {
    grid-template-columns:repeat(3, 1fr);
  }

.b4 {
    background: url(../img/geo.jpg) no-repeat calc(50% + 244px) center /  auto 70%, #fff;
}



.who-list li,
.phrase,
.steps-item__text {
    font-size: 18px;
}

.b7 {
    background: #EFF1FF url(../img/career.png) no-repeat calc(50% + 550px) top / auto 100%;
}
.career > div:nth-child(1):before,
.career > div:nth-child(2):before,
.career > div:nth-child(3):before{
    right: -72px;
}

.form-box {
    padding: 40px 50px;
    min-width: 500px;
}
.footer {
    gap: 5em;
}
.input {
    padding: 22px 5px 6px;
}
.btn {
  font-size: 20px;
}
.vacancy-popup__dialog {
    padding: 35px 30px 40px;
}
.vacancy-popup__grid {
    gap: 1em;
}
.vacancy-popup__card {
    padding: 20px;
}
}

@media (max-width: 1199px) {
  .container {
    width: 1024px;
  }

  .burger {
    display: block;
    margin-left: 16px;
  }

  .topline_nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85%;
    height: 100vh;
    margin: 0;
    padding: 120px 30px 60px;
    list-style: none;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1050;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
  }

  .topline_nav.active {
    transform: translateX(0);
  }
   .mobile-lang {
    margin-top: auto;
  }

  .topline_nav li {
    width: 100%;
    margin-bottom: 22px;
  }

  .topline_nav li:last-child {
    margin-bottom: 0;
  }

  .topline_nav a {
    display: block;
    width: 100%;
    font-size: 20px;
    line-height: 1.2;
    color: #000;
    text-decoration: none;
  }

  .switch-lng__item.active {
    background: #3825E2;
    color: #fff;
  }
  .switch-lng__item {
    color: #323141;
    border: 1px solid #3825E2;
  }
  .directions {
    display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
  gap: 3em;
  }
  .directions-left {
    width:100%;
}
.directions-right {
  padding-bottom: 500px;
}
.directions-right__info {
    position: static;
    right: inherit;
    bottom: inherit;
}

  .b4 {
    background: url(../img/geo.jpg) no-repeat calc(50% + -43px) bottom /  auto 600px;
}

.step-box__title {
    font-size: 38px;
}
.career  {
  flex-direction: column;
  padding-right: 42%;
}
    .b7 {
      background-position: calc(50% + 495px) top;
    }
    .career > div:nth-child(1):before, .career > div:nth-child(2):before, .career > div:nth-child(3):before {
      transform: rotate(90deg) translateY(-92%);
      right: 50%;
      z-index: 3;
      top: 98%;
    }
  .footer {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    align-content: stretch;
  }
  .vacancy-popup__grid {
    grid-template-columns: repeat(2, 1fr);
}

}

@media (min-width: 1200px) {
  .mobile-overlay {
    display: none;
  }
 
}

@media (max-width: 1023px) {
  .container {
    width: 768px;
  }
  .headcont__title {
    font-size: 56px;
  }
  .headcont-bullits > div:last-child {
    display: none;
  }
  .about {
    gap: 2em;
    flex-direction: column;
     }
  .about-left,
.about-right{
  width:100%;
}
    .about-right {
        margin-top: 0;
    }
    .benefits {
    grid-template-columns:repeat(2, 1fr);
  }
  .title,
  .footer-left__title {
    font-size: 40px;
    line-height: 44px;
}
.who {
  display: flex;
	flex-direction: column-reverse;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
}
.vacancy-card {
    padding: 20px;
}
.vacancy-card h3 {
    font-size: 20px;
}
.vacancy-popup__grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 767px) {
  .container {
    width: 480px;
  }

  .btn-small {
    height: 50px;
    line-height: 50px;
    width: 200px;
    font-size: 18px;
    margin-left: 20px;
}

    .headcont__title {
        font-size: 40px;
    }
    .headcont__lead {
      font-size: 18px;
  }
  .benefits {
    grid-template-columns:repeat(1, 1fr);
  }
      .title {
        font-size: 24px;
        line-height: 28px;
    }
  .b3 .title {
   
    margin: 0 auto 50px;
}
  .b4 {
    background: url(../img/geo.jpg) no-repeat calc(50% + -43px) bottom /  auto 487px;
}
.phrase {
  font-size: 18px;
}
.directions-right__info {
  padding: 15px 10px;
}
    .directions-right {
        padding-bottom: 361px;
    }
    .subtitle {
    font-size: 18px;
}
    .step-box__title {
        font-size: 24px;
    }
    .step-box {
    padding: 30px 20px;
}
.who-list {
  gap: 1em;
}
.vacancy-card {
  flex-direction: column;
}
.vacancy-card h3 {
  margin: 0;
}
.vacancy-card .btn {
    height: 50px;
   font-size: 18px;
}
.b7 {
        background: #EFF1FF;
    }
        .career {
        padding-right: 0;
    }

    .form-box {
        padding: 30px;
        width: 100%;
        min-width: 100%;
    } 
        .footer {
        gap: 4em;
    }

    .vacancy-popup__dialog{
      width: 100%;
      max-height: 100%;
      margin: 0;
      height: 100%;
      min-height: 100%;
      border-radius: 0;
    }
    .vacancy-popup__top {
      flex-direction: column;
      gap: 1em;
    }
    .vacancy-popup__top--form{
      flex-direction: row;
    }
    .vacancy-popup__title {
      font-size: 22px;
}
  .foot {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: stretch;
    gap: 2em;
  }
  .foot-left {
    text-align: center;
  }
  .foot-right {
    justify-content: center;
  }
}

@media (max-width: 479px) {
  .container {
    width: 100%;
  }
  .topline_logo {
      width: 170px;
      height: 46px;
  }
  .headcont-bullits__item {
      height: auto;
      line-height: 1.2em;
      border-radius: 40px;
      padding: 5px 10px;
      text-align: center;
  }
      .headcont__title {
        font-size: 28px;
    }
  
.about-right {
        margin-top: 0;
        padding: 30px 20px;
    }
    .comfor-item__icon {
      width: 50px;
      height: 50px;
  }
  .comfor-item {
    gap: 1em;
}
  .b4 {
    background: url(../img/geo.jpg) no-repeat calc(50% + -43px) bottom /  auto 400px;
}
    .directions-right {
        padding-bottom: 300px;
    }
    .step-box {
        padding: 25px 10px;
    }
 .steps-item__number {
    padding: 15px 0;
}
.steps-item__text {
    padding: 15px 10px;
}
.country-tabs {
  gap: 10px;
  margin-bottom: 30px;
  
}
.country-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.country-tab {
  height: auto;
  padding: 10px;
  font-size: 16px;
  gap: 5px;
}
    .footer-left__title {
        font-size: 34px;
    }
    .footer-left__subtitle {
    font-size: 20px;
}
.form-box {
        padding: 30px 20px;

    }
    .form-box .btn {
      padding: 0 20px;
    }
    .vacancy-popup__meta {
    gap: 10px;
}
    .vacancy-popup__dialog {
        padding: 20px 15px;
    }
    .vacancy-popup__card {
        padding: 20px 10px;
    }
    .vacancy-popup__card li {
      font-size: 16px;
  }
  .legal-popup__dialog {
    padding: 20px;
}
.legal-popup__content h3 {
  font-size: 18px;
}
.legal-popup__content p, .legal-popup__content li {
    font-size: 16px;
    line-height: 1.4em;
}
}