/* Shared mobile refinement for the homepage and all service pages. */
html{scroll-padding-top:112px;-webkit-text-size-adjust:100%}
body{overflow-wrap:break-word}
a,button,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}
@media(max-width:900px){
  .mobile-nav-panel{max-height:calc(100vh - 104px);overflow-y:auto;overscroll-behavior:contain}
  .mobile-nav-panel a{min-height:48px;display:flex;align-items:center}
  .compare{touch-action:pan-y}
  .compare input[type="range"]{height:54px}
  .card,.review,.step,.seo-box,.info-card{border-radius:10px}
}
@media(max-width:620px){
  body{font-size:16px;line-height:1.65}
  .container,.wrap{width:min(92%,1120px)}
  .site-header{box-shadow:0 5px 20px rgba(8,38,64,.12)}
  .hero h1{font-size:clamp(34px,10vw,42px);line-height:1.05}
  .hero-actions .btn,.cta-band .btn,.cta .btn{min-height:50px}
  .compare{border-radius:10px;overflow:hidden}
  .compare img{height:300px;object-fit:cover}
  .compare-label{font-size:12px}
  summary{min-height:48px;display:flex;align-items:center;padding-right:8px}
  input,select,textarea,button{min-height:48px}
  input[type="checkbox"]{min-height:0}
}

/* Service pages use a compact, touch-friendly horizontal navigation on mobile. */
@media(max-width:850px){
  body>.top{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:7px 4%}
  body>header{padding:9px 4% 0;gap:8px 12px;box-shadow:0 5px 18px rgba(8,38,64,.09)}
  body>header .logo{gap:9px}
  body>header .logo img{width:52px;height:52px}
  body>header .logo span,body>header .logo span i{font-size:18px}
  body>header nav{order:3;width:100%;gap:6px;padding:7px 0 9px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity}
  body>header nav::-webkit-scrollbar{display:none}
  body>header nav a{flex:0 0 auto;scroll-snap-align:start;padding:8px 12px;border-radius:999px;background:#f2f6f4;font-size:13px;line-height:1.2}
  body>header nav a:hover{background:#e7f3e9}
  body>header+.hero,body>header+main .hero{scroll-margin-top:120px}
  .content{padding:55px 0}
  .content h2{font-size:clamp(30px,8vw,38px)}
  .content h3{font-size:22px;margin-top:31px}
  .aside{border-radius:9px}
}
@media(max-width:520px){
  body>.top span:nth-child(n+2){display:none}
  body>header{top:0}
  body>header .logo img{width:48px;height:48px}
  body>header .logo span,body>header .logo span i{font-size:17px}
  body>main .hero{padding:50px 4% 56px}
  body>main .hero h1{font-size:clamp(34px,10vw,42px)}
  body>main .hero p{font-size:17px;line-height:1.6}
  .trust{grid-template-columns:1fr 1fr}
  .trust div{padding:16px 12px;font-size:14px}
  .content{padding:46px 0}
  .grid{gap:28px}
  .info-card,.callout,.aside{padding:19px}
  .service-link{min-height:50px}
  .cta{padding:35px 5%}
  .cta h2{font-size:28px;line-height:1.15}
  .cta .btn{width:100%}
  footer{padding:42px 6% 22px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
