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

.form-wrapper {
  max-width: 100%;
  padding: 0 0px;
}

.alert {
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  display: none;
  scroll-margin-top: 20px;
}

.alert.visible {
  display: block;
}

.alert--error {
  background: #FEF8F7;
  border: 1px dashed #dc2626;
  color: #c02b0a;
}

.alert--success {
  background: #f0fdf4;
  border: 1px dashed #2b6482;
  color: #1C6481;
}

.alert ul {
  margin: 6px 0 0 18px;
}

.alert ul li {
  margin-bottom: 2px;
}

.form-card {
  padding: 0;
}

@media (max-width: 600px) {
  .form-wrapper {
    margin: 0 auto;
  }

  .info-card__contactintro {
    font-size: 18px;
  }
}

@media (max-width: 350px) {
  .container h3 {
    font-size: var(--text-2xl);
  }

  .info-card__contactintro {
    font-size: 16px;
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

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

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 500;
  color: #0f172a;
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}

.field label .req {
  color: #dc2626;
  margin-left: 2px;
}

.field label .optional {
  color: var(--text-muted);
  font-weight: 400;
  font-style: italic;
  font-size: 12px;
}

.field input,
.field textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 8px 18px;
  border: 1px solid #2b6482;
  border-radius: 50px;
  background: #fff;
  color: #1a202c;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.field textarea {
  border-radius: 15px !important;
}

.field input:focus,
.field textarea:focus {
  border-color: #2c5282;
  box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.15);
}

.field input.has-error,
.field textarea.has-error {
  border-color: #dc2626;
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

.iti {
  width: 100%;
  position: relative;
}

.iti .iti__tel-input {
  font-family: inherit;
  font-size: 15px;
  padding: 8px 18px;
  border: 1px solid #2b6482;
  border-radius: 50px;
  background: #fff;
  color: #1a202c;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
  height: auto;
}

.iti .iti__tel-input:focus {
  border-color: #2c5282;
  box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.15);
}

.iti .iti__tel-input.has-error {
  border-color: #dc2626;
}

.iti--separate-dial-code .iti__selected-dial-code {
  font-size: 14px;
  font-weight: 500;
}

.iti__selected-country-primary {
  background: #20648147;
  border-radius: 50px;
}

.iti--inline-dropdown:not(.iti--container) .iti__dropdown-content {
  position: absolute;
  z-index: 2;
  left: 0;
}

.iti--inline-dropdown .iti__country-list {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}

.iti--inline-dropdown .iti__country {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.iti__search-input {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 8px 8px 8px 30px !important;
  width: 100% !important;
}

.iti__search-input::placeholder {
  color: transparent !important;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.checkbox-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0px;
  flex-shrink: 0;
  accent-color: #2c5282;
  cursor: pointer;
}

.checkbox-field label {
  font-size: 13px;
  color: #1a202c;
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-field.has-error label {
  color: #991b1b;
}

.privacy-notice {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
}

.privacy-notice a {
  color: #2c5282;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.submit-btn {
  display: flex;
  width: fit-content;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: #1D6481;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 24px;
  border: 1px solid #1D6481;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s, transform 0.1s;
}

.submit-btn:hover {
  background: #264b8a;
  color: #fff;
}

.submit-btn:active {
  transform: scale(0.99);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.submit-btn .spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(43, 100, 130, 0.3);
  border-top-color: #2b6482;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.submit-btn.loading .spinner {
  display: inline-block;
}

.submit-btn.loading .btn-text {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
}