/* contact.css */
.contact-hero {
  position: relative;
  color: #fff;
  background: var(--navy) url("../img3/ContactUs.jpg") center / cover no-repeat;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .50);
  pointer-events: none;
}

.contact-hero .page-hero-inner {
  position: relative;
  z-index: 2;
}

.contact-hero .eyebrow,
.contact-hero h1,
.contact-hero .lead,
.contact-hero .breadcrumb,
.contact-hero .breadcrumb a,
.contact-hero .breadcrumb span {
  color: #fff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, .95), 0 10px 26px rgba(0, 0, 0, .78);
}

main > .section:nth-of-type(2),
main > .section:nth-of-type(3),
.contact-form-section,
.thanks-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
}

main > .section:nth-of-type(2)::before,
main > .section:nth-of-type(3)::before,
.contact-form-section::before,
.thanks-section::before {
  content: none;
}

.section-light,
main > .section:nth-of-type(3) {
  background: #f7f9fb;
}

.contact-lead-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items: stretch;
}

.contact-message-card,
.contact-info-card,
.contact-form,
.thanks-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(216, 224, 231, .95);
  box-shadow: none;
}

.contact-message-card {
  padding: 34px;
  border-radius: 22px;
}

.contact-info-card {
  padding: 24px 22px;
  border-radius: 20px;
}

.contact-form {
  padding: 34px;
  border-radius: 22px;
}

.contact-message-card::before,
.contact-info-card::before,
.contact-form::before,
.thanks-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--blue-deep);
}

.contact-message-card h2,
.contact-info-card h3,
.contact-form-heading h2,
.thanks-card h2,
.thanks-card h3 {
  color: var(--navy);
}

.contact-message-card p:not(.eyebrow),
.contact-info-card p,
.contact-form-heading p,
.page-text,
.page-text p,
.form-note,
.form-note p,
.thanks-card p {
  color: #111820;
  text-shadow: none;
}

.contact-message-card p + p,
.thanks-card p + p {
  margin-top: 14px;
}

.contact-info-grid {
  display: grid;
  gap: 16px;
}

.contact-info-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
}

.contact-info-card p {
  font-size: 14.2px;
  overflow-wrap: anywhere;
}

.contact-form-layout {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 52px;
  align-items: start;
}

.contact-form-heading {
  position: sticky;
  top: 116px;
}

.contact-form-heading .eyebrow,
.thanks-card .eyebrow,
.section-title .eyebrow,
.contact-message-card .eyebrow {
  color: var(--blue-deep);
  text-shadow: none;
}

.contact-form-heading p {
  font-size: 15px;
}

.form-status {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
}

.form-status-error {
  color: #9d1f16;
  background: #fff1ee;
  border: 1px solid rgba(233, 75, 46, .28);
}

.form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.form-field label {
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
}

.form-field label span {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 11px;
  line-height: 1.4;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: #111820;
}

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

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--blue-bright);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 160, 233, .12);
}

.botcheck-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin-top: 8px;
  font-size: 13px;
}

.thanks-section {
  min-height: 420px;
}

.thanks-card {
  max-width: 840px;
  margin: 0 auto;
  padding: 42px 34px;
  border-radius: 22px;
  text-align: center;
}

.thanks-card .btn-row {
  justify-content: center;
}

.cta {
  color: #fff;
  background: var(--navy) url("../img3/FOH04.jpg") center / cover no-repeat;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  pointer-events: none;
}

.cta::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 12px;
  background: var(--navy);
  pointer-events: none;
}

.cta .container {
  position: relative;
  z-index: 2;
}

.cta .eyebrow,
.cta h2,
.cta .lead {
  color: #fff;
  text-shadow: 0 5px 16px rgba(0, 0, 0, 1), 0 12px 32px rgba(0, 0, 0, .95);
}

@media (max-width: 980px) {
  .contact-hero .page-hero-inner {
    min-height: auto;
  }

  .contact-lead-layout,
  .contact-form-layout {
    grid-template-columns: 1fr;
  }

  .contact-form-heading {
    position: static;
  }
}

@media (max-width: 600px) {
  .contact-lead-layout,
  .contact-form-layout {
    gap: 30px;
  }

  .contact-message-card,
  .contact-info-card,
  .contact-form,
  .thanks-card {
    padding: 26px 20px;
    border-radius: 20px;
  }
}
