/* Minification failed. Returning unminified contents.
(14,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(15,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(16,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(17,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(18,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(28,15): run-time error CSS1039: Token not allowed after unary operator: '-em-text'
(38,20): run-time error CSS1039: Token not allowed after unary operator: '-em-brand'
(45,16): run-time error CSS1039: Token not allowed after unary operator: '-em-h'
(54,19): run-time error CSS1039: Token not allowed after unary operator: '-em-w'
(56,16): run-time error CSS1039: Token not allowed after unary operator: '-em-h'
(127,20): run-time error CSS1039: Token not allowed after unary operator: '-em-brand'
(143,20): run-time error CSS1039: Token not allowed after unary operator: '-em-brand'
(184,20): run-time error CSS1039: Token not allowed after unary operator: '-em-brand'
(237,20): run-time error CSS1039: Token not allowed after unary operator: '-em-dark'
(296,20): run-time error CSS1039: Token not allowed after unary operator: '-em-brand'
(433,19): run-time error CSS1039: Token not allowed after unary operator: '-em-w'
(443,33): run-time error CSS1039: Token not allowed after unary operator: '-em-h'
(496,20): run-time error CSS1039: Token not allowed after unary operator: '-em-brand'
(601,20): run-time error CSS1039: Token not allowed after unary operator: '-tile'
 */
/* =========================================================
   E-MEDIA MASTER CSS (CLEAN)
   - Header + Menu desktop/mobile
   - Font Poppins
   - Animazioni soft (data-animate)
   - Footer (restyling conservativo + effetti)
   - Home (hero video + intro + partners)
   ========================================================= */

/* =========================
   VARIABILI
   ========================= */
:root{
  --em-brand: #0a6fb0;
  --em-dark:  #0f1115;
  --em-text:  #111;
  --em-w:     1200px;
  --em-h:     88px;
}

/* =========================
   RESET / BASE
   ========================= */
*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  overflow-x:hidden;
  color: var(--em-text);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
a{ color: inherit; }

/* =========================
   HEADER + TOP BAR (se la usi)
   ========================= */
.em-topbar{
  height: 10px;
  background: var(--em-brand);
}

.em-header{
  position: sticky;
  top: 0;
  z-index: 999;
  height: var(--em-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.08);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.em-header__inner{
  max-width: var(--em-w);
  margin: 0 auto;
  height: var(--em-h);
  padding: 0 16px;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 22px;
}

/* Brand */
.em-brand{
  display:flex;
  align-items:center;
  text-decoration:none;
}
.em-brand__logo{
  height: 56px;
  width:auto;
  display:block;
}

/* =========================
   MENU DESKTOP (blindato + premium)
   ========================= */
.em-nav{ display:block; position: relative; }

.em-menu{
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;

  display:flex !important;
  align-items:center !important;
  gap: 8px !important;
}

.em-menu > li{ margin:0 !important; padding:0 !important; }

.em-menu > li > a{
  display:inline-block !important;
  position: relative !important;

  padding: 12px 12px !important;
  border-radius: 12px !important;

  text-decoration:none !important;
  color: #111 !important;

  font-weight: 600 !important;
  font-size: 14.5px !important;
  letter-spacing: 0.4px !important;
  line-height: 1 !important;

  transition: transform .15s ease, background .15s ease, color .15s ease, opacity .15s ease !important;
}

/* Hover: pill soft */
.em-menu > li:not(.is-cta) > a:hover{
  background: rgba(10,111,176,.08) !important;
  transform: translateY(-1px);
}

/* Underline elegante animata */
.em-menu > li:not(.is-cta) > a:after{
  content:"";
  position:absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: var(--em-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
  opacity: .9;
}
.em-menu > li:not(.is-cta) > a:hover:after{ transform: scaleX(1); }

/* Stato attivo (aggiungi is-active al li oppure via JS) */
.em-menu > li.is-active > a{
  background: rgba(10,111,176,.10) !important;
}
.em-menu > li.is-active > a:after{ transform: scaleX(1); }

/* CTA */
.em-menu > li.is-cta > a{
  background: var(--em-brand) !important;
  color:#fff !important;
  padding: 12px 14px !important;
  border-radius: 12px !important;

  font-weight: 700 !important;
  letter-spacing: 0.6px !important;

  box-shadow: 0 10px 22px rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,.25);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease !important;
}
.em-menu > li.is-cta > a:hover{
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow: 0 16px 28px rgba(0,0,0,.16);
}

/* Separatore delicato (desktop) */
@media (min-width: 993px){
  .em-nav:before{
    content:"";
    position:absolute;
    left:-18px;
    top:50%;
    transform: translateY(-50%);
    width:1px;
    height: 28px;
    background: rgba(0,0,0,.08);
  }
}

/* =========================
   BURGER (mobile)
   ========================= */
.em-burger{
  display:none;
  width: 54px;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--em-brand);
  cursor:pointer;
  position: relative;

  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}
.em-burger span{
  position:absolute;
  left:50%; top:50%;
  width:24px; height:2px;
  background:#fff;
  transform:translate(-50%,-50%);
}
.em-burger span:before,
.em-burger span:after{
  content:"";
  position:absolute;
  left:0;
  width:24px; height:2px;
  background:#fff;
}
.em-burger span:before{ top:-7px; }
.em-burger span:after{ top: 7px; }
.em-burger:active{ transform: translateY(1px); }

@media (max-width: 992px){
  .em-nav{ display:none; }
  .em-burger{ display:block; }
  .em-brand__logo{ height: 52px; }
}

/* =========================
   DRAWER MOBILE
   ========================= */
.em-drawer{
  position: fixed;
  inset: 0;
  display:none;
  z-index: 9999;
}
.em-drawer.is-open{ display:block; }

.em-drawer__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
}

.em-drawer__panel{
  position:absolute;
  top:0; right:0;
  height:100%;
  width: min(360px, 92vw);
  background: var(--em-dark);
  padding: 18px;
  overflow:auto;
  box-shadow: -24px 0 60px rgba(0,0,0,.35);
}

.em-drawer__close{
  border:0;
  background: transparent;
  color:#fff;
  font-size: 32px;
  line-height: 1;
  cursor:pointer;
  display:inline-block;
  margin-bottom: 10px;
}

/* Titolino */
.em-drawer__nav:before{
  content:"Menu";
  display:block;
  color: rgba(255,255,255,.65);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 12px;
  margin: 6px 0 10px;
}

/* Menu drawer */
.em-drawer__menu{
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;
}
.em-drawer__menu li{ margin:0 !important; padding:0 !important; }

.em-drawer__menu a{
  display:block !important;
  color:#fff !important;
  text-decoration:none !important;

  padding: 14px 10px !important;
  border-bottom: 1px solid rgba(255,255,255,.10) !important;

  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;

  border-radius: 12px;
  margin: 6px 0;

  transition: transform .12s ease, background .12s ease !important;
}
.em-drawer__menu a:hover{
  background: rgba(255,255,255,.06) !important;
  transform: translateX(2px);
}
.em-drawer__menu li.is-cta a{
  background: var(--em-brand) !important;
  border-radius: 12px !important;
  margin-top: 10px !important;
  border-bottom: none !important;
  box-shadow: 0 12px 24px rgba(0,0,0,.25);
  padding: 14px 12px !important;
}

/* Lock scroll quando drawer aperto */
html.em-lock, body.em-lock{ overflow:hidden !important; }

/* =========================
   TIPOGRAFIA TITOLI
   ========================= */
h1,h2,h3{
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* =========================
   ANIMAZIONI SOFT GLOBALI (data-animate)
   ========================= */
[data-animate]{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .85s ease, transform .85s ease;
}
[data-animate].is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   FOOTER E-MEDIA (conservativo + effetti)
   ========================================================= */
.em-footer{
  position: relative;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.em-footer__overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
  z-index:0;
}

.em-footer .inner-wrap{
  position: relative;
  z-index:1;
  padding: 80px 16px;
}

/* Logo footer + float */
.em-footer__logo{
  display: inline-block;
  animation: em-logo-float 8s ease-in-out infinite;
}
.em-footer__logo img{
  max-width: 420px;
  width: 100%;
  height: auto;
  margin-bottom: 40px;

  transition: transform .6s ease, filter .6s ease;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,.35));
}
.em-footer__logo:hover img{
  transform: scale(1.03);
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.55));
}
@keyframes em-logo-float{
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* Titoli footer underline */
.em-footer h3{
  position: relative;
  display: inline-block;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 14px;
}
.em-footer h3::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:100%;
  height:2px;
  background: rgba(255,255,255,.8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s ease;
}
.em-footer h3:hover::after{ transform: scaleX(1); }

/* Testo footer */
.em-footer p{
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,.92);
  transition: transform .6s ease, opacity .6s ease;
}
.em-footer .contact-info > div:hover p{
  transform: translateY(-2px);
  opacity: 1;
}

/* Link footer */
.em-footer a{
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.em-footer a:hover{ text-decoration: underline; }

@media (max-width: 768px){
  .em-footer .inner-wrap{ padding: 60px 16px; }
  .em-footer__logo img{ max-width: 300px; margin-bottom: 30px; }
  .em-footer h3{ font-size: 20px; }
}

/* =========================================================
   HOME – BASE
   ========================================================= */
.section{
  position: relative;
  background-size: cover;
  background-position: center;
}
.inner-wrap{
  max-width: var(--em-w);
  margin: 0 auto;
  padding: 0 16px;
}
.em-center{ text-align:center; }

/* =========================================================
   HERO VIDEO
   ========================================================= */
.hero-video{
  min-height: calc(100vh - var(--em-h));
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.hero-video-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay{
  position:absolute;
  inset:0;
  background: radial-gradient(1200px 600px at 50% 35%, rgba(0,0,0,.10), rgba(0,0,0,.65));
}

.hero-video .heading-wrap{
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 0;
}

.hero-video h1{
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.08;
  margin: 0 0 14px;
}

.hero-video h4{
  font-weight: 500;
  color: rgba(255,255,255,.90);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.45;
  margin: 0 auto 26px;
  max-width: 880px;
}

/* Bottoni */
.btn-wrap{ margin-top: 6px; }
.btn{
  display:inline-block;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--em-brand);
  color:#fff;
  text-decoration:none;
  font-weight: 700;
  letter-spacing: .4px;
  box-shadow: 0 18px 40px rgba(0,0,0,.20);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover{
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow: 0 24px 52px rgba(0,0,0,.26);
}
.btn:active{ transform: translateY(0); }

.btn.btn-ghost{
  background: transparent;
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: none;
}

/* =========================================================
   SECTION 2 (intro)
   ========================================================= */
.em-intro{
  padding: 96px 0;
}
.em-intro .heading-wrap{
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(0,0,0,.06);
  backdrop-filter: blur(8px);
  border-radius: 22px;
  padding: 44px 22px;
  box-shadow: 0 18px 45px rgba(0,0,0,.10);
}

.em-intro h2{
  font-weight: 800;
  letter-spacing: -0.02em;
  color:#0f1115;
  font-size: clamp(22px, 2.6vw, 38px);
  line-height: 1.15;
  margin: 0 0 14px;
}
.em-intro p{
  font-weight: 500;
  color: rgba(0,0,0,.70);
  font-size: 16px;
  line-height: 1.65;
  max-width: 900px;
  margin: 0 auto 22px;
}

.em-intro .btn.btn-ghost{
  border-color: rgba(0,0,0,.18);
  color:#111;
}

/* =========================================================
   PARTNERS
   ========================================================= */
.partners-section{
  padding: 96px 0;
}
.partners-section:before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.15));
}

.partners-grid{
  position: relative;
  z-index: 1;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 26px;
  align-items:center;
}

.partners-section .client-logo-heading{
  font-weight: 800;
  color:#fff;
  font-size: clamp(22px, 2.6vw, 40px);
  line-height: 1.15;
  margin: 0 0 12px;
}
.partners-section p{
  font-weight: 500;
  color: rgba(255,255,255,.90);
  font-size: 16px;
  line-height: 1.65;
  max-width: 540px;
  margin: 0;
}

.client-logos{
  display:flex;
  gap: 14px;
  align-items:stretch;
  margin-bottom: 14px;
  justify-content:flex-end;
}

.client-logo-wrap{
  background: var(--tile, #fff);
  border-radius: 18px;
  padding: 16px;
  width: 170px;
  height: 92px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .15s ease, box-shadow .15s ease;
}
.client-logo-wrap:hover{
  transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(0,0,0,.28);
}
.client-logo-wrap img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Responsive partners */
@media (max-width: 992px){
  .em-intro{ padding: 70px 0; }
  .partners-section{ padding: 70px 0; }
  .partners-grid{ grid-template-columns: 1fr; }
  .client-logos{ justify-content:flex-start; flex-wrap: wrap; }
  .client-logo-wrap{ width: min(46vw, 190px); }
}


