/* A compact booking card and a single next action on phone screens. */
.quick-date-picker { display: none; }
.hero-stage #contact .field-error:empty { display: none; }
.hero-stage #contact .field input { scroll-margin-block: 100px 130px; }
.mobile-booking-bar [hidden] { display: none !important; }
.hero-stage #contact .booking-steps { margin-bottom: 16px; }
.hero-stage #contact .booking-description { margin-top: 6px; }
.calendar-step-heading { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; }
.hero-stage #contact .calendar-step-heading .booking-back { justify-content: center; min-width: 44px; margin: 0; padding: 8px; }
.hero-stage #contact .calendar-step-heading .booking-back span { font-size: 21px; }

@media (max-width: 700px) {
  .hero-stage #contact { padding: 18px 18px 0; scroll-margin-top: 0; }
  .hero-stage #contact .consultation-meta { font-size: 12px; line-height: 18px; }
  .hero-stage #contact .booking-steps { display: flex; padding-block: 12px; margin-bottom: 14px; gap: 8px; font-size: 12px; }
  .hero-stage #contact .booking-steps li { flex-direction: row; align-items: center; gap: 5px; white-space: nowrap; }
  .hero-stage #contact .booking-steps li > span { width: 19px; height: 19px; font-size: 10px; }
  .hero-stage #contact h2 { font-size: 25px; line-height: 1.2; }
  .hero-stage #contact .booking-description { font-size: 14px; line-height: 1.4; margin-top: 5px; }
  .hero-stage #contact #project-form { margin-top: 14px; }
  .hero-stage #contact .field { margin-bottom: 11px; }
  .hero-stage #contact .field label { font-size: 13px; line-height: 18px; margin-bottom: 4px; }
  .hero-stage #contact .field input { min-height: 46px; padding: 10px 12px; font-size: 16px; line-height: 24px; }
  .hero-stage #contact .field-hint { font-size: 11px; line-height: 1.4; margin-top: 5px; }
  .hero-stage #contact .nda-option { min-height: 52px; margin-block: 12px; padding: 10px 12px; }
  .hero-stage #contact .nda-copy strong { font-size: 13px; }
  .hero-stage #contact .nda-copy small { font-size: 11px; line-height: 1.35; margin-top: 2px; }
  .hero-stage #contact .booking-consent { font-size: 11px; line-height: 1.45; margin: 9px 0 12px; }
  .hero-stage #contact > .booking-preview-footer { font-size: 11px; line-height: 1.4; padding: 9px 14px; margin: 12px -18px 0; }
  .hero-stage #contact .booking-back { min-height: 44px; margin: -8px 0 2px; padding-block: 8px; font-size: 13px; }
  .hero-stage #contact .quick-date-picker { display: block; margin-top: 14px; }
  .quick-date-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
  .quick-date-toolbar h3 { font: 500 14px Outfit, Arial, sans-serif; color: #272e34; letter-spacing: 0; }
  .quick-date-toolbar > div { display: flex; gap: 6px; }
  .quick-date-toolbar button { width: 44px; min-height: 44px; border: 1px solid #dfe4e8; border-radius: 8px; background: #fff; font: 24px Outfit, sans-serif; color: #52606d; }
  .quick-date-toolbar button:disabled { opacity: .35; cursor: not-allowed; }
  #quick-dates { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 6px; margin-top: 8px; }
  #quick-dates button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; min-height: 64px; padding: 7px 2px; border: 1px solid #dce2e6; border-radius: 9px; background: #fff; color: #52606d; font: 12px Outfit, sans-serif; }
  #quick-dates button strong { font-size: 20px; font-weight: 500; line-height: 1.1; }
  #quick-dates button[aria-pressed=true] { color: #fff; background: #cf461f; border-color: #cf461f; box-shadow: 0 2px 5px #cf461f1a; }
  #toggle-calendar { display: block; margin: 2px 0 0 auto; min-height: 44px; padding: 8px 0 8px 12px; border: 0; background: none; color: #52606d; font: 13px Outfit, sans-serif; text-decoration: underline; text-underline-offset: 3px; }
  #full-calendar { display: none; }
  #full-calendar.is-expanded { display: block; }
  .quick-date-picker:has(#toggle-calendar[aria-expanded=true]) #quick-dates,
  .quick-date-picker:has(#toggle-calendar[aria-expanded=true]) .quick-date-toolbar { display: none; }
  .hero-stage #contact .calendar-toolbar { margin-top: 0; }
  .hero-stage #contact .timezone-field { display: flex; align-items: center; gap: 8px; padding-top: 10px; margin-top: 0; }
  .hero-stage #contact .timezone-field label { font-size: 12px; margin: 0; }
  .hero-stage #contact .timezone-field select { width: auto; min-height: 44px; font-size: 16px; }
  .hero-stage #contact .time-picker { margin-top: 14px; }
  .hero-stage #contact .time-picker h3 { margin-bottom: 8px; font-size: 13px; }
  .hero-stage #contact #time-slots { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
  .hero-stage #contact #time-slots button { min-height: 46px; font-size: 14px; }
  .hero-stage #contact .selected-slot { margin-block: 10px; font-size: 12px; line-height: 1.4; min-height: 17px; }
  .hero-stage #contact .calendar-preview-note { margin-top: 8px; font-size: 11px; line-height: 1.4; }
  .mobile-booking-bar { padding-block: 10px max(12px,env(safe-area-inset-bottom,0px)); }
  .mobile-booking-bar p { flex: 1 1 auto; }
  .mobile-booking-bar strong { font-size: 13px; }
  .mobile-booking-bar p > span { font-size: 11px; line-height: 1.35; }
  .mobile-booking-bar .conversion-cta { min-height: 50px !important; font-size: 16px !important; gap: 12px !important; padding-inline: 14px !important; }
}
@media (max-width: 360px) {
  .hero-stage #contact { padding-inline: 14px; }
  .hero-stage #contact > .booking-preview-footer { margin-inline: -14px; }
  .hero-stage #contact .booking-steps { font-size: 11px; gap: 4px; }
  .hero-stage #contact .booking-steps li { gap: 4px; }
  .calendar-step-heading { grid-template-columns: 44px 1fr; }
  .hero-stage #contact .calendar-step-heading h2 { text-align: left; font-size: 23px; }
  #quick-dates { gap: 4px; }
  .mobile-booking-bar { gap: 8px; padding-inline: 12px; }
  .mobile-booking-bar .conversion-cta { font-size: 15px !important; gap: 8px !important; padding-inline: 12px !important; }
}
