.section-contact {
  padding: 80px 0;
  background: #ffffff;
}

.section-contact .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-contact .section-header h2 {
  color: #0a005e;
  font-weight: 700;
}

.section-contact .section-header p {
  font-size: 16px;
  color: #555;
  max-width: 650px;
  margin: 0 auto;
}

.contact-form-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.contact-form .form-row--half {
  display: flex;
  gap: 20px;
}

.contact-form .form-row--half .form-group {
  flex: 1;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #0a005e;
  margin-bottom: 6px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--font-primary);
  border: 1px solid #d0d0d0;
  border-radius: 10px;
  background: #fff;
  color: #0a005e;
  outline: none;
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0a005e;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
}

.contact-form input.error,
.contact-form textarea.error,
.contact-form .phone-input-wrap.error {
  border-color: #e74c3c;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group--checkbox {
  margin-bottom: 28px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-weight: 400 !important;
  color: #555 !important;
  font-size: 14px !important;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.checkbox-label a {
  color: #0a005e;
  text-decoration: underline;
}

.checkbox-label a:hover {
  opacity: 0.7;
}

.btn-contact-submit {
  width: 100%;
  justify-content: center;
  padding: 18px 32px;
  font-size: 16px;
  border-radius: 12px;
}

.contact-thank-you {
  text-align: center;
  padding: 80px 20px;
}

.contact-thank-you .thank-you-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #000;
  font-size: 40px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.contact-thank-you p {
  font-size: 20px;
  font-weight: 600;
  color: #0a005e;
}

@media (max-width: 768px) {
  .contact-form .form-row--half {
    flex-direction: column;
    gap: 0;
  }

  .section-contact .section-header h2 {
    font-size: 28px;
  }
}
