/* ============================================================
   CONTACT PAGE STYLES
   ============================================================ */

/* --- SECTION: Compact Hero --- */
.contact-hero {
  padding: 132px 24px 48px;
  text-align: center;
  background: linear-gradient(
    180deg,
    #18395F 0%,
    #1B4068 15%,
    #1E4A73 30%,
    #215580 50%,
    #2A6A8A 70%,
    #F8F9FC 100%
  );
}
.contact-hero__inner {
  max-width: 720px;
  margin: 0 auto;
}
.contact-hero__eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal);
  background: rgba(59, 191, 178, 0.15);
  border: 1px solid rgba(59, 191, 178, 0.3);
  margin-bottom: 16px;
}
.contact-hero__headline {
  font-size: var(--fs-hero);
  font-weight: var(--fw-bold);
  color: white;
  line-height: 1.1;
  margin-bottom: 16px;
}
.contact-hero__subhead {
  font-size: var(--fs-body);
  color: rgba(255, 255, 255, 0.82);
  line-height: var(--lh-body);
  max-width: 600px;
  margin: 0 auto;
}

/* --- SECTION: Demo Form + Trust Signals --- */
.contact-form-section {
  padding: 0 24px 80px;
  background: #F8F9FC;
}
.contact-form-section__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 48px;
  align-items: start;
}

/* --- Form Column --- */
.contact-form-section__form-col {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 4px 24px rgba(24, 57, 95, 0.06);
}

.contact-form__row {
  margin-bottom: 16px;
}
.contact-form__row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form__field {
  margin-bottom: 16px;
}
.contact-form__label {
  display: block;
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--color-dark);
  margin-bottom: 6px;
}
.contact-form__required {
  color: #FF7A6B;
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  color: var(--color-dark);
  background: white;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.contact-form__textarea {
  height: auto;
  padding: 12px 16px;
  resize: vertical;
}
.contact-form__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A97A8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(59, 191, 178, 0.12);
}

.contact-form__submit {
  display: block;
  width: 100%;
  height: 56px;
  padding: 0;
  margin-top: 8px;
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  color: white;
  background: var(--color-teal);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.contact-form__submit:hover {
  background: #2fa898;
  transform: translateY(-2px);
}

.contact-form__below-text {
  text-align: center;
  font-size: 13px;
  color: var(--color-gray);
  margin-top: 12px;
}

/* --- Trust Column --- */
.contact-trust__card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
}
.contact-trust__card--expect {
  background: rgba(59, 191, 178, 0.04);
  border-color: rgba(59, 191, 178, 0.2);
}
.contact-trust__card-heading {
  font-size: 16px;
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: 12px;
}

.contact-trust__expect-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-trust__expect-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--color-dark);
  line-height: 1.5;
}

.contact-trust__badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.contact-trust__badge {
  display: flex;
  align-items: center;
  gap: 6px;
}
.contact-trust__badge-label {
  font-size: 12px;
  font-weight: var(--fw-semi);
  color: var(--color-dark);
}

.contact-trust__quote {
  margin: 0;
  padding: 0;
}
.contact-trust__quote p {
  font-size: 14px;
  color: var(--color-gray);
  line-height: 1.6;
  font-style: italic;
  margin: 0 0 8px;
}
.contact-trust__cite {
  font-size: 13px;
  color: var(--color-gray);
  font-style: normal;
}

/* --- SECTION: Contact Methods --- */
.contact-methods {
  padding: 80px 0;
  background: linear-gradient(
    180deg,
    #F8F9FC 0%,
    #EDF8F7 20%,
    #E8F5F3 50%,
    #EDF8F7 80%,
    #F8F9FC 100%
  );
}
.contact-methods__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-methods__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-default);
}
.contact-methods__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-teal);
}
.contact-methods__icon-wrap svg {
  width: 24px;
  height: 24px;
  display: block;
  margin: auto;
  color: var(--color-teal);
}
.contact-methods__heading {
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: 8px;
}
.contact-methods__body {
  font-size: var(--fs-small);
  color: var(--color-gray);
  line-height: var(--lh-body);
  margin-bottom: 12px;
}
.contact-methods__link {
  font-size: 14px;
  font-weight: var(--fw-semi);
  color: var(--color-teal);
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-methods__link:hover {
  color: #2fa898;
  text-decoration: underline;
}

/* --- SECTION: Footer CTA (soft, no button) --- */
.contact-footer-cta {
  padding: 64px 0;
  background: linear-gradient(
    180deg,
    #0F2238 0%,
    #142D4A 15%,
    #18395F 35%,
    #1B4068 55%,
    #1E4A73 75%,
    #18395F 100%
  );
  text-align: center;
}
.contact-footer-cta__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}
.contact-footer-cta__headline {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: white;
  margin-bottom: 32px;
}

.contact-footer-cta__stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 24px;
}
.contact-footer-cta__stat {
  text-align: center;
}
.contact-footer-cta__stat-number {
  display: block;
  font-size: 36px;
  font-weight: var(--fw-bold);
  color: var(--color-teal);
  line-height: 1;
  margin-bottom: 6px;
}
.contact-footer-cta__stat-label {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.65);
}

.contact-footer-cta__compliance {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .contact-form-section__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-hero__headline {
    font-size: 32px;
  }
  .contact-form__row--half {
    grid-template-columns: 1fr;
  }
  .contact-form-section__form-col {
    padding: 24px;
  }
  .contact-methods__inner {
    grid-template-columns: 1fr;
  }
  .contact-footer-cta__stats {
    flex-direction: column;
    gap: 24px;
  }
  .contact-trust__badges {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FLUENT FORMS — Demo form overrides
   Scoped to the contact form column so any other Fluent Forms
   instance site-wide is unaffected. Restyles labels + the submit
   button only; inputs/selects keep Fluent Forms' own styling
   (they already match closely enough).
   ============================================================ */

/* Labels — match .contact-form__label (14px / medium / dark) */
.contact-form-section__form-col .fluentform .ff-el-input--label {
  margin-bottom: 6px;
}
.contact-form-section__form-col .fluentform .ff-el-input--label label {
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--color-dark);
}

/* Required asterisk — coral, to match .contact-form__required */
.contact-form-section__form-col .fluentform .ff-el-is-required.asterisk-right label:after {
  color: var(--color-coral);
}

/* Submit button — full-width teal, matching .contact-form__submit.
   width/background/color carry !important so they beat Fluent Forms'
   own default button styling regardless of its selector specificity.
   height / font-weight / border-radius go beyond a strict color+width
   change — they make the button match the mockup's proportions. Drop
   those three lines if you only want color + width. */
.contact-form-section__form-col .fluentform .ff-btn-submit {
  display: block;
  width: 100% !important;
  height: 56px;
  padding: 0;
  margin-top: 8px;
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  line-height: 56px;
  text-align: center;
  color: #fff !important;
  background: var(--color-teal) !important;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.contact-form-section__form-col .fluentform .ff-btn-submit:hover {
  background: #2fa898 !important;
  transform: translateY(-2px);
}
