/* ================= CONTACT FORM ================= */

.kc-contact-section {
  padding: 3rem 0 1.5rem;
}

/* PROCESS STEPS */
.kc-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.kc-step {
  flex: 1;
  min-width: 160px;
  max-width: 220px;
  background: #fff;
  border: 1px solid rgba(226, 211, 196, 0.9);
  border-radius: 20px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: 0 4px 18px rgba(37, 23, 10, 0.07);
  position: relative;
}

.kc-step-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #f6a04a, #e8892c);
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.kc-step-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--kc-orange);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.kc-step strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: var(--kc-dark);
  margin-bottom: 0.4rem;
}

.kc-step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--kc-gray);
  line-height: 1.55;
}

.kc-step-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 0.85rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #f6a04a, #e8892c);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.kc-step-btn:hover {
  box-shadow: 0 6px 18px rgba(232, 137, 44, 0.35);
  transform: translateY(-2px);
  color: #fff;
}

.kc-step-pill {  display: inline-flex;
  align-items: center;
  margin-top: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(232, 137, 44, 0.12);
  color: #a85a12;
  font-size: 0.78rem;
  font-weight: 700;
}

.kc-step--expanded {
  max-width: 320px;
}

.kc-step-channels {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
  width: 100%;
}

.kc-contact-channel--sm {
  padding: 0.75rem 0.9rem;
}

.kc-contact-channel--sm .kc-contact-channel-icon {
  width: 36px;
  height: 36px;
  font-size: 0.95rem;
  border-radius: 10px;
}

.kc-contact-channel--sm .kc-contact-channel-value {
  font-size: 0.82rem;
  white-space: normal;
  word-break: break-all;
}

.kc-contact-channel--sm .kc-contact-channel-label {
  font-size: 0.7rem;
}

.kc-step-arrow {
  display: flex;
  align-items: center;
  padding-top: 1.5rem;
  color: rgba(0,0,0,0.2);
  font-size: 1.4rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .kc-steps {
    flex-direction: column;
    align-items: center;
  }

  .kc-step {
    max-width: 100%;
    width: 100%;
  }

  .kc-step-arrow {
    transform: rotate(90deg);
    padding-top: 0;
  }
}

.kc-contact-shell {
  display: flex;
  justify-content: center;
}

/* FORM STYLING */
.kc-form--single {
  width: 100%;
  max-width: 520px;
}

.kc-form {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.92)),
    linear-gradient(135deg, rgba(232,137,44,0.08), rgba(255,255,255,0));
  padding: 2rem;
  border-radius: 26px;
  border: 1px solid rgba(226, 211, 196, 0.9);
  box-shadow: 0 24px 54px rgba(37, 23, 10, 0.12);
  backdrop-filter: blur(12px);
}

.kc-form-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.kc-form-eyebrow {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--kc-orange);
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.kc-form-title {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  color: var(--kc-dark);
}

.kc-form-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(232, 137, 44, 0.12);
  color: #a85a12;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.kc-form .form-label {
  font-weight: 600;
  color: var(--kc-dark);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
}

.kc-form .form-control,
.kc-form .form-select {
  border: 1px solid rgba(206, 188, 171, 0.92);
  border-radius: 16px;
  padding: 0.92rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.96rem;
  background: rgba(255, 255, 255, 0.92);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.kc-form .form-control:focus,
.kc-form .form-select:focus {
  border-color: var(--kc-orange);
  box-shadow: 0 0 0 4px rgba(232, 137, 44, 0.12);
  transform: translateY(-1px);
  outline: none;
}

.kc-form .form-control::placeholder {
  color: var(--kc-gray);
  opacity: 0.7;
}

.kc-form textarea.form-control {
  resize: vertical;
  min-height: 144px;
}

.kc-form-meta {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.55rem;
}

/* CHECKBOX STYLING */
.kc-form .form-check {
  margin-top: 0.5rem;
}

.kc-consent-box {
  padding: 1rem 1rem 0.9rem;
  border-radius: 18px;
  background: rgba(249, 245, 240, 0.9);
  border: 1px solid rgba(223, 210, 197, 0.9);
}

.kc-form .form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(202, 182, 164, 0.95);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.kc-form .form-check-input:checked {
  background-color: var(--kc-orange);
  border-color: var(--kc-orange);
}

.kc-form .form-check-input:focus {
  border-color: var(--kc-orange);
  box-shadow: 0 0 0 3px rgba(232, 137, 44, 0.1);
}

.kc-form .form-check-label {
  cursor: pointer;
  color: var(--kc-dark);
  font-size: 0.9rem;
  padding-left: 0.35rem;
}

.kc-form .form-check-label a {
  color: var(--kc-orange);
  text-decoration: none;
  border-bottom: 1px solid var(--kc-orange);
  transition: color 0.2s ease;
}

.kc-form .form-check-label a:hover {
  color: #d97022;
}

/* VALIDATION FEEDBACK */
.kc-form .invalid-feedback {
  display: none;
  color: #dc3545;
  font-size: 0.82rem;
  margin-top: 0.4rem;
  font-family: 'Inter', sans-serif;
}

.kc-form .was-validated .form-control:invalid ~ .invalid-feedback,
.kc-form .was-validated .form-select:invalid ~ .invalid-feedback,
.kc-form .was-validated .form-check-input:invalid ~ .invalid-feedback,
.kc-form .form-control.is-invalid ~ .invalid-feedback,
.kc-form .form-select.is-invalid ~ .invalid-feedback,
.kc-form .form-check-input.is-invalid ~ .invalid-feedback {
  display: block;
}

.kc-form .is-invalid,
.kc-form .was-validated .form-control:invalid,
.kc-form .was-validated .form-select:invalid,
.kc-form .was-validated .form-check-input:invalid {
  border-color: #dc3545;
}

/* CHARACTER COUNT */
#char-count {
  color: var(--kc-orange);
  font-weight: 600;
}

/* SUBMIT BUTTON */
.kc-form .kc-btn-primary {
  width: 100%;
  margin-top: 0.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  padding: 1rem 1.75rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  border-radius: 16px;
  transition: all 0.25s ease;
}

.kc-form .kc-btn-primary:hover {
  box-shadow: 0 14px 32px rgba(232, 137, 44, 0.26);
  transform: translateY(-2px);
}

.kc-form .kc-btn-primary:active {
  transform: translateY(1px);
}

.kc-form .kc-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* FORM MESSAGE */
#form-message {
  padding: 1rem;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  text-align: center;
  display: none;
}

#form-message.show {
  display: block;
}

#form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

#form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

#form-message.loading {
  background-color: #e2e3e5;
  color: #383d41;
  border: 1px solid #d6d8db;
}

/* SMALL TEXT */
.kc-form .text-muted {
  color: var(--kc-gray) !important;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .kc-contact-section {
    padding-top: 2rem;
  }

  .kc-form {
    padding: 1.5rem;
  }

  .kc-form-header {
    flex-direction: column;
  }

  .kc-form-pill {
    white-space: normal;
  }

  .kc-form .form-label {
    font-size: 0.9rem;
  }

  .kc-form .form-control,
  .kc-form .form-select {
    font-size: 0.85rem;
    padding: 0.65rem;
  }
}

@media (max-width: 480px) {
  .kc-form {
    padding: 1rem;
    border-radius: 20px;
  }

  .kc-form .form-check-input {
    width: 1.1rem;
    height: 1.1rem;
  }

  .kc-contact-section .row {
    margin: 0 -0.5rem;
  }

  .kc-contact-section .col-lg-6 {
    padding: 0 0.5rem;
  }
}

/* ACCESSIBILITY */
.kc-form .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* CONTACT CHANNEL CARDS */
.kc-contact-channel {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(232, 226, 218, 0.95);
  box-shadow: 0 4px 16px rgba(20, 14, 9, 0.06);
  text-decoration: none;
  color: var(--kc-dark);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.kc-contact-channel:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(20, 14, 9, 0.12);
  border-color: rgba(232, 137, 44, 0.4);
  color: var(--kc-dark);
}

.kc-contact-channel-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #f6a04a, #e8892c);
  color: #fff;
  font-size: 1.2rem;
}

.kc-contact-channel-icon--ig {
  background: linear-gradient(145deg, #f77737, #c13584, #833ab4);
}

.kc-contact-channel-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--kc-gray);
  margin-bottom: 0.15rem;
}

.kc-contact-channel-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--kc-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kc-contact-channel > div {
  min-width: 0;
  flex: 1;
}

.kc-contact-channel .bi-arrow-right {
  color: rgba(0,0,0,0.25);
  font-size: 1.1rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.kc-contact-channel:hover .bi-arrow-right {
  transform: translateX(4px);
  color: var(--kc-orange);
}
