/* ================================================================
   ado-contact.css — Contact page body prose styling
   CARD 916: Styles the "intro text after the hero/banner" on the
   contact page (/contact/) so it flows with the rest of the site.

   Requires type: contact in content/contact.md front matter so that:
   - body class  = page-contact
   - section class = section-contact   (different from section-contact-redesign)

   Scoped tightly to .section-contact to avoid touching any other page.
   Never edits styles.trimmed.css / bootstrap.trimmed.css.
   ================================================================ */


/* ── Section shell ────────────────────────────────────────────── */
.section-contact {
  background:
    radial-gradient(120% 130% at 80% -10%, rgba(253, 58, 37, 0.04) 0%, rgba(253, 58, 37, 0) 55%),
    #f6f6f8;
}


/* ── Prose card: lift the content off the plain background ───── */
.section-contact .prose {
  max-width: 820px;
  padding: 48px 52px;
  background: #ffffff;
  border: 1px solid rgba(24, 24, 27, 0.09);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(24, 24, 27, 0.07);
}


/* ── Opening paragraph (the "what the call IS" statement) ─────── */
.section-contact .prose > p:first-child {
  font-size: 1.12rem;
  line-height: 1.8;
  color: #3f3f46;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(24, 24, 27, 0.08);
  margin-bottom: 28px;
}


/* ── Section eyebrow: <p> whose only content is <strong> ─────── */
/* e.g. "**What to expect**" renders as <p><strong>What to expect</strong></p> */
.section-contact .prose > p > strong:only-child {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand, #FD3A25);
}

/* Tighten the gap between the eyebrow and the list that follows it */
.section-contact .prose > p:has(> strong:only-child) {
  margin-bottom: 4px;
}


/* ── "What to expect" numbered steps ─────────────────────────── */
.section-contact .prose > ol {
  counter-reset: contact-step;
  list-style: none;
  padding: 0;
  margin: 16px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-contact .prose > ol > li {
  counter-increment: contact-step;
  position: relative;
  padding: 16px 22px 16px 66px;
  background: #f9f9fb;
  border: 1px solid rgba(24, 24, 27, 0.07);
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.65;
  color: #27272a;
}

/* Numbered badge replacing the default ::before bullet */
.section-contact .prose > ol > li::before {
  content: counter(contact-step);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--brand, #FD3A25) 0%, #c5271a 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
}

/* Strong inside each step = the bold step title; keep it dark */
.section-contact .prose > ol > li strong {
  color: #18181b;
  font-weight: 700;
}


/* ── Info paragraphs: "Who you'll speak with" + "Sales" ──────── */
/* These are <p><strong>Label</strong> - full text...</p>         */
/* strong is FIRST child but not the ONLY child                   */
.section-contact .prose > p:not(:first-child):has(> strong:first-child:not(:only-child)) {
  padding: 14px 18px;
  background: #f4f4f6;
  border-left: 3px solid var(--brand, #FD3A25);
  border-radius: 0 10px 10px 0;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.65;
  color: #3a3a42;
}

.section-contact .prose > p > strong:first-child:not(:only-child) {
  color: #18181b;
}


/* ── Trust footer: <em> tag line ──────────────────────────────── */
.section-contact .prose > p:last-child {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(24, 24, 27, 0.08);
  margin-bottom: 0;
}

.section-contact .prose > p:last-child em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #71717a;
}


/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 767px) {
  .section-contact .prose {
    padding: 28px 22px;
  }

  .section-contact .prose > p:first-child {
    font-size: 1rem;
  }

  .section-contact .prose > ol > li {
    padding: 14px 16px 14px 56px;
  }

  .section-contact .prose > ol > li::before {
    left: 14px;
    width: 28px;
    height: 28px;
  }
}
