/* ==========================================================================
   contact_form — "Get in touch" band: enquiry form + contact details/social.
   Shares the JS hooks (.contact__card / .contact__alert / data-*) with the
   Adorable contact form so it can reuse contact-form.js.
   ========================================================================== */

.biz-contact {
  background-color: #f3f4f6;
  padding: 5rem 0;
}

.biz-contact__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0.75rem;
}

.biz-contact__head {
  text-align: center;
  max-width: 1280px;
  margin: 0 auto 4rem;
}
.biz-contact__title {
  color: #1f2937;
  font-family: var(--font-heading, 'Inter', sans-serif);
  font-weight: 700;
  font-size: 2.25rem;
  margin: 0 0 1rem;
}
.biz-contact__lede {
  color: #4b5563;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

.biz-contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .biz-contact__grid { grid-template-columns: 1fr 1fr; }
}
.biz-contact__grid--single { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }

/* Form card */
.biz-contact__card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .1);
  padding: 1.5rem;
}
@media (min-width: 1024px) { .biz-contact__card { padding: 2rem; } }

/* Honeypot: display:none so browser autofill skips it, but naive bots that
   fill every input regardless of CSS still trip it. */
.biz-contact__hp {
  display: none !important;
}

.biz-contact-field { margin-bottom: 1.5rem; }
.biz-contact-field label {
  display: block;
  color: #374151;
  font-weight: 600;
  margin-bottom: .5rem;
}
.biz-contact-req { color: #dc2626; }

.biz-contact-field input,
.biz-contact-field textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0;
  font: inherit;
  color: #1f2937;
  background-color: #fff;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.biz-contact-field textarea { resize: vertical; }
.biz-contact-field input:focus,
.biz-contact-field textarea:focus {
  outline: none;
  border-color: var(--color-secondary, #3b82f6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}

.biz-contact-field.has-error input,
.biz-contact-field.has-error textarea { border-color: #dc2626; }
.biz-contact-field__error {
  display: block;
  margin-top: .4rem;
  color: #dc2626;
  font-size: .85rem;
}

.biz-contact__submit {
  width: 100%;
  padding: .85rem 1.5rem;
  border: 0;
  background-color: var(--color-primary, #012269);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .25s ease, opacity .25s ease;
}
.biz-contact__submit:hover { transform: scale(1.02); }
.biz-contact__submit:disabled,
.biz-contact__submit.is-loading { opacity: .7; cursor: default; transform: none; }

/* Alert (success / error) — shared JS toggles these modifier classes. */
.contact__alert {
  margin-bottom: 1.25rem;
  padding: .85rem 1rem;
  border-radius: 4px;
  font-size: .95rem;
}
.contact__alert--success { background-color: #dcfce7; color: #166534; }
.contact__alert--error   { background-color: #fee2e2; color: #b91c1c; }

/* Side panels */
.biz-contact__side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.biz-contact__panel {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .1);
  padding: 2rem;
}
.biz-contact__panel-title {
  color: #1f2937;
  font-weight: 700;
  font-size: 1.4rem;
  margin: 0 0 1.5rem;
}

.biz-contact__info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.biz-contact__info:last-child { margin-bottom: 0; }
.biz-contact__info-icon {
  flex-shrink: 0;
  color: var(--color-primary, #012269);
}
.biz-contact__info-icon svg { width: 26px; height: 26px; }
.biz-contact__info-label {
  color: #1f2937;
  font-weight: 700;
  margin: 0 0 .25rem;
}
.biz-contact__info-value {
  color: #4b5563;
  margin: 0;
  line-height: 1.5;
  text-decoration: none;
}
a.biz-contact__info-value:hover { color: var(--color-primary, #012269); }

/* Social */
.biz-contact__social {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.biz-contact__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background-color: var(--color-primary, #012269);
  color: #fff;
  transition: transform .25s ease, opacity .25s ease;
}
.biz-contact__social a:hover { transform: scale(1.1); opacity: .92; }
.biz-contact__social svg { width: 20px; height: 20px; }
