/* Contact form — shared across danielmatteo.eu */
.contact-form {
  max-width: 640px;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1A1A1A;
  text-align: left;
}
.contact-form .cf-field { margin-bottom: 20px; }
.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1A1A1A;
  line-height: 1.4;
}
.contact-form label .req { color: #00C2FF; margin-left: 2px; }
.contact-form label .opt {
  font-weight: 400;
  color: #888;
  margin-left: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  border: 1px solid #E8E8E8;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  color: #1A1A1A;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #B0B0B0; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #00C2FF;
  box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.15);
}
.contact-form textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.55;
}
.contact-form .cf-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: #4A4A4A;
  line-height: 1.55;
  margin: 4px 0 8px;
}
.contact-form .cf-consent input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: #18076B;
  cursor: pointer;
}
.contact-form .cf-consent a { color: #18076B; text-decoration: underline; }
.contact-form .cf-consent a:hover { color: #00C2FF; }
.contact-form .cf-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #18076B;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.contact-form .cf-submit:hover:not(:disabled) { background: #00C2FF; }
.contact-form .cf-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.contact-form .cf-submit svg { width: 16px; height: 16px; }
.contact-form .cf-status {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.5;
  display: none;
}
.contact-form .cf-status.ok { display: block; color: #16A34A; }
.contact-form .cf-status.err { display: block; color: #DC2626; }
.contact-form .cf-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.contact-form-success {
  display: none;
  max-width: 640px;
  padding: 28px 32px;
  background: rgba(0, 194, 255, 0.08);
  border: 1px solid rgba(0, 194, 255, 0.3);
  border-radius: 12px;
  font-size: 16px;
  color: #1A1A1A;
  line-height: 1.65;
  text-align: left;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.contact-form-success.visible { display: block; }
.contact-form-success strong { display: block; font-weight: 600; margin-bottom: 6px; }

/* Section wrapper — scoped to .final-cta to avoid collisions */
.final-cta {
  padding: 80px 0 40px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.final-cta .eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888888;
  margin-bottom: 16px;
}
.final-cta h2 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-wrap: balance;
}
.final-cta h2 span { color: #00C2FF; }
.final-cta p {
  font-size: 18px;
  color: #4A4A4A;
  line-height: 1.6;
  margin: 0 auto 32px;
  max-width: 620px;
  text-wrap: pretty;
}
.final-cta .cf-wrap { max-width: 640px; margin: 32px auto 0; text-align: left; }
@media (max-width: 960px) {
  .final-cta h2 { font-size: 32px; }
}

/* Home variant: form sits in a 2-column row next to an image — keep it left-aligned and snug */
#contact-form.final-cta {
  padding: 0;
  text-align: left;
  max-width: none;
  margin: 0;
}
#contact-form.final-cta p { margin: 0 0 24px; max-width: none; }
#contact-form.final-cta .cf-wrap { margin: 24px 0 0; max-width: none; }
#contact-form.final-cta h2 { font-size: 36px; }
