/* home_sections.css */
/* [DC Source] секции главной страницы */

.statistics-inner {
  /* [DC Source] ДОРАБОТАНО: Отрицательный margin-top для наложения на слайдер */
  margin-top: -15vw;
  padding: 0 0 0 0;
  /*background: rgba(20,22,44,0.08) !important; !* [DC Source] Фон блока статистики *!*/
  position: relative;
  z-index: 20; /* [DC Source] Поверх слайдера */
  min-height: 240px;
}


.stat-block {
  background: rgba(140, 32, 40, 0.50);
  border-radius: 0;
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.3);
  padding: 25px 35px 25px 35px;
  min-height: 174px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  /*margin-bottom: 12px;*/
  position: relative;
  transition: box-shadow 0.2s, background 0.2s;
  width: 100%;
  /*max-width: 90vw;*/
  /*gap: 50px 50px;*/
}
.stat-block:hover {
  background: #af2828;
  box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.7);
  border-radius: 0;
  padding: 35px 35px 25px 35px;
  margin-top: -30px;
  margin-bottom: -30px;
}
.stat-header {
  display: flex;
  align-items: baseline;
  margin-bottom: 13px;
}
.stat-dots {
  display: inline-block;
  font-family: monospace;
  color: #e5e5e5;
  font-size: 1.5rem;
  opacity: 0.32;
  margin-right: 10px;
  letter-spacing: 0.1em;
  line-height: 1;
}
.stat-number {
  font-size: 3.7rem;
  font-weight: 700;
  color: rgb(238, 238, 238);
  letter-spacing: 0.02em;
  line-height: 1;
}
.stat-plus {
  font-size: 3.1rem;
  color: rgb(238, 238, 238);
  margin-left: 0.1em;
}
.stat-title {
  font-size: 1.32rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1.2;
}
.stat-desc {
  color: #c8cbe1;
  font-size: 1.04rem;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 0;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
}
@media (max-width: 991.98px) {
  .statistics-inner {
    margin-top: 0; /* [DC Source] Не залазит на слайдер на мобильном */
    padding: 40px 0 23px 0;
    clip-path: none;
    margin-bottom: 0;
  }
  .statistics-angled { display: none; }
  .stat-block {
    padding: 28px 18px 16px 18px;
    min-height: 220px;
    max-width: 100%;
  }
  .stat-number {
    font-size: 2.0rem;
  }
  .stat-plus {
    font-size: 1.3rem;
  }
  .stat-title {
    font-size: 1.08rem;
  }
  .stat-desc {
    font-size: 0.96rem;
  }
}

/* [DC Source][FIXED] Кнопка направления услуг (service-btn) — вернули прежний стиль, без изменений */
.service-btn {
  background: rgba(140, 32, 40, 0.50) !important;
  color: #000000 !important;
  font-weight: 300;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.72em 2.3em;
  border-radius: 0;
  /*box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);*/
  letter-spacing: 0.01em;
  margin-top: 0.5em;
  /*transition: background 0.2s, color 0.2s, box-shadow 0.2s;*/
  display: block;
  text-align: center;
  width: 100%;
}

.service-btn:hover,
.service-btn:focus {
  background: #8C2028 !important;
  color: #fff !important;
  opacity: 1;
  /*box-shadow: 0 0 5px 0 rgba(0, 0, 0, .95);*/
  text-decoration: none;
}

/* [DC Source][NEW] Секция сервисов — затемнение изображения, стили из html перенесены сюда */
.section-title {
  font-weight: 700;
  text-align: center;
  /*margin-bottom: 1px !important;*/
}

.service-card {
  background: #ffffff !important;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 0 10px 0 rgba(0,0,0,0.23);
  /*transition: box-shadow 0.24s, background 0.24s;*/
  /* [DC Source][NEW] начальное состояние без тени */
}

.service-card:hover, .service-card:focus-within {
  background: #ffffff !important;
  box-shadow: 0 0 15px 0 rgba(0,0,0,0.83);
  /* [DC Source][NEW] на ховере становится светлее и появляется тень */
}

.service-img-wrapper {
  position: relative;
  width: 100%;
  min-height: 220px;
  height: 220px;
  display: block;
  border-radius: 0 0 0 0;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0 0 0 0;
  display: block;
}

.service-img-overlay {
  /* [DC Source][NEW] Полупрозрачное затемнение на изображении */
  position: absolute;
  left: 0; top: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.54) 60%, rgba(0,0,0,0.9) 100%);
  opacity: 1;
  pointer-events: none;
  z-index: 2;
  /*transition: opacity 0.24s;*/
}

.service-card:hover .service-img-overlay,
.service-card:focus-within .service-img-overlay {
  opacity: 0.10;
  /* [DC Source][NEW] при наведении затемнение становится слабее */
}

.service-img-title {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  padding: 1.1rem 1.2rem 0.6rem 1.2rem;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  z-index: 3;
  background: none;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 14px rgba(0,0,0,0.35);
}

.service-content {
  background: #bbbbbb;
  min-height: 210px;
  border-radius: 0 0 0 0;
  padding: 1.5rem 1.2rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.service-content:hover, .service-content:focus-within {
  background: #e5e5e5 !important;
  /* [DC Source][NEW] на ховере становится светлее и появляется тень */
}

.service-desc-block {
  padding-bottom: 0.6rem;
}

.service-subtitle {
  font-weight: 500;
  font-size: 1.08rem;
  margin-bottom: 0.6em;
  color: #232323;
}

.service-description {
  font-size: 0.98rem;
  color: #444;
}

/* [DC Source][NEW] Адаптация карточек сервисов под мобильные */
@media (max-width: 991.98px) {
  .service-img-wrapper, .service-img {
    min-height: 160px;
    height: 160px;
  }
  .service-content {
    min-height: 120px;
    padding: 1.1rem 0.7rem 1rem 0.7rem;
  }
  .service-img-title {
    font-size: 1.1rem;
    padding: 0.8rem 0.9rem 0.4rem 0.9rem;
  }
  .service-subtitle {
    font-size: 1rem;
  }
  .service-description {
    font-size: 0.93rem;
  }
}

.module-card {
  background: #ffffff !important;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 0 10px 0 rgba(0,0,0,0.23);
  /*transition: box-shadow 0.24s, background 0.24s;*/
  /* [DC Source][NEW] начальное состояние без тени */
}

.module-card:hover, .module-card:focus-within {
  background: #ffffff !important;
  box-shadow: 0 0 15px 0 rgba(0,0,0,0.83);
  /* [DC Source][NEW] на ховере становится светлее и появляется тень */
}

.module-img-wrapper {
  position: relative;
  width: 100%;
  min-height: 420px;
  height: 420px;
  display: block;
  border-radius: 0 0 0 0;
  overflow: hidden;
}

.module-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 0 0 0 0;
  display: block;
}

.module-img-overlay {
  /* [DC Source][NEW] Полупрозрачное затемнение на изображении */
  position: absolute;
  left: 0; top: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.54) 60%, rgba(0,0,0,0.9) 100%);
  opacity: 1;
  pointer-events: none;
  z-index: 2;
  /*transition: opacity 0.24s;*/
}

.module-card:hover .module-img-overlay,
.module-card:focus-within .module-img-overlay {
  opacity: 0.10;
  /* [DC Source][NEW] при наведении затемнение становится слабее */
}

.module-img-title {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  padding: 1.1rem 1.2rem 0.6rem 1.2rem;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  z-index: 3;
  background: none;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 14px rgba(0,0,0,0.35);
}

.module-content {
  background: #d2c4a9;
  min-height: 210px;
  border-radius: 0 0 0 0;
  padding: 1.5rem 1.2rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.module-content:hover, .module-content:focus-within {
  background: #eadbbd !important;
  /* [DC Source][NEW] на ховере становится светлее и появляется тень */
}

.module-desc-block {
  padding-bottom: 0.6rem;
}

.module-subtitle {
  font-weight: 500;
  font-size: 1.08rem;
  margin-bottom: 0.6em;
  color: #232323;
}

.module-description {
  font-size: 0.98rem;
  color: #444;
}

/* [DC Source][NEW] Адаптация карточек сервисов под мобильные */
@media (max-width: 991.98px) {
  .module-img-wrapper, .module-img {
    min-height: 260px;
    height: 260px;
  }
  .module-content {
    min-height: 120px;
    padding: 1.1rem 0.7rem 1rem 0.7rem;
  }
  .module-img-title {
    font-size: 1.1rem;
    padding: 0.8rem 0.9rem 0.4rem 0.9rem;
  }
  .module-subtitle {
    font-size: 1rem;
  }
  .module-description {
    font-size: 0.93rem;
  }
}

.section-title {
    margin-bottom: 4vw !important;
    /*margin-top: 4vw !important;*/
}

/* [DC Source][NEW] Описание компании: карточки "О нас" */
.about-desc-row {
  margin-top: 0.5vw;
  margin-bottom: 2vw;
  /* [DC Source][NEW] Сетка для карточек описания */
}

.about-desc-card {
  background: #d2c4a9;
  color: #262626;
  font-size: 1.28rem;
  font-weight: 300;
  text-align: center;
  width: 100%;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  margin-bottom: 0.5vw;
  padding: 32px 14px 32px 14px;
  box-sizing: border-box;
  box-shadow: 0 0 10px 0 rgba(0,0,0,0.23);
}

.about-desc-card:hover, .about-desc-card:focus-within {
  background: #eadbbd !important;
  color: #000000;
  font-weight: 500;
  box-shadow: 0 0 10px 0 rgba(0,0,0,0.53);
  /* [DC Source][NEW] на ховере становится светлее и появляется тень */
}

/* [DC Source][NEW] Адаптация карточек "О нас" под мобильные */
@media (max-width: 991.98px) {
  .about-desc-card {
    font-size: 1.02rem;
    min-height: 80px;
    padding: 18px 8px 18px 8px;
  }
}

.turtle-card {
  background: #af2828;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 100;
  text-align: center;
  width: 100%;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  margin-bottom: 0.5vw;
  padding: 32px 14px 32px 14px;
  box-sizing: border-box;
  box-shadow: 0 0 15px 0 rgba(0,0,0,0.53);
}

.turtle-card:hover, .turtle-card:focus-within {
  background: #eadbbd !important;
  color: #000000;
  font-weight: 500;
  box-shadow: 0 0 15px 0 rgba(0,0,0,0.73);
  /* [DC Source][NEW] на ховере становится светлее и появляется тень */
}

/* [DC Source][NEW] Адаптация карточек "О нас" под мобильные */
@media (max-width: 991.98px) {
  .turtle-card {
    font-size: 1.02rem;
    min-height: 80px;
    padding: 18px 8px 18px 8px;
  }
}

/* [DC Source][FIXED] info-inner и home-info-banner - баннер на всю ширину экрана */
.info-inner {
  width: 100%;
  min-width: 100%;
  /*margin-left: calc(-50vw + 50%);*/
  /*margin-right: calc(-50vw + 50%);*/
  margin-top: 4vw;
  margin-bottom: 4vw;
  padding: 0;
  background: none;
  z-index: 50;
  position: relative;
  /* [DC Source][FIXED] Секция занимает всю ширину экрана, вне контейнера */
}

.home-info-banner {
  width: 100%;
  min-height: 220px;
  height: 450px;
  background: url("/static/images/home/_home_info.jpg") center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /*box-sizing: border-box;*/
  position: relative;
  margin: 0;
}

.home-info-text {
  color: #fff;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.21;
  padding-left: 4vw;
  padding-right: 4vw;
  max-width: 1250px;
  text-align: left;
  text-shadow: 0 2px 14px rgba(0,0,0,0.32);
}

@media (max-width: 991.98px) {
  .home-info-banner {
    min-height: 120px;
    height: 180px;
    width: 100%;
  }
  .home-info-text {
    font-size: 1.22rem;
    max-width: 100%;
    padding-left: 2vw;
    padding-right: 2vw;
  }
}

/* [DC Source][FIXED] info-inner и home-info-banner - баннер на всю ширину экрана */
.page-info-inner {
  width: 100%;
  min-width: 100%;
  /*margin-left: calc(-50vw + 50%);*/
  /*margin-right: calc(-50vw + 50%);*/
  margin-top: 4vw;
  margin-bottom: 4vw;
  padding: 0;
  background: none;
  z-index: 50;
  position: relative;
  /* [DC Source][FIXED] Секция занимает всю ширину экрана, вне контейнера */
}

.page-info-banner {
  width: 100%;
  min-height: 420px;
  height: 550px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /*box-sizing: border-box;*/
  position: relative;
  background: linear-gradient(180deg, rgba(0,0,0,0.44) 40%, rgba(0,0,0,0.99) 100%);
  opacity: 1;
  margin: 0;
}

.page-about-info-banner {
  width: 100%;
  min-height: 320px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /*box-sizing: border-box;*/
  position: relative;
  /*background: linear-gradient(180deg, rgba(0,0,0,0.44) 40%, rgba(0,0,0,0.99) 100%);*/
  opacity: 1;
  margin: 0;
}

.page-info-text {
  color: #fff;
  font-size: 1rem;
  font-weight: 200;
  line-height: 1.21;
  padding-left: 4vw;
  padding-right: 4vw;
  max-width: 1250px;
  text-align: left;
  text-shadow: 0 2px 14px rgba(0,0,0,0.32);
}

@media (max-width: 991.98px) {
  .page-info-banner {
    min-height: 320px;
    height: 380px;
    width: 100%;
  }
  .home-info-text {
    font-size: 1.22rem;
    max-width: 100%;
    padding-left: 2vw;
    padding-right: 2vw;
  }
}

/* [DC Source][FIXED] contact-form секция: форма обратной связи с картинкой и полями */
.contact-form-inner {
  width: 100%;
  min-width: 100%;
  /*margin-left: calc(-50vw + 50%);*/
  /*margin-right: calc(-50vw + 50%);*/
  padding-bottom: 12vw;
  background: none;
  z-index: 20;
  position: relative;
  /* [DC Source][NEW] Секция занимает всю ширину экрана, вне контейнера */
}
@media (max-width: 1399.98px) {
  .contact-form-inner {
    padding-bottom: 220px;
  }
}
@media (max-width: 1199.98px) {
  .contact-form-inner {
    padding-bottom: 220px;
  }
}
@media (max-width: 991.98px) {
  .contact-form-inner {
    padding-bottom: 220px;
  }
}
@media (max-width: 575.98px) {
  .contact-form-inner {
    padding-bottom: 220px;
  }
}

.contact-form-banner {
  width: 100%;
  max-width: 100%;
  min-height: 350px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  background: #fff;
  box-sizing: border-box;
  /* [DC Source][NEW] Контейнер баннера формы */
}

.contact-form-image {
  flex: 1 1 0;
  min-width: 340px;
  /*max-width: 540px;*/
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  /* [DC Source][NEW] Блок для картинки */
}

.contact-form-img {
  width: 100%;
  height: auto;
  /*max-height: 550px;*/
  object-fit: cover;
  display: block;
  box-shadow: 0 0 10px 0 rgba(0,0,0,0.23);
  /* [DC Source][NEW] Картинка формы */
}

.contact-form-content {
  flex: 1 1 0;
  padding: 36px 38px 32px 38px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: none;
  /* [DC Source][NEW] Контейнер для текста и формы */
}

.contact-form-title {
  font-size: 2rem;
  font-weight: 400;
  color: #191919;
  margin-bottom: 24px;
  line-height: 1.14;
  /* [DC Source][NEW] Заголовок формы */
}

.contact-form-fields {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.9em;
  /* [DC Source][NEW] Форма со строками */
}

.contact-form-row {
  display: flex;
  flex-direction: row;
  gap: 36px;
  margin-bottom: 0.7em;
  /* [DC Source][NEW] Одна строка полей */
}

.contact-form-group {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 220px;
}

.contact-label {
  color: #7c7c7c;
  font-size: 1.06rem;
  font-weight: 400;
  margin-bottom: 0.1em;
  /* [DC Source][NEW] Лейбл поля */
}

.contact-input {
  border: none;
  border-bottom: 2px solid #7c7c7c;
  background: none;
  font-size: 1.16rem;
  color: #191919;
  padding: 4px 2px 7px 0px;
  outline: none;
  transition: border-bottom 0.2s;
}

.contact-input:focus {
  border-bottom: 2px solid #8C2028;
}

/* [DC Source][FIXED] Кнопка "Отправить код" и поле кода SMS на одной линии с телефоном */
.contact-phone-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.contact-otp-btn {
  padding: 7px 16px;
  font-size: 1rem;
  border-radius: 0;
  border: 1px solid #8C2028;
  background: #fff;
  color: #8C2028;
  margin-left: 0;
  margin-right: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.contact-otp-btn:hover, .contact-otp-btn:focus {
  background: #8C2028;
  color: #fff;
}

/* [DC Source][FIXED] Блок ввода OTP всегда в одну линию, даже на мобильном */
.contact-otp-block {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  width: auto;
  margin-top: 8px;
  margin-bottom: 8px;
}

.contact-otp-status {
  font-size: 0.96em;
  color: #8C2028;
  margin-left: 8px;
  margin-top: 0;
  font-weight: 400;
}

/* [DC Source][FIXED] dropdown для чекбоксов (Ваш запрос) */
.contact-dropdown {
  position: relative;
  width: 100%;
}
.dropdown-btn {
  background: #fff;
  border: 1px solid #ccc;
  padding: 4px 8px;
  cursor: pointer;
  margin-bottom: 4px;
  width: 100%;
  text-align: left;
  font-size: 1rem;
}
.dropdown-list {
  background: #fff;
  border: 1px solid #ccc;
  position: absolute;
  width: 100%;
  max-height: 180px;
  overflow-y: auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  z-index: 2;
  left: 0;
  top: calc(100% + 2px);
  display: none;
}
.dropdown-list.open {
  display: block !important;
}
.dropdown-item {
  padding: 4px 8px;
  font-size: 1rem;
  display: flex;
  align-items: center;
}
.contact-checkbox {
  margin-right: 7px;
}
.dropdown-selected {
  display: block;
  margin-top: 4px;
  font-size: 0.95em;
  color: #444;
}
/* [DC Source][FIXED] Галочка и надпись "Указать компанию и должность" слева внутри .contact-company-row */
.contact-company-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.7em;
  justify-content: flex-start;
}

/* [DC Source][FIXED] Блок компании и должности — появляется по галочке */
#company-block {
  display: none;
  flex-direction: row;
  gap: 36px;
  margin-bottom: 0.7em;
}

#company-block .contact-form-group {
  min-width: 220px;
}

/* [DC Source] Кнопка отправки */
.contact-form-submit {
  margin-top: 18px;
  display: flex;
  justify-content: flex-start;
}

.contact-submit-btn {
  background: rgba(140, 32, 40, 0.50) !important;
  color: #000000 !important;
  font-weight: 300;
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
  box-shadow: none;
  margin-top: 0.5em;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.72em 2.3em;
  display: block;
  width: 100%;
}

.contact-submit-btn:hover,
.contact-submit-btn:focus {
  background: #8C2028 !important;
  color: #fff !important;
  opacity: 1;
  text-decoration: none;
}

.contact-submit-btn:disabled {
  background: #c9a8a8 !important;
  color: #888888 !important;
  cursor: not-allowed;
}

/* [DC Source][FIXED] Адаптация контактной формы под мобильные */
@media (max-width: 991.98px) {
  .contact-form-banner {
    flex-direction: column;
    width: 98vw;
    min-width: 98vw;
    max-width: 100vw;
    min-height: 0;
    padding: 0;
  }
  .contact-form-image {
    min-width: 180px;
    max-width: 100vw;
    padding: 0;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.23);
  }
  .contact-form-img {
    max-height: 180px;
    width: 100vw;
  }
  .contact-form-content {
    padding: 18px 12px 16px 12px;
  }
  .contact-form-row,
  #company-block {
    gap: 14px;
    flex-direction: column;
    margin-bottom: 0.7em;
  }
  .contact-form-title {
    font-size: 1.16rem;
    margin-bottom: 14px;
  }
  .contact-submit-btn {
    width: 100%;
    font-size: 1rem;
    padding: 10px 0 10px 0;
  }
  .contact-otp-block,
  .contact-phone-row {
    flex-direction: column;
    width: 100%;
    gap: 6px;
    margin-top: 6px;
  }
  .contact-company-row {
    flex-direction: column;
    gap: 0;
    margin-bottom: 0.7em;
    justify-content: flex-start;
  }
  .dropdown-btn {
    font-size: 0.98rem;
  }
  .dropdown-item {
    font-size: 0.95rem;
  }
}

.contact-status-label {
  display: block;
  font-size: 0.96rem;
  margin-top: 2px;
  margin-bottom: 0;
  min-height: 18px;
  font-weight: 400;
  /* [DC Source][NEW] Цвет управляется через JS */
}

/* [DC Source][FIXED] Статусы всегда под полями, не уходят за пределы, SMS статус под полем */
.contact-form-group {
  position: relative;
}

.contact-status-label,
.contact-otp-status {
  display: block;
  font-size: 0.96rem;
  margin-top: 2px;
  margin-bottom: 0;
  min-height: 18px;
  font-weight: 400;
  position: static;
  word-break: break-word;
  max-width: 100%;
  /* [DC Source][FIXED] Всегда под input, не уходит вправо */
}

/* [DC Source][FIXED] Блок SMS-кода: 4 маленьких поля на одной линии, статус всегда под ними, поля заблокированы при успешном подтверждении */
.contact-otp-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  width: 100%;
  position: static;
}

/* [DC Source][FIXED] Сами инпуты компактные и не растягиваются */
.contact-otp-block .otp-code-input {
  min-width: 34px !important;
  width: 34px !important;
  max-width: 38px !important;
  text-align: center;
  font-size: 1.3em;
}

.contact-otp-block .otp-code-input[disabled] {
  background: #f5ebeb;
  color: #888;
  border-bottom: 2px solid #ccc;
}
.contact-otp-status {
  color: #8C2028;
  margin-left: 0;
  margin-top: 0;
  min-width: 120px;
  word-break: break-word;
  max-width: 100%;
  display: block;
  position: static;
}

/* [DC Source][FIXED] Сообщение об успешной отправке с иконкой */
#contact-form-success {
  text-align: center;
  padding: 48px 0;
}
#contact-form-success svg {
  vertical-align: middle;
}
#contact-form-success .success-icon {
  font-size: 3em;
  color: #8C2028;
  margin-bottom: 16px;
}
#contact-form-success .success-text {
  font-size: 1.3em;
  color: #222;
  font-weight: 400;
  margin-bottom: 0;
}

/* [DC Source][FIXED] Мерцание подсказки при потере фокуса и ошибке, 0.7em размер */
.contact-status-label {
  display: block;
  font-size: 0.7em !important; /* [DC Source][FIXED] размер уменьшен */
  margin-top: 2px;
  margin-bottom: 0;
  min-height: 18px;
  font-weight: 400;
  position: static;
  word-break: break-word;
  max-width: 100%;
  transition: background 0.2s, color 0.2s;
}

/* [DC Source][NEW] Мерцание текста и фона подсказки при ошибке и blur */
.contact-status-label.flash {
  animation: flashWarn 1s linear 2;
}
@keyframes flashWarn {
  0%   { background: #fff; color: #c00; }
  20%  { background: #ffe5e5; color: #c00; }
  40%  { background: #fff; color: #c00; }
  60%  { background: #ffe5e5; color: #c00; }
  80%  { background: #fff; color: #c00; }
  100% { background: #ffe5e5; color: #c00; }
}
/* [DC Source][FIXED] dropdown для чекбоксов (Ваш запрос) */
.contact-dropdown {
  position: relative;
  width: 100%;
}
.dropdown-btn {
  background: #fff;
  border: 1px solid #ccc;
  padding: 4px 8px;
  cursor: pointer;
  margin-bottom: 4px;
  width: 100%;
  text-align: left;
  font-size: 1rem;
}
.dropdown-list {
  background: #fff;
  border: 1px solid #ccc;
  position: absolute;
  width: 100%;
  max-height: 180px;
  overflow-y: auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  z-index: 2;
  left: 0;
  top: calc(100% + 2px);
  display: none;
}
.dropdown-list.open {
  display: block !important;
}
.dropdown-item {
  padding: 4px 8px;
  font-size: 1rem;
  display: flex;
  align-items: center;
}
.contact-checkbox {
  margin-right: 7px;
}
.dropdown-selected {
  display: block;
  margin-top: 4px;
  font-size: 0.95em;
  color: #444;
}
/* [DC Source][FIXED] Галочка и надпись "Указать компанию и должность" слева внутри .contact-company-row */
.contact-company-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.7em;
  justify-content: flex-start;
}

/* [DC Source][FIXED] Блок компании и должности — появляется по галочке */
#company-block {
  display: none;
  flex-direction: row;
  gap: 36px;
  margin-bottom: 0.7em;
}

#company-block .contact-form-group {
  min-width: 220px;
}

/* [DC Source] Кнопка отправки */
.contact-form-submit {
  margin-top: 18px;
  display: flex;
  justify-content: flex-start;
}

.contact-submit-btn {
  background: rgba(140, 32, 40, 0.50) !important;
  color: #000000 !important;
  font-weight: 300;
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
  box-shadow: none;
  margin-top: 0.5em;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.72em 2.3em;
  display: block;
  width: 100%;
}

.contact-submit-btn:hover,
.contact-submit-btn:focus {
  background: #8C2028 !important;
  color: #fff !important;
  opacity: 1;
  text-decoration: none;
}

.contact-submit-btn:disabled {
  background: #c9a8a8 !important;
  color: #888888 !important;
  cursor: not-allowed;
}

/* [DC Source][FIXED] Адаптация контактной формы под мобильные */
@media (max-width: 991.98px) {
  .contact-form-banner {
    flex-direction: column;
    width: 98vw;
    min-width: 98vw;
    max-width: 100vw;
    min-height: 0;
    padding: 0;
  }

  .contact-form-image {
    min-width: 180px;
    max-width: 100vw;
    padding: 0;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.23);
  }

  .contact-form-img {
    max-height: 180px;
    width: 100vw;
  }

  .contact-form-content {
    padding: 18px 12px 16px 12px;
  }

  .contact-form-row,
  #company-block {
    gap: 14px;
    flex-direction: column;
    margin-bottom: 0.7em;
  }

  .contact-form-title {
    font-size: 1.16rem;
    margin-bottom: 14px;
  }

  .contact-submit-btn {
    width: 100%;
    font-size: 1rem;
    padding: 10px 0;
  }
}

.container-home {
  container-name: home;
  container-type: inline-size;
  /*width: 100%;*/
  max-width: 100%;
  padding-left: 4vw !important;
  padding-right: 4vw !important;
  margin-top: 4vw !important;
  margin-bottom: 2vw !important;
}

/* [DC Source][FIXED] Адаптация для мобильных/узких экранов: остальные элементы формы */
@container (max-width: 991.98px) {
  .container-home .contact-form {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .container-home .contact-form-banner {
    flex-direction: column !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  .container-home .contact-form-image {
    display: none !important;
    min-width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }
  .container-home .contact-form-content {
    padding: 18px 12px 16px 12px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .container-home .contact-form-row,
  .container-home #company-block {
    gap: 14px !important;
    flex-direction: column !important;
    margin-bottom: 0.7em !important;
  }
  .container-home .contact-form-title {
    font-size: 1.16rem !important;
    margin-bottom: 14px !important;
  }
  .container-home .contact-submit-btn,
  .container-home .contact-phone-row .contact-otp-btn {
    width: 100% !important;
    font-size: 1rem !important;
    padding: 10px 0 10px 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    align-self: stretch !important;
    display: block !important;
  }
  .container-home .contact-otp-block,
  .container-home .contact-phone-row {
    /* [DC Source][FIXED] Оставляем для остальных блоков, но для .contact-otp-block flex-row */
    flex-direction: row !important;
    width: 100% !important;
    gap: 12px !important;
    margin-top: 6px !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }
  .container-home .contact-company-row {
    flex-direction: column !important;
    gap: 0 !important;
    margin-bottom: 0.7em !important;
    justify-content: flex-start !important;
  }
  .container-home .dropdown-btn {
    font-size: 0.98rem !important;
  }
  .container-home .dropdown-item {
    font-size: 0.95rem !important;
  }
  .container-home .contact-phone-row .contact-input {
    margin-bottom: 8px !important;
  }
}

/* [DC Source][FIXED] Стили для выбранных опций в строку с переносом */
#dropdown-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-bottom: 2px;
  align-items: flex-start;
}

.selected-label {
  display: inline-block;
  background: #e5e5e5;
  color: #000000;
  padding: 3px 10px 3px 10px;
  font-size: 0.7em;
  border-radius: 0;
  margin: 0;
  line-height: 2.3;
  /* [DC Source][FIXED] Не позволяем занимать 100% ширины */
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.img-crop-vertical {
  width: 100%;
  height: 320px; /* или другая нужная высота */
  object-fit: cover;   /* обрезает по вертикали */
  object-position: center center; /* центрирует */
  border-radius: 0;
  box-shadow: 0 0 15px 0 rgba(0,0,0,0.33);
  display: block;
}
@media (max-width: 991.98px) {
  .img-crop-vertical {
    height: 220px; /* меньшая высота на мобильном */
  }
}

.faq-inner {
  padding: 60px 0;
}

.faq-accordion {
  width: 100%;
  min-width: 90%;
  max-width: 100%;
  margin: 0 auto;
  box-shadow: 0 0 15px 0 rgba(0,0,0,0.13);
}

.faq-item + .faq-item {
  margin-top: 0;
  /*border-bottom: #eadbbd 1px solid;*/
  border-top: rgba(140, 32, 32, 0.4) 1px solid;
}

.faq-question {
  width: 100%;
  background: rgba(210, 196, 169, 0.25); /* оттенок, близкий к макету */
  border: none;
  padding: 18px 54px 18px 28px;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.25;
  text-align: left;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background .25s ease, color .25s ease;
}

.faq-question:focus {
  outline: 2px solid #222;
  outline-offset: 2px;
}

.faq-item-open > .faq-question,
.faq-question:hover {
  background: #eadbbd;
}

/* [DC Source][FAQ] Иконка плюс/минус в кружке */
.faq-icon {
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: 2px solid #000;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: #000;
  transition: transform .25s ease, opacity .25s ease;
}

.faq-icon::before {
  width: 14px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 14px;
}

/* [DC Source][FAQ] Состояние открыто — превращаем плюс в минус */
.faq-item-open > .faq-question .faq-icon::after {
  transform: scaleY(0);
  opacity: 0;
}

.faq-answer-wrapper {
  overflow: hidden;
  max-height: 0;
  background: #ffffff;
  transition: max-height .38s cubic-bezier(.65,.05,.36,1);
}

.faq-answer {
  padding: 15px 28px 20px 28px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
}

/* [DC Source][FAQ] Адаптив */
@media (max-width: 575.98px) {
  .faq-question {
    padding: 16px 54px 16px 20px;
    font-size: 16px;
  }
  .faq-answer {
    padding: 10px 20px 22px 20px;
  }
}

/* [DC Source][NEW][ABBR TOOLTIP] Стили подсказок для аббревиатур */
.dc-abbr {
  cursor: help;
  text-decoration: underline dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.dc-abbr:hover {
  text-decoration-color: #555;
}

.faq-group-title {
  background: #8C2028 !important;
  color: #fff !important;
  /*margin-top: 55px;*/
  margin-bottom: 0;
  padding:20px 20px 20px 20px;
  font-size:24px;
  font-weight:700;
}