/* ==========================================================================
   Contact Form & Lead Capture Styles (contact-form.css)
   ========================================================================== */

.contact-form-section {
  position: relative;
  background-image: linear-gradient(135deg, rgba(11, 19, 43, 0.90) 0%, rgba(15, 23, 42, 0.94) 100%), url(../images/hero-bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 5.5rem 0;
}

.contact-section-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: start;
}

/* --- Left Info & Trust Panel --- */
.contact-info-panel {
  display: flex;
  flex-direction: column;
}

.contact-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #e5a93c;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: block;
}

.contact-main-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 1.25rem 0;
}

.contact-lead-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0 0 2.5rem 0;
}

.contact-points-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.contact-point-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
}

.cp-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: rgba(229, 169, 60, 0.12);
  border: 1px solid rgba(229, 169, 60, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.cp-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #e5a93c;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.25rem;
}

.cp-value {
  font-size: 1.05rem;
  color: #ffffff;
  margin: 0;
  line-height: 1.4;
}

.cp-value a {
  color: #ffffff;
  text-decoration: none;
  transition: color var(--trans-fast);
}

.cp-value a:hover {
  color: #e5a93c;
}

.contact-trust-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.trust-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: #e2e8f0;
  font-weight: 600;
}

.trust-badge-row svg {
  flex-shrink: 0;
}

/* --- Right Form Card (Crisp White Floating Box) --- */
.contact-form-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 2.75rem 2.5rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
  color: #0f172a;
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 0.35rem 0;
  line-height: 1.2;
}

.form-subhead {
  font-size: 0.92rem;
  color: #64748b;
  margin: 0 0 1.75rem 0;
  line-height: 1.5;
}

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

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.4rem;
  display: block;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #0f172a;
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast), background-color var(--trans-fast);
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: #d97706;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

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

/* TCPA / SMS Compliance Box */
.sms-consent-box {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 1.15rem;
  margin: 1.25rem 0 1.5rem 0;
}

.consent-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.consent-checkbox {
  margin-top: 3px;
  accent-color: #d97706;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-text-bold {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
}

.consent-text {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

/* Submit Button */
.btn-submit-assessment {
  width: 100%;
  background-color: #d97706;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 1.1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.35);
  transition: background-color var(--trans-fast), transform var(--trans-fast);
}

.btn-submit-assessment:hover {
  background-color: #b45309;
  transform: translateY(-2px);
}

.btn-submit-assessment:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-microcopy {
  font-size: 0.82rem;
  color: #64748b;
  text-align: center;
  margin: 1rem 0 0 0;
}

/* Feedback Messages */
.form-feedback-msg {
  padding: 1rem 1.25rem;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
}

.form-feedback-msg.is-success {
  background-color: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}

.form-feedback-msg.is-error {
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-section-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 640px) {
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-form-card {
    padding: 2rem 1.5rem;
  }
}
