* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.modal-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
  touch-action: none;
  -webkit-overflow-scrolling: auto;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.open {
  display: block;
  opacity: 1;
}

.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}

.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.modal__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 640px;
  width: calc(100% - 40px);
  min-width: 310px;
  max-height: 90vh;
  z-index: 10001;
}

.modal__content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e9ecef;
  background: #f8f9fa;
}

.modal__title {
  font-size: 21px;
  font-weight: 700;
  margin: 0;
  color: #333;
}

.modal__close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #6c757d;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.modal__close:hover {
  color: #000;
}

.modal__body {
  position: relative;
  flex: 1 1 auto;
  padding: 1rem;
}

.modal__dialog::-webkit-scrollbar {
  width: 8px;
}

.modal__dialog::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.modal__dialog::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.modal__dialog::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.drone-description p:last-of-type {
  margin-bottom: 5px;
}

.options-list {
  display: flex;
  flex-direction: column;
  padding-left: 5px;
  gap: 12px;
}

.options-list p {
  margin: 0;
}

ul.styled-list {
  margin: 12px 0 0 0;
}

ul.styled-list li {
  display: flex;
  align-items: flex-start;
  gap: 0 12px;
  text-align: left;
  list-style-type: none;
}

ul.styled-list li::before {
  content: "";
  display: inline-block;
  background: #00a3ff;
  width: 8.718px;
  height: 8.718px;
  flex-shrink: 0;
  border-radius: 2px;
}

.sol-input {
  padding: 10px 15px;
  max-width: 100%;
  font-size: 13px;
  font-weight: 500;
  background: #eff0f3;
  border: none;
  outline: 0;
  resize: none;
  margin-bottom: 20px;
}

.sol-contact__form p {
  margin: 0;
}

.consultation-form__names {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sol-contact__form .wpcf7-form input[type="text"],
.sol-contact__form .wpcf7-form textarea,
.sol-contact__form .wpcf7-form input[type="email"] {
  width: 100%;
}

.consultation-form__acceptance {
  margin-bottom: 5px;
  display: flex;
  flex-direction: row;
  font-size: 13px;
  line-height: 16px;
  gap: 8px;
}

.consultation-form__acceptance a {
  color: #00a3ff;
}

.sol-sec-btn {
  margin-top: 10px;
  width: 100%;
  padding: 10px 8px;
  min-width: 185px;
  text-align: center;
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  border-radius: 4px;
  color: #fff;
  background-color: #00a3ff;
  cursor: pointer;
  border: none;
}

@media (max-width: 768px) {
  .modal__dialog {
    width: calc(100% - 20px);
    max-height: 85vh;
  }

  .modal__header {
    padding: 16px 20px;
  }

  .modal__body {
    padding: 20px;
  }

  .modal__title {
    font-size: 18px;
  }
}
