.ac-container {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 0 var(--layout-gutter);
}

.ac-contact-hero {
  padding-top: 160px;
  padding-bottom: 80px;
  background-color: #ffffff;
  text-align: center;
}

.ac-contact-hero__content {
  max-width: 800px;
  margin: 0 auto;
}

.ac-eyebrow {
  display: block;
  font-family: sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #03213D;
  margin-bottom: 16px;
  font-size: 14px;
}

.ac-headline {
  font-family: sans-serif;
  font-size: 48px;
  line-height: 1.2;
  color: #03213D;
  margin-bottom: 24px;
  font-weight: 700;
}

.ac-subheadline {
  font-family: sans-serif;
  font-size: 20px;
  line-height: 1.6;
  color: #03213D;
  margin-bottom: 0;
}

.ac-contact-form-section {
  padding: 60px 0 120px;
  background-color: #E2EEF4;
}

.ac-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(3, 33, 61, 0.05);
}

.ac-form-gate[hidden],
.ac-hubspot-container[hidden] {
  display: none !important;
}

.ac-form-gate {
  text-align: center;
  padding: 40px 20px;
}

.ac-form-gate__title {
  font-family: sans-serif;
  font-size: 24px;
  color: #03213D;
  margin: 1em 0 16px;
}

.ac-form-gate__text {
  font-family: sans-serif;
  font-size: 16px;
  color: #03213D;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.ac-btn-primary {
  display: inline-block;
  background-color: #FF8A3D;
  color: #03213D;
  font-family: sans-serif;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
  font-size: 16px;
}

.ac-btn-primary:hover {
  background-color: #FF7A2F;
  transform: translateY(-2px);
}

.ac-hubspot-container {
  width: 100%;
  min-height: 750px;
}

.ac-hubspot-container .hbspt-form {
  background: #ffffff;
  border-radius: 15px;
  padding: 24px 20px 10px;
}

.ac-hubspot-container input,
.ac-hubspot-container select,
.ac-hubspot-container textarea {
  border-radius: 10px !important;
  border: 1px solid #c7d6e2 !important;
  min-height: 48px;
}

.ac-hubspot-container textarea {
  min-height: 120px;
}

.ac-hubspot-container .hs-button {
  width: 100%;
  min-height: 54px;
  border: none !important;
  border-radius: 999px !important;
  background: #FF8A3D !important;
  color: #03213D !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

@media (max-width: 900px) {
  .ac-contact-hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }
  .ac-headline {
    font-size: 36px;
  }
}

@media (max-width: 640px) {
  .ac-contact-hero {
    padding-top: 80px;
    padding-bottom: 40px;
  }
  .ac-headline {
    font-size: 28px;
  }
  .ac-subheadline {
    font-size: 18px;
  }
  .ac-form-wrapper {
    padding: 20px;
  }
}
