/* =========================================================
   EpicTools — contact.css
   Styles specific to the contact page.
   Requires main.css and privacy-policy.css to be loaded first.
   ========================================================= */

/* ---------------------------------------------------------
   Intro text
   --------------------------------------------------------- */
.contact-intro {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 56ch;
  margin-bottom: var(--sp-8);
}

/* ---------------------------------------------------------
   Contact Form Card
   --------------------------------------------------------- */
.contact-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-solid);
  border-radius: var(--radius-xl);
  padding: var(--sp-10);
  box-shadow: var(--shadow);
  margin-bottom: var(--sp-8);
  min-height: 320px;
}

@media (max-width: 640px) {
  .contact-card {
    padding: var(--sp-6) var(--sp-5);
    border-radius: var(--radius-lg);
  }
}

/* ---------------------------------------------------------
   Zoho Form Container
   Zoho embed iframes / scripts drop in here.
   The placeholder is removed once the form is embedded.
   --------------------------------------------------------- */
#zoho-form-container {
  width: 100%;
}

/* Make any Zoho iframe fill the card width */
#zoho-form-container iframe {
  width: 100% !important;
  border: none;
  display: block;
}

/* ---------------------------------------------------------
   Placeholder — shown until Zoho form is embedded
   --------------------------------------------------------- */
.contact-form-pending {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  min-height: 240px;
  color: var(--color-text-subtle);
}

.contact-form-pending__icon {
  font-size: 3rem;
  line-height: 1;
}

.contact-form-pending__text {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted);
}
