/* ============================================================
   Mobile compaction for the contact page (contact.html).

   Matches homepage / courses mobile hero + section rhythm.
   Desktop unchanged — rules are @media (max-width: 768px).
   ============================================================ */

@media (max-width: 768px) {

  body.page-contact .hero--inner.hero--photo.contact-hero {
    margin-top: 72px;
    padding: 52px 18px 40px;
    background-position: center 42%;
  }

  body.page-contact .hero--inner .eyebrow {
    font-size: 0.68rem;
    margin-bottom: 8px;
  }

  body.page-contact .hero--inner h1 {
    font-size: clamp(1.45rem, 6.2vw, 1.85rem);
    margin-bottom: 10px;
    line-height: 1.18;
  }

  body.page-contact .hero--inner .lead {
    font-size: 0.92rem;
    line-height: 1.45;
    max-width: 34ch;
    margin-inline: auto;
  }

  body.page-contact .hero--inner .hero-actions {
    margin-top: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  body.page-contact .hero--inner .hero-actions .btn {
    width: 100%;
    max-width: none;
    min-height: 44px;
    justify-content: center;
  }

  body.page-contact .content-section--contact {
    padding: 24px 0 40px;
  }

  body.page-contact .content-section--contact .crumb {
    font-size: 0.78rem;
    margin-bottom: 14px;
  }

  body.page-contact .contact-info-card {
    padding: 12px 14px;
    border-radius: 10px;
  }

  body.page-contact .contact-info-card p,
  body.page-contact .contact-info-card address {
    font-size: 0.9rem;
  }

  body.page-contact .contact-mini-note {
    font-size: 0.82rem;
    line-height: 1.45;
  }
}
