/*
 * get-a-proposal.css — Toro Legal Marketing
 *
 * Page-specific styling for /get-a-proposal/ (page title:
 * "Request a proposal"). Three custom sections live here:
 *   1. .tlm-gap-not-ready — cream off-ramp note + Start-a-conversation link
 *   2. .tlm-gap-form      — form section heading + GF embed shell
 *
 * The hero (service-page-hero --text-only) + the what-to-expect
 * process (service-page-process --text-only) reuse existing module
 * CSS verbatim.
 */

/* ============================================
 * Section 2 — Not ready for a proposal?
 * ============================================
 * Off-ramp callout between the cream hero and the white process
 * section. Cream card with an arrow link to /start-a-conversation/.
 */

.tlm-gap-not-ready {
  background: var(--color-white);
  padding-block: var(--space-2xl) 0;
}

.tlm-gap-not-ready__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  background: var(--color-cream);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
}

.tlm-gap-not-ready__copy {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-navy);
}

.tlm-gap-not-ready__lead {
  display: block;
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-2xs);
}

/* CTA uses .tlm-button + --ghost-on-light from the locked buttons.css.
   Only layout overrides here: keep it from stretching full-width on
   mobile, line it up beside the copy on tablet+. */
.tlm-gap-not-ready__cta {
  align-self: flex-start;
}

@media (min-width: 768px) {
  .tlm-gap-not-ready__card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    padding: var(--space-xl);
  }
  .tlm-gap-not-ready__cta {
    align-self: center;
    flex-shrink: 0;
  }
}

/* ============================================
 * Section 4 — Request a proposal form
 * ============================================
 * Heading + lead + Gravity Form embed. Form styling itself lives
 * in the global forms.css module (auto-enqueued via the
 * gform_enqueue_scripts hook).
 */

.tlm-gap-form {
  background: var(--color-cream);
  padding-block: var(--space-3xl);
}

.tlm-gap-form__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  max-width: 720px;
  margin-inline: auto;
}

.tlm-gap-form__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  text-align: left;
}

/* Left-align the "What to expect" process intro on mobile only (the
   shared service-page-process module centres it; this page wants it
   left on narrow screens). Centre restored at 768 to match the module
   everywhere else. */
.tlm-gap-expect .tlm-service-page-process__intro {
  align-items: flex-start;
  text-align: left;
}

@media (min-width: 768px) {
  .tlm-gap-expect .tlm-service-page-process__intro {
    align-items: center;
    text-align: center;
  }
}

.tlm-gap-form__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: var(--weight-regular);
  font-size: var(--text-h2-mobile);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  color: var(--color-navy);
}

.tlm-gap-form__lead {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-navy-muted);
}

.tlm-gap-form__form {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
}

@media (min-width: 1024px) {
  .tlm-gap-form__title {
    font-size: var(--text-h3);
  }
}
