/* Tablet layout: portrait widths and larger touch-screen landscape widths. */
@media (min-width:761px) and (max-width:1100px), (min-width:1101px) and (max-width:1366px) and (any-pointer:coarse) {
 body.refined { --tablet-gutter:28px; }
 body.refined>header,body.refined>header.header-compact { width:calc(100% - 48px);max-width:none;gap:16px!important;flex-wrap:nowrap!important; }
 body.refined>header #main-nav { display:none!important; }
 body.refined>header #main-nav.open { display:flex!important;position:absolute;inset:calc(100% + 8px) 0 auto;flex-direction:column;align-items:stretch;width:100%;max-height:calc(100dvh - 120px);overflow-y:auto;padding:16px;background:#fff;border-radius:16px;box-shadow:0 12px 30px #0001; }
 body.refined>header #main-nav a { display:flex;align-items:center;min-height:48px;padding:10px 14px; }
 body.refined>header #main-nav .mobile-languages { display:flex;gap:16px;border-top:1px solid #dedbd2;padding-top:8px; }
 body.refined>header .menu { display:grid!important;place-items:center;order:4;margin-left:auto;width:48px;min-width:48px;height:48px;padding:0;border:0;background:transparent;font-size:24px; }
 body.refined>header .nav-cta { display:none!important; }
 body.refined .section { padding:48px var(--tablet-gutter); }
 body.refined .section-heading { align-items:flex-start;gap:24px; }
 body.refined .section-heading>* { min-width:0; }
 body.refined .hero { margin-inline:24px;min-height:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
 body.refined .hero-copy { padding:28px!important; }
 body.refined .hero .actions { display:flex;flex-wrap:wrap;gap:12px; }
 body.refined .hero .actions .button { min-height:48px; }
 body.refined .hero-media { justify-content:center; }
 body.refined .hero-media .hero-comparison { flex:none;aspect-ratio:3/2;height:auto!important;min-height:0!important;width:100%; }
 body.refined .hero-comparison>img { object-fit:contain; }
 body.refined .product-grid,body.refined .directory-grid,body.refined main .solution-tasks .directory-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:24px; }
 body.refined .product-copy { min-height:0; }
 body.refined .product-visual img { width:100%;height:auto;aspect-ratio:3/2;object-fit:cover; }
 body.refined .company-contact { flex-wrap:wrap;gap:20px; }
 body.refined .company-contact .actions { margin:0;flex-wrap:wrap;flex-shrink:1; }
 body.refined .service-summary .assurance ul { grid-template-columns:repeat(3,minmax(0,1fr));gap:20px; }
 body.refined .calc-wizard { padding:28px; }
 body.refined .calc-wizard .wizard-shell { width:100%;max-width:760px;padding:28px;margin-inline:auto; }
 body.refined .calc-wizard .calc-contact .form-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:16px; }
 body.refined :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea) { font-size:16px!important;min-height:48px;width:100%;box-sizing:border-box; }
 body.refined :is(.button,.film-tabs button,.film-view-button,.wizard-film,.wizard-back,.pg-switch button,.pg-finishes button) { min-height:48px; }
 body.refined :is(.comment-toggle,.sizing-guide,.result-includes)>summary { min-height:44px;padding-block:12px; }
 body.refined dialog { max-width:680px;width:calc(100% - 64px);max-height:calc(100dvh - 48px);overflow-y:auto; }
 body.refined .site-footer { grid-template-columns:1.2fr 1fr 1fr;gap:28px;padding:36px 28px; }
 body.refined .site-footer a { display:inline-flex;align-items:center;min-height:44px; }
}
@media (min-width:761px) and (max-width:950px) {
 body.refined .hero { grid-template-columns:minmax(0,1fr); }
 body.refined .hero .actions { flex-direction:row; }
 body.refined .hero .actions .button { width:auto;flex:1; }
 body.refined .hero-media { width:100%; }
 body.refined .hero-media .hero-comparison { max-height:none; }
 body.refined .section-heading { display:block; }
 body.refined .section-heading>p { max-width:65ch; }
 body.refined.home-page .service-summary { grid-template-columns:minmax(0,1fr); }
 body.refined.home-page .service-summary .service-trust>.home-warranty,body.refined.home-page .service-summary>.video-benefit,body.refined.home-page .service-summary .service-trust>.assurance { grid-area:auto; }
 body.refined .pg-case,body.refined .craft,body.refined main .page-hero.solutions-photo-hero { grid-template-columns:minmax(0,1fr);gap:24px; }
 body.refined .pg-copy { max-width:65ch; }
 body.refined .craft-art { max-width:320px;justify-self:center; }
}
