.page-frontend--vacancies-page .site-main {
  margin-top: 90px;
}

@media (max-width: 1200px) {
  .page-frontend--vacancies-page .site-main {
    margin-top: 60px;
  }
}

/* ===== Hero ===== */

.hero .hero__breadcrumbs {
  margin-top: 50px;
  margin-bottom: 35px;
}

.tabs-btns {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-end;
  align-items: stretch;
  gap: 20px;
  margin-left: auto;
}

.tabs-city-select {
  display: none;
}

.hero__tab-btn {
  height: 60px;
  padding: 19px 30px;
  border-radius: 3px;
  text-align: center;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  border: none;
  outline: none;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.hero__tab-btn.active {
  color: var(--color-text);
  background: linear-gradient(90deg, #E98200 0%, #FFAC42 100%);
}

@media (hover: hover) and (pointer: fine) {
  .hero__tab-btn:hover {
    cursor: pointer;
    color: var(--color-primary);
    background: var(--color-bg-light);
  }

  .hero__tab-btn.active:hover {
    cursor: auto;
    color: var(--color-text);
    background: linear-gradient(90deg, #E98200 0%, #FFAC42 100%);
  }
}

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

  .hero .tabs-city-select {
    display: block;
    width: calc(50% - 7.5px);
    margin-left: auto;
  }

  .hero .select__button {
    background-color: rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 750px) {
  .hero .hero__breadcrumbs {
    margin-top: 35px;
    margin-bottom: 25px;
  }
}

@media (max-width: 639px) {
  .hero .section-header {
    flex-wrap: wrap;
  }

  .hero .tabs-city-select {
    width: 100%;
    margin-left: 0;
    margin-top: 15px;
  }

  .hero .select__value {
    font-size: 14px;
  }

  .hero .select__dropdown {
    padding: 0 30px 15px 30px;
  }
}

/* ===== Форма и вакансии ===== */

.form-and-vacancies {
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-top: 35px;
  padding-bottom: 90px;
}

.form,
.vacancies {
  flex: 670 1 0;
  border-radius: 3px;
}

@media (max-width: 1200px) {
  .form-and-vacancies {
    flex-flow: column nowrap;
    justify-content: flex-start;
    gap: 60px;
    padding-top: 25px;
  }

    .form,
    .vacancies {
      width: 100%;
    }
}

/* ===== Форма ===== */

.form {
  margin: 0;
  padding: 40px;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 15px;
  background-color: rgba(255, 255, 255, 0.05);
  height: 530px;
}

.form .form__city-select {
  width: calc(50% - 7.5px);
}

.form .select__button {
  background-color: rgba(255, 255, 255, 0.1);
}

.form .city-select__dropdown {
  margin-top: -6px;
}

.form .field {
  width: calc(50% - 7.5px);
}

.form .textarea-field {
  width: 100%;
}

.form .textarea {
  height: 130px;
  resize: none;
}

.file-upload {
  display: flex;
  width: 100%;
  gap: 15px;
  height: 65px;
}

.file-upload__left {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 3px;
}

.file-upload__button {
  display: flex;
  align-items: center;
  gap: 10px;
}

.file-upload__icon {
  display: inline-block;
}

.file-upload__text {
  color: var(--color-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.file-upload__input {
  display: none;
}

.file-upload__right {
  flex: 1;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.file-upload__label {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-text)
}

.file-upload__desc {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.3;
  color: #8C8C8C;
}

.file-upload--success .file-upload__left {
  background-color: rgba(88, 154, 90, 0.3);
  border: 1px solid #589A5A;
}

.file-upload__icon--success {
  display: none;
}

.file-upload--success .file-upload__icon--success {
  display: block;
  width: 17px;
  height: 17px;
}

.file-upload--success .file-upload__icon {
  display: none;
  width: 17px;
  height: 17px;
}

.file-upload--success .file-upload__text {
  color: #ffffff;
  font-weight: 500;
  max-width: 100%;
}

.file-upload--success .file-upload__label {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
}

.file-upload--success .file-upload__desc {
  font-size: 12px;
  color: #ffffff;
  text-decoration: underline;
  cursor: pointer;
}

.form__submit-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(50% - 7.5px);
  height: 65px;
  padding: 20px;
  border-radius: 3px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.form__submit-btn:hover {
  cursor: pointer;
}

.form .select.error .select__button {
  border: 1px solid #C1000F;
  background-color: rgba(193, 0, 15, 0.1);
}

.form .select__button  {
  padding: 20px;
}

.form .select.error .select__value {
  margin-top: 12px;
}

.form .select.error .contacts__floating-label--error {
  display: block;
  color: #FF0014;
}

.form .select[data-open="true"] .select__button {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-text);
  border: 1px solid var(--color-bg-light);
}

.form .select__dropdown {
  padding: 15px 20px;
}

@media (max-width: 1200px) {
  .form {
    padding: 0;
    background-color: transparent;
    height: auto;
  }

  .form .contacts__checkbox {
    position: relative;
    top: auto;
    padding-top: 0;
  }
}

@media (max-width: 639px) {
  .form .field {
    width: 100%;
  }

  .form .form__city-select {
    width: 100%;
  }

  .form  .select__button {
    height: 65px;
  }

  .form .select__value {
    font-size: 16px;
  }

  .file-upload {
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 22px;
    height: auto;
  }

  .file-upload__right {
    order: 1;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
  }

  .file-upload__label {
    text-align: center;
    font-size: 14px;
  }

  .file-upload__desc {
    text-align: center;
  }

  .file-upload__left {
    order: 2;
    width: 100%;
    height: 65px;  
  }

  .file-upload__button {
    height: 65px;
  }

  .form__submit-btn {
    width: 100%;
    font-size: 16px;
  }

  .form .contacts__checkbox {
    justify-content: center;
  }
}

/* ===== вакансии ===== */

.vacancies__list-container {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 22.5px 0;
  border-radius: 3px;
}

.vacancies__list {
  display: none;
  width: 100%;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

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

.vacancies__list li {
  position: relative;
  margin: 0;
  padding: 0 40px;
  transition: background-color 0.2s ease;
}

.vacancies__list li::after {
  content: '';
  position: absolute;
  right: 40px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%) rotate(-90deg);
  background-image: url(/icons/angle-white.svg);
}

.vacancies__list li a {
  display: block;
  width: 100%;
  padding: 20px;
  padding-right: 40px;
  text-decoration: none;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--color-text);
  transition: color 0.2s ease;
}

.vacancies__list li:not(:last-child) a {
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.vacancies__btns {
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
}

.vacancies__hh-link {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 65px;
  border: none;
  outline: none;
  margin: 20px 0 0 0;
  padding: 20px;
  backdrop-filter: blur(8px);
  color: var(--color-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

.vacancies .vacancies__show-more,
.vacancies__hh-link {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .vacancies__hh-link:hover {
    cursor: pointer;
    background-color: var(--color-bg-light);
    color: var(--color-primary);
  }

  .vacancies__list li:hover {
    background-color: var(--color-bg-light);
  }

  .vacancies__list li:hover a {
    color: var(--color-primary);
  }

  .vacancies__list li:hover::after {
    background-image: url(/icons/angle-primary.svg);
  }
}

@media (max-width: 1200px) {
  .vacancies__list li a {
    font-size: 20px;
  }

  .vacancies__btns {
    gap: 10px;
  }

  .vacancies .vacancies__show-more,
  .vacancies__hh-link {
    font-size: 14px;
    margin-top: 10px;
  }
}

@media (max-width: 639px) {
  .vacancies__list li {
    padding: 0 10px;
  }

  .vacancies__list li::after {
    right: 30px;
  }

  .vacancies__btns {
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
  }
}