/* =========================================
   SETTORI DETTAGLIO — premium, serio, no cards
========================================= */

.sector-detail-page .site-content{
  padding-top: calc(var(--topbar-h) + var(--header-h));
}

/* HEADER comportamento interno coerente */
.sector-detail-page .mega-header{
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.sector-detail-page .mega-header.is-scrolled{
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

.sector-detail-page .mega-header.is-scrolled:hover{
  background: rgba(255,255,255,0.96);
  border-bottom-color: rgba(0,0,0,0.08);
  box-shadow: 0 18px 60px rgba(0,0,0,0.12);
}

.sector-detail-page .mega-header .mega-link,
.sector-detail-page .mega-header .mega-trigger,
.sector-detail-page .mega-header .mega-trigger-link{
  color: rgba(15,23,42,0.92);
  text-shadow: none;
}

.sector-detail-page .mega-header .mega-burger{
  color: rgba(10,10,14,0.78);
  background: rgba(255,255,255,0.92);
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
}

.sector-detail-page .mega-header.is-scrolled .mega-burger{
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.sector-detail-page .mega-header.is-scrolled:hover .mega-burger{
  background: rgba(255,255,255,0.92);
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
}

@media (min-width: 981px){
  .sector-detail-page .mega-header.is-scrolled .mega-left,
  .sector-detail-page .mega-header.is-scrolled .mega-nav,
  .sector-detail-page .mega-header.is-scrolled .mega-right{
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }

  .sector-detail-page .mega-header.is-scrolled:hover .mega-left,
  .sector-detail-page .mega-header.is-scrolled:hover .mega-nav,
  .sector-detail-page .mega-header.is-scrolled:hover .mega-right{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .sector-detail-page .mega-header .mega-left,
  .sector-detail-page .mega-header .mega-nav,
  .sector-detail-page .mega-header .mega-right{
    transition: opacity .25s ease, transform .25s ease;
  }
}

/* HERO */
.sector-hero{
  position: relative;
  padding: 130px 0 90px;
  overflow: hidden;
  isolation: isolate;
}

.sector-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 12% 18%, rgba(128,0,0,0.10), transparent 60%),
    radial-gradient(760px 520px at 82% 38%, rgba(0,0,0,0.05), transparent 58%),
    linear-gradient(180deg, rgba(0,0,0,0.03), transparent 42%);
  pointer-events: none;
  z-index: -2;
}

.sector-hero-grid{
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 70px;
  align-items: center;
}

.sector-kicker{
  color: var(--muted);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .82rem;
  margin-bottom: 14px;
}

.sector-title{
  margin: 0 0 20px;
  font-size: clamp(46px, 6vw, 82px);
  line-height: .98;
  letter-spacing: -0.03em;
}

.sector-title span{
  color: var(--accent);
}

.sector-lead{
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.9;
  margin-bottom: 28px;
}

.sector-hero-actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.sector-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid rgba(0,0,0,0.06);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease,
    color .25s ease,
    border-color .25s ease;
}

.sector-btn.primary{
  background: var(--accent);
  color: #fff;
  box-shadow: 0 18px 50px rgba(0,0,0,0.14);
}

.sector-btn.primary:hover{
  transform: translateY(-3px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.16);
}

.sector-btn.ghost{
  background: rgba(255,255,255,0.86);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0,0,0,0.08);
}

.sector-btn.ghost:hover{
  transform: translateY(-3px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.10);
}

.sector-hero-media{
  position: relative;
}

.sector-hero-image-wrap{
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 90px rgba(0,0,0,0.12);
}

.sector-hero-image-wrap::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.12));
  pointer-events: none;
}

.sector-hero-image{
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
}

/* SECTION GENERALI */
.sector-section{
  position: relative;
  padding: 95px 0;
}

.sector-section.alt{
  background:
    linear-gradient(180deg, #f9f9f9 0%, #ffffff 100%);
}

.sector-head{
  margin-bottom: 28px;
  max-width: 900px;
}

.sector-head.center{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.sector-head h2{
  margin-bottom: 14px;
  color: var(--accent);
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 3;
  text-align: center;
}

.sector-head p{
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 1.05rem;
}

/* PANORAMICA */
.sector-overview-grid{
  display: block;
}

.sector-overview-copy{
  max-width: 980px;
  margin: 0 auto;
}

.sector-overview-copy .sector-head{
  max-width: 100%;
  margin: 0 auto 28px;
  text-align: center;
}

.sector-overview-copy .sector-head h2{
  text-align: center;
  margin-bottom: 18px;
}

.sector-overview-copy p{
  color: var(--muted);
  line-height: 1.95;
  font-size: 1.05rem;
  text-align: justify;
  margin: 0 auto;
}

.sector-overview-aside{
  border-top: 1px solid var(--line);
}

.sector-stat{
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.sector-stat-num{
  color: rgba(128,0,0,0.76);
  font-weight: 900;
  font-size: .92rem;
  letter-spacing: .08em;
  padding-top: 2px;
}

.sector-stat h3{
  margin: 0 0 6px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.sector-stat p{
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

/* DIVIDER IMAGE */
.sector-divider{
  padding: 18px 0 10px;
}

.sector-divider-media{
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 26px 80px rgba(0,0,0,0.14);
}

.sector-divider-media::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.18));
}

.sector-divider-media img{
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

/* COSA FACCIAMO */
.sector-lines{
  border-top: 1px solid var(--line);
}

.sector-line{
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 46px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: transform .35s ease;
}

.sector-line::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: rgba(128,0,0,0.18);
  border-radius: 999px;
  transition: width .35s ease;
}

.sector-line:hover{
  transform: translateX(4px);
}

.sector-line:hover::before{
  width: 5px;
}

.sector-line-left{
  padding-left: 16px;
}

.sector-line-index{
  display: inline-block;
  margin-bottom: 10px;
  font-size: .84rem;
  font-weight: 900;
  color: rgba(128,0,0,0.76);
  letter-spacing: .10em;
}

.sector-line-left h3{
  margin: 0;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.14;
}

.sector-line-right p{
  margin: 0;
  color: var(--muted);
  line-height: 1.88;
}

/* =========================================
   CTA SERVIZI CORRELATI — adattivi
========================================= */

.sector-related-cta-section{
  padding-top: 88px;
  padding-bottom: 96px;
}

.sector-related-head{
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center;
}

.sector-related-kicker{
  margin: 0 0 10px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: rgba(128,0,0,0.75);
}

.sector-related-head h2{
  margin: 0 0 14px;
  color: var(--accent);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.sector-related-intro{
  margin: 0 auto;
  max-width: 72ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.sector-related-cta-grid{
  --cta-count: 4;
  --cta-max-cell: 168px;

  display: grid;
  grid-template-columns: repeat(var(--cta-count), minmax(0, 1fr));
  width: min(100%, calc(var(--cta-count) * var(--cta-max-cell)));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sector-related-cta{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  min-width: 0;
  min-height: clamp(118px, 10vw, 150px);
  padding: clamp(16px, 1.2vw, 22px) clamp(10px, .9vw, 14px) clamp(14px, 1vw, 20px) clamp(14px, 1vw, 16px);
  text-decoration: none;
  color: var(--text);
  border-right: 1px solid var(--line);
  transition:
    background .28s ease,
    transform .28s ease,
    box-shadow .28s ease;
}

.sector-related-cta:last-child{
  border-right: none;
}

.sector-related-cta::before{
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: rgba(128,0,0,0.18);
  transition: background .28s ease, width .28s ease;
}

.sector-related-cta:hover{
  background: rgba(128,0,0,0.025);
  transform: translateY(-3px);
}

.sector-related-cta:hover::before{
  width: 3px;
  background: rgba(128,0,0,0.72);
}

.sector-related-cta-index{
  display: inline-block;
  font-size: clamp(.70rem, .72vw, .78rem);
  font-weight: 800;
  letter-spacing: .12em;
  color: rgba(128,0,0,0.78);
  text-transform: uppercase;
}

.sector-related-cta-title{
  display: block;
  font-size: clamp(.94rem, .95vw, 1.04rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  word-break: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
  max-width: 12ch;
}

.sector-related-cta::after{
  content: "→";
  margin-top: auto;
  font-size: .98rem;
  font-weight: 700;
  color: rgba(15,23,42,0.78);
  transition: transform .25s ease, color .25s ease;
}

.sector-related-cta:hover::after{
  transform: translateX(4px);
  color: var(--accent);
}

/* quando i CTA diventano tanti, compattiamo l'interno */
.sector-related-cta-grid.is-dense .sector-related-cta{
  min-height: 126px;
  padding: 16px 10px 14px 12px;
  gap: 8px;
}

.sector-related-cta-grid.is-dense .sector-related-cta-title{
  font-size: .94rem;
  line-height: 1.10;
  max-width: 11ch;
}

.sector-related-cta-grid.is-dense .sector-related-cta-index{
  font-size: .72rem;
}

/* CTA CONTATTI */
.sector-contact-strip{
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}

.sector-contact-strip-bg{
  position: absolute;
  inset: 0;
  background-image: url('cartella_di_immagini/11.avif');
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.sector-contact-strip-bg::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.93), rgba(255,255,255,0.72), rgba(255,255,255,0.90));
  backdrop-filter: blur(8px);
}

.sector-contact-strip-grid{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 24px;
  padding: 32px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 90px rgba(0,0,0,0.12);
}

.sector-contact-strip h2{
  margin: 0 0 10px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
}

.sector-contact-strip p{
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  max-width: 62ch;
}

.sector-contact-actions{
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

/* SCROLL CTA FINALE */
.sector-scroll-cta{
  padding: 30px 0 110px;
}

.sector-scroll-box{
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.sector-scroll-box h2{
  margin-bottom: 14px;
  color: var(--accent);
}

.sector-scroll-box p{
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 24px;
}

.sector-scroll-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  background: transparent;
  color: var(--text);
  font-weight: 900;
  border: 1px solid rgba(0,0,0,0.10);
  position: relative;
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease,
    color .25s ease;
}

.sector-scroll-button::after{
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 10px;
  height: 2px;
  border-radius: 999px;
  background: rgba(128,0,0,0.26);
  transition: left .25s ease, right .25s ease, background .25s ease;
}

.sector-scroll-button:hover{
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(0,0,0,0.10);
  color: var(--accent);
  border-color: rgba(128,0,0,0.20);
}

.sector-scroll-button:hover::after{
  left: 26px;
  right: 26px;
  background: var(--accent);
}

/* REVEAL */
.sector-reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}

.sector-reveal.active{
  opacity: 1;
  transform: translateY(0);
}

/* scroll target */
#contattaci{
  scroll-margin-top: 120px;
}

/* RESPONSIVE */
@media (max-width: 992px){
  .sector-hero-grid,
  .sector-overview-grid,
  .sector-line,
  .sector-contact-strip-grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sector-services-grid{
    grid-template-columns: 1fr;
  }

  .sector-contact-actions{
    justify-content: flex-start;
  }

  .sector-hero-image{
    height: 420px;
  }

  .sector-divider-media img{
    height: 240px;
  }
}

@media (max-width: 640px){
  .sector-hero{
    padding: 110px 0 70px;
  }

  .sector-title{
    font-size: 42px;
  }

  .sector-lead,
  .sector-head p,
  .sector-overview-copy p,
  .sector-line-right p,
  .sector-service p{
    font-size: 1rem;
    line-height: 1.8;
  }

  .sector-stat{
    grid-template-columns: 46px 1fr;
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce){
  .sector-reveal,
  .sector-btn,
  .sector-service,
  .sector-line,
  .sector-scroll-button{
    transition: none !important;
  }
}



/* =========================================
   TELECOMUNICAZIONI — fix titolo hero
========================================= */

.telecom-page .sector-hero-grid{
  grid-template-columns: 1.16fr .84fr;
  gap: 56px;
}

.telecom-page .sector-hero-copy{
  min-width: 0;
}

.telecom-page .sector-title{
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: none;
  white-space: nowrap;
}

.telecom-page .sector-lead{
  max-width: 52ch;
}

@media (max-width: 1200px){
  .telecom-page .sector-title{
    font-size: clamp(32px, 4.1vw, 56px);
  }
}

@media (max-width: 992px){
  .telecom-page .sector-hero-grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .telecom-page .sector-title{
    white-space: normal;
    font-size: clamp(38px, 8vw, 52px);
    line-height: 1.04;
  }
}


/* =========================================
   PUBBLICHE AMMINISTRAZIONI — fix titolo hero
========================================= */

.pa-page .sector-hero-grid{
  grid-template-columns: 1.08fr .92fr;
  gap: 58px;
}

.pa-page .sector-hero-copy{
  min-width: 0;
}

.pa-page .sector-title{
  font-size: clamp(34px, 4.3vw, 62px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  max-width: 8.8ch;
}

.pa-page .sector-lead{
  max-width: 50ch;
}

@media (max-width: 1200px){
  .pa-page .sector-title{
    font-size: clamp(32px, 4vw, 56px);
    max-width: 9.2ch;
  }
}

@media (max-width: 992px){
  .pa-page .sector-hero-grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pa-page .sector-title{
    font-size: clamp(38px, 8vw, 52px);
    line-height: 1;
    max-width: none;
  }
}


/* =========================
   GLOBAL FOOTER — premium, smooth, minimal
========================= */

.site-footer{
  position: relative;
  background:
    linear-gradient(180deg, #f7f7f7 0%, #ffffff 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 0;
  overflow: hidden;
}

.site-footer::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 280px at 12% 0%, rgba(128,0,0,0.06), transparent 60%),
    radial-gradient(600px 260px at 88% 100%, rgba(0,0,0,0.035), transparent 60%);
}

.site-footer-inner{
  position: relative;
  z-index: 1;
  padding-top: 22px;
  padding-bottom: 14px;
}

.site-footer-top{
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: start;
  padding-bottom: 0;
  border-bottom: none;
}

.site-footer-brand{
  max-width: 460px;
}

.site-footer-logo{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 8px;
}

.site-footer-logo img{
  height: 40px;
  width: auto;
  display: block;
}

.site-footer-text{
  margin: 18px auto 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.95rem;
  text-align: center;
  max-width: none;
}

.site-footer-nav{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 24px;
  padding-top: 10px;
  
}

.site-footer-nav a{
  position: relative;
  display: inline-block;
  width: fit-content;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  line-height: 1.4;
  padding-bottom: 6px;
  text-shadow: none !important;
}

.site-footer-nav a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transition: width .25s ease;
}

.site-footer-nav a:hover{
  color: var(--accent);
}

.site-footer-nav a:hover::after{
  width: 100%;
}

.site-footer-social{
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: -10px;
}

.site-footer-social-link{
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.82);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease,
    background .25s ease;
}

.site-footer-social-link:hover{
  transform: translateY(-3px);
  border-color: rgba(128,0,0,0.22);
  background: rgba(128,0,0,0.04);
  box-shadow: 0 22px 55px rgba(0,0,0,0.10);
}

.site-footer-social-link svg{
  width: 20px;
  height: 20px;
  fill: var(--text);
  transition: fill .25s ease;
}

.site-footer-social-link:hover svg{
  fill: var(--accent);
}

.site-footer-bottom{
  padding-top: 18px;
}

.site-footer-bottom p{
  margin: 0;
  font-size: 0.9rem;
  color: #6b6b6b;
  line-height: 1.6;
}

/* responsive */
@media (max-width: 992px){
  .site-footer-top{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer-nav{
    grid-template-columns: 1fr;
  }

  .site-footer-social{
    justify-content: flex-start;
  }

  .site-footer-logo img{
    height: 74px;
  }
}












/* =========================================================
   GLOBAL MEGA HEADER — valido per tutto il sito
========================================================= */

.site-content{
  padding-top: var(--header-h);
}

.site-mega-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

/* Header base per pagine interne */
body:not(.home-page) .mega-header{
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 14px 45px rgba(0,0,0,0.08);
}

body:not(.home-page) .mega-header .mega-link,
body:not(.home-page) .mega-header .mega-trigger,
body:not(.home-page) .mega-header .mega-trigger-link{
  color: rgba(15,23,42,0.92);
  text-shadow: none;
}

body:not(.home-page) .mega-header .mega-burger{
  color: rgba(15,23,42,0.88);
  background: rgba(15,23,42,0.04);
  border-color: rgba(15,23,42,0.10);
}

/* Desktop: comportamento smooth globale quando scrolli */
@media (min-width: 981px){
  .mega-header.is-scrolled .mega-left,
  .mega-header.is-scrolled .mega-nav,
  .mega-header.is-scrolled .mega-right{
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }

  .mega-header.is-scrolled:hover .mega-left,
  .mega-header.is-scrolled:hover .mega-nav,
  .mega-header.is-scrolled:hover .mega-right{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mega-header .mega-left,
  .mega-header .mega-nav,
  .mega-header .mega-right{
    transition: opacity .25s ease, transform .25s ease;
  }
}

/* Mobile: NON nascondere mai header quando scrolli */
@media (max-width: 980px){
  .mega-header.is-scrolled .mega-left,
  .mega-header.is-scrolled .mega-nav,
  .mega-header.is-scrolled .mega-right{
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  body.mobile-menu-open{
    overflow: hidden !important;
    touch-action: none;
  }

  body.mobile-menu-open .mega-nav{
    touch-action: pan-y;
  }
}