/* Laptop Clinic mobile-first refinements */
html{scroll-padding-top:86px}body{overflow-x:hidden}.mobile-menu-toggle,.mobile-menu,.mobile-action-bar{display:none}.booking-anchor{scroll-margin-top:92px}

@media (max-width: 820px){
  html{scroll-padding-top:76px}
  body{padding-bottom:calc(74px + env(safe-area-inset-bottom))}
  .site-header.public-header{min-height:66px;padding:10px 14px;gap:10px}
  .public-header .main-nav{display:none}
  .mobile-menu-toggle{display:grid;place-items:center;width:44px;height:44px;padding:10px;border:1px solid #d8dee7;border-radius:10px;background:#fff;cursor:pointer}
  .mobile-menu-toggle span{display:block;width:20px;height:2px;margin:2px 0;border-radius:2px;background:#172033;transition:.18s ease}
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
  .mobile-menu{position:absolute;top:calc(100% + 1px);left:12px;right:12px;z-index:50;display:grid;gap:4px;padding:10px;border:1px solid #dfe4eb;border-radius:12px;background:#fff;box-shadow:0 18px 46px rgba(15,23,42,.14)}
  .mobile-menu[hidden]{display:none}
  .mobile-menu a{min-height:46px;display:flex;align-items:center;padding:0 12px;border-radius:9px;color:#344054;font-size:14px;font-weight:700}
  .mobile-menu a:not(.btn):active{background:#f2f4f7}
  .mobile-menu .btn{justify-content:center;color:#fff}

  .hero-simple{grid-template-columns:1fr;gap:24px;padding:34px 16px 34px}
  .hero-copy{padding-top:0}
  .hero-copy h1{margin:10px 0 14px;font-size:clamp(36px,10vw,46px);line-height:1.04;letter-spacing:-.045em}
  .hero-copy>p{font-size:15px;line-height:1.58}
  .trust-line{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:20px}
  .trust-line span{display:flex;align-items:center;min-height:42px;padding:8px 10px;font-size:11px;line-height:1.25}
  .coverage-note{margin-top:12px!important}
  .booking-anchor{scroll-margin-top:78px}
  .booking-card{padding:18px;border-radius:14px;box-shadow:0 10px 32px rgba(15,23,42,.07)}
  .form-title{margin-bottom:16px}.form-title h2{font-size:23px;line-height:1.15}
  .booking-card label,.auth-card label,.profile-grid label,.request-pane label{font-size:13px;gap:7px;margin-bottom:13px}
  .booking-card input,.booking-card select,.booking-card textarea,.auth-card input,.profile-grid input,.request-pane input,.request-pane textarea,.request-pane select,.editor-row input{min-height:48px;padding:12px;font-size:16px;border-radius:10px}
  .booking-card textarea,.request-pane textarea{min-height:116px}
  .form-row,.profile-grid{grid-template-columns:1fr;gap:0}
  .btn{min-height:46px;padding:0 16px;font-size:14px}
  .btn-block{min-height:50px}
  .form-help{font-size:11px;line-height:1.5}

  .section{padding:42px 16px}.section.compact,.pricing-section{padding-top:28px}
  .section-title{margin-bottom:18px}.section-title h2{font-size:30px;line-height:1.08}.section-title p{font-size:13px;line-height:1.5}
  .service-list{grid-template-columns:1fr;gap:9px}
  .service-list a{min-height:84px;padding:16px;border-radius:12px}
  .service-list b{font-size:15px}.service-list span{font-size:12px}
  .price-table{border-radius:12px}
  .price-table>div{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:14px 13px;font-size:12px;align-items:center}
  .price-table strong{white-space:nowrap}
  .cta-strip{margin:0 16px 34px;padding:18px;align-items:stretch;flex-direction:column;border-radius:12px}
  .cta-strip .btn{width:100%}
  .site-footer{padding:22px 16px calc(92px + env(safe-area-inset-bottom));align-items:flex-start;flex-direction:column;line-height:1.55}

  .mobile-action-bar{position:fixed;left:0;right:0;bottom:0;z-index:60;display:grid;grid-template-columns:1fr 1.35fr;gap:8px;padding:9px 12px calc(9px + env(safe-area-inset-bottom));border-top:1px solid #dfe4eb;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);box-shadow:0 -8px 28px rgba(15,23,42,.08)}
  .mobile-action-bar a{display:flex;align-items:center;justify-content:center;min-height:48px;border:1px solid #d8dee7;border-radius:10px;background:#fff;color:#172033;font-size:14px;font-weight:800}
  .mobile-action-bar a.primary{border-color:#2563eb;background:#2563eb;color:#fff}

  .auth-wrap{min-height:auto;padding:24px 14px 40px}.auth-card{padding:22px 18px;border-radius:14px;box-shadow:none}.auth-intro h1{font-size:30px}
  .simple-header{min-height:64px;padding:10px 14px}.simple-header .brand small{display:none}

  .dashboard-bar{position:sticky;top:0;padding:10px 12px;gap:8px;min-height:64px}
  .dashboard-bar .brand{min-width:0}.dashboard-bar .brand>span:last-child{min-width:0}.dashboard-bar .brand b{font-size:14px}.dashboard-bar .brand small{font-size:9px}
  .dashboard-bar nav{gap:8px}.dashboard-bar nav a:not(.btn){display:none}.dashboard-bar nav .btn{min-height:42px;padding:0 12px}
  .app-content{padding:20px 12px 42px}
  .page-head{margin-bottom:16px;align-items:stretch;flex-direction:column}.page-head h1{font-size:28px}.page-head .btn,.page-head button{width:100%}
  .summary-grid,.customer-summary{grid-template-columns:1fr 1fr;gap:8px}.summary-card{padding:14px}.summary-card strong{font-size:22px}
  .panel{border-radius:12px;margin-bottom:12px}.panel-head{padding:14px;align-items:flex-start;flex-direction:column}.panel-head>button,.panel-head>.btn,.panel-head>a.btn{width:100%;min-height:44px}
  .table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.data-table{font-size:11px}.data-table th,.data-table td{padding:12px;white-space:nowrap}
  .admin-grid{grid-template-columns:1fr;min-height:0}.admin-grid>.table-wrap{border-right:0;border-bottom:1px solid #edf0f4}.request-pane-head{padding:13px}.profile-grid{padding:14px}.history-list{padding:10px}.service-history-card{grid-template-columns:1fr;padding:14px}.editor-row{grid-template-columns:1fr;padding:12px}
}

@media (max-width: 430px){
  .brand-logo{width:174px!important;max-width:56vw!important}
  .hero-simple{padding-top:26px}.hero-copy h1{font-size:37px}
  .trust-line{grid-template-columns:1fr}
  .summary-grid,.customer-summary{grid-template-columns:1fr 1fr}
  .summary-card span{font-size:9px}.summary-card strong{font-size:21px}
  .price-table>div{font-size:11px}.price-table .price-head{font-size:9px}
}

@media (prefers-reduced-motion: reduce){*{scroll-behavior:auto!important;transition:none!important}}
