/* MultiMedia Store - stile ricalcato sul sito attuale */
@font-face{font-family:"Raleway";src:url("../fonts/raleway.woff2") format("woff2");font-weight:300 800;font-style:normal;font-display:swap}

:root{
  color-scheme:dark;
  --bg:#1F2226;
  --bg-dark:#0F1010;
  --bg-footer:#0A0B0C;
  --bg-strip:#15171A;
  --box:#252A2F;
  --box-line:#54595F;
  --text:#C3C0C0;
  --white:#FFFFFF;
  --muted:#818A91;
  --blue:#4A9EEF;
  --green:#23A455;
  --head:"Raleway", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--bg)}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}*{transition:none!important}}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);font-size:15px;line-height:1.7}
img{max-width:100%;display:block}
a{color:var(--blue)}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
h1,h2,h3{font-family:var(--head);color:var(--white);margin:0;line-height:1.2}
p{margin:0}
.wrap{max-width:1140px;margin-inline:auto;padding-inline:20px}

/* ---------- header ---------- */
.top{position:sticky;top:env(safe-area-inset-top,0px);z-index:50;background:rgba(31,34,38,.92);backdrop-filter:blur(6px)}
.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:72px}
.logo img{height:52px;width:auto}
.nav{display:flex;align-items:center}
.nav a{color:var(--white);text-decoration:none;text-transform:uppercase;font-size:14px;padding:10px 10px;white-space:nowrap;transition:background .2s}
.nav a:hover{background:rgba(255,255,255,.08)}
.nav a[aria-current="page"]{background:var(--box-line)}
.menu-btn{display:none;width:40px;height:40px;border:0;background:var(--blue);color:var(--white);cursor:pointer;place-items:center;border-radius:3px}
.menu-btn svg{width:22px;height:22px}
@media (max-width:1180px){
  .menu-btn{display:grid}
  .nav{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;background:var(--bg);border-top:1px solid var(--box);box-shadow:0 20px 30px -10px rgba(0,0,0,.6)}
  .nav.open{display:flex}
  .nav a{padding:15px 20px;border-bottom:1px solid var(--box);text-align:center}
}

/* ---------- hero (home) ---------- */
.hero{position:relative;background:#111 url("../img/hero.jpg") center/cover no-repeat;text-align:center}
.hero::before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.25)}
.hero .wrap{position:relative;padding-block:120px 110px;display:flex;flex-direction:column;align-items:center;gap:34px}
.hero h1{font-size:clamp(38px,6.4vw,78px);font-weight:700;letter-spacing:.07em;text-transform:uppercase;text-shadow:0 2px 20px rgba(0,0,0,.4)}
.hero h1 .blue{color:var(--blue)}
.hero .sub{background:rgba(40,40,40,.39);padding:10px 30px;max-width:620px}
.hero .sub p{font-family:var(--head);font-weight:300;color:var(--white);font-size:clamp(20px,2.4vw,30px);line-height:1.3}
.btns{display:flex;flex-wrap:wrap;justify-content:center;gap:20px}

/* ---------- inner page banner ---------- */
.banner{position:relative;background:#111 url("../img/hero.jpg") center 40%/cover no-repeat;text-align:center}
.banner::before{content:"";position:absolute;inset:0;background:rgba(15,16,16,.72)}
.banner .wrap{position:relative;padding-block:34px 30px;display:grid;gap:10px;justify-items:center}
.banner h1{font-size:clamp(26px,3.6vw,40px);font-weight:700;letter-spacing:4px;text-transform:uppercase}
.banner .crumbs{font-size:13px;color:var(--text);text-transform:uppercase;letter-spacing:.08em}
.banner .crumbs a{color:var(--white);text-decoration:none}
.banner .crumbs a:hover{color:var(--blue)}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 24px;border:2px solid var(--blue);background:var(--blue);color:var(--white);text-decoration:none;text-transform:uppercase;font-family:var(--sans);font-size:15px;font-weight:500;letter-spacing:.7px;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.btn:hover{background:#3A8BDB;border-color:#3A8BDB}
.btn.ghost{background:transparent;border-color:var(--white)}
.btn.ghost:hover{background:var(--white);color:var(--bg)}
.btn.green{background:var(--green);border-color:var(--green)}
.btn.green:hover{background:#1D8E49;border-color:#1D8E49}
.btn svg{width:17px;height:17px;flex:none}

/* ---------- sections ---------- */
.sec{padding-block:90px}
.sec.dark{background:var(--bg-dark)}
.title{text-align:center;display:grid;justify-items:center;gap:26px;margin-bottom:50px}
.title h2{font-size:clamp(22px,2.8vw,32px);font-weight:700;letter-spacing:4px;text-transform:uppercase}
.title .bar{width:120px;height:2px;background:var(--blue)}
.title p{max-width:820px;font-size:15.5px}
.center{text-align:center}

/* three columns with photo */
.cols3{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.col{display:flex;flex-direction:column;gap:16px;text-align:center}
.col img{width:100%;aspect-ratio:3/2;object-fit:cover}
.col h3{font-size:19px;font-weight:700}
@media (max-width:820px){.cols3{grid-template-columns:1fr;max-width:480px;margin-inline:auto}}

/* icon boxes */
.boxes{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.ibox{display:flex;gap:22px;align-items:flex-start;background:var(--box);padding:30px 28px}
.ibox .ic{flex:none;width:52px;height:52px;display:grid;place-items:center;color:var(--blue)}
.ibox .ic svg{width:40px;height:40px}
.ibox h3{font-size:19px;font-weight:700;margin-bottom:8px}
@media (max-width:780px){.boxes{grid-template-columns:1fr}}

/* news cards */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.card{background:var(--box);display:flex;flex-direction:column;border:1px solid #2E3338}
.card .thumb{position:relative;aspect-ratio:16/10;background:linear-gradient(135deg,#2B4F7A,#16314F);display:grid;place-items:center;color:var(--white)}
.card .thumb b{font-family:var(--head);font-size:30px;font-weight:800;letter-spacing:.02em;text-align:center;line-height:1.05}
.card .thumb b small{display:block;font-size:18px;font-weight:600;color:#BFD9F7}
.card .badge{position:absolute;top:14px;right:14px;background:var(--box-line);color:var(--white);font-size:11px;text-transform:uppercase;padding:4px 12px;border-radius:20px}
.card .body{padding:26px 26px 30px;display:flex;flex-direction:column;gap:14px;flex:1}
.card h3{font-size:21px;font-weight:600;color:var(--blue)}
.card .more{font-size:12px;font-weight:700;text-transform:uppercase;text-decoration:none;letter-spacing:.04em}
.card .date{border-top:1px solid #3A4046;padding:14px 26px;font-size:12px;color:var(--muted)}
@media (max-width:900px){.cards{grid-template-columns:1fr;max-width:520px;margin-inline:auto}}

/* brand grid */
.brands{display:flex;flex-wrap:wrap;justify-content:center;gap:18px 34px;max-width:1000px;margin-inline:auto}
.brands img{width:105px;height:70px;object-fit:cover;opacity:.85;transition:opacity .2s}
.brands img:hover{opacity:1}
.strip{background:var(--bg-strip);padding-block:40px;overflow:hidden}
.marquee{display:flex;gap:40px;width:max-content;animation:scroll 40s linear infinite}
.marquee img{width:95px;height:64px;object-fit:cover;opacity:.85}
@keyframes scroll{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion: reduce){.marquee{animation:none;flex-wrap:wrap;width:auto;justify-content:center}}

/* contact */
.contact{display:grid;grid-template-columns:1.2fr 1fr;gap:50px;align-items:start}
form{display:grid;gap:16px}
label{color:var(--white);font-size:14px}
label .req{color:#E2564D}
input[type=text],input[type=email],textarea{width:100%;background:transparent;border:1px solid var(--box-line);color:var(--white);padding:11px 14px;font:inherit;border-radius:0}
input::placeholder,textarea::placeholder{color:#6F767D}
textarea{min-height:130px;resize:vertical}
.radios{display:flex;flex-wrap:wrap;gap:6px 22px;color:var(--white);font-size:14px}
.radios label,.check{display:flex;align-items:center;gap:7px}
.check{font-size:14px;color:var(--white)}
.check a{color:var(--blue)}
.hp{position:absolute;left:-9999px}
form .btn{width:100%}
.notice{padding:14px 18px;border-left:3px solid var(--green);background:rgba(35,164,85,.12);color:var(--white)}
.notice.err{border-color:#E2564D;background:rgba(226,86,77,.12)}
.refs h3{font-size:22px;letter-spacing:2px;text-transform:uppercase;margin-bottom:20px}
.ref{display:flex;align-items:center;gap:16px;border:1px solid var(--box-line);padding:14px 18px;margin-bottom:16px;color:var(--white);text-decoration:none;font-size:19px;font-family:var(--head);font-weight:400}
.ref svg{width:26px;height:26px;color:var(--blue);flex:none}
a.ref:hover{border-color:var(--blue)}
.map{border:0;width:100%;height:380px;display:block;filter:grayscale(.2)}
.map-wrap{position:relative;background:var(--box)}
.map-wrap .fallback{position:absolute;inset:0;display:grid;place-items:center;z-index:0}
.map-wrap iframe{position:relative;z-index:1}
@media (max-width:860px){.contact{grid-template-columns:1fr}}

/* download */
.dl{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.dlbox{display:flex;gap:22px;align-items:center;background:var(--box);padding:30px;text-decoration:none;color:var(--text);border:1px solid transparent;transition:border-color .2s}
.dlbox:hover{border-color:var(--blue)}
.dlbox .ic{flex:none;width:64px;height:64px;display:grid;place-items:center;background:var(--bg);color:var(--blue)}
.dlbox .ic svg{width:36px;height:36px}
.dlbox h3{font-size:21px;margin-bottom:6px}
.dlbox .go{display:inline-block;margin-top:10px;font-size:12px;font-weight:700;text-transform:uppercase;color:var(--blue);letter-spacing:.05em}
.steps{max-width:820px;margin:50px auto 0;display:grid;gap:12px;counter-reset:s;padding:0;list-style:none}
.steps li{display:flex;gap:16px;align-items:flex-start}
.steps li::before{counter-increment:s;content:counter(s);flex:none;width:30px;height:30px;display:grid;place-items:center;background:var(--blue);color:var(--white);font-weight:700;font-size:14px}
@media (max-width:780px){.dl{grid-template-columns:1fr}}

/* text page */
.prose{max-width:820px;margin-inline:auto;display:grid;gap:16px}
.prose h2{font-size:22px;margin-top:18px}
.prose ul{margin:0;padding-left:20px;display:grid;gap:6px}

/* call band */
.callband{background:var(--bg-dark);padding-block:70px;text-align:center}
.callband .wrap{display:grid;justify-items:center;gap:22px}
.callband h2{font-size:clamp(20px,2.6vw,30px);letter-spacing:3px;text-transform:uppercase}

/* ---------- footer ---------- */
.foot{background:var(--bg-footer);padding-block:24px;font-size:14px}
.foot .wrap{display:grid;gap:26px}
.foot .row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:24px}
.foot img{height:56px;width:auto}
.foot nav{display:flex;flex-wrap:wrap;gap:6px 20px}
.foot nav a{color:var(--text);text-decoration:none;text-transform:uppercase;font-size:13px}
.foot nav a:hover{color:var(--white)}
.foot .legal{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;color:var(--muted);font-size:13px}
.foot .legal a{color:var(--muted)}
.ref.wa svg{color:var(--green)}
a.ref.wa:hover{border-color:var(--green)}
.refs-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px;max-width:900px;margin-inline:auto}
.refs-grid h3{grid-column:1/-1;text-align:center;margin-bottom:4px}
.refs-grid .ref{margin-bottom:0}
@media (max-width:700px){.refs-grid{grid-template-columns:1fr}}
.map-consent{min-height:380px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:40px 24px;text-align:center;background:linear-gradient(rgba(37,42,47,.92),rgba(37,42,47,.92)),repeating-linear-gradient(45deg,#2B3036 0 2px,transparent 2px 22px)}
.map-consent svg{width:44px;height:44px;color:var(--blue)}
.map-consent p{max-width:560px;color:var(--text)}
.cards-2{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
@media (max-width:900px){.cards-2{grid-template-columns:1fr}}
.card .thumb-remote{background:radial-gradient(circle at 50% 45%,#1E3556,#12233B 70%)}
.thumb-remote img{width:72%;height:auto}
.mini-steps{margin:0;padding:0;list-style:none;counter-reset:m;display:grid;gap:10px}
.mini-steps li{display:flex;gap:12px;align-items:flex-start}
.mini-steps li::before{counter-increment:m;content:counter(m);flex:none;width:24px;height:24px;display:grid;place-items:center;background:var(--blue);color:var(--white);font-size:13px;font-weight:700;margin-top:2px}
.card .btn{font-size:13px;padding:10px 16px}
.card .thumb-docente{background:radial-gradient(circle at 50% 45%,#0A72D9,#0057AD 75%)}
.thumb-docente img{width:72%;height:auto}
.card .thumb-remote,.card .thumb-docente{aspect-ratio:16/6}
.thumb-remote img,.thumb-docente img{width:52%;max-width:300px}
.banner-sub{color:var(--white);font-size:16px;max-width:720px;line-height:1.6}
.titles-sm .title h2{font-size:clamp(22px,2.8vw,32px);letter-spacing:4px}
.titles-sm .col h3{font-size:19px}

/* ---------- animazione titolo homepage ---------- */
.hero-title{perspective:600px}
.hero-title .w{display:inline-block;white-space:nowrap}
.hero-title .ch{display:inline-block;animation:ch-in .7s cubic-bezier(.2,.9,.25,1.15) both, ch-glow-blue 7s ease-in-out infinite;animation-delay:calc(var(--i) * 55ms + .15s), calc(var(--i) * 70ms + 1.6s)}
.hero-title .blue .ch{color:var(--blue);animation:ch-in .7s cubic-bezier(.2,.9,.25,1.15) both, ch-glow 7s ease-in-out infinite;animation-delay:calc(var(--i) * 55ms + .15s), calc(var(--i) * 70ms + 1.6s)}
@keyframes ch-in{
  0%{opacity:0;transform:translateY(-.55em) rotateX(80deg) scale(1.15);filter:blur(10px)}
  60%{opacity:1;filter:blur(0)}
  100%{opacity:1;transform:none;filter:none}
}
@keyframes ch-glow-blue{
  0%,14%,100%{text-shadow:0 2px 20px rgba(0,0,0,.4);color:var(--white)}
  6%{text-shadow:0 0 14px rgba(74,158,239,.95),0 0 34px rgba(74,158,239,.8);color:var(--blue)}
}
@keyframes ch-glow{
  0%,14%,100%{text-shadow:0 2px 20px rgba(0,0,0,.4);color:var(--blue)}
  6%{text-shadow:0 0 14px rgba(120,190,255,.95),0 0 34px rgba(74,158,239,.8);color:#BFE0FF}
}
.hero-line{width:0;height:3px;background:linear-gradient(90deg,transparent,var(--blue),transparent);margin-top:-14px;animation:line-in 1s ease-out 1.1s both}
@keyframes line-in{from{width:0;opacity:0}to{width:min(520px,70%);opacity:1}}
.hero .sub,.hero .btns{animation:fade-up .8s ease-out both}
.hero .sub{animation-delay:1.25s}
.hero .btns{animation-delay:1.5s}
@keyframes fade-up{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion: reduce){
  .hero-title .ch,.hero-title .blue .ch,.hero-line,.hero .sub,.hero .btns{animation:none!important}
  .hero-line{width:min(520px,70%)}
}

/* homepage: solo apertura a tutto schermo */
body:has(.hero){min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
body:has(.hero) main{flex:1;display:flex}
body:has(.hero) .hero{flex:1;display:flex;align-items:center;justify-content:center}
body:has(.hero) .hero .wrap{padding-block:40px;width:100%}

/* news (pagina Servizi) */
.card .thumb-news{aspect-ratio:16/6}
.thumb-news img{width:52%;max-width:300px;height:auto;max-height:80%;object-fit:contain}
.thumb-news.thumb-fill img{width:100%;max-width:none;height:100%;max-height:none;object-fit:cover}
.thumb-news b{color:var(--white);padding:0 20px}
.card .body strong{color:var(--white)}
.card .body a:not(.btn){color:var(--blue)}
.mini-list{margin:0;padding-left:20px;display:grid;gap:6px}
.news-btns{justify-content:flex-start;gap:12px;margin-top:4px}
.thumb-news.thumb-fill img{position:absolute;inset:0}
.card .badge{z-index:1}

/* software */
.sw-ver{font-size:14px;font-weight:400;color:var(--muted);margin-left:6px}
.sw-dl{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:6px}
.sw-meta{font-size:12px;color:var(--muted)}
.sw-note{margin-top:40px;color:var(--muted)}

.top .wrap{max-width:1260px}
.logo{flex:none}
