/* The Ash Counselling — polished wrapper for the embedded HighLevel contact form.
   This file does not modify global styles.css or styles inside the cross-origin iframe. */

.contact-form-section {
  overflow: hidden;
}

.contact-form-grid {
  align-items: start;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.contact-form-intro {
  position: sticky;
  top: 7.5rem;
}

.contact-form-notes {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(54, 76, 63, .22);
  display: grid;
  gap: 1.15rem;
}

.contact-form-notes p {
  margin: 0;
  display: grid;
  gap: .25rem;
}

.contact-form-notes strong {
  font-size: .78rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #536b59;
}

.contact-form-notes span {
  color: #33483c;
  line-height: 1.6;
}

.contact-form-notes a {
  color: #33483c;
  text-underline-offset: .22em;
}

.contact-form-card {
  width: min(100%, 760px);
  justify-self: end;
  padding: clamp(1.35rem, 3vw, 2.25rem);
  border: 1px solid rgba(77, 101, 83, .14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(148, 167, 141, .12), transparent 34%),
    rgba(251, 248, 241, .88);
  box-shadow: 0 24px 70px rgba(53, 68, 57, .09);
}

.contact-form-card__header {
  padding: .15rem .2rem 1.25rem;
}

.contact-form-card__kicker {
  margin: 0 0 .55rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: #6c7f6e;
}

.contact-form-card__header h3 {
  margin: 0;
  color: #263a30;
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 500;
  line-height: 1.05;
}

.contact-form-card__header > p:last-child {
  margin: .6rem 0 0;
  max-width: 34rem;
  color: #526057;
  line-height: 1.6;
}

.contact-crm-embed {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
  background: transparent;
}

/* Let HighLevel's form_embed.js control the iframe height.
   Avoiding a fixed/minimum height removes the large empty block after submission. */
.contact-crm-embed iframe {
  display: block;
  width: 100% !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: transparent;
}

.contact-form-card__privacy {
  margin: 1rem .2rem 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(77, 101, 83, .13);
  color: #657067;
  font-size: .82rem;
  line-height: 1.55;
  text-align: center;
}

.contact-form-card__privacy a {
  color: #445c4c;
  text-underline-offset: .2em;
}

@media (max-width: 900px) {
  .contact-form-grid {
    gap: 2rem;
  }

  .contact-form-intro {
    position: static;
  }

  .contact-form-card {
    justify-self: stretch;
    width: 100%;
    border-radius: 22px;
  }
}

@media (max-width: 620px) {
  .contact-form-card {
    padding: 1rem;
    border-radius: 18px;
  }

  .contact-form-card__header {
    padding: .2rem .25rem 1rem;
  }

  .contact-crm-embed {
    border-radius: 14px;
  }
}
