/* Mobile refinements shared by saved pages; no page-content replacement. */
@media (max-width: 1023px) {
  .desktop-nav { display: none; }
  .site-header { gap: 12px; }
  .header-quote { margin-left: auto; }
  .mobile-menu { display: block; }
  .mobile-menu summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 44px;
    min-height: 44px;
    padding: 8px;
    cursor: pointer;
    list-style: none;
    font-size: 12px;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 4px;
    padding: 12px 20px max(20px, env(safe-area-inset-bottom));
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--card-shadow);
  }
  .mobile-menu nav a { display: flex; align-items: center; min-height: 44px; }
  .quote-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .quote-intro { max-width: 680px; }
  .quote-photo { display: none; }
}
@media (max-width: 767px) {
  .hero > *, .section-heading > *, .quote-layout > *, .footer-grid > *,
  .contact-grid > *, .stats-grid > * { min-width: 0; }
  .section-heading h2, .benefits-grid h2, .contact-band h2,
  .quote-intro h1 { overflow-wrap: anywhere; }
  .button, .wp-block-button__link { min-height: 48px; }
  .header-quote { min-height: 44px; }
  .footer-service a, .quote-phone { min-height: 44px; display: inline-flex; align-items: center; }
  .footer-contact a { overflow-wrap: anywhere; }
  .quote-layout { padding-block: 28px 40px; }
  .quote-intro h1 { font-size: 34px; line-height: 1.12; }
  .quote-intro > p:not(.page-kicker) { font-size: 15px; margin-top: 16px; }
  .quote-intro .quote-note { padding: 14px 16px; }
  .quote-intro .page-kicker { margin-bottom: 12px; }
  .pricing-page .pricing-result-heading > * { min-width: 0; overflow-wrap: anywhere; }
  .pricing-page .pricing-service-name { overflow-wrap: anywhere; }
  .pricing-page .pricing-selection .button { white-space: normal; text-align: center; }
  .pricing-page .pricing-search input,
  .pricing-page .pricing-family-field select { font-size: 16px; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .contact-band .wp-block-buttons { width: 100%; }
  .contact-band .wp-block-button, .contact-band .wp-block-button__link { width: 100%; }
  .contact-band .wp-block-button__link { justify-content: center; white-space: normal; }
}
@media (max-width: 479px) {
  .site-header { gap: 6px; }
  .mobile-menu summary { font-size: 0; padding: 8px; }
  .mobile-menu summary .icon { width: 20px; height: 20px; }
  .header-quote { padding-inline: 10px; }
  .hero .wp-block-buttons { display: grid; gap: 8px; }
  .hero .wp-block-button__link { width: 100%; justify-content: center; white-space: normal; }
  .contact-band { padding: 24px 20px; }
  .pricing-page .pricing-service { flex-wrap: wrap; gap: 10px; }
  .pricing-page .pricing-service-top { flex: 1 1 140px; }
  .pricing-page .public-repair-price { overflow-wrap: anywhere; }
}
/* WordPress's toolbar is fixed above 600px, absolute below it. */
@media (min-width: 601px) and (max-width: 782px) {
  .admin-bar .wp-site-blocks > header { top: 46px; }
}
@media (min-width: 783px) {
  .admin-bar .wp-site-blocks > header { top: 32px; }
}
