/* AFCO contact — full-bleed band, content capped on __inner */
.afco-contact {
  --afco-green: #568324;
  --afco-green-deep: #3a5a16;
  --afco-ink: #10140c;
  --afco-muted: #5c6570;
  --afco-line: rgba(16, 20, 12, 0.1);
  --afco-paper: #f3f2ec;
  --afco-gold: #a67c00;
  position: relative;
  color: var(--afco-ink);
  font-family: "Manrope", system-ui, sans-serif;
  overflow: clip;
  width: 100%;
  max-width: none;
}

.afco-contact__atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 480px at 12% -10%, rgba(86, 131, 36, 0.2), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(166, 124, 0, 0.12), transparent 55%),
    linear-gradient(180deg, #eef1e6 0%, var(--afco-paper) 48%, #ebe8df 100%);
  z-index: 0;
}

.afco-contact__inner {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.5rem 0 4.5rem;
}

.afco-contact__hero {
  margin-bottom: 2rem;
  animation: afcoRise 0.55s ease-out both;
}

.afco-contact__brand {
  margin: 0 0 0.6rem;
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--afco-green);
}

.afco-contact__title {
  margin: 0 0 0.75rem;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.afco-contact__lead {
  margin: 0;
  max-width: 42rem;
  color: var(--afco-muted);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.55;
}

.afco-contact__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, 0.9fr);
  gap: 2.5rem;
  align-items: start;
  padding-top: 1.75rem;
  border-top: 1px solid var(--afco-line);
}

.afco-contact__form {
  display: grid;
  gap: 1.25rem;
  animation: afcoRise 0.7s ease-out both;
}

.afco-contact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.afco-field {
  display: grid;
  gap: 0.4rem;
}

.afco-field--full {
  grid-column: 1 / -1;
}

.afco-field span {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.afco-field input,
.afco-field select,
.afco-field textarea {
  width: 100%;
  border: 1px solid rgba(16, 20, 12, 0.14);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 2px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--afco-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.afco-field input:focus,
.afco-field select:focus,
.afco-field textarea:focus {
  outline: none;
  border-color: var(--afco-green);
  box-shadow: 0 0 0 3px rgba(86, 131, 36, 0.18);
}

.afco-check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.92rem;
  line-height: 1.45;
}

.afco-check input {
  margin-top: 0.2rem;
}

.afco-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.afco-contact__actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 0.5rem;
}

.afco-contact__submit {
  appearance: none;
  border: 0;
  background: var(--afco-green);
  color: #fff;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.95rem 1.6rem;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.afco-contact__submit:hover:not(:disabled) {
  background: var(--afco-green-deep);
  transform: translateY(-1px);
}

.afco-contact__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.afco-contact__notice {
  margin: 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid #c0392b;
  background: rgba(192, 57, 43, 0.06);
  font-size: 0.92rem;
}

.afco-contact__notice--soft {
  border-left-color: var(--afco-green);
  background: rgba(86, 131, 36, 0.08);
}

.afco-contact__aside {
  padding: 1.35rem 1.25rem 1.5rem;
  background: linear-gradient(180deg, rgba(86, 131, 36, 0.1), rgba(255, 255, 255, 0.9));
  border-left: 3px solid var(--afco-green);
  animation: afcoRise 0.8s ease-out both;
}

.afco-contact__aside-kicker {
  margin: 0 0 0.6rem;
  font-family: "Outfit", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--afco-green);
  font-size: 0.85rem;
  font-weight: 600;
}

.afco-contact__aside-note {
  margin: 0 0 1.1rem;
  font-size: 0.88rem;
  color: var(--afco-muted);
  line-height: 1.5;
}

.afco-contact__meta {
  display: grid;
  gap: 0.9rem;
  margin: 0;
}

.afco-contact__meta dt {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--afco-gold);
}

.afco-contact__meta dd {
  margin: 0.2rem 0 0;
  font-size: 0.95rem;
}

.afco-contact__meta a {
  color: #0345bf;
}

.afco-contact__success {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--afco-line);
  animation: afcoRise 0.5s ease-out both;
}

.afco-contact__success-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--afco-green);
  position: relative;
  flex: 0 0 auto;
}

.afco-contact__success-mark::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  top: 0.55rem;
  width: 0.55rem;
  height: 1rem;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(40deg);
}

.afco-contact__success h2 {
  margin: 0 0 0.4rem;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
}

.afco-contact__link {
  color: #0345bf;
  text-decoration: underline;
}

.cf-turnstile {
  margin-top: 0.25rem;
}

@keyframes afcoRise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991.98px) {
  .afco-contact__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .afco-contact__inner {
    padding: 2.25rem 0 3rem;
  }

  .afco-contact__grid {
    grid-template-columns: 1fr;
  }
}
