/* Phones: the consultation form comes right after the headline.
   Client, 2026-11-12: "there's a lot of text at the top and the booking is
   quite far down", and the gold button just above the form was too much.

   .hero-story becomes display:contents so its children join the hero's
   flex column and can be reordered around the form. Desktop is untouched. */
@media (max-width: 700px) {
  .reference-hero .hero-layout { gap: 0; }
  .reference-hero .hero-story { display: contents; }

  .reference-hero .hero-story > .eyebrow { order: 1; }
  .reference-hero #hero-title { order: 2; }
  .reference-hero .hero-subtitle { order: 3; }
  .reference-hero .hero-form.form-shell { order: 4; margin-top: 28px; }
  .reference-hero .hero-checks { order: 5; margin-top: 36px; }
  .reference-hero .hero-service-note { order: 6; }

  /* The note is now the last line of the hero. Clear the 55 px wave
     (.section-curve) so it does not cover the note's second line. */
  .reference-hero .hero-layout { padding-bottom: 88px; }

  /* The form is right there; a button pointing at it is noise. */
  .reference-hero .hero-book { display: none; }
}
