/* Shared presentation fixes, loaded after the existing desktop stylesheet. */
.mobile-menu { display: none; }
.brand .brand-hours { display: inline; }
.contact-icon { flex: none; }

/* Both numbered home links and unnumbered local links share this component.
   Flex layout avoids reserving the old 40px number column for a service name. */
.demand-list { min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.demand-list .demand { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 56px; padding: 14px 16px; border-radius: 12px; }
.demand-list .demand > b { flex: 0 0 26px; }
.demand-list .demand > span { flex: 1 1 0; min-width: 0; font-size: 14px; line-height: 1.45; white-space: normal; word-break: normal; overflow-wrap: anywhere; }
.demand-list .demand > i { flex: 0 0 28px; width: 28px; height: 28px; margin-left: auto; display: grid; place-items: center; border-radius: 50%; background: #eef5fa; color: #0a69b2; font-size: 18px; line-height: 1; }
.demand-list .demand:focus-visible { outline: 3px solid #0d78cf; outline-offset: 3px; }
@media (hover: hover) {
  .demand-list .demand:hover { background: #fffaf0; transform: translateY(-1px); }
  .demand-list .demand:hover > i { background: var(--yellow); color: var(--navy); }
}

@media (max-width: 650px) {
  html { scroll-padding-top: 110px; scroll-padding-bottom: calc(var(--contactbar-height, 76px) + 16px); -webkit-text-size-adjust: 100%; }
  body { padding-bottom: calc(var(--contactbar-height, 76px) + 16px); }
  header .top { padding: 7px 12px; font-size: 10px; line-height: 1.5; }
  header .top strong { letter-spacing: .075em; font-weight: 800; }
  header > nav { width: calc(100% - 32px); height: 64px; gap: 12px; position: relative; }
  header .brand { min-width: 0; font-size: clamp(16px, 4.6vw, 19px); line-height: 1.15; }
  header .brand > b { flex: none; width: 34px; height: 38px; margin-right: 9px; border-radius: 11px 11px 11px 3px; box-shadow: none; }
  header .brand > span { min-width: 0; }
  header .brand small { font-size: 8px; letter-spacing: .105em; line-height: 1.4; margin-top: 5px; white-space: nowrap; }
  header .brand .brand-hours, header .call, header .nav-mini { display: none; }
  .mobile-menu { display: block; position: relative; margin-left: auto; flex: none; }
  .mobile-menu > summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #f6f8fa; cursor: pointer; }
  .mobile-menu > summary::-webkit-details-marker { display: none; }
  .mobile-menu[open] > summary { background: #fff4c5; border-color: #d3b54e; }
  .mobile-menu-panel { position: absolute; right: 0; top: calc(100% + 12px); z-index: 70; width: min(260px, calc(100vw - 32px)); padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px #071c2d24; }
  .mobile-menu-panel a { display: flex; align-items: center; min-height: 46px; padding: 10px 13px; border-radius: 8px; font-size: 15px; font-weight: 650; }
  .mobile-menu-panel a:hover { background: #f2f7fa; }
  .hero .wrap { display: flex; flex-direction: column; align-items: stretch; min-height: 0; gap: 0; padding-top: 26px; padding-bottom: 24px; }
  .hero .hero-copy { display: contents; }
  .hero .eyebrow, .hero .hero-pills, .hero .actions, .service .actions, .service-hero .actions, .coverage-call, .final-actions { display: none; }
  .hero .lead > strong { display: none; }
  .hero h1 { order: 1; font-size: clamp(32px, 8.65vw, 40px); line-height: 1.08; letter-spacing: -.045em; margin: 0; }
  .hero .lead { order: 2; font-size: 15px; line-height: 1.6; margin: 15px 0 0; }
  .hero-media { order: 3; margin-top: 20px; min-width: 0; }
  .hero .hero-media > img { width: 100%; height: auto; aspect-ratio: 16 / 10; max-height: 310px; margin: 0; object-fit: cover; border-radius: 16px; box-shadow: none; }
  .hero .hero-photo-foot { display: block; padding: 9px 2px 0; }
  .hero .hero-photo-foot span { font-size: 9px; letter-spacing: .07em; }
  .hero .hero-photo-foot b { display: none; }
  .hero .notice { order: 4; margin: 15px 0 0; padding: 12px 13px; font-size: 11px; line-height: 1.6; border-radius: 10px; }
  .hero::before { width: 290px; height: 290px; left: -150px; top: -175px; }
  .hero::after { display: none; }
  .service h1 { font-size: clamp(30px, 8vw, 40px); line-height: 1.1; overflow-wrap: anywhere; }
  .service .lead { font-size: 16px; line-height: 1.6; }

  /* Provincial and municipal heroes: keep the title and SEO, use only the dock. */
  .service-hero .section { padding-top: 28px; padding-bottom: 30px; }
  .service-hero .eyebrow { display: none; }
  .service-hero h1 { font-size: clamp(30px, 8vw, 38px); line-height: 1.12; overflow-wrap: anywhere; }
  .service-hero .lead { font-size: 15px; line-height: 1.6; margin-top: 14px; }
  .service-hero .breadcrumbs { margin-bottom: 14px; font-size: 11px; line-height: 1.5; color: #bed0de; }
  .service-hero .breadcrumbs a { color: #d2e5f2; }
  .service-hero + .wrap.section { padding-top: 32px; padding-bottom: 36px; }
  .demand-list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .demand-list .demand { min-height: 56px; padding: 12px 14px; }

  .quick-item { min-width: 0; padding: 17px 7px; gap: 9px; }
  .quick-icon { flex: none; }
  .quick-item b { font-size: 12px; line-height: 1.3; }
  .quick-item small { font-size: 10px; line-height: 1.4; }
  .mobile-bar.contact-dock { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); border-top: 1px solid #e0e6eb; background: #fffffff5; box-shadow: 0 -3px 18px #071c2d08; }
  .contact-dock .btn { min-width: 0; min-height: 52px; gap: 9px; padding: 9px 10px; border-radius: 12px; box-shadow: none; line-height: 1.2; }
  .contact-dock .btn:hover { transform: none; }
  .contact-dock .contact-icon { width: 21px; height: 21px; }
  .contact-dock .contact-label { display: block; text-align: left; }
  .contact-dock strong { display: block; font-size: 14px; font-weight: 800; white-space: nowrap; }
  .contact-dock small { display: block; font-size: 11px; line-height: 1.25; font-weight: 650; margin-top: 3px; white-space: nowrap; }
  .contact-dock .wa { background: #087d4a; color: #fff; }
  footer { padding-bottom: 36px; }
  a:focus-visible, summary:focus-visible { outline: 3px solid #0d78cf; outline-offset: 3px; }
}
@media (max-width: 350px) {
  header .brand small { font-size: 7px; letter-spacing: .08em; }
  header .top { font-size: 9px; }
  .contact-dock .btn { gap: 6px; padding-inline: 8px; }
  .contact-dock .contact-icon { width: 18px; height: 18px; }
  .contact-dock small { font-size: 10px; }
  .quick-icon { width: 29px; height: 32px; }
  .quick-item b { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .demand { transition: none; }
}
