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

/*Main*/

.main {
  position: relative;
  z-index: 2;
  margin-top: 100vh;
  background-color: #f5f1eb;
}

/*ABOUT*/

.about {
  padding: 100px 0;
}

.about__wrapper {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.about__heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.about__heading h2 {
  color: var(--color-black);
  font-size: 60px;
  font-weight: 500;
  line-height: 73px;
}

.about__btn {
  background-color: var(--color-dark-gray);
  border-radius: 2px;
  font-size: 14px;
  color: var(--color-white);
  font-weight: 500;
  line-height: 23px;
  padding: 8px 16px;
  text-decoration: none;
}

.about__preview {
  display: flex;
  justify-content: flex-end;
}

.about__desc {
  display: flex;
  max-width: 780px;
  gap: 70px;
}

.about__caption {
  margin-top: 20px;
  text-align: center;
  opacity: 0.8;
}

.about__desc p {
  color: var(--color-black);
  text-align: start;
  line-height: 26px;
  opacity: 0.82;
}

.about__preview picture {
  display: block;
  width: 100%;
}

.about__img {
  display: block;
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 2px;
}

/*Services*/

.services {
  background-color: var(--color-black);
  padding: 130px 0;
}

.service__title h2 {
  color: var(--color-white);
  font-size: 60px;
  font-weight: 500;
  line-height: 73px;
  text-align: center;
  margin-bottom: 100px;
  animation: rise 1s both;
  animation-timeline: view();
  animation-range: cover 20% cover 50%;
}

.services__panel {
  display: block;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  cursor: pointer;
}

.services__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.services__content {
  position: relative;
  height: 100%;
  z-index: 2;
}

.services__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background-color: #1b1917;
  opacity: 0.6;
  z-index: 1;
  pointer-events: none;
}

.services__count {
  position: absolute;
  top: 20px;
  left: 20px;
  color: var(--color-white);
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -0.5px;
}

.services__span {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--color-white);
  font-size: 14px;
  line-height: 23px;
}

.services__span::before {
  content: "";
  position: absolute;
  top: 0;
  left: -25px;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  background-color: red;
  animation: pulse 2s ease-in-out infinite;
}

.services__desc {
  position: absolute;
  bottom: 100px;
  right: 20px;
  max-width: 500px;
  color: var(--color-white);
  font-weight: 300;
  line-height: 26px;
  opacity: 0.8;
}

/*Career*/

.career {
  padding: 100px 0;
}

.career__title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 100px;
}

.career__title h2 {
  font-size: 60px;
  font-weight: 500;
  line-height: 73px;
  text-align: center;
  animation: rise 1s both;
  animation-timeline: view();
  animation-range: cover 20% cover 50%;
}

.career__title p {
  text-align: center;
  line-height: 26px;
  opacity: 0.82;
  animation: rise 2s both;
  animation-timeline: view();
  animation-range: cover 20% cover 50%;
}

.career__cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  width: 100%;
  column-gap: 5px;
  padding-bottom: 150px;
}

.career__card {
  position: relative;
  overflow: hidden;
  transition:
    color 0.5s ease,
    border-color 0.5s ease;
  height: 380px;
  padding: 20px;
  border: 1px solid #aaa;
  border-radius: 2px;
  display: flex;
  justify-content: space-between;
  flex-flow: column;
}

.career__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #c2551e;
  transform: scale(0); /* сжат в точку */
  transform-origin: right bottom; /* точка — правый нижний угол */
  transition: transform 0.5s ease;
}

.career__card:hover::before {
  transform: scale(1); /* растягивается на всю карточку */
}

.career__card > * {
  position: relative;
  z-index: 1;
}

.career__card:hover {
  color: #fff;
  border-color: #c2551e;
}

.career__card-icon {
  opacity: 0.48;
  transition:
    filter 0.5s ease,
    opacity 0.5s ease;
}

.career__card:hover .career__card-icon {
  filter: brightness(0) invert(1); /* делает иконку белой */
  opacity: 0.9;
}

.career__card-num {
  font-size: 14px;
  font-weight: 600;
  line-height: 23px;
  opacity: 0.9;
}

.career__hire-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 100px;
}

.career__hire-title h2 {
  font-size: 60px;
  font-weight: 500;
  line-height: 73px;
  animation: rise 1s both;
  animation-timeline: view();
  animation-range: cover 20% cover 50%;
}

.career__hire-title p {
  line-height: 26px;
  text-align: left;
  flex-basis: 350px;
}

.career__hire-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.career__steps {
  max-width: 500px;
  list-style-type: none;
  counter-reset: my-counter;
}

.steps__item-title {
  font-size: 32px;
  font-weight: 500;
  line-height: 48px;
}

.steps__item-text {
  line-height: 26px;
  opacity: 0.82;
}

.steps__item {
  counter-increment: my-counter;
  padding-left: 75px;
  padding-bottom: 40px;
  position: relative;
}

.steps__item::before {
  position: absolute;
  content: counter(my-counter);
  width: 50px;
  height: 50px;
  border: 1px solid #1b1917;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 0;
  transition:
    background-color 0.5s ease,
    color 0.5s ease,
    border-color 0.5s ease;
}

.steps__item::after {
  content: "";
  position: absolute;
  width: 1px;
  background-color: #423e3a;
  left: 20px;
  top: 48px;
  bottom: 8px;
}

.steps__item:last-child::after {
  display: none;
}

.career__hire-img {
  position: relative;
  width: 45%;
  height: 70vh;
  border-radius: 2px;
  overflow: hidden;
}

.hire__img {
  position: absolute;
  inset: 0;
  object-position: top;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

/* ===== БЛОК ОТКРЫТЫХ ВАКАНСИЙ ===== */
.career__vacancies {
  margin-top: 50px;
  padding: 40px;
  background-color: #f5f3ef; /* лёгкий тёплый фон, контрастирует с белым */
  border-left: 3px solid #c2551e;
}

.career__vacancies-head {
  margin-bottom: 30px;
}

.career__vacancies-badge {
  display: inline-block;
  padding: 6px 14px;
  background-color: #c2551e;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.career__vacancies-title {
  font-size: 28px;
  font-weight: 500;
  line-height: 36px;
}

.career__vacancies-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 30px;
  padding: 0;
  list-style: none;
}

.career__vacancy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background-color: #fff;
  border: 1px solid rgba(27, 25, 23, 0.1);
  transition: border-color 0.3s ease;
}

.career__vacancy:hover {
  border-color: #c2551e;
}

.career__vacancy-num {
  font-family: "Russo One", sans-serif;
  font-size: 13px;
  color: #c2551e;
  opacity: 0.8;
}

.career__vacancy-role {
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
}

.career__vacancy-desc {
  font-size: 15px;
  line-height: 22px;
  opacity: 0.75;
  flex: 1;
}

.career__vacancy-salary {
  font-size: 18px;
  font-weight: 500;
  color: #c2551e;
  padding-top: 10px;
  border-top: 1px solid rgba(27, 25, 23, 0.1);
}

.career__vacancies-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(27, 25, 23, 0.1);
}

.career__vacancies-link {
  font-size: 15px;
  color: inherit;
  text-decoration: none;
  opacity: 0.75;
  transition:
    opacity 0.3s ease,
    color 0.3s ease;
}

.career__vacancies-link:hover {
  color: #c2551e;
  opacity: 1;
}

.hire__img.is-visible {
  opacity: 1;
}

.steps__item.is-active::before {
  background-color: #c2551e;
  border-color: #c2551e;
  color: #fff;
}

/*News*/

.news {
  padding: 120px 0;
}

.news__heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.news__heading h2 {
  font-size: 60px;
  font-weight: 500;
  line-height: 73px;
}

.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news__card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(27, 25, 23, 0.15);
  transition: border-color 0.3s ease;
}

.news__card-link:hover {
  border-color: #c2551e;
}

.news__card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.news__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news__card-link:hover img {
  transform: scale(1.05);
}

.news__card-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #c2551e;
  color: #fff;
  padding: 4px 10px;
  font-size: 13px;
}

.news__card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 25px;
}

.news__card-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.6;
}

.news__card-body h3 {
  font-size: 22px;
  line-height: 1.3;
}
.news__card-body p {
  line-height: 24px;
  opacity: 0.8;
}

.news__card-more {
  margin-top: auto;
  color: #c2551e;
  font-weight: 500;
}

/*Form*/

.form {
  padding-top: 150px;
}

.form__title {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 80px;
}

.form__title h2 {
  font-size: 80px;
  font-weight: 500;
  line-height: 96px;
}

.form__title-right {
  max-width: 420px;
}

.form__subtitle {
  font-weight: 500;
  line-height: 26px;
  margin-bottom: 12px;
}

.form__desc {
  line-height: 26px;
  opacity: 0.82;
}

.form__contact {
  max-width: 500px;
  margin: 0 auto;
  padding: 40px;
  background-color: #fff;
  border: 1px solid rgba(27, 25, 23, 0.15);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form__row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form__label {
  font-weight: 500;
  line-height: 23px;
}

.form__input {
  padding: 14px 16px;
  border: 1px solid rgba(27, 25, 23, 0.2);
  border-radius: 2px;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  color: inherit;
  transition: border-color 0.3s ease;
}

.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 18px;
  opacity: 0.75;
  cursor: pointer;
  margin-top: 16px;
}

.form__consent-input {
  margin-top: 2px;
  flex: 0 0 16px;
  cursor: pointer;
}

.form__consent a {
  color: #c2551e;
  text-decoration: underline;
}

.form__input:focus {
  outline: none;
  border-color: #c2551e; /* оранжевый акцент при фокусе */
}

.form__input::placeholder {
  color: rgba(27, 25, 23, 0.4);
}

.form__textarea {
  min-height: 140px;
  resize: vertical; /* тянется только по вертикали */
}

.form__submit {
  padding: 16px 48px;
  background-color: #c2551e;
  color: #fff;
  border: none;
  border-radius: 2px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form__submit:hover {
  background-color: #a8431a;
}

.form__state {
  display: none;
}

.form__state--active {
  display: flex;
  flex-direction: column;
  gap: 30px;
  animation: fade-in 0.4s ease;
}

/* Иконка успеха */
.form__success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #c2551e;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #c2551e;
  animation:
    checkmark-fill 0.4s ease-in-out 0.4s forwards,
    checkmark-scale 0.3s ease-in-out 0.9s both;
}

.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #c2551e;
  fill: none;
  animation: checkmark-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: checkmark-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

/* Круг рисуется первым */
@keyframes checkmark-stroke {
  to {
    stroke-dashoffset: 0;
  }
}

/* Круг заполняется цветом */
@keyframes checkmark-fill {
  to {
    box-shadow: inset 0px 0px 0px 80px rgba(194, 85, 30, 0.1);
  }
}

/* Лёгкий bounce в конце */
@keyframes checkmark-scale {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.form__success {
  align-items: center;
  text-align: center;
  padding: 40px;
  background-color: #fff;
  border: 1px solid rgba(27, 25, 23, 0.15);
  border-radius: 2px;
  max-width: 500px;
  margin: 0 auto;
}

.form__success-title {
  font-size: 28px;
  font-weight: 500;
  line-height: 36px;
  margin-bottom: 8px;
}

.form__success-text {
  line-height: 26px;
  opacity: 0.82;
  margin-bottom: 20px;
}

.form__success-reset {
  padding: 12px 24px;
  background-color: transparent;
  color: #c2551e;
  border: 1px solid #c2551e;
  border-radius: 2px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.form__success-reset:hover {
  background-color: #c2551e;
  color: #fff;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*Accordeon*/

.faq {
  background-color: var(--color-black);
  padding: 120px 0;
  color: var(--color-white);
}

.faq__wrapper {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

/* Левая часть: заголовок */
.faq__left {
  flex: 0 0 521px;
  position: sticky;
  top: 120px;
}

.faq__title {
  font-size: 60px;
  font-weight: 500;
  line-height: 73px;
  margin-bottom: 24px;
}

.faq__subtitle {
  line-height: 26px;
  opacity: 0.82;
  margin-bottom: 32px;
}

/* Правая часть: аккордеон */
.faq__right {
  flex: 1;
}

.faq__accordion {
  display: flex;
  flex-direction: column;
}

/* Один пункт аккордеона */
.faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.faq__item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Кнопка-вопрос */
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
  background: transparent;
  border: none;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq__question:hover {
  color: #c2551e;
}

.faq__question-text {
  font-size: 22px;
  font-weight: 500;
  line-height: 30px;
}

/* Иконка + / - */
.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

/* Горизонтальная палочка */
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Горизонтальная палочка (всегда видна) */
.faq__icon::before {
  transform: translateY(-50%);
}

/* Вертикальная палочка (делает +) */
.faq__icon::after {
  transform: translateY(-50%) rotate(90deg);
}

/* Активное состояние: вертикальная палочка поворачивается → получается - */
.faq__item.is-active .faq__icon::after {
  transform: translateY(-50%) rotate(0deg);
}

/* Ответ (скрыт по умолчанию) */
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq__answer-inner {
  padding: 0 0 28px 0;
}

.faq__answer-inner p {
  line-height: 26px;
  opacity: 0.82;
  max-width: 700px;
}

/* ===== СОЦИАЛЬНЫЕ ПРОЕКТЫ (тёмная секция) ===== */
.social {
  background-color: var(--color-black);
  color: #fff;
  padding: 120px 0;
  overflow: hidden;
}

.social__heading {
  margin-bottom: 60px;
}

.social__title {
  font-family: "Russo One", sans-serif;
  font-size: 64px;
  line-height: 76px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.social__accent {
  color: #c2551e;
}

.social__subtitle {
  font-size: 18px;
  line-height: 28px;
  opacity: 0.7;
  max-width: 560px;
}

/* Карусель */
.social__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  /* отступ слева как у контейнера, скролл на всю ширину */
  padding: 8px max(calc((100vw - 1260px) / 2), 20px) 24px;
}

.social__track::-webkit-scrollbar {
  display: none;
}

/* Карточка */
.social__card {
  flex: 0 0 420px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  background-color: #24211e; /* чуть светлее фона секции */
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    border-color 0.3s ease,
    transform 0.3s ease;
}

.social__card:hover {
  border-color: #c2551e;
  transform: translateY(-6px);
}

.social__card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.social__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(35%); /* мемориальное настроение */
  transition:
    transform 0.6s ease,
    filter 0.6s ease;
}

.social__card:hover img {
  transform: scale(1.05);
  filter: grayscale(0%); /* оживает при наведении */
}

.social__year {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 4px 12px;
  border: 1px solid #c2551e;
  color: #c2551e;
  background-color: rgba(27, 25, 23, 0.75);
  font-size: 13px;
  letter-spacing: 0.5px;
}

.social__card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  flex: 1;
}

.social__num {
  font-family: "Russo One", sans-serif;
  font-size: 14px;
  color: #c2551e;
  opacity: 0.8;
}

.social__card-title {
  font-family: "Russo One", sans-serif;
  font-size: 22px;
  line-height: 30px;
  text-transform: uppercase;
}

.social__card-desc {
  font-size: 15px;
  line-height: 24px;
  opacity: 0.7;
}

.social__more {
  margin-top: auto;
  color: #c2551e;
  font-weight: 500;
  font-size: 15px;
}

/*Adaptive*/

@media (max-width: 1200px) {
  .about__heading h2,
  .service__title h2,
  .career__title h2,
  .career__hire-title h2,
  .news__heading h2 {
    font-size: 48px;
    line-height: 58px;
  }

  .career__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .news__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .career__vacancies-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .about__desc {
    gap: 40px;
  }

  /* шаги и картинка друг под другом */
  .career__hire-steps {
    flex-direction: column;
    gap: 40px;
  }

  .career__hire-img {
    width: 100%;
    height: 50vh;
  }

  .form__title {
    gap: 40px;
  }
  .faq {
    padding: 80px 0;
  }

  .faq__wrapper {
    flex-direction: column;
    gap: 50px;
  }

  .faq__left {
    flex: none;
    width: 100%;
    position: static;
  }

  .faq__title {
    font-size: 44px;
    line-height: 54px;
  }
}

@media (max-width: 768px) {
  .about__heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .about__desc {
    flex-direction: column;
    gap: 20px;
  }

  .about__img {
    height: 400px;
  }

  /* описание услуги на всю ширину */
  .services__desc {
    left: 20px;
    right: 20px;
    max-width: none;
    bottom: 60px;
  }

  .career__hire-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .career__hire-title p {
    flex-basis: auto;
  }

  .form__title {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .form__title h2 {
    font-size: 56px;
    line-height: 64px;
  }

  .news__grid {
    grid-template-columns: 1fr;
  }
  .social {
    padding: 80px 0;
  }

  .social__title {
    font-size: 34px;
    line-height: 42px;
  }

  .social__subtitle {
    font-size: 16px;
  }

  .social__track {
    padding-left: 20px;
    padding-right: 20px;
  }

  .social__card {
    flex: 0 0 82vw;
  }
  .career__vacancies {
    padding: 28px 20px;
  }

  .career__vacancies-title {
    font-size: 22px;
    line-height: 30px;
  }

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

  .career__vacancies-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  .about,
  .career {
    padding: 60px 0;
  }

  .services {
    padding: 80px 0;
  }

  .about__heading h2,
  .service__title h2,
  .career__title h2,
  .career__hire-title h2,
  .news__heading h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .news__heading {
    display: block;
  }

  .news__heading h2 {
    margin-bottom: 15px;
  }

  .career__cards {
    grid-template-columns: 1fr;
    padding-bottom: 60px;
  }

  .career__card {
    height: auto;
    min-height: 300px;
  }

  .steps__item-title {
    font-size: 24px;
    line-height: 32px;
  }

  .form__title h2 {
    font-size: 40px;
    line-height: 48px;
  }

  .form__contact {
    padding: 24px;
  }

  .news {
    padding-bottom: 80px;
  }

  .career__card {
    align-items: center;
  }
  .faq {
    padding: 60px 0;
  }

  .faq__title {
    font-size: 32px;
    line-height: 40px;
  }

  .faq__question {
    padding: 22px 0;
  }

  .faq__question-text {
    font-size: 18px;
    line-height: 26px;
  }

  .faq__icon {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 400px) {
  .about__heading h2,
  .service__title h2,
  .career__title h2,
  .career__hire-title h2,
  .news__heading h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .form__title h2 {
    font-size: 34px;
    line-height: 42px;
  }

  /* имя услуги не наезжает на номер */
  .services__span {
    max-width: 60%;
    font-size: 12px;
  }

  .career__hire-title h2 {
    animation: none;
  }
}
