/* Viganò Musica – foglio di stile */
@font-face{font-family:"Josefin Sans";font-weight:300;font-display:swap;src:url(../fonts/josefin-sans-latin-300-normal.woff2) format("woff2")}
@font-face{font-family:"Josefin Sans";font-weight:400;font-display:swap;src:url(../fonts/josefin-sans-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Barlow";font-weight:400;font-display:swap;src:url(../fonts/barlow-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Barlow";font-weight:500;font-display:swap;src:url(../fonts/barlow-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Mulish";font-weight:300;font-display:swap;src:url(../fonts/mulish-latin-300-normal.woff2) format("woff2")}
@font-face{font-family:"Mulish";font-weight:400;font-display:swap;src:url(../fonts/mulish-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Mulish";font-weight:600;font-display:swap;src:url(../fonts/mulish-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Mulish";font-weight:700;font-display:swap;src:url(../fonts/mulish-latin-700-normal.woff2) format("woff2")}

:root{
  --dark:#303232; --darker:#24251e; --footer:#2e2f2f; --cream:#faf9f3; --blue:#1b76bc; --blue-light:#5a96d9;
  --title:"Josefin Sans",sans-serif; --body:"Avenir Next","Avenir","Mulish",sans-serif; --nav:"Barlow",sans-serif;
  --wrap:1400px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--body);font-weight:300;color:var(--dark);background:var(--dark);-webkit-font-smoothing:antialiased}
img,video{display:block;max-width:100%}
a{color:inherit}
h1,h2,h3,h4,h5,h6{margin:0;font-weight:300}
p{margin:0}

/* ---------- Header ---------- */
.site-header{position:relative;z-index:20;background:var(--dark);height:112px}
.site-header.over{position:absolute;top:0;left:0;right:0;background:transparent}
.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;padding:0 50px 0 58px}
.logo{display:block;width:146px}
.logo img{width:100%}
.nav{display:flex;align-items:center;gap:24px;font-family:var(--nav);font-weight:500;font-size:16px}
.nav a{color:#fff;text-decoration:none;transition:color .2s}
.nav a:hover,.nav a.active{color:var(--blue-light)}
.nav a.cta{background:var(--blue);color:#fff;border-radius:7px;padding:8px 6px;font-weight:400;font-size:14.5px}
.nav a.cta:hover{background:#2486d4;color:#fff}
.burger{display:none;background:none;border:0;padding:8px;cursor:pointer}
.burger span{display:block;width:26px;height:2px;background:#fff;margin:6px 0}

.lang{color:#fff;font-size:13px;margin-left:4px;opacity:.85}
.lang a{font-weight:400}
.lang a.on{color:var(--blue-light);font-weight:500}

/* ---------- Heritage ---------- */
.heritage{background:var(--dark);padding:64px 24px 10px}
.her-in{max-width:860px;margin:0 auto;text-align:center;color:#fff}
.her-t{font-family:var(--title);font-weight:300;font-size:34px;line-height:1.15;color:#fff;margin-bottom:14px}
.her-p{font-size:17px;line-height:1.6;color:#e6e6e6;margin-bottom:16px}
.her-p strong{color:#fff;font-weight:600}
.her-l{color:var(--blue-light);text-decoration:none;font-weight:600;font-size:15px}
.her-l:hover{text-decoration:underline}
.her-in::after{content:"";display:block;width:52px;height:2px;background:var(--blue);margin:34px auto 0}

/* ---------- Footer ---------- */
.clients{background:var(--darker);padding:58px 20px 50px}
.clients-grid{max-width:1100px;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:26px 40px}
.clients-grid img{height:auto;object-fit:contain}
.site-footer{background:var(--footer);color:#fff;padding:56px 90px 60px;display:grid;grid-template-columns:1fr 1fr .6fr;gap:40px;font-size:13px;line-height:1.6}
.site-footer .f-logo img{width:230px}
.site-footer .f-logo hr{border:0;border-top:1px solid var(--blue);width:230px;margin:2px 0 12px}
.site-footer .f-logo p{font-family:var(--title);font-size:15px;letter-spacing:.03em}
.site-footer a{text-decoration:none}
.site-footer a:hover{color:var(--blue-light)}
.site-footer .f-links{text-align:left;justify-self:end;padding-right:40px}
.site-footer .f-contacts p{margin-bottom:0}
.site-footer .gap{height:12px}

/* ---------- Common ---------- */
.txt-just{text-align:justify}
.small{font-size:13px;line-height:1.6}
.blue{color:var(--blue)}

/* ---------- HOME ---------- */
.hero{position:relative;height:480px;overflow:hidden;background:#000}
.hero video,.hero .poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.25)}
.hero h1,.hero h3{position:absolute;z-index:2;left:9%;top:165px;max-width:620px;color:#fff;font-family:var(--title);font-weight:300;font-size:45px;line-height:1.1;text-transform:uppercase}

.intro{background:var(--dark);padding:40px 0 0;position:relative}
.intro::after{content:"";position:absolute;left:0;right:0;bottom:0;height:42%;background:var(--cream)}
.intro-cols{display:grid;grid-template-columns:475px 360px;margin-left:97px;margin-bottom:66px}
.intro-cols h2{color:#fff;font-family:var(--body);font-weight:400;font-size:16px;line-height:1.38;text-transform:uppercase;padding:34px 46px 30px 0;border-right:1px solid var(--blue)}
.intro-cols p{color:#fff;font-weight:400;font-size:16px;line-height:1.55;padding:20px 0 30px 37px}
.intro-img{position:relative;z-index:1;margin:0 52px;height:557px;overflow:hidden}
.intro-img img{width:100%;height:100%;object-fit:cover}

.cream{background:var(--cream)}
.row-a{display:grid;grid-template-columns:1fr 1fr;align-items:start;padding:120px 0 40px}
.row-a .text{width:400px;margin:0 0 0 140px}
.row-a .text p{font-size:15.5px;line-height:1.7;margin-bottom:1.2em}
.row-a .pic{width:656px;max-width:90%;margin-left:0;height:930px;overflow:hidden;margin-top:-80px}
.row-a .pic img{width:100%;height:100%;object-fit:cover}
.row-b{display:grid;grid-template-columns:1fr 1fr;align-items:start;padding:0 0 70px}
.row-b .vid{margin-left:90px;width:688px;max-width:92%;height:830px;overflow:hidden;background:#000}
.row-b .vid video{width:100%;height:100%;object-fit:cover}
.row-b .text{width:420px;margin:40px 0 0 120px}
.row-b .text p{font-size:15.5px;line-height:1.7;margin-bottom:1.2em}

.split{display:grid;grid-template-columns:1fr 1fr}
.split .left{background:var(--dark);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:140px 20px}
.split .left img{width:278px;height:183px;object-fit:cover}
.split .right{background:#fff;padding:120px 40px 80px 120px;font-size:14px}
.split .right h2{font-family:var(--body);font-weight:700;font-size:18px;color:#555;margin-bottom:48px}
.svc{display:flex;margin-bottom:48px}
.svc .lbl{color:var(--blue);font-weight:700;font-size:14.5px;min-width:150px;padding-right:12px;line-height:1.5}
.svc .lbl small{display:block;font-weight:400;font-size:13px}
.svc ul{list-style:none;margin:0;padding:0 0 0 6px;border-left:2px solid var(--blue)}
.svc ul li{padding:3px 0 6px}
.svc.stack{flex-direction:column}
.svc.stack .lbl{padding:0 0 0 6px;border-left:2px solid var(--blue);min-width:0}
.svc.stack ul{border-left:2px solid var(--blue);margin-top:0}
.svc.stack ul.no-b{border-left:2px solid var(--blue)}

/* ---------- AZIENDA ---------- */
.band{background:var(--dark);padding:70px 52px 42px}
.band .img{height:280px;overflow:hidden}
.band .img img{width:100%;height:100%;object-fit:cover;object-position:center 40%}
.storia{background:var(--cream);padding:62px 0 40px}
.storia .col{width:700px;margin-left:auto;margin-right:9%;max-width:calc(100% - 40px)}
.sec-title{display:flex;align-items:center;gap:14px;color:var(--blue);font-family:var(--title);font-weight:300;font-size:19px;letter-spacing:.04em;text-transform:uppercase;margin-bottom:10px}
.sec-title::before{content:"";width:24px;height:24px;background:var(--blue);flex:none}
.storia p{font-size:16px;line-height:1.75;margin-bottom:1em}
.mezzi{background:var(--dark);display:grid;grid-template-columns:1fr 1fr;padding:22px 0 0}
.mezzi .pic{margin-left:52px;height:477px;overflow:hidden}
.mezzi .pic img{width:100%;height:100%;object-fit:cover}
.mezzi .text{padding:26px 0 0 110px;width:560px;max-width:100%}
.mezzi h2{color:var(--blue-light);font-family:var(--title);font-weight:300;font-size:22px;text-transform:uppercase;letter-spacing:.04em;margin-bottom:18px}
.mezzi p{color:#fff;font-weight:400;font-size:16px;line-height:1.7}
.team{background:var(--dark);padding:26px 0 56px;display:flex;justify-content:center}
.team .team-card{display:grid;grid-template-columns:400px 460px}
.team .vid{height:476px;overflow:hidden;background:#000}
.team .vid video{width:100%;height:100%;object-fit:cover}
.team .box{background:var(--cream);padding:38px 34px 30px 38px}
.team h2{display:flex;gap:10px;color:var(--blue);font-family:var(--title);font-weight:300;font-size:19px;text-transform:uppercase;letter-spacing:.04em;line-height:1.1;margin-bottom:28px}
.team h2::before{content:"";width:22px;height:2px;background:var(--blue);margin-top:9px;flex:none}
.team p{font-size:15px;line-height:1.7;margin-bottom:1em}

/* ---------- SERVIZI ---------- */
.page-hero{position:relative;height:160px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#000}
.page-hero video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55}
.page-hero h1{position:relative;color:#fff;font-family:var(--title);font-weight:300;font-size:45px}
.cards{background:var(--dark);padding:0 0 120px}
.cards-grid{max-width:1040px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:72px 135px;padding-top:0}
.card{position:relative;height:330px}
.card .img{width:416px;max-width:85%;height:100%;overflow:hidden}
.card .img img{width:100%;height:100%;object-fit:cover;filter:grayscale(1)}
.card .box{position:absolute;left:200px;top:46px;width:286px;min-height:234px;background:rgba(235,234,228,.93);padding:36px 34px;color:var(--dark)}
.card .box h2{font-family:var(--body);font-weight:600;font-size:17px;line-height:1.35;margin-bottom:22px}
.card .box p{font-size:14px;line-height:1.55;margin-bottom:24px}
.btn{display:inline-block;background:var(--blue);color:#fff;text-decoration:none;border-radius:3px;font-size:12px;padding:8px 18px}
.btn:hover{background:#2486d4}
.cards-grid .card:first-child{margin-top:0}
.cards-grid .card{margin-top:-10px}

.detail{background:var(--cream);padding:60px 0 100px}
.detail-inner{max-width:1100px;margin:0 auto;padding:0 30px}
.back{display:inline-block;color:var(--blue);text-decoration:none;font-size:14px;margin-bottom:34px}
.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start}
.detail-grid img{width:100%;height:auto}
.detail h1{font-family:var(--title);font-weight:300;font-size:36px;line-height:1.15;color:var(--dark);margin-bottom:18px}
.detail .lead{color:var(--blue);font-weight:600;font-size:16px;margin-bottom:20px}
.detail p{font-size:16px;line-height:1.75;margin-bottom:1.1em}

/* ---------- CONTATTI ---------- */
.contact{display:grid;grid-template-columns:1fr 1fr;min-height:420px}
.contact .c-left{background:var(--blue);display:flex;flex-direction:column;align-items:center;padding:86px 20px 60px}
.contact .c-right{background:var(--cream);display:flex;flex-direction:column;align-items:center;padding:86px 20px 60px;text-align:center}
.spaced{font-family:"Barlow",var(--title);font-weight:500;font-size:31px;letter-spacing:.32em;text-transform:uppercase;line-height:1.15;text-align:center;padding-left:.32em}
.c-left .spaced{color:var(--dark)}
.c-right .spaced{color:var(--blue)}
.c-right .spaced span{color:var(--dark)}
.bar{width:52px;height:5px;margin:14px auto 34px}
.c-left .bar{background:#fff}
.c-right .bar{background:var(--blue)}
.c-list{list-style:none;margin:0;padding:0;color:#fff;font-size:15px;line-height:1.65}
.c-list li{display:flex;gap:28px;margin-bottom:12px}
.c-list svg{width:17px;height:17px;fill:var(--dark);flex:none;margin-top:3px}
.c-list a{text-decoration:none}
.c-list a:hover{text-decoration:underline}
.c-right p{font-size:15px;line-height:1.6}
.c-right .hours{color:#111;font-weight:400;margin-bottom:4px}
.c-right svg{width:18px;height:18px;fill:var(--dark);margin:0 auto 6px}
.map{height:300px;background:#e6e4dc;position:relative}
.map iframe{border:0;width:100%;height:100%}
.map .map-ph{position:absolute;inset:0;display:flex;flex-direction:column;gap:14px;align-items:center;justify-content:center;font-size:14px;text-align:center;padding:20px}

/* ---------- PREVENTIVO ---------- */
.quote{position:relative;background:#8a8a82 url(../img/preventivo-sfondo.jpg) center top/100% auto no-repeat;padding:80px 20px 68px}
.quote .q-box{max-width:816px;margin:0 auto;background:rgba(27,118,188,.92);padding:40px 20px 66px;color:#fff}
.quote .spaced{color:var(--dark);font-size:30px;letter-spacing:.3em}
.quote .spaced span{color:#fff}
.quote .bar{background:#fff;margin:4px auto 16px;width:34px;height:4px}
.quote .sub{text-align:center;font-family:var(--nav);font-size:16px;margin-bottom:12px}
.q-form{max-width:408px;margin:0 auto}
.q-form label{display:block;font-size:13px;color:#fff;margin:12px 0 3px}
.q-form input,.q-form textarea{width:100%;background:var(--cream);border:1px solid #fff;font:14px var(--body);padding:6px 8px;color:var(--dark)}
.q-form input{height:32px}
.q-form textarea{height:130px;resize:vertical}
.q-form button{width:100%;margin-top:12px;height:32px;background:#202122;color:#fff;border:0;font:13px var(--body);cursor:pointer}
.q-form button:hover{background:#000}
.q-ok{display:none;text-align:center;font-size:16px;margin-top:20px}
.hp{position:absolute;left:-9999px}

/* ---------- Legal ---------- */
.legal{background:var(--cream);padding:60px 20px 90px}
.legal .in{max-width:900px;margin:0 auto;font-size:14px;line-height:1.7}
.legal h1{font-family:var(--title);font-size:36px;margin-bottom:22px}
.legal h2,.legal h3{font-family:var(--body);font-weight:700;font-size:16px;margin:26px 0 8px}
.legal p{margin-bottom:10px}

/* ---------- Cookie banner ---------- */
.cookie{position:fixed;left:0;right:0;bottom:0;z-index:100;background:#000;color:#fff;display:none;align-items:center;justify-content:space-between;gap:20px;padding:14px 32px;font-family:Arial,sans-serif;font-size:13px}
.cookie.show{display:flex}
.cookie a{color:#fff}
.cookie .acts{display:flex;gap:14px;align-items:center;flex:none}
.cookie button{font:13px Arial,sans-serif;padding:6px 14px;cursor:pointer;border:1px solid #fff}
.cookie .rej{background:#000;color:#fff}
.cookie .acc{background:#fff;color:#000}

/* ---------- Responsive ---------- */
@media (max-width:1250px){
  .row-a .text{margin-left:8vw}
  .row-b .text{margin-left:8vw}
  .split .right{padding-left:80px}
  .storia .col{margin-left:auto;margin-right:auto}
  .mezzi .text{padding-left:60px}
}
@media (max-width:900px){
  .site-header,.site-header.over{height:80px}
  .header-inner{padding:0 20px}
  .logo{width:120px}
  .burger{display:block}
  .nav{display:none;position:absolute;top:80px;left:0;right:0;background:var(--dark);flex-direction:column;align-items:flex-start;padding:16px 24px 24px;gap:16px}
  .nav.open{display:flex}
  .hero{height:440px}
  .hero h1,.hero h3{font-size:30px;left:24px;right:24px;top:140px}
  .her-t{font-size:26px}
  .lang{margin-left:0}
  .intro{padding-top:40px}
  .intro-cols{grid-template-columns:1fr;margin:0 24px 40px}
  .intro-cols h2{border-right:0;border-bottom:1px solid var(--blue);padding:0 0 20px}
  .intro-cols p{padding:20px 0 0}
  .intro-img{margin:0 16px;height:auto}
  .row-a,.row-b,.split,.mezzi,.contact,.detail-grid{grid-template-columns:1fr}
  .row-a{padding:50px 0 20px}
  .row-a .text,.row-b .text{width:auto;margin:0 24px 30px}
  .row-a .pic{width:auto;max-width:none;height:auto;margin:0 24px}
  .row-b{padding-bottom:40px}
  .row-b .vid{width:auto;max-width:none;margin:0 24px 30px;height:520px}
  .row-b .text{order:2}
  .split .left{padding:50px 20px}
  .split .right{padding:50px 24px}
  .svc{flex-direction:column}
  .svc .lbl{margin-bottom:6px}
  .band{padding:30px 16px}
  .band .img{height:200px}
  .storia .col{width:auto;margin:0 24px}
  .mezzi .pic{margin:0 16px;height:280px}
  .mezzi .text{padding:30px 24px 0;width:auto}
  .team{padding:30px 16px 50px}
  .team .team-card{grid-template-columns:1fr}
  .team .vid{height:420px}
  .cards-grid{grid-template-columns:1fr;gap:40px;padding:0 16px}
  .card{height:auto}
  .card .img{width:100%;max-width:none;height:240px}
  .card .box{position:relative;left:auto;top:auto;width:auto;min-height:0;margin:-60px 16px 0 40px}
  .cards-grid .card{margin-top:0}
  .site-footer{grid-template-columns:1fr;padding:40px 24px;gap:28px}
  .site-footer .f-links{justify-self:start;padding:0}
  .clients-grid{gap:20px 26px}
  .clients-grid img{transform:scale(.8)}
  .spaced{font-size:24px}
  .cookie{flex-direction:column;align-items:flex-start;padding:14px 18px}
}
