/* Partnership form area (EfastEnterpriseForm) and footer */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
  max-width: var(--container);
  margin: 0 auto;
  padding: 104px 40px;
  background: #fff;
}

.contact .heading {
  font-size: 47px;
  letter-spacing: -2.2px;
}

.contact-form {
  font-family: var(--font-ui);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: 24px;
  background: #f3f7f4;
}

.contact-form label,
.contact-form .field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(12, 23, 18, 0.65);
}

.roles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 6px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(12, 23, 18, 0.05);
}

.roles button {
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(12, 23, 18, 0.65);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 200ms ease, color 200ms ease;
}

.roles button[aria-checked="true"] {
  background: var(--ink);
  color: var(--on-dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(12, 23, 18, 0.12);
  background: #fff;
  font-size: 14.5px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

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

/* "EFast Submit Button" */
.submit-btn {
  margin-top: 4px;
  padding: 14px 20px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: var(--on-dark);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, background 200ms ease;
}

.submit-btn:hover {
  transform: translateY(-1px);
}

.submit-btn:disabled {
  background: rgba(12, 23, 18, 0.35);
  cursor: wait;
  transform: none;
}

.contact-form__error {
  font-size: 13px;
  color: #c73a3a;
  text-align: center;
}

.contact-form__error a {
  color: var(--accent);
}

.contact-form__small {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(12, 23, 18, 0.45);
  text-align: center;
}

.contact-form__small a {
  color: rgba(12, 23, 18, 0.6);
  text-decoration: none;
}

.contact-thanks {
  font-family: var(--font-ui);
  padding: 32px;
  border-radius: 24px;
  background: #f3f7f4;
  text-align: center;
  animation: rise 500ms var(--ease) both;
}

.contact-thanks__tick {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  color: var(--accent);
}

.contact-thanks h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.contact-thanks p {
  max-width: 380px;
  margin: 8px auto 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(12, 23, 18, 0.6);
}

.contact-thanks button {
  margin-top: 20px;
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Footer ---------- */

.footer {
  max-width: 1200px;
  margin: 0 auto;
  /* The extra space at the bottom matches an empty row on the Framer footer */
  padding: 77px 40px 142px;
  background: #101311;
  color: #fff;
}

.footer__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer__head .eyebrow {
  color: #47e88e;
}

.footer__title {
  font-size: 50px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2.5px;
}

.footer__email {
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  color: #47e88e;
  text-decoration: none;
  transition: opacity 200ms ease;
}

.footer__email:hover {
  opacity: 0.8;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--container);
  margin: 60px auto 0;
  padding-top: 20px;
  border-top: 1px solid #2a302c;
  font-size: 14px;
  line-height: 1;
}

.footer__brand {
  font-weight: 600;
}

.footer__copy {
  color: #98a29b;
}

@media (max-width: 1199px) {
  .contact { grid-template-columns: 1fr; }
}
