/* Фиксированное меню */
.fixed-menu {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.fixed-menu-desc {
  display: flex;
  gap: 60px;
}

.menu-button {
  width: 60px;
  height: 60px;
  background: #2c231d;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  right: 200px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1002;
  top: 0px;
}

.menu-button.open {
  top: -80px;
}

.menu-button:hover {
  transform: scale(1.1);
}

.burger-line {
  width: 29px;
  height: 3px;
  background: white;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.menu-button.open .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.menu-button.open .burger-line:nth-child(2) {
  opacity: 0;
}

.menu-button.open .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Панель меню */
.menu-panel {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
  background: #f6f6f6;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  padding: 30px;
  display: flex;
  height: 140px;
  z-index: 1001;
  animation: slideUp 0.3s ease;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

.menu-panel.show {
  display: flex;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Кнопка предложения */
.offer-button {
  width: 472px;
  height: 50px;
  background: linear-gradient(
    231.14deg,
    #f42b34 10.83%,
    #ff000b 39.67%,
    #e20812 60.86%
  );
  border: 1px solid #e41820;
  box-shadow: 6px 8px 15px rgba(239, 0, 9, 0.4);
  border-radius: 10px;
  font-weight: 500;
  font-size: 18px;
  line-height: 140%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

/* Карточка консультанта */
.consultant-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.consultant-avatar {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.consultant-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consultant-info {
  flex: 1;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 287px;
}

.consultant-info::before {
  content: "";
  width: 13px;
  border: 2px solid #e41820;
  flex-shrink: 0;
  margin-top: 11px;
}

.consultant-info-desc {
  flex: 1;
}

.consultant-name {
  font-weight: 700;
  font-size: 18px;
  line-height: 26px;
  color: #433030;
}

.consultant-description {
  font-weight: 400;
  font-size: 16px;
  line-height: 135%;
  color: #433030;
}

/* Кнопки связи */
.contact-buttons {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  position: relative;
}

.contact-buttons::before {
  content: "";
  width: 13px;
  border: 2px solid #e41820;
  flex-shrink: 0;
  margin-top: 8px;
}

.contact-buttons-description {
  display: flex;
  gap: 8px;
  flex: 1;
}

.contact-desc {
  font-weight: 700;
  font-size: 18px;
  line-height: 26px;
  color: #433030;
}

.contact-buttons-desc {
  display: flex;
  gap: 12px;
}

.buttons-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.whatsapp .contact-icon svg {
  transition: 0.5s;
}

.whatsapp .contact-icon svg:hover path:first-child {
  fill: #2d682f;
}

.telegram .contact-icon svg:hover g path {
  fill: #076999;
}

/* Пульсирующий зеленый кружок */
.pulse-dot {
  box-sizing: border-box;
  position: absolute;
  width: 16px;
  height: 16px;
  right: -6px;
  top: -3px;
  background: #00da3e;
  border: 1px solid #ffffff;
  flex: none;
  order: 2;
  flex-grow: 0;
  z-index: 2;
  border-radius: 50%;
  border: 2px solid white;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(76, 175, 80, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
  }
}

/* Попап форма */
/* Стили для нового попапа с уникальными классами */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-overlay.active {
  display: flex;
}

.materials {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.material {
  display: flex;
  gap: 14px;
  padding: 10px;
  align-items: center;
}

.material:first-child svg {
  margin-right: 9px;
}

.material p {
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 135%;
  color: #000000;
}

.material p {
  width: 100%;
}

.material:first-child p {
  width: 75%;
}

.calculation-modal {
  background: #f6f6f6;
  border-radius: 0;
  padding: 40px;
  max-width: 643px !important;
  width: 90%;
  max-height: 90vh;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: #8e8e8e;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.modal-title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 8px;
  position: relative;
  color: #1c1c1c;
}

.modal-subtitle {
  font-weight: 500;
  font-size: 24px;
  color: #1c1c1c;
  text-align: center;
  margin-bottom: 35px;
}

.modal-form {
  margin-top: 35px;
}

.form-field {
  position: relative;
}

.form-field svg {
  position: absolute;
  left: 23px;
  top: 24px;
}

.form-input {
  padding: 0 60px;
  width: 100%;
  height: 62px;
  font-size: 16px;
  transition: all 0.3s ease;

  background: #ffffff;
  border: 1px solid #c4c4c4;
  border-radius: 2px;
  margin-bottom: 32px;

  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;

  color: #756161;
}

.form-input:focus {
  background-color: #e9e9e9;
  outline: none;
}

.form-input.error {
  border-color: #e11d48;
  background-color: #fef2f2;
}

.error-message {
  display: none;
  align-items: center;
  gap: 5px;
  color: #e11d48;
  font-size: 12px;
  position: absolute;
  top: 24px;
  right: 23px;
}

.error-message.show {
  display: flex;
}

.error-message svg {
  position: unset;
}

.contact-methods-title {
  font-style: normal;
  font-weight: 600;
  font-size: 26px;
  line-height: 135%;
  color: #000000;
  padding: 10px;
  margin-bottom: 16px;
}

.contact-options {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.contact-option {
  height: 93px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 10px;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  border-radius: 8px;
  justify-content: space-between;
}

.contact-option:hover {
  border-color: #e41820;
}

.contact-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.option-checkbox {
  display: none;
}

.contact-option p {
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 135%;
  color: #000000;
  margin: 0;
}

.contact-option input[type="radio"]:checked ~ .option-checkbox {
  display: none;
}

.contact-option:hover {
  border-color: #e41820;
}

.contact-option:has(input[type="radio"]:checked) {
  border-color: #e41820;
}

.submit-button {
  color: white;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: 0.5s;
  margin-bottom: 24px;

  width: 100%;
  height: 50px;
  background: linear-gradient(
    231.14deg,
    #f42b34 10.83%,
    #ff000b 39.67%,
    #e20812 60.86%
  );
  border: 1px solid #e41820;
  box-shadow: 0px 10px 15px rgba(239, 0, 9, 0.4);
  border-radius: 10px;
}

.offer-button:hover,
.offer-buttonactive,
.offer-button:focus,
.submit-button:hover,
.submit-button:active,
.submit-button:focus {
  background: linear-gradient(
    231.14deg,
    #ff222c 10.83%,
    #ff1e28 39.67%,
    #ff202a 60.86%
  );
}

.submit-button:disabled {
  background-color: #d40b14;
  cursor: not-allowed;
}

.security-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.security-text {
  font-style: normal;
  font-weight: 300;
  font-size: 18px;
  line-height: 22px;
  color: #000000;
}

.privacy-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.privacy-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 19px;
  border: 1px solid #c4c4c4;
  border-radius: 2px;
  background: white;
  position: relative;
  cursor: pointer;
  height: 18px !important;
  width: 18px !important;
  margin: 0;
}

.privacy-checkbox input[type="checkbox"]:checked::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-left: 2px solid;
  border-bottom: 2px solid;
  border-image: linear-gradient(to bottom, #ff805e, #f2252e) 1;
  transform: translate(-50%, -84%) rotate(-51deg);
  height: 7px !important;
  width: 10px !important;
}

.privacy-checkbox span,
.privacy-checkbox a {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: #756161;
}

.privacy-checkbox a {
  text-decoration: none;
  border-bottom: 1px solid;
}

.menu-close {
  position: absolute;
  right: -99px;
  top: -52px;
  border: none;
  font-size: 20px;
  color: white;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px;
  width: 60px;
  height: 60px;
  background: #2c231d;
  border-radius: 10px;
  justify-content: center;
}

.menu-close:hover {
  background: #181310;
}

.fixed-menu.hidden {
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.fixed-menu {
  transition: transform 0.4s ease;
}

@media (max-width: 768px) {
  .calculation-modal {
    padding: 20px;
  }

  .modal-title {
    font-size: 24px;
  }

  .modal-subtitle {
    font-size: 18px;
  }

  .contact-options {
    justify-content: center;
  }

  .contact-option {
    height: 100%;
  }

  .menu-close {
    width: 40px;
    height: 40px;
  }
}

@media screen and (max-width: 1440px) {
  .menu-button {
    right: 0;
  }

  .menu-button.open {
    top: -90px;
  }
}

@media screen and (max-width: 1200px) {
  .menu-panel {
    gap: 40px;
  }

  .offer-button {
    width: 382px;
    font-size: 14px;
  }

  .consultant-avatar {
    width: 60px;
    height: 60px;
  }

  .fixed-menu-desc {
    gap: 40px;
  }

  .menu-button {
    width: 40px;
    height: 40px;
  }

  .burger-line {
    width: 22px;
  }
}

@media screen and (max-width: 1000px) {
  .material p {
    font-size: 16px;
  }

  .contact-methods-title {
    font-size: 20px;
  }

  .materials {
    gap: 0px;
  }

  .modal-form {
    margin-top: 10px;
  }

  .form-input {
    padding: 0 60px;
    width: 100%;
    height: 45px;
    margin-bottom: 20px;
  }

  .form-field svg {
    position: absolute;
    left: 23px;
    top: 16px;
  }

  .error-message {
    top: 15px;
  }

  .error-message svg {
    position: unset;
  }

  .security-text {
    font-size: 14px;
  }

  .privacy-checkbox span,
  .privacy-checkbox a {
    font-size: 12px;
  }

  .fixed-menu-desc {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .consultant-name {
    font-size: 14px;
  }

  .consultant-description {
    font-size: 12px;
  }

  .contact-desc {
    font-size: 14px;
  }

  .offer-button {
    font-size: 12px;
  }

  .offer-button svg {
    display: none;
  }

  .menu-button {
    top: 0;
  }

  .menu-panel {
    padding: 10px;
    gap: 20px;
  }

  .fixed-menu-desc {
    gap: 20px;
  }
}

@media (max-width: 720px) {
  .fixed-menu {
    bottom: 20px;
    right: 20px;
  }

  .menu-button.open {
    top: -160px;
  }

  .menu-panel {
    right: 0;
    bottom: 0;
    max-width: 100%;
    height: auto;
    padding: 20px;
    flex-direction: column;
    gap: 20px;
  }

  .menu-button {
    width: 40px;
    height: 40px;
    top: 0;
  }

  .offer-button {
    width: 100%;
    font-size: 16px;
  }

  .consultant-card,
  .contact-buttons {
    max-width: 100%;
  }

  .menu-close {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 469px) {
  .menu-button.open {
    top: -60px;
  }

  .offer-button {
    width: 100%;
    font-size: 12px;
  }

  .menu-close {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 427px) {
  .menu-button {
    width: 30px;
    height: 30px;
  }

  .burger-line {
    width: 17px;
  }

  .menu-button {
    border-radius: 6px;
  }
}

.fixed-menu {
  display: none;
}
.header.is-fixed .fixed-menu {
  display: flex;
}

.header.is-fixed {
  height: 100%;
  pointer-events: none;
}
.header.is-fixed > div {
  pointer-events: all;
}

/*quiz!!!!!*/
.block_quiz {
  background-image: url("/img/background-quiz.png");
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  height: 728px;
}

.container-quiz {
  max-width: 1170px;
  margin: 0 auto;
}

.block_quiz_desc {
  padding: 52px 0 22px 0;
}

.quiz-title {
  font-weight: 700;
  font-size: 36px;
  line-height: 140%;
  color: #ffffff;
  text-align: left;
  margin-bottom: 40px;
  width: 73%;
}

.progress-container {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 648px;
}

.progress-bar {
  height: 10px;
  background-color: #5e544f;
  overflow: hidden;
}

.progress-fill {
  height: 6px;
  background: linear-gradient(
    148.84deg,
    #ffec3e 15.61%,
    #fad629 42.47%,
    #f0ae04 91.44%
  );
  transition: width 0.3s ease;
  margin: 2px;
  width: 0%;
}

.progress-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: #ffffff;
}

/* Стили вопросов */
.question {
  display: none;
}

.question.active {
  display: block;
  position: relative;
  z-index: 2;
}

.question1 .question-content {
  width: 604px;
  background: #ffffff;
  padding: 20px 22px;
  border-radius: 6px;
}

.question-content h3 {
  font-weight: 700;
  font-size: 22px;
  line-height: 140%;
  color: #433030;
  margin-bottom: 20px;
}

/* Стили для радио-кнопок */
.options-container {
  display: flex;
  gap: 28px;
}

.option {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
  background-color: #f6f6f6;
  font-size: 18px;
  line-height: 140%;
  color: #433030;
  padding: 12px 16px;
  gap: 14px;
  background: #f6f6f6;
  border: 1px solid rgba(94, 84, 79, 0.5);
  position: relative;
}

.option:hover {
  background-color: #f9f9f9;
}

.option:focus-within {
  outline: 2px solid #3498db;
}

.option.selected {
  box-shadow: 0 0 0 1px #ffec3e, 0 0 0 1px #fad629, 0 0 0 1px #f0ae04;
  position: relative;
  border: 1px solid transparent;
  font-weight: 600;
}

.option input {
  display: none;
}

.custom-radio {
  width: 11px;
  height: 11px;
  border: 1px solid #afa1a1;
  border-radius: 50%;
  position: relative;
  transition: border-color 0.2s;
}

.option input:checked + .custom-radio {
  border-color: #afa1a1;
}

.option input:checked + .custom-radio::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(
    148.84deg,
    #ffec3e 15.61%,
    #fad629 42.47%,
    #f0ae04 91.44%
  );
  border-radius: 50%;
  width: 5px;
  height: 5px;
}

/* Стили навигации */
.navigation {
  display: flex;
  margin-top: 74px;
  gap: 24px;
}

.btn-prev,
.btn-next {
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.2s;
  font-weight: 700;
  font-size: 18px;
  line-height: 140%;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  color: #ffffff;
}

.btn-prev {
  background-color: #ecf0f1;
  width: 190px;
  height: 60px;
  background: #756161;
  border-radius: 10px;
  text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
  justify-content: center;
  transition: 0.5s;
}

.btn-prev:hover,
.btn-prev:focus {
  background: #4e4040;
}

.btn-next {
  width: 190px;
  height: 60px;
  background: linear-gradient(
    231.14deg,
    #f42b34 10.83%,
    #ff000b 39.67%,
    #e20812 60.86%
  );
  text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
  border: none;
  transition: 0.5s;
  box-shadow: 0px 4px 8px rgba(175, 0, 8, 0.3),
    0px 8px 16px rgba(135, 6, 12, 0.4), 0px 12px 24px rgba(193, 15, 23, 0.5);
}

.btn-next:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-next:hover:not(:disabled),
.btn-next:focus:not(:disabled) {
  background: linear-gradient(
    231.14deg,
    #c5141b 10.83%,
    #cd0808 39.67%,
    #c11119 60.86%
  );
  transform: translateY(0px);
}

.btn-next:active:not(:disabled) {
  transform: translateY(0px);
}

.block_quiz {
  background-image: url("../images/background-quiz.png");
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
}

.container-quiz {
  max-width: 1170px;
  margin: 0 auto;
}

.block_quiz_desc {
  /* width: 860px; */
  /* padding: 52px 0 22px 0; */
  padding: 52px 0 90px 0;
  position: relative;
}

.quiz-title {
  font-style: normal;
  font-weight: 700;
  font-size: 36px;
  line-height: 140%;
  color: #ffffff;
  text-align: left;
  margin-bottom: 40px;
  width: 73%;
}

.progress-container {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 648px;
}

.progress-bar {
  height: 10px;
  background-color: #5e544f;
  overflow: hidden;
}

.progress-fill {
  height: 6px;
  background: linear-gradient(
    148.84deg,
    #ffec3e 15.61%,
    #fad629 42.47%,
    #f0ae04 91.44%
  );
  transition: width 0.3s ease;
  margin: 2px;
  width: 0%;
}

.progress-text {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: #ffffff;
}

/* Стили вопросов */
.question {
  display: none;
}

.question.active {
  display: block;
}

.question1 .question-content {
  width: 648px;
  background: #ffffff;
  padding: 20px 22px;
  border-radius: 6px;
}

.question-content h2,
.question-content h3 {
  font-style: normal;
  font-weight: 700;
  font-size: 22px;
  line-height: 140%;
  color: #433030;
  margin-bottom: 20px;
  text-align: left;
}

.question2 .question-content h2 {
  color: #ffffff;
  margin-bottom: 12px;
  margin-left: 0;
}

.question3 .question-content h2 {
  color: #ffffff;
  margin-bottom: 15px;
  margin-left: 0;
}

.question5 .question-content h2 {
  color: #ffffff;
  margin-bottom: 15px;
  margin-left: 0;
}

.question4 .question-content {
  background: #fff;
  padding: 22px;
  border-radius: 6px;
  width: 648px;
}

.question4 .question-content h3 {
  margin-bottom: 30px;
}

.question4 .question-content .options-container {
  flex-wrap: wrap;
  margin-left: -5px;
}

.question4 .question-content .options-container .option {
  width: 250px;
  margin: 0 5px;
}

.question4 .btn-next {
  width: 280px;
}
.question4 .options-container {
  display: flex;
  gap: 14px;
}

/* Стили для радио-кнопок */
.options-container {
  display: flex;
  gap: 28px;
}

.option {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
  background-color: #f6f6f6;

  font-style: normal;

  font-size: 18px;
  line-height: 140%;
  color: #433030;
  padding: 12px 16px;
  gap: 14px;
  background: #f6f6f6;
  border: 1px solid rgba(94, 84, 79, 0.5);
  position: relative;
}

.option:hover {
  background-color: #f9f9f9;
}

/* Альтернативный вариант с box-shadow */
.option.selected {
  box-shadow: 0 0 0 1px #ffec3e, 0 0 0 1px #fad629, 0 0 0 1px #f0ae04;
  position: relative;
  border: 1px solid transparent;
  font-weight: 600;
}

.option input {
  display: none;
}

.custom-radio {
  width: 11px;
  height: 11px;
  border: 1px solid #afa1a1;
  border-radius: 50%;
  position: relative;
  transition: border-color 0.2s;
}

.option input:checked + .custom-radio {
  border-color: #afa1a1;
}

.option input:checked + .custom-radio::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(
    148.84deg,
    #ffec3e 15.61%,
    #fad629 42.47%,
    #f0ae04 91.44%
  );
  border-radius: 50%;
  width: 5px;
  height: 5px;
}

/* Градиентный бордер для выбранного option */
.option.selected {
  position: relative;
}

/* Стили для выпадающего списка с множественным выбором */
.select-container {
  position: relative;
  margin-bottom: 20px;
}

.multiselect-dropdown {
  max-width: 648px;
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: white;
  cursor: pointer;
  text-align: left;
  position: relative;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 21px;
}

.multiselect-dropdown::after {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 4px;
  gap: 10px;
  margin: 0 auto;
  width: 16px;
  height: 16px;
  background: linear-gradient(
    148.84deg,
    #ffec3e 15.61%,
    #fad629 42.47%,
    #f0ae04 91.44%
  );
  border-radius: 3px;
  content: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.21967 0.21967C0.512563 -0.0732233 0.987437 -0.0732233 1.28033 0.21967L5 3.93934L8.71967 0.219671C9.01256 -0.0732226 9.48744 -0.0732225 9.78033 0.219671C10.0732 0.512564 10.0732 0.987438 9.78033 1.28033L5.53033 5.53033C5.38968 5.67098 5.19891 5.75 5 5.75C4.80109 5.75 4.61032 5.67098 4.46967 5.53033L0.21967 1.28033C-0.0732233 0.987437 -0.0732233 0.512563 0.21967 0.21967Z' fill='%230F172A'/%3E%3C/svg%3E");
  position: absolute;
  right: 15px;
  top: 32%;
  font-size: 12px;
  color: #7f8c8d;
  transition: 0.5s;
}

.multiselect-dropdown.open::after {
  /* content: "▲"; */
  transform: rotate(180deg);
  top: 11px;
}

.dropdown-options {
  border-radius: 3px;
  max-width: 646px;
  position: absolute;
  top: 56%;
  left: 0px;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-top: none;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 21px;
}

.dropdown-options.show {
  display: block;
}

.dropdown-option {
  padding: 8px 10px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dropdown-option:last-child {
  border-bottom: none;
}

.dropdown-option:hover {
  background-color: #f5f5f5;
}

/* .dropdown-option.selected {
  background-color: #e1f5fe;
  color: #0277bd;
} */

.dropdown-checkbox {
  width: 18px;
  height: 18px;
  border: 2px solid #bdc3c7;
  border-radius: 100px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown-option.selected .dropdown-checkbox {
  background: linear-gradient(
    148.84deg,
    #ffec3e 15.61%,
    #fad629 42.47%,
    #f0ae04 91.44%
  );
}

.dropdown-option.selected .dropdown-checkbox::after {
  /* content: "✓"; */
  color: white;
  font-size: 12px;
}

#dropdownOptions {
  scrollbar-color: #e41820 #ebebeb;
}

#dropdownOptions::-webkit-scrollbar {
  width: 10px;
}

#dropdownOptions::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 0px;
}

#dropdownOptions::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 0px;
}

#dropdownOptions::-webkit-scrollbar-button {
  display: none; /* Убираем стрелки */
}

.selected-count {
  margin-top: 10px;
  font-size: 14px;
  color: #7f8c8d;
  font-style: normal;
  font-weight: 400;
}

.selected-items {
  margin-top: 10px;
  display: none;
  flex-wrap: wrap;
  gap: 5px;
}

.selected-tag {
  background: linear-gradient(
    231.14deg,
    #f42b34 10.83%,
    #ff000b 39.67%,
    #e20812 60.86%
  );
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.remove-tag {
  cursor: pointer;
  font-weight: bold;
}

/* Стили для 3-го вопроса со счетчиками */
.specialties-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 648px;
}

.specialty-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 14px;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #b4b0ae;
  border-radius: 3px;
}

/* .specialty-item:hover {
  border-color: #3498db;
} */

.specialty-name {
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 21px;
  color: #433030;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 29px;
}

.quantity-control {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 2px 4px;
  gap: 10px;
  width: 89px;
  height: 29px;
  border: 1px solid #b4b0ae;
  border-radius: 2px;
}

.quantity-btn {
  width: 20px;
  height: 20px;
  border: transparent;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  transition: 0.5s;
  padding: 0;
}

.quantity-btn.plus::before,
.quantity-btn.plus::after {
  width: 16px;
  height: 2px;
  background: #b4b0ae;
}

.quantity-btn.plus svg {
  display: none;
}

.quantity-btn:hover {
  transform: rotate(0);
  background: linear-gradient(
    231.14deg,
    #f42b34 10.83%,
    #ff000b 39.67%,
    #e20812 60.86%
  );
  color: white;
}

.quantity-btn:disabled {
  cursor: not-allowed;
  border-color: transparent;
  padding: 0;
}

.quantity-btn:disabled:hover {
  background: #f5f5f5;
  color: #ccc;
  border-color: #e0e0e0;
}

.quantity-input {
  width: 20px;
  padding: 0;
  border: transparent;
  border-radius: 4px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 140%;
  color: #0f172a;
}

.quantity-input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.remove-specialty {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  transition: 0.5s;
  border-radius: 5px;
  height: 20px;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-specialty:hover {
  transform: rotate(0);
  background: linear-gradient(
    231.14deg,
    #f42b34 10.83%,
    #ff000b 39.67%,
    #e20812 60.86%
  );
  color: white;
}

.total-count {
  margin-top: 20px;
  padding: 15px;
  background: #e8f4fd;
  border-radius: 6px;
  text-align: center;
  font-weight: 500;
  color: #2c3e50;
  border: 1px solid #3498db;
}

.no-specialties {
  text-align: center;
  color: #7f8c8d;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px dashed #bdc3c7;
}

/* Стили для сводки в результате */
.employees-summary {
  margin-top: 10px;
}

.summary-specialty-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  border: 1px solid #b4b0ae;
  border-radius: 6px;
  background: #fff;
  margin-bottom: 8px;
  transition: all 0.2s;
}

.summary-specialty-item:hover {
  border-color: #3498db;
}

.summary-specialty-name {
  flex: 1;
  font-weight: 500;
  font-size: 15px;
}

.summary-quantity-controls {
  display: flex;
  align-items: center;
}

.summary-quantity-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.2s;
}

/* .summary-quantity-btn:hover {
  background: #3498db;
  color: white;
  border-color: #3498db;
}

.summary-quantity-btn:disabled {
  background: #f5f5f5;
  color: #ccc;
  cursor: not-allowed;
  border-color: #e0e0e0;
}

.summary-quantity-btn:disabled:hover {
  background: #f5f5f5;
  color: #ccc;
  border-color: #e0e0e0;
} */

.summary-quantity-input {
  width: 20px;
  padding: 6px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

.summary-quantity-input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.summary-total {
  margin-top: 15px;
  padding: 12px 15px;
  background: #2c3e50;
  color: white;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
}

/* Стили навигации */
.navigation {
  display: flex;
  margin-top: 74px;
  gap: 24px;
}

.btn-prev,
.btn-next {
  /* padding: 12px 25px; */
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.2s;
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 140%;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  color: #ffffff;
}

.btn-prev {
  background-color: #ecf0f1;
  width: 190px;
  height: 60px;
  background: #756161;
  border-radius: 10px;
  text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
  justify-content: center;
  transition: 0.5s;
}

.btn-prev:hover {
  background: #4e4040;
}

/* Градиентная тень как отдельный псевдоэлемент */
.btn-next {
  width: 190px;
  height: 60px;
  background: linear-gradient(
    231.14deg,
    #f42b34 10.83%,
    #ff000b 39.67%,
    #e20812 60.86%
  );
  text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
  border: none;
  transition: all 0.5s ease;
  box-shadow: 0px 4px 8px rgba(175, 0, 8, 0.3),
    0px 8px 16px rgba(135, 6, 12, 0.4), 0px 12px 24px rgba(193, 15, 23, 0.5);
}

.btn-next:disabled {
  /* background: #ccc; */
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-next:hover {
  background: linear-gradient(
    231.14deg,
    #c5141b 10.83%,
    #cd0808 39.67%,
    #c11119 60.86%
  );
  transform: translateY(0px);
}

.btn-next:active {
  transform: translateY(0px);
}

.img-right img {
  position: absolute;
  top: 0;
  right: -10%;
}

/* Стили результата */

.result {
  display: none;
  gap: 35px;
  padding-top: 98px;
}

.result-summary {
  max-height: 464px;
  overflow-y: auto;
  padding: 24px 0;
  direction: rtl; /* Скроллбар слева */
}

.result-summary .quantity-controls {
  gap: 12px;
}

/* Возвращаем нормальное направление текста */
.result-summary > * {
  direction: ltr;
}
.result-summary h2,
.result-summary h3,
.result-summary ul,
.result-summary li {
  direction: ltr;
}

/* Стилизация скроллбара */
.result-summary::-webkit-scrollbar {
  width: 10px; /* Ширина 10px */
}

.result-summary::-webkit-scrollbar-track {
  background: #ebebeb; /* Цвет трека */
  margin: 24px 0; /* Отступы сверху и снизу */
}

.result-summary::-webkit-scrollbar-thumb {
  background: #e41820; /* Активная полоса */
  border-radius: 0; /* Без закруглений */
}

.result-summary::-webkit-scrollbar-thumb:hover {
  background: #c41218; /* Темнее при наведении */
}

/* Убираем стрелки */
.result-summary::-webkit-scrollbar-button {
  display: none; /* Убираем стрелки */
}

/* Для Firefox */
.result-summary {
  scrollbar-width: thin;
  scrollbar-color: #e41820 #ebebeb;
}

.result-summary {
  width: 100%;
  height: 464px;
  background-color: #fff;
  padding: 24px 49px 24px 44px;
  margin-bottom: 0;
  overflow-y: auto;
  background-image: url("../images/background-result.png");
  background-repeat: no-repeat;
  background-position: 112% 35%;
}
.result-summary h2,
.result-summary h3 {
  font-style: normal;
  font-weight: 700;
  font-size: 28px;
  line-height: 140%;
  color: #433030;
  /* max-width: 78%; */
  margin-bottom: 10px;
  /* padding-top: 58px; */
  text-align: left;
}

.result-summary ul {
  padding-left: 17px;
  list-style: none;
  padding-left: 0;
  display: flex;
  gap: 16px;
  flex-direction: column;
  padding-bottom: 58px;
}

.result-summary ul li {
  position: relative;
  padding-left: 24px;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  color: #433030;
}

.result-summary ul li span {
  text-transform: lowercase;
}

.result-summary ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  background: linear-gradient(
    148.84deg,
    #ffec3e 15.61%,
    #fad629 42.47%,
    #f0ae04 91.44%
  );
  border-radius: 50%;
}

.result-summary ul li .employees-summary {
  width: 305px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.summary-item {
  margin-bottom: 10px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 388px;
}

.result-form {
  display: flex;
  flex-direction: column;
  padding: 24px 49px;
  width: 99%;
  height: 464px;
  background: #ffffff;
}

.result-form h3 {
  font-style: normal;
  font-weight: 700;
  font-size: 22px;
  line-height: 140%;
  color: #433030;
  margin-bottom: 10px;
}

.result-form ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.result-form ul li {
  position: relative;
  padding-left: 24px;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  color: #433030;
}

.result-form ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  background: linear-gradient(
    148.84deg,
    #ffec3e 15.61%,
    #fad629 42.47%,
    #f0ae04 91.44%
  );
  border-radius: 50%;
}

.form-input {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: #433030;
  position: relative;
}

.checkbox-label .error-message {
  display: none;
  font-weight: 400;
  font-size: 14px;
  color: #e11d48;
  position: absolute;
  top: 90%;
  right: 43%;
  gap: 4px;
  align-items: center;
}

.checkbox-label input {
  display: none;
}

.custom-checkbox {
  width: 18px;
  height: 18px;
  border: 2px solid #bdc3c7;
  border-radius: 3px;
  margin-right: 10px;
  position: relative;
  transition: border-color 0.2s;
  background: #fff;
}

.checkbox-label input:checked + .custom-checkbox {
  border-color: #c4c4c4;
  background-color: #fff;
}

.checkbox-label input:checked + .custom-checkbox::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 13px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg width='13' height='10' viewBox='0 0 13 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.7474 1.41406L4.33073 8.13508L1.41406 5.08007' stroke='url(%23paint0_linear_56_614)' stroke-width='2' stroke-linecap='square'/%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear_56_614' x1='3.07333' y1='2.87028' x2='3.10354' y2='8.13523' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23FF805E'/%3E%3Cstop offset='1' stop-color='%23F2252E'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.privacy-link {
  color: #433030;
  text-decoration: underline;
  margin-left: 4px;
}

.privacy-link:hover {
  color: #c5141b;
}

.btn-submit {
  width: 388px;
  height: 67px;
  padding: 15px;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 10px;
  margin-bottom: 6px;
}

.btn-submit:hover {
  background-color: #27ae60;
}

.form-input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  transition: fill 0.3s;
}

.form-input {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 0;
  font-size: 14px;
  transition: all 0.3s;
  box-sizing: border-box;
  font-style: normal;
  font-weight: 400;
  padding: 14px 22px 14px 60px;
  width: 388px;
  height: 50px;
}

.contact-form .form-input {
  margin: 0;
}

.form-input:focus {
  outline: none;
  border-color: #e41820;
}

/* Изменение цвета иконки при фокусе на поле */
.form-input:focus + .input-icon {
  fill: #e41820;
}

/* Для браузеров, которые не поддерживают :focus + */
.form-input-wrapper:focus-within .input-icon {
  fill: #e41820;
}

.error-message {
  display: none;
  font-weight: 400;
  font-size: 14px;
  color: #e11d48;
  position: absolute;
  top: 33%;
  right: 22px;
  gap: 4px;
  align-items: center;
}

/* Добавьте этот класс */
.show-error {
  display: flex;
}

.show-error-block {
  display: block;
}

.btn-submit.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-window {
  background: #fff;
  padding: 28px 32px;
  border-radius: 14px;
  text-align: center;
  max-width: 450px;
  animation: popupFade 0.35s ease;
}

.popup-window h3 {
  font-size: 28px;
  color: #433030;
}

.popup-window p {
  font-size: 18px;
  color: #433030;
}

@keyframes popupFade {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.popup-close {
  margin-top: 18px;
  padding: 12px 26px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s;
  font-weight: 700;
  font-size: 18px;
  line-height: 140%;
  color: #ffffff;
  border: none;
  background: linear-gradient(
    231.14deg,
    #f42b34 10.83%,
    #ff000b 39.67%,
    #e20812 60.86%
  );
  transition: 0.5s;
}

.popup-close:hover {
  background: linear-gradient(
    231.14deg,
    #c5141b 10.83%,
    #cd0808 39.67%,
    #c11119 60.86%
  );
}

@media (max-width: 1440px) {
  .img-right img {
    right: -80px;
  }
}

@media (max-width: 1200px) {
  .img-right img {
    width: 45%;
  }
  .block_quiz_desc {
    /* width: 860px; */
    padding: 50px 20px;
  }
}

@media (max-width: 1024px) {
  .img-right img {
    display: none;
  }
  .block_quiz {
    height: auto;
  }
  .result {
    flex-direction: column;
    width: 100%;
  }

  .result {
    gap: 35px;
    height: 100%;
    padding-top: 0;
    align-items: center;
  }
  .result-summary,
  .result-form {
    width: 86%;
  }
  .result-form {
    height: 100%;
  }
}

@media (max-width: 992px) {
  .container-quiz {
    padding: 20px;
  }
  .progress-container {
    max-width: 100%;
  }
  .question1 .question-content,
  .question4 .question-content {
    width: 100%;
  }

  .options-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .question4 .btn-next {
    width: 100%;
  }
  .result-summary h2,
  .result-summary h3 {
    font-size: 22px;
  }
  .btn-next {
    width: 100%;
  }
  .btn-prev {
    width: 100%;
  }
  .multiselect-dropdown {
    max-width: 100%;
  }

  .specialties-container {
    max-width: 648px;
  }
}

@media (max-width: 768px) {
  .thank-you-message {
    padding: 40px;
  }

  .thank-you-message h3 {
    font-size: 28px;
  }

  .thank-you-message p {
    font-size: 18px;
  }

  .thank-you-summary h4 {
    font-size: 20px;
  }

  .thank-you-summary li {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .result-summary,
  .result-form {
    width: 73%;
  }
  .result-summary ul li .employees-summary {
    width: 100%;
  }
  .contact-form {
    width: 100%;
  }
  .form-input {
    width: 100%;
  }
  .btn-submit {
    width: 100%;
    height: 55px;
  }
  .result-form {
    padding: 20px;
    width: 100%;
  }
  .result-summary {
    padding: 0px 49px 24px 44px;
    background-image: none;
  }
  .checkbox-label .error-message {
    right: 27%;
  }
  .specialty-item {
    /* align-items: flex-start; */
  }
  .block_quiz_desc {
    /* width: 860px; */
    padding: 0;
  }
  .result-summary {
    width: 100%;
  }
  .error-message {
    top: 0%;
    right: 3px;
  }
  .quantity-btn .plus::before,
  .quantity-btn .plus::after {
    width: 13px;
  }
}

@media (max-width: 480px) {
  .block_quiz {
    height: auto;
    min-height: 100vh;
  }

  .quiz-title {
    font-size: 24px;
    text-align: center;
    width: 100%;
  }

  .question-content h3 {
    font-size: 18px;
  }

  .option {
    font-size: 14px;
    padding: 10px 12px;
  }

  .multiselect-dropdown {
    font-size: 14px;
  }

  .dropdown-option {
    font-size: 14px;
    padding: 8px 10px;
  }

  .specialty-name {
    font-size: 14px;
  }

  .quantity-input {
    font-size: 14px;
  }

  .result-summary h3 {
    font-size: 20px;
  }

  .result-summary ul li {
    font-size: 14px;
  }

  .result-form h3 {
    font-size: 18px;
  }

  .result-form ul li {
    font-size: 14px;
  }

  .checkbox-label {
    font-size: 12px;
  }
  .popup-window {
    background: #fff;
    padding: 28px 32px;
    border-radius: 14px;
    text-align: center;
    max-width: 383px;
    animation: popupFade 0.35s ease;
  }
}

@media (max-width: 425px) {
  .error-message {
    top: 30%;
    right: 10px;
  }
  .result-form {
    height: 100%;
  }
}
@media (max-width: 397px) {
  .error-message {
    top: 0%;
    right: 10px;
  }
  .specialty-item {
    /* flex-direction: column; */
  }
  .result-form {
    /* padding: 20px 20px 50px 20px; */
  }
  .checkbox-label .error-message {
    right: auto;
  }
}

/*//quiz!!!!!*/

.geo__search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 6px;
  margin-bottom: 10px;
}

.geo__search h4 {
  font-size: 18px;
  color: #433030;
  margin-bottom: 0;
}

.geo__search__who {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.geo__search__who p {

    margin: 0;
    display: flex;
    padding: 12px 16px;
    height: 49px;
    background: #f6f6f6;
    border: 1px solid rgba(94, 84, 79, 0.5);
    align-items: center;
    justify-content: center;
}

/*.geo__info {*/
/*    overflow: visible;     !* важно *!*/
/*    display: block;        !* важно *!*/
/*}*/

.more-toggle {
  display: none;
}

/* Кнопка */
.more-button {
  display: inline-block;
  margin-top: 10px;
  color: #e41922;
  cursor: pointer;
  font-weight: 600;
}

.more-button:hover {
  color: #f42b34;
}

/* Текст кнопки (структура: input + content + button ) */
.more-toggle:not(:checked) + .more-content + .more-button::after {
  content: "Подробнее";
}

.more-toggle:checked + .more-content + .more-button::after {
  content: "Скрыть";
}

/* Скрываем только внутри more-content */
.more-content {
  display: none;
  max-height: 0;
  /*overflow: hidden; !* можно оставить *!*/
  transition: max-height 0.4s ease;
}

/* Показываем */
.more-toggle:checked + .more-content {
  max-height: 1500px;
  margin-top: 12px;
  display: block;
}
.geo__slider {
  float: right;
  display: inline-block;
  height: 100%;
}

.geo__content {
  overflow: hidden; /* заставляет блок занять оставшееся пространство */
  display: inline-block;
  max-width: 100%;
}

.geo__slider {
  float: left;
  width: 540px;
  margin-right: 30px;
  margin-bottom: 20px;
}
@media (min-width: 1024px) {
  .geo__slider {
    /* width: 38.81944vw; */
    width: 558px;
    margin-right: 4.16667vw;
    margin-bottom: 0;
  }
}
@media (max-width: 1023px) {
  .geo__slider {
    float: none;
  }
}

/*popup modal-quiz2*/
.modal-quiz.quiz-popup {
  background-image: url(../images/background-quiz.png);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

.quiz__questions .quiz__title {
  font-style: normal;
  font-weight: 700;
  font-size: 28px;
  line-height: 140%;
  color: #ffffff;
  text-align: left;
  margin-bottom: 40px;
  width: 73%;
}

.modal.modal-quiz .quiz__questions__count {
  color: #fff;
}

.modal.modal-quiz .quiz__questions__progress {
  width: 648px;
}

.quiz__questions__step__title {
  /* color: #fff; */
  width: 60%;
}

.quiz__questions__steps .quiz__questions__step:first-child {
  width: 648px;
  background: #ffffff;
  padding: 20px 22px;
  border-radius: 6px;
}

.quiz__questions__list ul {
  display: flex;
  gap: 28px;
}
.quiz__questions__count ul li {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;

  padding: 12px 16px;
  gap: 14px;
  background: #f6f6f6;
}

.quiz__questions__list ul li label {
  font-size: 18px;
  line-height: 140%;
  font-style: normal;
  color: #433030;
  border: 1px solid rgba(94, 84, 79, 0.5);
  padding: 12px 16px 12px 30px;
  background: #f6f6f6;
}

.quiz__questions__list ul li label i {
  top: 20px;
  left: 12px;
}

.quiz__questions__step:nth-child(2) .quiz__questions__step__title {
  color: #fff;
}

.quiz__questions__step:nth-child(3) .quiz__questions__step__title {
  color: #fff;
}

.specialty-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 14px;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #b4b0ae;
  border-radius: 3px;
}

.specialty-quantity {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 2px 4px;
  gap: 10px;
  width: 89px;
  height: 29px;
  border: 1px solid #b4b0ae;
  border-radius: 2px;
}

.quiz__questions__step:nth-child(5) .quiz__questions__step__title {
  color: #fff;
}

.quiz__questions__step:nth-child(4) .quiz__questions__step__title {
  color: #fff;
}

.quiz__questions__step:nth-child(4) .quiz__questions__list {
  margin-left: 0;
}

.quiz__questions__step:nth-child(4) .quiz__questions__list .options-container {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  width: 70%;
}

.quiz__questions__step:nth-child(4) .options-container .option {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
  background-color: #f6f6f6;
  font-style: normal;
  font-size: 18px;
  line-height: 140%;
  color: #433030;
  padding: 12px 16px;
  gap: 14px;
  background: #f6f6f6;
  border: 1px solid rgba(94, 84, 79, 0.5);
  position: relative;
  width: 250px;
}

/* Стили для результатов в попап квизе */
.quiz__result {
  display: none;
  /* flex-direction: column; */
  gap: 20px;
  /* padding-top: 98px; */
}

.quiz__result-summary {
  max-height: 464px;
  overflow-y: auto;
  padding: 24px 0;
  direction: rtl; /* Скроллбар слева */
  width: 100%;
  height: 464px;
  background-color: #fff;
  padding: 24px 49px 24px 44px;
  margin-bottom: 0;
  overflow-y: auto;
  /* background-image: url("../images/background-result.png"); */
  background-repeat: no-repeat;
  background-position: 112% 35%;
}

/* Возвращаем нормальное направление текста */
.quiz__result-summary > * {
  direction: ltr;
}

/* .quiz__result-summary h2 {
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    line-height: 140%;
    color: #433030;
    margin-bottom: 10px;
    text-align: left;
} */

.quiz__result-summary h2 {
  font-style: normal;
  font-weight: 700;
  font-size: 26px;
  line-height: 140%;
  color: #433030;
  margin-bottom: 10px;
  text-align: left;
}

.quiz__result-summary ul {
  padding-left: 17px;
  list-style: none;
  padding-left: 0;
  display: flex;
  gap: 16px;
  flex-direction: column;
  /* padding-bottom: 58px; */
}

.quiz__result-summary ul li {
  position: relative;
  padding-left: 24px;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  color: #433030;
}

.quiz__result-summary ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  background: linear-gradient(
    148.84deg,
    #ffec3e 15.61%,
    #fad629 42.47%,
    #f0ae04 91.44%
  );
  border-radius: 50%;
}

.quiz__employees-summary {
  width: 305px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.quiz__result-form {
  display: flex;
  flex-direction: column;
  /* padding: 24px 49px; */
  padding: 24px;
  /* width: 99%; */
  height: 464px;
  background: #ffffff;
}

.quiz__result-form h3 {
  font-style: normal;
  font-weight: 700;
  font-size: 22px;
  line-height: 140%;
  color: #433030;
  margin-bottom: 10px;
}

.quiz__benefits-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.quiz__benefits-list li {
  position: relative;
  padding-left: 24px;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  color: #433030;
}

.quiz__benefits-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  background: linear-gradient(
    148.84deg,
    #ffec3e 15.61%,
    #fad629 42.47%,
    #f0ae04 91.44%
  );
  border-radius: 50%;
}

.quiz__contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 388px;
}

.quiz__form-input-wrapper {
  position: relative;
  margin-bottom: 10px;
}

.quiz__input-icon {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  transition: fill 0.3s;
}

.quiz__form-input {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 0;
  font-size: 14px;
  transition: all 0.3s;
  box-sizing: border-box;
  font-style: normal;
  font-weight: 400;
  padding: 14px 22px 14px 60px;
  width: 388px;
  height: 50px;
  margin: 0;
}

.quiz__form-input:focus {
  outline: none;
  border-color: #e41820;
}

.quiz__form-input:focus + .quiz__input-icon {
  fill: #e41820;
}

.quiz__form-input-wrapper:focus-within .quiz__input-icon {
  fill: #e41820;
}

.quiz__btn-submit {
  width: 388px;
  height: 67px;
  padding: 15px;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
  /* margin-top: 10px; */
  margin-top: 0;
  /* margin-bottom: 6px; */
  margin-bottom: 12px;
  background: linear-gradient(
    231.14deg,
    #f42b34 10.83%,
    #ff000b 39.67%,
    #e20812 60.86%
  );
  text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
  border: none;
  transition: all 0.5s ease;
  box-shadow: 0px 4px 8px rgba(175, 0, 8, 0.3),
    0px 8px 16px rgba(135, 6, 12, 0.4), 0px 12px 24px rgba(193, 15, 23, 0.5);
}

.quiz__btn-submit:hover {
  background: linear-gradient(
    231.14deg,
    #c5141b 10.83%,
    #cd0808 39.67%,
    #c11119 60.86%
  );
}

.quiz__btn-submit:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.quiz__checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: #433030;
  position: relative;
}

.quiz__checkbox-label .error-message {
  display: none;
  font-weight: 400;
  font-size: 14px;
  color: #e11d48;
  position: absolute;
  top: 90%;
  right: 43%;
  gap: 4px;
  align-items: center;
}

.quiz__checkbox-label input {
  display: none;
}

.quiz__custom-checkbox {
  width: 18px;
  height: 18px;
  border: 2px solid #bdc3c7;
  border-radius: 3px;
  margin-right: 10px;
  position: relative;
  transition: border-color 0.2s;
  background: #fff;
}

.quiz__checkbox-label input:checked + .quiz__custom-checkbox {
  border-color: #c4c4c4;
  background-color: #fff;
}

.quiz__checkbox-label input:checked + .quiz__custom-checkbox::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 13px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg width='13' height='10' viewBox='0 0 13 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.7474 1.41406L4.33073 8.13508L1.41406 5.08007' stroke='url(%23paint0_linear_56_614)' stroke-width='2' stroke-linecap='square'/%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear_56_614' x1='3.07333' y1='2.87028' x2='3.10354' y2='8.13523' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23FF805E'/%3E%3Cstop offset='1' stop-color='%23F2252E'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.quiz__privacy-link {
  color: #433030;
  text-decoration: underline;
  margin-left: 4px;
}

.quiz__privacy-link:hover {
  color: #c5141b;
}

/* Стилизация скроллбара для попапа */
.quiz__result-summary::-webkit-scrollbar {
  width: 10px;
}

.quiz__result-summary::-webkit-scrollbar-track {
  background: #ebebeb;
  margin: 24px 0;
}

.quiz__result-summary::-webkit-scrollbar-thumb {
  background: #e41820;
  border-radius: 0;
}

.quiz__result-summary::-webkit-scrollbar-thumb:hover {
  background: #c41218;
}

.quiz__result-summary::-webkit-scrollbar-button {
  display: none;
}

.quiz__result-summary {
  scrollbar-width: thin;
  scrollbar-color: #e41820 #ebebeb;
}

/* Адаптивность для попапа */
@media (max-width: 1024px) {
  .quiz__result {
    flex-direction: column;
    width: 100%;
    gap: 35px;
    height: 100%;
    padding-top: 0;
    align-items: center;
  }

  .quiz__result-summary,
  .quiz__result-form {
    width: 100%;
  }

  .quiz__result-form {
    height: 100%;
  }
}

@media (max-width: 600px) {
  .quiz__result-summary,
  .quiz__result-form {
    width: 100%;
  }

  .quiz__employees-summary {
    width: 100%;
  }

  .quiz__contact-form {
    width: 100%;
  }

  .quiz__form-input {
    width: 100%;
  }

  .quiz__btn-submit {
    width: 100%;
    height: 55px;
  }

  .quiz__result-form {
    padding: 20px;
    width: 100%;
  }

  .quiz__result-summary {
    background-image: none;
  }

  .quiz__checkbox-label .error-message {
    right: 27%;
  }
}

@media (max-width: 480px) {
  .quiz__result-summary h2 {
    font-size: 20px;
  }

  .quiz__result-summary ul li {
    font-size: 14px;
  }

  .quiz__result-form h3 {
    font-size: 18px;
  }

  .quiz__benefits-list li {
    font-size: 14px;
  }

  .quiz__checkbox-label {
    font-size: 12px;
  }
}

@media (max-width: 425px) {
  .quiz__checkbox-label .error-message {
    right: auto;
  }
}

/* Стили для специальностей в результатах попапа */
.quiz__employees-summary .specialty-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 14px;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #b4b0ae;
  border-radius: 3px;
  margin-bottom: 8px;
}

.quiz__employees-summary .specialty-name {
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 21px;
  color: #433030;
}

.quiz__employees-summary .quantity-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quiz__employees-summary .quantity-control {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 2px 4px;
  gap: 10px;
  width: 89px;
  height: 29px;
  border: 1px solid #b4b0ae;
  border-radius: 2px;
}

.quiz__employees-summary .quantity-btn {
  width: 20px;
  height: 20px;
  border: transparent;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  transition: 0.5s;
  padding: 0;
}

.quiz__employees-summary .quantity-btn:hover {
  transform: rotate(0);
  background: linear-gradient(
    231.14deg,
    #f42b34 10.83%,
    #ff000b 39.67%,
    #e20812 60.86%
  );
  color: white;
}

.quiz__employees-summary .quantity-btn:disabled {
  cursor: not-allowed;
  border-color: transparent;
  padding: 0;
}

.quiz__employees-summary .quantity-btn:disabled:hover {
  background: #f5f5f5;
  color: #ccc;
  border-color: #e0e0e0;
}

.quiz__employees-summary .quantity-input {
  width: 20px;
  padding: 0;
  border: transparent;
  border-radius: 4px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 140%;
  color: #0f172a;
}

.quiz__employees-summary .remove-specialty {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  transition: 0.5s;
  border-radius: 5px;
  height: 20px;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz__employees-summary .remove-specialty:hover {
  transform: rotate(0);
  background: linear-gradient(
    231.14deg,
    #f42b34 10.83%,
    #ff000b 39.67%,
    #e20812 60.86%
  );
  color: white;
}

@media screen and (max-width: 1350px) {
  .quiz__result-form {
    display: flex;
    flex-direction: column;
    /* padding: 24px 49px; */
    padding: 24px;
    width: 100%;
    height: 464px;
    background: #ffffff;
  }
  .quiz__form-input {
    width: 100%;
  }
  .quiz__btn-submit {
    width: 100%;
  }
}

@media screen and (max-width: 1235px) {
  .quiz__result {
    flex-direction: column;
  }
  .quiz__result-form {
    width: 100%;
  }
  .quiz__form-input {
    width: 100%;
  }
  .quiz__employees-summary .specialty-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 12px 14px;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #b4b0ae;
    border-radius: 3px;
    margin-bottom: 8px;
    flex-direction: column;
    width: 50%;
  }
  .quiz__btn-submit {
    width: 100%;
  }
  .modal.modal-quiz .quiz__questions__progress {
    width: 100%;
  }
  .quiz__questions__steps .quiz__questions__step:first-child {
    width: 100%;
  }
  .quiz__questions__list ul li label {
    font-size: 14px;
  }
  .multiselect-dropdown {
    max-width: 100%;
    width: 100%;
    font-size: 14px;
  }
  .dropdown-option {
    font-size: 14px;
  }
  .specialty-name {
    font-size: 14px;
  }
  .specialty-item {
    width: 100%;
  }
  .quiz__questions__step:nth-child(4)
    .quiz__questions__list
    .options-container {
    width: 100%;
  }
  .quiz__questions__step:nth-child(4) .options-container .option {
    font-size: 14px;
  }
}

@media screen and (max-width: 500px) {
  .quiz__employees-summary .specialty-item {
    width: 70%;
  }
  .quiz__questions__list ul {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
  }
  .quiz__employees-summary .specialty-name {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    color: #433030;
  }
}

@media screen and (max-width: 424px) {
  .quiz__employees-summary .specialty-item {
    width: 100%;
  }
  .quiz__questions__step:nth-child(4) .options-container .option {
    width: 100%;
  }
}
