/* Only the five selected service pages, and only smartphone widths. */
.mv-mobile-details{display:none}
@media(max-width:640px){
  body.mv-mobile-minimal .nav.nav-simple .nav-inner{
    width:calc(100% - 24px);min-height:68px;height:auto;padding:10px 0;
    display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:8px;
  }
  body.mv-mobile-minimal .nav.nav-simple .nav-inner>a{min-width:0;flex:0 1 auto}
  body.mv-mobile-minimal .nav.nav-simple .nav-inner>a img{width:112px!important}
  body.mv-mobile-minimal .nav.nav-simple .nav-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}
  body.mv-mobile-minimal .nav.nav-simple .nav-actions .btn{min-height:44px;padding:9px 10px;font-size:.76rem;white-space:nowrap}
  body.mv-mobile-minimal .nav.nav-simple .fr-lang-switch{min-height:44px;padding:0 6px;font-size:.8rem}
  body.mv-mobile-minimal .nav.nav-simple .nav-actions>a[href='/acces.html']::before{display:none}
  body.mv-mobile-minimal .mobile-nav-panel{right:0;max-width:calc(100vw - 24px)}
  body.mv-mobile-minimal header.ms-hero h1,body.mv-mobile-minimal header.dd-video-hero h1{
    font-size:clamp(1.85rem,8vw,2.35rem)!important;line-height:1.16!important;
    width:100%;max-width:100%!important;min-width:0;margin:12px auto 0!important;
    letter-spacing:-.025em;text-wrap:balance;overflow-wrap:normal;hyphens:none;
  }
  body.mv-mobile-active header.ms-hero,body.mv-mobile-active header.dd-video-hero{
    padding:40px 0 34px!important;min-height:max(500px,calc(100svh - 68px))!important;
    display:flex!important;align-items:stretch!important;
  }
  body.mv-mobile-active header.ms-hero>.container,body.mv-mobile-active header.dd-video-hero>.container{
    width:calc(100% - 40px)!important;max-width:none;padding:0!important;min-width:0;
    display:flex!important;flex-direction:column;align-items:center;gap:0;
  }
  body.mv-mobile-active header.ms-hero .hero-content,
  body.mv-mobile-active header.ms-hero .service-hero-copy,
  body.mv-mobile-active header.ms-hero .security-grid>div,
  body.mv-mobile-active header.dd-video-hero .dd-hero-content{
    width:100%;max-width:100%;min-width:0;
    min-height:calc(max(500px,100svh - 68px) - 74px)!important;
    display:flex!important;flex-direction:column;align-items:center;text-align:center;
  }
  body.mv-mobile-active header.ms-hero .hero-title-row,
  body.mv-mobile-active header.ms-hero .hero-title-block{width:100%;max-width:100%;min-width:0;margin:0;display:block}
  body.mv-mobile-active header.ms-hero .eyebrow,
  body.mv-mobile-active header.dd-video-hero .dd-kicker,
  body.mv-mobile-active header.dd-video-hero .dd-scroll{display:none!important}
  body.mv-mobile-active header.ms-hero .hero-copy-footer,
  body.mv-mobile-active header.dd-video-hero .dd-hero-bottom{margin-top:auto!important;width:100%;max-width:100%}
  body.mv-mobile-active header.ms-hero .hero-actions,
  body.mv-mobile-active header.ms-hero .actions,
  body.mv-mobile-active header.dd-video-hero .dd-actions{
    display:flex;align-items:center;justify-content:center;gap:0;width:100%;margin-top:auto!important;padding-top:24px;
  }
  body.mv-mobile-active header.ms-hero .hero-copy-footer .hero-actions{padding-top:0}
  body.mv-mobile-active header.ms-hero .hero-actions>a,
  body.mv-mobile-active header.ms-hero .actions>a,
  body.mv-mobile-active header.dd-video-hero .dd-actions>a{
    min-height:48px;max-width:100%;width:auto;padding:12px 24px;
    display:inline-flex;align-items:center;justify-content:center;
    border-radius:999px;background:#e1bd78;color:#102033;border:1px solid #e1bd78;
    font-size:.9rem;font-weight:800;line-height:1.4;text-align:center;
  }
  body.mv-mobile-active header.ms-hero .ms-background::after{
    background:linear-gradient(180deg,#102033b8, #1020331a 30%, #1020330d 65%, #102033c9);
  }
  body.mv-mobile-active header.dd-video-hero .dd-video-shade{
    background:linear-gradient(180deg,#102033b8, #1020331a 30%, #1020330d 65%, #102033c9);
  }
  body.mv-mobile-active .mv-mobile-details{display:block;background:#f7f3ea;padding:28px 0;color:#203747}
  body.mv-mobile-active .mv-mobile-details>.container{
    width:calc(100% - 40px);display:flex;flex-direction:column;align-items:flex-start;gap:18px;
  }
  body.mv-mobile-active .mv-mobile-details p.lead,
  body.mv-mobile-active .mv-mobile-details p{margin:0;color:#41596a!important;font-size:1rem;line-height:1.7}
  body.mv-mobile-active .mv-mobile-details a.btn,
  body.mv-mobile-active .mv-mobile-details a.dd-ghost{
    max-width:100%;min-height:44px;background:transparent;color:#203747;
    border:1px solid #20374755;padding:11px 18px;font-size:.9rem;
    border-radius:999px;line-height:1.4;text-align:center;
  }
  body.mv-mobile-active .mv-mobile-details .tech-badge{color:#41596a;background:transparent;max-width:100%;white-space:normal}
  body.mv-mobile-active .mv-mobile-details .ms-video-toggle{
    position:static;margin:0;min-height:44px;background:transparent;color:#41596a;
    border:1px solid #20374755;padding:10px 16px;font-size:.8rem;
  }
  body.mv-mobile-active .mv-mobile-details .security-card.dark{
    width:100%;max-width:100%;margin:0;padding:22px;background:#203747;color:#fff;
  }
  body.mv-mobile-active .mv-mobile-details .security-card.dark h2{color:#fff;font-size:1.6rem}
  body.mv-mobile-active .mv-mobile-details .security-card.dark p,
  body.mv-mobile-active .mv-mobile-details .security-card.dark li{color:#e0eaf0!important}
}
@media(max-width:359px){
  body.mv-mobile-minimal .nav.nav-simple .nav-inner>a img{width:88px!important}
  body.mv-mobile-minimal .nav.nav-simple .nav-actions{gap:4px}
}

/* Invoice film: preserve the whole landscape scene, including the computer. */
@media(max-width:640px){
  body.mv-mobile-active header.ms-hero.mv-invoice-cinema{
    min-height:max(500px,calc(290px + 56.25vw))!important;padding:28px 0 26px!important;
  }
  body.mv-mobile-active header.ms-hero.mv-invoice-cinema .service-hero-copy{
    min-height:max(446px,calc(236px + 56.25vw))!important;
  }
  body.mv-mobile-active header.ms-hero.mv-invoice-cinema .ms-background{background:#203747}
  body.mv-mobile-active header.ms-hero.mv-invoice-cinema .ms-background video{
    position:absolute;inset:auto;left:0;top:50%;width:100%;height:auto;aspect-ratio:16/9;
    object-fit:contain;object-position:center;transform:translateY(-50%);
  }
  body.mv-mobile-active header.ms-hero.mv-invoice-cinema .ms-background::after{
    background:linear-gradient(180deg,#203747b3 0%,transparent 30%,transparent 70%,#203747b3 100%);
  }
}

/* Desktop: reuse the mobile copy, with separate title, film and action zones. */
@media(min-width:851px){
  body.mv-mobile-active header.ms-hero,body.mv-mobile-active header.dd-video-hero{--mv-film-height:min(calc(56.25vw - 36px),618.75px);min-height:calc(var(--mv-film-height) + 184px)!important;padding:28px 0!important;background:#102b3f!important}
  body.mv-mobile-active header.ms-hero>.container,body.mv-mobile-active header.dd-video-hero>.container{width:calc(100% - 64px)!important;display:flex!important;flex-direction:column;align-items:center;gap:0}
  body.mv-mobile-active header.ms-hero .hero-content,body.mv-mobile-active header.ms-hero .service-hero-copy,body.mv-mobile-active header.ms-hero .security-grid>div,body.mv-mobile-active header.dd-video-hero .dd-hero-content{width:100%;max-width:1100px!important;min-height:calc(var(--mv-film-height) + 128px)!important;display:flex!important;flex-direction:column;align-items:center;text-align:center}
  body.mv-mobile-active header.ms-hero .hero-title-row,body.mv-mobile-active header.ms-hero .hero-title-block{width:100%;padding:0;display:block}
  body.mv-mobile-active header.ms-hero h1,body.mv-mobile-active header.dd-video-hero h1{font-size:clamp(2rem,3vw,3rem)!important;line-height:1.15!important;max-width:100%!important;margin:0 auto!important;text-align:center!important;letter-spacing:-.025em}
  body.mv-mobile-active header.ms-hero .eyebrow,body.mv-mobile-active header.dd-video-hero .dd-kicker,body.mv-mobile-active header.dd-video-hero .dd-scroll{display:none!important}
  body.mv-mobile-active header.ms-hero .hero-copy-footer,body.mv-mobile-active header.dd-video-hero .dd-hero-bottom{margin-top:auto!important;width:100%}
  body.mv-mobile-active header.ms-hero .hero-actions,body.mv-mobile-active header.ms-hero .actions,body.mv-mobile-active header.dd-video-hero .dd-actions{margin-top:auto!important;justify-content:center!important}
  body.mv-mobile-active header.ms-hero .hero-copy-footer .hero-actions{margin-top:0!important}
  body.mv-mobile-active header.ms-hero .ms-background{inset:92px 0 92px;width:min(1100px,calc(100% - 64px));margin:0 auto;background:#102b3f}
  body.mv-mobile-active header.ms-hero .ms-background video{width:100%;height:100%;object-fit:contain;object-position:center;transform:none}
  body.mv-mobile-active header.ms-hero .ms-background::after{background:none}
  body.mv-mobile-active .mv-mobile-details{display:block;background:#f7f3ea;padding:32px 0;color:#203747}
  body.mv-mobile-active .mv-mobile-details>.container{max-width:1000px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:18px}
  body.mv-mobile-active .mv-mobile-details .lead{flex-basis:100%;max-width:72ch;margin:0 auto!important;color:#41596a!important;font-size:1.05rem;line-height:1.7;text-align:center}
  body.mv-mobile-active .mv-mobile-details .ms-video-toggle{position:static;margin:0;background:transparent;color:#41596a;border:1px solid #20374755;min-height:44px}
  body.mv-mobile-active .mv-mobile-details .tech-badge{color:#41596a;background:transparent}
  body.mv-mobile-active .mv-mobile-details .security-card{width:100%;max-width:900px;margin:6px auto 0}
}

/* Contact and About: override their former short hero on desktop only. */
@media(min-width:851px){
  body.mv-desktop-minimal.mv-mobile-active header.ms-hero.ms-hero-short{min-height:calc(var(--mv-film-height) + 184px)!important;padding:28px 0!important;align-items:stretch!important}
  body.mv-desktop-minimal.mv-mobile-active header.ms-hero.ms-hero-short .hero-content{min-height:calc(var(--mv-film-height) + 128px)!important;justify-content:flex-start!important}
  body.mv-desktop-minimal.mv-mobile-active header.ms-hero.ms-hero-short h1{font-size:clamp(2rem,3vw,3rem)!important;margin:0 auto!important}
}
