/* =========================================
   Contact Form
========================================= */

.contact-box {
  max-width: 950px;
  margin: 0 auto;
  padding: 45px 50px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
}

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

.contact-form-group label {
  display: block;
  margin-bottom: 9px;
  font-weight: 700;
}

.required, .optional {
  display: inline-block;
  margin-left: 7px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  vertical-align: middle;
}

.required { color: #fff; background: #dc3545; }
.optional { color: #666; background: #e9ecef; }

.contact-form-group .form-control,
.contact-form-group .form-select {
  min-height: 52px;
  border-color: #dee2e6;
  border-radius: 6px;
}

.contact-form-group textarea.form-control {
  min-height: 180px;
  resize: vertical;
}

.contact-form-group .form-control:focus,
.contact-form-group .form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 .2rem rgba(13,110,253,.12);
}

.contact-agree {
  margin-top: 35px;
  padding: 25px;
  text-align: center;
  background: #f8f9fa;
  border-radius: 6px;
}

.contact-agree a { color: #0d6efd; text-decoration: underline; }

.contact-errors {
  max-width: 900px;
  margin: 0 auto 30px;
}

.contact-confirm-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 70px;
  border-bottom: 1px solid #e9ecef;
}

.contact-confirm-row:last-child { border-bottom: none; }

.contact-confirm-label {
  padding: 22px 20px;
  background: #f8f9fa;
  font-weight: 700;
}

.contact-confirm-row > div:last-child {
  padding: 22px 25px;
  line-height: 1.8;
}

.contact-confirm-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 35px;
}

.contact-complete {
  max-width: 750px;
  margin: 0 auto;
  padding: 70px 30px;
}

.contact-complete-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  border-radius: 50%;
  background: #0d6efd;
  color: #fff;
  font-size: 40px;
}

.contact-complete h2 { margin-bottom: 25px; font-weight: 700; }
.contact-complete p { line-height: 2; }

@media (max-width: 767px) {
  .contact-box { padding: 30px 20px; }

  .contact-confirm-row { display: block; }
  .contact-confirm-label { padding: 12px 15px; }
  .contact-confirm-row > div:last-child { padding: 15px; }

  .contact-confirm-buttons {
    flex-direction: column-reverse;
  }

  .contact-confirm-buttons .btn { width: 100%; }
  .contact-complete { padding: 45px 15px; }
}
