/* MEG v3.3 desktop/laptop proportions. The original visual language is preserved. */
@media(min-width:741px){
  .m-header{height:82px!important;min-height:82px!important}
  .m-nav{width:min(1280px,calc(100% - 48px))!important;grid-template-columns:250px minmax(0,1fr) 150px!important;gap:26px!important}
  .m-brand img{width:242px!important;max-width:242px!important}
  .m-menu{gap:24px!important;font-size:15px!important}
  .m-menu>a,.m-nav-group>a{min-height:40px!important}
  .m-header-cta{height:48px!important;min-width:148px!important;font-size:16px!important}

  body.home .m-hero{min-height:0!important;padding:48px 0 54px!important;background-position:center 53%!important}
  .m-wrap{width:min(1280px,calc(100% - 64px))!important}
  .m-grid{grid-template-columns:minmax(0,1fr) minmax(360px,440px)!important;gap:48px!important;align-items:center!important}
  .m-copy{max-width:700px!important}
  .m-kicker{height:42px!important;padding:0 15px!important;font-size:14px!important}
  body.home .m-title{margin:24px 0 18px!important;font-size:clamp(52px,4.25vw,68px)!important;line-height:1.01!important;letter-spacing:-.043em!important;max-width:680px!important}
  .m-lead{max-width:650px!important;font-size:19px!important;line-height:1.55!important}
  .m-actions{gap:12px!important;margin-top:27px!important}
  .m-btn{height:50px!important;font-size:16px!important}
  .m-btn-primary{min-width:174px!important;padding:0 21px!important}
  .m-btn-call{min-width:235px!important;padding:0 22px!important}
  .m-icon-arrow{width:19px!important;height:19px!important;margin-left:12px!important}
  .m-icon-phone{width:18px!important;height:18px!important;margin-right:10px!important}
  .m-proof{gap:10px!important;margin-top:30px!important;max-width:680px!important}
  .m-proof-card{min-height:88px!important;grid-template-columns:39px 1fr!important;column-gap:9px!important;padding:15px 14px!important;border-radius:17px!important}
  .m-proof-icon{width:31px!important;height:31px!important}.m-proof-icon .m-icon{width:28px!important;height:28px!important}
  .m-proof-card strong{font-size:15px!important}.m-proof-card span:not(.m-proof-icon){font-size:12.5px!important}

  .m-panel{width:100%!important;min-height:0!important;padding:28px 25px 24px!important;border-radius:27px!important}
  .m-panel h2{margin:0 0 17px!important;font-size:30px!important;letter-spacing:-.04em!important}
  .m-support{gap:10px!important}
  .m-support-item{min-height:72px!important;grid-template-columns:45px 1fr!important;column-gap:12px!important;padding:11px 13px!important;border-radius:16px!important}
  .m-support-icon{width:40px!important;height:40px!important;border-radius:12px!important}.m-support-icon .m-icon{width:23px!important;height:23px!important}
  .m-support-item strong{font-size:16px!important}.m-support-item small{font-size:13px!important}
  .m-panel-footer{margin-top:17px!important;padding-top:16px!important;gap:8px!important}
  .m-panel-footer span{min-height:34px!important;padding:0 11px!important;font-size:12.5px!important}
}

@media(min-width:741px) and (max-width:1160px){
  .m-nav{display:flex!important;justify-content:space-between!important}
  .m-menu,.m-header-cta{display:none!important}
  .m-grid{grid-template-columns:1fr!important;gap:30px!important}
  .m-copy{max-width:760px!important}
  .m-panel{max-width:760px!important;justify-self:start!important}
  .m-support{grid-template-columns:1fr 1fr!important}
  .m-panel-footer{grid-column:1/-1!important}
}

@media(min-width:1600px){
  body.home .m-hero{padding-top:54px!important;padding-bottom:60px!important}
}

/* v3.5 ; one desktop header on every page. */
@media(min-width:741px){
  header.meg-site-header{height:82px!important;min-height:82px!important;background:rgba(7,12,18,.96)!important;border-bottom:1px solid rgba(255,255,255,.09)!important;backdrop-filter:blur(16px)!important}
  header.meg-site-header .meg-site-nav{width:min(1280px,calc(100% - 48px))!important;min-height:82px!important;height:82px!important;display:grid!important;grid-template-columns:250px minmax(0,1fr) 150px!important;gap:26px!important;align-items:center!important}
  header.meg-site-header .meg-site-brand{display:flex!important;align-items:center!important;width:242px!important;max-width:242px!important}
  header.meg-site-header .meg-site-brand img{display:block!important;width:242px!important;max-width:242px!important;height:auto!important}
  header.meg-site-header .meg-primary-menu{display:flex!important;justify-content:center!important;align-items:center!important;gap:24px!important;color:#aab6c2!important;font-size:15px!important;font-weight:850!important}
  header.meg-site-header .meg-primary-menu>a,header.meg-site-header .meg-primary-menu .nav-group>a{min-height:40px!important;padding:9px 10px!important;font-size:15px!important;color:#aab6c2!important}
  header.meg-site-header .meg-site-actions{display:flex!important;justify-content:flex-end!important}
  header.meg-site-header .meg-site-actions .btn{height:48px!important;min-width:148px!important;padding:0 19px!important;font-size:16px!important;font-weight:500!important}
  body.home .m-hero{min-height:calc(100vh - 82px)!important;display:flex!important;align-items:center!important;padding-top:48px!important;padding-bottom:54px!important}
}

/* v3.5 iPad repair redesign. */
.meg-ipad-hero{position:relative;overflow:hidden;padding:78px 0 68px;background:radial-gradient(circle at 82% 20%,rgba(240,138,60,.24),transparent 34%),linear-gradient(135deg,#0b1118 0%,#122033 60%,#211914 100%)}
.meg-ipad-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:56px;align-items:center}
.meg-ipad-hero h1{max-width:760px;margin:16px 0 20px;font-size:clamp(54px,5vw,76px);line-height:.98;letter-spacing:-.06em}
.meg-ipad-hero .lead{max-width:760px}
.meg-ipad-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.meg-ipad-summary{padding:26px;border:1px solid rgba(255,255,255,.14);border-radius:24px;background:rgba(255,255,255,.065);box-shadow:0 24px 70px rgba(0,0,0,.22)}
.meg-ipad-summary-kicker{display:block;margin-bottom:12px;color:#f6c15a;font-size:12px;font-weight:950;letter-spacing:.1em;text-transform:uppercase}
.meg-ipad-summary ul{list-style:none;display:grid;gap:12px;margin:0;padding:0;color:#c2ccd6}
.meg-ipad-summary li:before{content:'✓';margin-right:9px;color:#f08a3c;font-weight:950}
.meg-ipad-content{background:#0b1118}
.meg-ipad-section-head{max-width:780px;margin-bottom:28px}.meg-ipad-section-head h2,.meg-ipad-models h2,.meg-ipad-cta h2{margin:10px 0 10px;font-size:clamp(32px,4vw,48px);line-height:1.06;letter-spacing:-.05em}.meg-ipad-section-head p,.meg-ipad-models p,.meg-ipad-cta p{margin:0;color:#aab6c2;font-size:17px}
.meg-ipad-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.meg-ipad-card-grid article{padding:24px;border:1px solid rgba(255,255,255,.11);border-radius:22px;background:rgba(255,255,255,.055)}.meg-ipad-card-grid article>span{display:grid;place-items:center;width:44px;height:44px;margin-bottom:18px;border-radius:13px;background:linear-gradient(135deg,#f6c15a,#f08a3c);color:#111827;font-size:21px;font-weight:950}.meg-ipad-card-grid h3{margin:0 0 8px;font-size:21px}.meg-ipad-card-grid p{margin:0;color:#aab6c2}
.meg-ipad-models{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.8fr);gap:40px;align-items:center;margin-top:54px;padding:34px;border:1px solid rgba(255,255,255,.11);border-radius:24px;background:#101923}.meg-ipad-model-pills{display:grid;grid-template-columns:1fr 1fr;gap:10px}.meg-ipad-model-pills span{display:flex;align-items:center;min-height:54px;padding:0 17px;border:1px solid rgba(246,193,90,.22);border-radius:15px;background:rgba(246,193,90,.07);color:#eef4f9;font-weight:850}
.meg-ipad-process{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:54px}.meg-ipad-process>div{padding:22px}.meg-ipad-process strong{display:grid;place-items:center;width:34px;height:34px;margin-bottom:14px;border-radius:50%;background:#f08a3c;color:#111827}.meg-ipad-process h3{margin:0 0 7px;font-size:19px}.meg-ipad-process p{margin:0;color:#aab6c2}
.meg-ipad-cta{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center;margin-top:54px;padding:32px;border:1px solid rgba(255,255,255,.12);border-radius:24px;background:linear-gradient(135deg,rgba(246,193,90,.09),rgba(240,138,60,.07))}.meg-ipad-cta .btn{min-width:160px}

/* v3.6 ; desktop hero must visually fill the first viewport, with no dark cutoff band. */
@media(min-width:1161px){
  body.home .m-index{
    min-height:calc(100vh - 82px)!important;
    min-height:calc(100dvh - 82px)!important;
    background-image:linear-gradient(90deg,rgba(6,11,17,.84) 0%,rgba(7,13,20,.64) 38%,rgba(8,14,21,.34) 70%,rgba(8,13,19,.24) 100%),linear-gradient(180deg,rgba(7,12,18,.05),rgba(7,12,18,.20)),url("../images/lake-merritt-sunset.webp")!important;
    background-size:cover!important;
    background-position:center center!important;
    background-repeat:no-repeat!important;
  }
  body.home .m-index>.m-hero{
    box-sizing:border-box!important;
    width:100%!important;
    min-height:calc(100vh - 82px)!important;
    min-height:calc(100dvh - 82px)!important;
    background-image:linear-gradient(90deg,rgba(6,11,17,.84) 0%,rgba(7,13,20,.64) 38%,rgba(8,14,21,.34) 70%,rgba(8,13,19,.24) 100%),linear-gradient(180deg,rgba(7,12,18,.05),rgba(7,12,18,.20)),url("../images/lake-merritt-sunset.webp")!important;
    background-size:cover!important;
    background-position:center center!important;
    background-repeat:no-repeat!important;
    display:flex!important;
    align-items:center!important;
  }
}
