.sw-consultation-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sw-consultation-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}
.sw-consultation-modal__content {
  position: relative;
  background: #171717;
  border: 0.5px solid #242424;
  border-radius: 24px;
  padding: 32px;
  max-width: 500px;
  width: 90%;
  margin: 20px;
  z-index: 10000;
}
.sw-consultation-modal__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.sw-consultation-modal__title {
  font-family: 'Russo One', Arial, sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 120%;
  color: #F9F9F9;
  text-align: center;
  margin: 0;
}
.sw-consultation-modal__subtitle {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: #F9F9F9;
  text-align: center;
  margin: 0;
}
.sw-consultation-modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sw-consultation-modal__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sw-consultation-modal__form-group {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}
.sw-consultation-modal__input {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 28px 18px 12px 18px;
  font-size: 16px;
  font-family: var(--sw-footer-font);
  border: none;
  border-radius: 14px;
  background: #232323;
  color: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px 0 #00000022;
  display: block;
}
.sw-consultation-modal__input--error {
  border: 2px solid #FF3B3B;
}
.sw-consultation-modal__label {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: #B0B0B0;
  pointer-events: none;
  background: transparent;
  transition: all 0.2s cubic-bezier(.4,0,.2,1);
  z-index: 2;
  width: calc(100% - 36px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sw-consultation-modal__input:focus + .sw-consultation-modal__label,
.sw-consultation-modal__input.sw-footer__input--filled + .sw-consultation-modal__label {
  top: 8px;
  left: 16px;
  transform: none;
  font-size: 12px;
  color: #B0B0B0;
  background: transparent;
}
.sw-consultation-modal__input--error + .sw-consultation-modal__label,
.sw-consultation-modal__input--error:focus + .sw-consultation-modal__label,
.sw-consultation-modal__input--error.sw-footer__input--filled + .sw-consultation-modal__label {
  color: #FF3B3B !important;
}
.sw-consultation-modal__error {
  color: #ff4d4f;
  font-size: 13px;
  position: absolute;
  left: 24px;
  bottom: -18px;
  min-height: 16px;
}
.sw-consultation-modal__btn {
  width: 100%;
  height: 48px;
  font-size: 18px;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  background: #FCD704;
  color: #3A3A3C;
}
.sw-consultation-modal__btn:hover {
  background: #e6c800;
}
.sw-consultation-modal {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.sw-consultation-modal.show {
  opacity: 1;
  visibility: visible;
}
.sw-consultation-modal__content {
  transform: scale(0.8);
  transition: transform 0.3s ease;
}
.sw-consultation-modal.show .sw-consultation-modal__content {
  transform: scale(1);
}

@media (max-width: 768px) {
  .sw-consultation-modal__content {
    margin: 0;
    padding: 32px 16px;
  }
  .sw-consultation-modal__title {
    font-size: 24px;
  }
  .sw-consultation-modal__subtitle {
    font-size: 14px;
  }
}