/* Light contact hub inspired by the supplied command-center composition. */

body,
.contact-us-main {
  color: #111315;
  background: #f7f8fa;
}

.contact-hero-highlight {
  --contact-hero-pad-top: 94px;
  --contact-hero-pad-bottom: 100px;
  min-height: max(600px, calc(100vh - 76px));
  min-height: max(600px, calc(100svh - 76px));
  display: flex;
  align-items: center;
  color: #ffffff;
  background: var(--contact-us-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-hero-highlight::before {
  z-index: -2;
  opacity: 0.7;
  background-image: var(--contact-us-texture-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-hero-bottom-fade {
  display: block;
}

.contact-hero-inner {
  width: min(980px, 100%);
  padding-right: 0;
  text-align: center;
}

.contact-hero-copy,
.contact-hero-head {
  align-items: center;
}

.contact-hero-copy {
  gap: 34px;
}

.contact-hero-head {
  gap: 18px;
}

.contact-hero-eyebrow {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 6px 11px;
  color: #d3150c;
  border: 1px solid rgba(211, 21, 12, 0.45);
  border-radius: 3px;
  background: rgba(211, 21, 12, 0.08);
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
  letter-spacing: 0;
}

.contact-hero-title {
  display: block;
  max-width: 900px;
  color: #ffffff;
  font-size: 64px;
  line-height: 1.08;
  letter-spacing: 0;
  text-align: center;
}

.contact-hero-title-line {
  display: inline;
}

.contact-hero-title-line + .contact-hero-title-line::before {
  content: " ";
}

.contact-hero-cta {
  flex-direction: row-reverse;
}

.contact-hero-cta-label,
.contact-hero-cta-arrow {
  height: 48px;
  border-radius: 3px;
}

.contact-hero-cta-label {
  min-width: 136px;
  padding: 0 24px;
  color: #ffffff;
  background: #d3150c;
  font-size: 13px;
  font-weight: 600;
}

.contact-hero-cta-arrow {
  width: 48px;
  color: #ffffff;
  background: #111315;
}

.contact-hero-cta-arrow svg path {
  stroke: currentColor;
}

.contact-hero-visual {
  inset: 0;
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.16;
  transform: none;
}

.contact-hero-circuit {
  width: min(760px, 62vw);
  max-height: 500px;
  object-position: center;
}

.contact-inquiry {
  --contact-inquiry-pad-y: 104px;
  position: relative;
  overflow: hidden;
  color: #111315;
  background: #f7f8fa;
}

.contact-inquiry::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 19, 21, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 21, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  content: "";
}

.contact-inquiry-inner {
  position: relative;
  z-index: 1;
  width: min(1280px, 100%);
}

.contact-inquiry-row {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.35fr);
  gap: 24px;
  align-items: stretch;
}

.contact-inquiry-copy {
  max-width: none;
  gap: 26px;
}

.contact-inquiry-copy-top {
  gap: 14px;
}

.contact-inquiry-pill {
  min-height: 28px;
  padding: 6px 11px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-inquiry-title {
  color: #111315;
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: none;
}

.contact-inquiry-lede {
  color: rgba(17, 19, 21, 0.66);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
}

.contact-hub-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin-top: auto;
}

.contact-hub-card {
  position: relative;
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(17, 19, 21, 0.1);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(17, 19, 21, 0.055);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-hub-card:hover {
  border-color: rgba(211, 21, 12, 0.42);
  box-shadow: 0 18px 40px rgba(17, 19, 21, 0.08);
  transform: translateY(-3px);
}

.contact-hub-index {
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgba(17, 19, 21, 0.34);
  font-size: 11px;
  font-weight: 600;
}

.contact-hub-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #d3150c;
  border: 1px solid rgba(211, 21, 12, 0.24);
  border-radius: 4px;
  background: rgba(211, 21, 12, 0.07);
}

.contact-hub-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-hub-card h3 {
  margin: 0 0 9px;
  color: #111315;
  font-size: 19px;
  line-height: 1.3;
}

.contact-hub-card p,
.contact-hub-card a {
  margin: 0;
  color: rgba(17, 19, 21, 0.66);
  font-size: 14px;
  line-height: 1.55;
  text-decoration: none;
}

.contact-hub-card a:hover,
.contact-hub-card a:focus-visible {
  color: #d3150c;
}

.contact-inquiry-form-wrap {
  max-width: none;
  padding: 38px;
  border: 1px solid rgba(17, 19, 21, 0.1);
  border-top-color: rgba(211, 21, 12, 0.45);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 20px 48px rgba(17, 19, 21, 0.075);
}

.contact-inquiry-form {
  max-width: none;
}

.contact-inquiry-form,
.contact-inquiry-fields {
  gap: 26px;
}

.contact-inquiry-field {
  gap: 9px;
}

.contact-inquiry-label {
  color: #111315;
  font-size: 13px;
  font-weight: 600;
  line-height: 17px;
}

.contact-inquiry-input,
.contact-inquiry-textarea {
  color: #111315;
  border: 1px solid rgba(17, 19, 21, 0.14);
  border-radius: 4px;
  background: #f8f9fa;
  font-size: 14px;
}

.contact-inquiry-input {
  min-height: 50px;
  padding: 14px 15px;
}

.contact-inquiry-textarea {
  min-height: 132px;
  padding: 15px;
}

.contact-inquiry-input::placeholder,
.contact-inquiry-textarea::placeholder {
  color: rgba(17, 19, 21, 0.4);
}

.contact-inquiry-input:focus-visible,
.contact-inquiry-textarea:focus-visible,
.contact-inquiry-select:focus-visible {
  border-color: rgba(211, 21, 12, 0.72);
  box-shadow: 0 0 0 3px rgba(211, 21, 12, 0.1);
}

.contact-inquiry-actions {
  justify-content: flex-start;
}

.contact-inquiry-submit,
.contact-inquiry-call {
  min-height: 48px;
  height: 48px;
  padding: 0 24px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0;
}

.contact-inquiry-submit {
  color: #ffffff;
  background: #d3150c;
}

.contact-inquiry-submit:hover {
  background: #ef2017;
  opacity: 1;
}

.contact-inquiry-call {
  color: #111315;
  border: 1px solid rgba(17, 19, 21, 0.58);
  background: transparent;
}

.contact-inquiry-call:hover {
  color: #d3150c;
  border-color: #d3150c;
  background: rgba(211, 21, 12, 0.04);
}

.contact-inquiry-call.active {
  color: #ffffff;
  background: #d3150c;
  border-color: #d3150c;
}

.success-feedback {
  border: 1px solid rgba(17, 19, 21, 0.1);
  border-radius: 6px;
  box-shadow: none;
}

@media (max-width: 1023px) {
  .contact-hero-highlight {
    min-height: max(560px, calc(100vh - 64px));
    min-height: max(560px, calc(100svh - 64px));
  }

  .contact-hero-title {
    font-size: 52px;
  }

  .contact-inquiry-row {
    grid-template-columns: 1fr;
  }

  .contact-inquiry-copy {
    max-width: 760px;
  }
}

@media (max-width: 640px) {
  .contact-hero-highlight {
    --contact-hero-pad-top: 70px;
    --contact-hero-pad-bottom: 74px;
    min-height: calc(100vh - 64px);
    min-height: calc(100svh - 64px);
  }

  .contact-hero-title {
    font-size: 40px;
  }

  .contact-hero-title-line {
    display: block;
  }

  .contact-hero-title-line + .contact-hero-title-line::before {
    content: none;
  }

  .contact-inquiry {
    --contact-inquiry-pad-y: 72px;
  }

  .contact-inquiry-title {
    font-size: 36px;
  }

  .contact-hub-details {
    grid-template-columns: 1fr;
  }

  .contact-hub-card {
    min-height: 180px;
  }

  .contact-inquiry-form-wrap {
    padding: 28px 20px;
  }

  .contact-inquiry-field-row {
    grid-template-columns: 1fr;
  }
}
