/* Mobile refinements shared by every page. Loaded last so it can tune the base, Southwest and subpage styles. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
a,button,select,summary{-webkit-tap-highlight-color:rgba(166,78,53,.18);touch-action:manipulation}
.mobile-actions{display:none}

@media(max-width:760px){
  /* Sticky call / estimate bar for phones */
  .mobile-actions{display:grid;grid-template-columns:1fr 1.25fr;gap:8px;position:fixed;left:0;right:0;bottom:0;z-index:30;padding:8px calc(10px + env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) calc(10px + env(safe-area-inset-left,0px));background:rgba(50,45,42,.96);border-top:3px solid #a95137;box-shadow:0 -8px 22px rgba(30,24,22,.22);transition:transform .25s ease}
  .mobile-actions.is-hidden{transform:translateY(110%)}
  .mobile-actions a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 12px;border-radius:14px 2px 14px 2px;font:700 15px/1.1 Arial,Helvetica,sans-serif;text-decoration:none;white-space:nowrap}
  .mobile-actions svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .mobile-call{background:#2f6968;color:#fff9e9}
  .mobile-estimate{background:#f3c998;color:#4d332d}
  body{padding-bottom:calc(68px + env(safe-area-inset-bottom,0px))}
  body.dialog-open .mobile-actions{display:none}

  /* The footer already offers the website plan; keep the floating copy from covering content */
  .floating-plan{display:none}

  /* Let the footer brand wrap on narrow phones instead of pushing the page sideways */
  .site-footer>div{white-space:normal;min-width:0;max-width:100%}
  .site-footer{padding-bottom:40px}

  /* Comfortable tap targets for standalone links */
  .text-link,.sub-text-link,.service-feature>a,.about-strip a,.sub-aside>a,.plan-trigger{display:inline-flex;align-items:center;min-height:44px}
  .breadcrumbs a,.footer-nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 4px}
  .site-footer p a,.phone-slot a{display:inline-block;padding:10px 0;margin:-10px 0}
  .brand{min-height:44px}
  .primary-nav a{min-height:48px;display:flex;align-items:center}

  /* Keep small uppercase labels readable */
  .brand-text small,.site-footer>div span{font-size:10px}
  .hero-visual small,.card-place,.sub-service-mark span,.sub-location span{font-size:10px}
  .site-footer p{font-size:13px}
  .preview-bar{font-size:10px;line-height:1.4;padding-top:6px;padding-bottom:6px}

  /* Avoid stray horizontal scroll on any page */
  html,body{overflow-x:clip}
  img,svg,video{max-width:100%}
}

@media(max-width:360px){
  .mobile-actions{grid-template-columns:1fr 1fr;gap:6px}
  .mobile-actions a{font-size:14px;padding:0 8px;gap:6px}
  .brand-text strong{font-size:12px;letter-spacing:.08em}
}

@media(prefers-reduced-motion:reduce){.mobile-actions{transition:none}}
