/* ==========================================================================
   Figma reference notes (kept for future tuning)
   --------------------------------------------------------------------------
   Форма сверху (hero card):
     width 500 / height 566 / radius 24 / border 2px #FFFFFF80
     bg #131733E5, padding 44, gap 24
     accent #CE1E29

   H1: Alumni Sans / 700 / 140px / line-height 80% / letter-spacing -3% / uppercase
   Pill labels: Montserrat / 600 / 18px
   Big numbers (salary/pill): Alumni Sans / 700 / 60px / line-height 90% / letter-spacing -3% / uppercase
   Messenger buttons: text #0B0B0B; tg #23A2DD; vk #0177FF;
     max background: linear-gradient(90deg, #41AEFE 0%, #4A4CE5 50%, #9449E1 100%)

   Форма снизу (help card):
     width 600 / height 795 / radius 24 / border 2px #969696
     bg #F4EFE7, backdrop-filter blur(20px), padding 56, gap 32
   ========================================================================== */

/* Шрифты подключены в index.html через <link rel="stylesheet">,
   а не @import здесь — @import сериализует загрузку (сначала весь
   index.css, потом запрос за шрифтами), из-за чего Alumni Sans
   подгружался с заметной задержкой и подменял фолбэк-шрифт прямо
   посреди entrance-анимации hero — на iOS это выглядело как рывок. */

:root {
  --navy: #131733;
  --navy-soft: #14183a;
  --red: #ce1e29;
  --red-dark: #a4141d;
  --cream: #f4efe7;
  --cream-border: #969696;
  --white: #ffffff;
  --text-dark: #0b0b0b;

  --font-display: "Alumni Sans", sans-serif;
  --font-text: "Montserrat", sans-serif;

  --container: 1760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-text);
  color: var(--text-dark);
  background: var(--cream);
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.pill {
  display: inline-flex;
  align-items: center;
  background: #020a49;
  color: var(--white);
  border-radius: 16px;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: clamp(15px, 1vw, 18px);
  padding: 16px 28px;
}

@media (max-width: 480px) {
  .pill {
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}
.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.icon--white {
  filter: brightness(0) invert(1);
}

.icon--red {
  filter: invert(14%) sepia(87%) saturate(4088%) hue-rotate(348deg)
    brightness(90%) contrast(93%);
}

/* ==========================================================================
   ANIMATIONS
   - Hero: чистый CSS entrance при загрузке (без ожидания скролла).
   - .reveal: элементы ниже первого экрана появляются при скролле —
     класс is-visible добавляет script.js через IntersectionObserver.
   - html.has-js гейтит .reveal, чтобы без JS контент был виден сразу.
   ========================================================================== */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

html.has-js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 0.84, 0.44, 1),
    transform 0.7s cubic-bezier(0.16, 0.84, 0.44, 1);
  will-change: opacity, transform;
}

html.has-js .reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

.reveal--delay-1.is-visible {
  transition-delay: 0.1s;
}

.reveal--delay-2.is-visible {
  transition-delay: 0.2s;
}

.reveal--delay-3.is-visible {
  transition-delay: 0.3s;
}

.reveal--delay-4.is-visible {
  transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Печать/экспорт в PDF не скроллит страницу — IntersectionObserver
   не успевает выставить is-visible, и .reveal-блоки останутся
   невидимыми. Показываем всё сразу. */
@media print {
  .hero__content > *,
  .hero-form,
  .hero__logo,
  .stats-bar,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  z-index: -2;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 8, 26, 0) 0%,
    rgba(5, 8, 26, 0) 75%,
    rgba(5, 8, 26, 0.35) 100%
  );
  z-index: -1;
}

.hero__header {
  display: flex;
  justify-content: center;
  padding: 24px 40px 0;
}

.hero__logo {
  width: 100px;
  height: 100px;
  will-change: opacity, transform;
  animation:
    fadeIn 0.6s ease forwards,
    logoFloat 4s ease-in-out 0.6s infinite;
}

.hero__body {
  flex: 1;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 0;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  color: var(--text-dark);
}

.hero__content > * {
  opacity: 0;
  will-change: opacity, transform;
  animation: fadeUp 0.8s cubic-bezier(0.16, 0.84, 0.44, 1) forwards;
}

.hero__content > *:nth-child(1) {
  animation-delay: 0.05s;
}

.hero__content > *:nth-child(2) {
  animation-delay: 0.2s;
}

.hero__content > *:nth-child(3) {
  animation-delay: 0.35s;
}

.hero__content > *:nth-child(4) {
  animation-delay: 0.5s;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 140px);
  line-height: 0.8;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0;
  color: var(--text-dark);
}

.hero__badge {
  align-self: flex-start;
}

.hero__salary {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__salary-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (max-width: 480px) {
  .hero__salary-row {
    flex-wrap: wrap;
  }
}

.hero__salary-prefix {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 20px;
}

.hero__salary-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(70px, 8.5vw, 160px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #020a49;
}

.hero__salary-note {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 16px;
  color: #0b0b0b;
  margin-left: clamp(16px, 4vw, 50px);
}

.hero__schedule {
  align-self: flex-start;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 44px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  padding: 14px 28px;
  margin-top: 8px;
}

/* Hero lead form */

.hero-form {
  flex-shrink: 0;
  width: 500px;
  max-width: 100%;
  background: rgba(19, 23, 51, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-self: flex-start;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  will-change: opacity, transform;
  animation: fadeUp 0.8s cubic-bezier(0.16, 0.84, 0.44, 1) 0.35s forwards;
}

.hero-form__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
  margin: 0;
  text-transform: uppercase;
}

@media (max-width: 480px) {
  .hero-form__title {
    font-size: 32px;
  }
}

.hero-form__text {
  font-size: 15px;
  line-height: 1.4;
  opacity: 0.85;
  margin: -12px 0 0;
}

@media (max-width: 480px) {
  .hero-form__text {
    font-size: 12px;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 14px;
  font-weight: 600;
}

.field input,
.field select {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: var(--font-text);
  font-size: 15px;
  color: var(--white);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

.field input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.field input.error,
.field select.error {
  border-color: var(--red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: none;
  border-radius: 12px;
  padding: 18px 24px;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  width: 100%;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    filter 0.2s ease;
}

.btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: none;
}

.btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.btn--red {
  background: var(--red);
  color: var(--white);
}

.btn--red:hover:not(:disabled) {
  background: var(--red-dark);
}

.form-note {
  display: flex;
  gap: 8px;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0.75;
  margin: 0;
}

.form-note svg,
.form-note .icon {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Stats bar */

.stats-bar {
  background: #020a49;
  opacity: 0;
  will-change: opacity, transform;
  animation: fadeUp 0.8s cubic-bezier(0.16, 0.84, 0.44, 1) 0.6s forwards;
}

.stats-bar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding: 24px 40px;
}

.stats-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  flex: 1;
  min-width: 220px;
}

.stats-item__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.stats-item__title {
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  margin: 0;
}

.stats-item__text {
  font-size: 13px;
  opacity: 0.8;
  margin: 2px 0 0;
}

/* ==========================================================================
   VACANCIES (screen 2)
   ========================================================================== */

.vacancies {
  padding: 90px 0;
  background-color: #ece3d5;
}

.vacancies__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4.5vw, 80px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 28px;
}

.vacancies__subtitle {
  display: block;
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
  font-size: 17px;
  line-height: 1.4;
}

.vacancies__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.vacancy-card {
  position: relative;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.vacancy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(19, 23, 51, 0.16);
}

.vacancy-card:hover .vacancy-card__img {
  transform: scale(1.06);
}

.vacancy-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.vacancy-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.vacancy-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--white) 0%,
    var(--white) 12%,
    rgba(255, 255, 255, 0.9) 26%,
    rgba(255, 255, 255, 0) 58%
  );
}

.vacancy-card__content {
  position: relative;
  z-index: 1;
  max-width: 56%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vacancy-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
}

.vacancy-card__salary {
  align-self: flex-start;
}

.vacancy-card__text {
  font-size: 15px;
  line-height: 1.5;
  color: #333;
  margin: 0;
  flex: 1;
}

.vacancy-card__content .btn {
  width: auto;
  align-self: flex-start;
  padding: 16px 28px;
  text-decoration: none;
}

.vacancy-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.vacancies__footer {
  background: var(--white);
  border-radius: 24px;
  margin-top: 24px;
  padding: 32px 40px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 4.2vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--navy);
}

/* ==========================================================================
   HELP (screen 3)
   ========================================================================== */

.help {
  position: relative;
  padding: 100px 0;
  color: var(--white);
  overflow: hidden;
}

.help__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.help__inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.help__content {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.help__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 100px);
  line-height: 0.85;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0;
  color: var(--text-dark);
}

.help__subtitle {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.5;
}

.help__features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  color: var(--text-dark);
  border-radius: 16px;
  padding: 18px 24px;
  flex: 1;
  min-width: 220px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(19, 23, 51, 0.14);
}

.feature-item__title {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
}

/* Help form */

.help-form {
  flex-shrink: 0;
  width: 600px;
  max-width: 100%;
  background: rgba(244, 239, 231, 0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 2px solid var(--cream-border);
  border-radius: 24px;
  padding: 56px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--text-dark);
  align-self: flex-start;
}

.help-form__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
}

.help-form .field input,
.help-form .field select {
  border-color: rgba(11, 11, 11, 0.25);
  color: var(--text-dark);
}

.help-form .field input::placeholder {
  color: rgba(11, 11, 11, 0.4);
}

.help-form .field input:focus,
.help-form .field select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(19, 23, 51, 0.12);
}

.help-form .field input.error,
.help-form .field select.error {
  border-color: var(--red);
}

.direction-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.direction-group > span {
  font-size: 14px;
  font-weight: 600;
}

.direction-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.direction-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  border: 1px solid rgba(11, 11, 11, 0.25);
  background: transparent;
  padding: 12px 20px;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.direction-pill:hover {
  border-color: var(--navy);
  transform: translateY(-1px);
}

.direction-pill .icon {
  width: 20px;
  height: 20px;
}

.direction-pill.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.direction-pill.is-active .icon {
  filter: brightness(0) invert(1);
}

.messenger-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn--messenger {
  justify-content: space-between;
  padding: 16px 22px;
  text-transform: none;
  font-weight: 600;
  font-size: 16px;
  color: var(--white);
}

.btn--messenger .btn__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn--messenger .icon {
  width: 28px;
  height: 28px;
  filter: none;
}

.btn--telegram {
  background: #23a2dd;
}

.btn--vk {
  background: #0177ff;
}

.btn--max {
  background: linear-gradient(90deg, #41aefe 0%, #4a4ce5 50%, #9449e1 100%);
}

.btn--messenger:hover:not(:disabled) {
  filter: brightness(1.08);
}

.btn--messenger .icon {
  transition: transform 0.2s ease;
}

.btn--messenger:hover:not(:disabled) .icon:last-child {
  transform: translateX(3px);
}

.consent-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0.85;
}

.consent input {
  margin-top: 3px;
  flex-shrink: 0;
}

.consent input.error {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.consent a {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* ==========================================================================
   CHAT2DESK WIDGET
   Виджет нужен только как «мотор» для поиска ссылок на мессенджеры
   (openChat2DeskMessenger в script.js) — сам чат-баблик на экране не нужен.
   Прячем визуально, не через display:none, чтобы программный .click()
   по ссылке внутри виджета продолжал срабатывать.
   ========================================================================== */

#chat24-root {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -9999 !important;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 28px 0;
  font-size: 13px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 9998;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner__text {
  margin: 0;
  font-family: var(--font-text);
  font-size: 13px;
  line-height: 1.45;
  flex: 1;
  min-width: 220px;
}

.cookie-banner__text a {
  color: var(--white);
  text-decoration: underline;
}

.cookie-banner__btn {
  flex-shrink: 0;
  border: none;
  border-radius: 10px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cookie-banner__btn:hover {
  background: var(--red-dark);
}

@media screen and (max-width: 480px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 16px;
  }

  .cookie-banner__btn {
    width: 100%;
  }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media screen and (max-width: 1200px) {
  .hero__body {
    flex-direction: column;
  }

  .hero-form {
    width: 100%;
    background-color: rgba(19, 23, 51, 0.6);
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0);
    border-color: white;
    border-radius: 1rem;
  }

  .help__inner {
    flex-direction: column;
  }

  .help-form {
    width: 100%;
    background: rgba(244, 239, 231, 0.6);
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
  }

  .vacancy-card {
    flex-direction: column;
    min-height: 0;
    border-radius: 12px;
  }

  .vacancy-card__media {
    position: static;
    height: 220px;
  }

  .vacancy-card__media::after {
    background: linear-gradient(
      0deg,
      var(--white) 0%,
      rgba(255, 255, 255, 0) 45%
    );
  }

  .vacancy-card__content {
    max-width: 100%;
    padding: 28px 24px;
  }
}

@media screen and (max-width: 720px) {
  .container {
    padding: 0 20px;
  }

  .hero__body {
    padding: 20px 0;
  }

  .hero__header {
    padding-top: 20px;
  }

  .hero__body {
    padding: 0 0 24px 0;
    gap: 28px;
  }

  .hero__content {
    gap: 16px;
  }

  .vacancies {
    padding: 56px 0;
  }

  .hero__title,
  .vacancies__title,
  .help__title {
    font-size: 80px;
  }

  .vacancies__title {
    margin-bottom: 20px;
  }

  .vacancies__subtitle {
    margin-bottom: 36px;
    font-size: 12px;
  }

  .vacancies__cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .vacancies__footer {
    padding: 16px 24px;
    font-size: 28px;
    border-radius: 8px;
  }

  .help {
    padding: 64px 0;
  }

  .help__inner {
    gap: 28px;
  }

  .help__content {
    gap: 18px;
  }

  .help__features {
    gap: 10px;
  }

  .feature-item {
    min-width: 0;
    flex: 1 1 100%;
    padding: 14px 18px;
  }

  .stats-bar__inner {
    padding: 20px 0;
    gap: 24px;
  }

  .hero-form,
  .help-form {
    padding: 28px;
    gap: 18px;
  }

  .help-form__title {
    font-size: 32px;
    text-align: center;
  }

  .messenger-actions {
    gap: 10px;
  }

  .btn--messenger {
    padding: 12px;
    font-size: 12px;
  }
}

@media screen and (max-width: 420px) {
  .container {
    padding: 0 10px;
  }

  .hero__title {
    font-size: 60px;
  }

  .vacancies__title {
    font-size: 40px;
  }

  .help__title {
    font-size: 38px;
    text-align: center;
  }
  .help__title br {
    display: none;
  }
  .hero__logo {
    width: 48px;
    height: 48px;
  }

  .hero__salary-note {
    display: block;
    margin-left: 0;
    margin-top: 4px;
  }

  .hero__schedule {
    font-size: 40px;
    padding: 12px 20px;
  }

  .hero-form,
  .help-form {
    padding: 12px;
  }

  .help-form {
    border-radius: 12px;
  }

  .stats-item {
    min-width: 100%;
  }

  .stats-bar__inner {
    gap: 0;
  }

  .stats-item + .stats-item {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid white;
  }

  .field input,
  .field select {
    background-color: #ffffffb2;
    color: black;
  }

  .field input::placeholder,
  .field select::placeholder {
    color: #575757;
    font-weight: 400;
    font-family: var(--font-text);
  }

  .vacancy-card__title {
    font-size: 28px;
  }

  .vacancy-card__salary {
    width: auto;
  }

  .vacancy-card__text {
    font-size: 12px;
  }

  .vacancy-card__content {
    padding: 20px;
    gap: 14px;
  }
}
