@charset "utf-8";
/* CSS Document */


/*
  TEMPLATE BACKGROUNDS
    single IMG BACKGROUND
	  single IMG BACKGROUND - FILM GRAIN
	  single IMG BACKGROUND - PARTICLES
	  single IMG BACKGROUND - SNOW
	  single IMG BACKGROUND - FOG
	  single IMG BACKGROUND - RAIN
	  single IMG BACKGROUND - CLOUDS
	  single IMG BACKGROUND - BIRDS
	ken burns slideshow IMG BACKGROUND
	  ken burns slideshow IMG BACKGROUND - RAIN, PARTICLES
	hero slider IMG BACKGROUND
	  hero slider IMG BACKGROUND - RAIN, PARTICLES
	hero split slider IMG BACKGROUND
	  hero split slider IMG BACKGROUND - RAIN, PARTICLES
	works IMG BACKGROUND
  reset
  layout
  navigation
  link style
  brackets
  ui layer
  borders
  countdown
  center container
  lines
  intro years
  facts counter
  blockquote
  services
    skills bar
  link underline
  contact form
    contact form placeholders
  button effect
  works
    works modal 
  ex modal
  newsletter form
    newsletter placeholders
  shadow
  hero container
    hero bg
    hero fullscreen FIX
  slick fullscreen,
    slick fullscreen SPLIT
  ken burns slideshow
  YouTube video
  HTML5 video
  Vimeo video
  divider
  preloader
  EFFECTS
    film grain
    particles
	  appear element
	snow
	fog
	rain
	clouds
	birds
*/


/* TEMPLATE BACKGROUNDS */
/* single IMG BACKGROUND */
.bg-img-SINGLE {
background-image: url(../img/background/SINGLE-bg.jpg);
}

/* single IMG BACKGROUND - FILM GRAIN */
.bg-img-SINGLE-FILM-GRAIN {
background-image: url(../img/background/SINGLE-bg-FILM-GRAIN.jpg);
}

/* single IMG BACKGROUND - PARTICLES */
.bg-img-SINGLE-PARTICLES {
background-image: url(../img/background/SINGLE-bg-PARTICLES.jpg);
}

/* single IMG BACKGROUND - SNOW */
.bg-img-SINGLE-SNOW {
background-image: url(../img/background/SINGLE-bg-SNOW.jpg);
}

/* single IMG BACKGROUND - FOG */
.bg-img-SINGLE-FOG {
background-image: url(../img/background/SINGLE-bg-FOG.jpg);
}

/* single IMG BACKGROUND - RAIN */
.bg-img-SINGLE-RAIN {
background-image: url(../img/background/SINGLE-bg-RAIN.jpg);
}

/* single IMG BACKGROUND - CLOUDS */
.bg-img-SINGLE-CLOUDS {
background-image: url(../img/background/SINGLE-bg-CLOUDS.jpg);
}

/* single IMG BACKGROUND - BIRDS */
.bg-img-SINGLE-BIRDS {
background-image: url(../img/background/SINGLE-bg-BIRDS.jpg);
}


/* ken burns slideshow IMG BACKGROUND */
.kenburns-slide-1 {
background-image: url(../img/background/kenburns-bg-1.jpg);
}

.kenburns-slide-2 {
background-image: url(../img/background/kenburns-bg-2.jpg);
}

.kenburns-slide-3 {
background-image: url(../img/background/kenburns-bg-3.jpg);
}

.kenburns-slide-4 {
background-image: url(../img/background/kenburns-bg-4.jpg);
}

/* ken burns slideshow IMG BACKGROUND - RAIN, PARTICLES */
.kenburns-slide-1-2 {
background-image: url(../img/background/kenburns-bg-1-2.jpg);
}

.kenburns-slide-2-2 {
background-image: url(../img/background/kenburns-bg-2-2.jpg);
}

.kenburns-slide-3-2 {
background-image: url(../img/background/kenburns-bg-3-2.jpg);
}

.kenburns-slide-4-2 {
background-image: url(../img/background/kenburns-bg-4-2.jpg);
}


/* hero slider IMG BACKGROUND */
.bg-img-1 {
background-image: url(../img/background/hero-bg-1.jpg);
}

.bg-img-2 {
background-image: url(../img/background/hero-bg-2.jpg);
}

.bg-img-3 {
background-image: url(../img/background/hero-bg-3.jpg);
}

.bg-img-4 {
background-image: url(../img/background/hero-bg-4.jpg);
}

/* hero slider IMG BACKGROUND - RAIN, PARTICLES */
.bg-img-1-2 {
background-image: url(../img/background/hero-bg-1-2.jpg);
}

.bg-img-2-2 {
background-image: url(../img/background/hero-bg-2-2.jpg);
}

.bg-img-3-2 {
background-image: url(../img/background/hero-bg-3-2.jpg);
}

.bg-img-4-2 {
background-image: url(../img/background/hero-bg-4-2.jpg);
}


/* hero split slider IMG BACKGROUND */
.bg-split-img-1 {
background-image: url(../img/background/hero-split-bg-1.jpg);
}

.bg-split-img-2 {
background-image: url(../img/background/hero-split-bg-2.jpg);
}

.bg-split-img-3 {
background-image: url(../img/background/hero-split-bg-3.jpg);
}

.bg-split-img-4 {
background-image: url(../img/background/hero-split-bg-4.jpg);
}

/* hero split slider IMG BACKGROUND - RAIN, PARTICLES */
.bg-split-img-1-2 {
background-image: url(../img/background/hero-split-bg-1-2.jpg);
}

.bg-split-img-2-2 {
background-image: url(../img/background/hero-split-bg-2-2.jpg);
}

.bg-split-img-3-2 {
background-image: url(../img/background/hero-split-bg-3-2.jpg);
}

.bg-split-img-4-2 {
background-image: url(../img/background/hero-split-bg-4-2.jpg);
}


/* works IMG BACKGROUND */
.works-inner-img-1 {
background-image: url(../img/works/works-1.jpg);
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
}

.works-inner-img-2 {
background-image: url(../img/works/works-2.jpg);
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
}

.works-inner-img-3 {
background-image: url(../img/works/works-3.jpg);
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
}

.works-inner-img-4 {
background-image: url(../img/works/works-4.jpg);
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
}

.works-inner-img-5 {
background-image: url(../img/works/works-5.jpg);
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
}

.works-inner-img-6 {
background-image: url(../img/works/works-6.jpg);
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
}


/* reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}

html, body {
height: 100%;
}

body {
line-height: 1;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block;
}

ol, ul {
list-style: none;
}

blockquote, q {
quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
content: '';
content: none;
}

table {
border-collapse: collapse;
border-spacing: 0;
}

*:focus {  
outline: none;
}

/* remove dotted outline from links, button and input element */
a:focus, a:active,
button::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner {
border: 0;
outline: 0;
}


/* layout */
body {
font-family: 'Inter', sans-serif;
font-size: 14px;
line-height: 1.5;
font-style: normal;
font-weight: 400;
text-align: left;
color: #fff;
background: #000;
 -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
   -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
width: 100%;
height: 100%;
overflow-x: hidden;
overflow-y: auto;
margin: 0;
padding: 0;
}

a {
color: #fff;
text-decoration: none;
outline: none;
 -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
   -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
-webkit-transition: all 0.5s linear;
   -moz-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
     -o-transition: all 0.5s linear;
        transition: all 0.5s linear;
}

a:hover,
a:visited,
a:active,
a:focus {
color: #fff;
text-decoration: none;
outline: none;
-webkit-transition: all 0.5s linear;
   -moz-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
     -o-transition: all 0.5s linear;
        transition: all 0.5s linear;
}

p {
 -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
   -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

p a {
color: #fff;
text-decoration: underline;
outline: none;
-webkit-transition: all 0.5s linear;
   -moz-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
     -o-transition: all 0.5s linear;
        transition: all 0.5s linear;
}

p a:hover {
color: #fff;
text-decoration: underline;
outline: none;
-webkit-transition: all 0.5s linear;
   -moz-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
     -o-transition: all 0.5s linear;
        transition: all 0.5s linear;
}

strong {
font-weight: bold;
}

::-moz-selection { background: #000; color: #fff; }
     ::selection { background: #000; color: #fff; }
	 
	 
.upper-page {
min-height: 100%;
margin: 0;
padding: 0;
background: none;
}

.upper-content {
margin: 0 auto;
padding: 0;
}

.lower-page {
min-height: 100%;
margin: 0;
padding: 0;
}

.lower-content {
margin: 0 auto;
padding: 138px 0 38px 0;
}

.lower-content p {
padding: 10px;
color: #fff;
text-align: center;
}

@media only screen and (max-width: 640px) {
  .lower-content p {
    text-align: left;
  }
}

.sections {
position: relative;
text-align: center;
z-index: 10;
}

.sections p {
font-size: 15px;
line-height: 1.8;
font-weight: 400;
color: rgba(255,255,255,0.92);
}

.sections h3 {
font-size: 21px;
font-weight: 600;
line-height: 1.4;
color: #fff;
margin-bottom: 16px;
}

.sections h4 {
font-size: 17px;
font-weight: 600;
color: rgba(255,255,255,0.95);
margin-top: 24px;
margin-bottom: 10px;
}

.sections h5 {
font-size: 14px;
font-weight: 600;
color: rgba(255,255,255,0.8);
letter-spacing: 0.04em;
}

#about, #metodo, #moodle, #ai, #services, #works, #contact {
display: none;
}

@media only screen and (max-width: 640px) {
  .section-home {
    margin-bottom: 30px;
  }

  .section-about {
    margin-bottom: 20px;
  }
}

/* testi sezione AI */
#ai p {
    font-size: 17px;
    line-height: 1.7;
}

#ai blockquote h3 {
    font-size: 32px;
    line-height: 1.3;
}

#ai .col-md-8 h3 {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
    margin-top: 1.6em;
    margin-bottom: 0.6em;
}

#ai h4 {
    font-size: 13px;
    letter-spacing: 0.14em;
    margin-top: 1.6em;
    margin-bottom: 0.8em;
}

#ai .metodo-list li {
    font-size: 16px;
    line-height: 1.6;
}

@media only screen and (max-width: 880px) {
  #ai blockquote h3     { font-size: 22px; }
  #ai .col-md-8 h3      { font-size: 18px; }
  #ai p             { font-size: 15px; }
  #ai .metodo-list li { font-size: 15px; }
}

/* testi about e metodo ingranditi */
#about p,
#metodo p,
#moodle p {
    font-size: 16px;
    line-height: 1.65;
}

#about blockquote h3,
#metodo blockquote h3,
#moodle blockquote h3 {
    font-size: 30px;
}

#metodo .metodo-list li {
    font-size: 16px;
}

@media only screen and (max-width: 880px) {
  #about blockquote h3,
  #metodo blockquote h3,
  #moodle blockquote h3 { font-size: 22px; }
  #about p,
  #metodo p,
  #moodle p,
  #metodo .metodo-list li { font-size: 15px; }

  .section-about {
    margin-bottom: 20px;
  }

  .section-metodo {
    margin-bottom: 20px;
  }
}

.metodo-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.metodo-list li {
    padding: 5px 0 5px 18px;
    position: relative;
    color: rgba(197,194,184,0.85);
    font-size: 14px;
    line-height: 1.6;
}

.metodo-list li::before {
    content: none;
}

@media only screen and (max-width: 880px) {
  .section-moodle {
    margin-bottom: 20px;
  }

  .section-services {
    margin-bottom: -7px;
  }

  .section-works,
  .section-contact {
    margin-bottom: 32px;
  }
}

#intro-wrapper {
position: relative;
width: 100%;
height: auto;
overflow: hidden;
margin: 0 auto;
padding: 0;
}

.intro-spacer {
position: relative;
width: 100%;
height: 100px;
margin: 0 auto;
}

.intro-spacer-2 {
position: relative;
width: 100%;
height: 50px;
margin: 0 auto;
}

@media only screen and (max-width: 640px) {
  .word-slide {
    margin-top: -3px;
  }
}

h1 {
font-family: 'Sora', sans-serif;
font-size: 90px;
font-weight: 700;
line-height: .9;
letter-spacing: -0.04em;
color: #fff;
margin: 160px auto 50px auto;
text-align: center;
text-transform: uppercase;
-webkit-transform: rotate(-30deg);
   -moz-transform: rotate(-30deg);
    -ms-transform: rotate(-30deg);
     -o-transform: rotate(-30deg);
        transform: rotate(-30deg);
-webkit-transform-origin: center;
   -moz-transform-origin: center;
    -ms-transform-origin: center;
	 -o-transform-origin: center;
        transform-origin: center;
text-shadow: 1px 1px 2px #000;
}

@media only screen and (max-width: 640px) {
  h1 {
    font-size: 57px;
    margin: 37px auto 34px auto;
    -webkit-transform: rotate(0deg);
       -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
         -o-transform: rotate(0deg);
            transform: rotate(0deg);
  }
}

.highlighter {
color: #db0018;
line-height: 1.2;
}

h2 {
font-family: 'Sora', sans-serif;
font-size: 70px;
font-weight: 400;
line-height: 1;
letter-spacing: -0.04em;
color: #fff;
margin: 0 0 0 -6px;
text-align: center;
text-transform: uppercase;
}

@media only screen and (max-width: 640px) {
  h2 {
    font-size: 57px;
  }
}

h3 {
font-family: 'Sora', sans-serif;
font-size: 30px;
font-weight: 400;
line-height: 1;
letter-spacing: -0.04em;
color: #db0018;
margin: 0 auto;
text-align: center;
text-transform: uppercase;
}

h4 {
font-family: 'Sora', sans-serif;
font-size: 30px;
font-weight: 400;
line-height: 1;
letter-spacing: -0.04em;
color: #db0018;
margin: 60px auto 15px auto;
text-align: center;
text-transform: uppercase;
}

h5 {
font-family: 'Inter', sans-serif;
font-size: 30px;
font-weight: 700;
line-height: 1;
letter-spacing: -0.08em;
color: #c5c2b8;
margin: 0;
text-align: center;
text-transform: uppercase;
}

h6 {
font-family: 'Sora', sans-serif;
font-size: 23px;
font-weight: 400;
line-height: 1;
letter-spacing: -0.04em;
color: #fff;
margin: 0 auto;
text-align: center;
text-transform: uppercase;
-webkit-transform: rotate(60deg);
   -moz-transform: rotate(60deg);
    -ms-transform: rotate(60deg);
     -o-transform: rotate(60deg);
        transform: rotate(60deg);
-webkit-transform-origin: center;
   -moz-transform-origin: center;
    -ms-transform-origin: center;
	 -o-transform-origin: center;
        transform-origin: center;
text-shadow: 1px 1px 2px #000;
}

@media only screen and (max-width: 640px) {
  h6 {
    margin: 45px auto 0 auto;
    -webkit-transform: rotate(0deg);
       -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
         -o-transform: rotate(0deg);
            transform: rotate(0deg);
   }
}

.decoration {
position: relative;
margin: 0 auto;
text-align: center;
-webkit-transform: rotate(-30deg);
   -moz-transform: rotate(-30deg);
    -ms-transform: rotate(-30deg);
     -o-transform: rotate(-30deg);
        transform: rotate(-30deg);
-webkit-transform-origin: center;
   -moz-transform-origin: center;
    -ms-transform-origin: center;
	 -o-transform-origin: center;
        transform-origin: center;
text-shadow: 1px 1px 2px #000;
z-index: 1;
}

@media only screen and (max-width: 640px) {
  .decoration {
    -webkit-transform: rotate(0deg);
       -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
         -o-transform: rotate(0deg);
            transform: rotate(0deg);
  }
}

.decoration-left {
width: 6%;
height: 1px;
background: #fff;
margin: 0 119px 10px 0;
position: relative;
display: inline-block;
}

@media only screen and (max-width: 640px) {
  .decoration-left {
    width: 3%;
  }
}

.decoration-right {
width: 6%;
height: 1px;
background: #fff;
margin: 0 0 10px 119px;
position: relative;
display: inline-block;
}

@media only screen and (max-width: 640px) {
  .decoration-right {
    width: 3%;
  }
}

.decoration-effect {
position: absolute;
font-family: 'Sora', sans-serif;
font-size: 17px;
line-height: 1.5;
font-style: normal;
text-transform: uppercase;
text-align: center;
font-weight: 300;
letter-spacing: 1px;
background: none;
width: 202px;
height: 61px;
padding: 17px 0 0 0;
margin-left: -101px;
left: 50%;
top: -200px;
z-index: 0;
}

.decoration-effect a, .decoration-effect a:hover {
color: #fff;
text-decoration: none;
}

.effect-bubba::before,
.effect-bubba::after {
width: 180px;
height: 39px;
position: absolute;
top: 10px;
right: 10px;
bottom: 10px;
left: 10px;
content: '';
        opacity: 0;
   -moz-opacity: 0;
-webkit-opacity: 0;
filter: alpha(opacity=0);
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
        transition: opacity 0.35s, transform 0.35s;
}

.effect-bubba::before {
border-top: 1px solid #fff;
border-bottom: 1px solid #fff;
-webkit-transform: scale(0,1);
   -moz-transform: scale(0,1);
    -ms-transform: scale(0,1);
     -o-transform: scale(0,1);
        transform: scale(0,1);
}

.effect-bubba::after {
border-left: 1px solid #fff;
border-right: 1px solid #fff;
-webkit-transform: scale(1,0);
   -moz-transform: scale(1,0);
    -ms-transform: scale(1,0);
     -o-transform: scale(1,0);
        transform: scale(1,0);
}

.effect-bubba:hover::before,
.effect-bubba:hover::after {
        opacity: 1;
   -moz-opacity: 1;
-webkit-opacity: 1;
filter: alpha(opacity=100);
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
-webkit-transform: scale(1);
   -moz-transform: scale(1);
    -ms-transform: scale(1);
     -o-transform: scale(1);
        transform: scale(1);
}

.decoration-2 {
position: relative;
margin: 33px auto 94px auto;
text-align: center;
}

@media only screen and (max-width: 640px) {
  .decoration-2 {
    margin: 33px auto 74px auto;
  }
}

.decoration-left-2 {
width: 6%;
height: 1px;
background: #fff;
margin: 0 119px 10px 0;
position: relative;
display: inline-block;
}

@media only screen and (max-width: 640px) {
  decoration-left-2 {
    width: 3%;
  }
}

.decoration-right-2 {
width: 6%;
height: 1px;
background: #fff;
margin: 0 0 10px 119px;
position: relative;
display: inline-block;
}

@media only screen and (max-width: 640px) {
  .decoration-right-2 {
    width: 3%;
  }
}

.decoration-effect-2 {
position: absolute;
font-family: 'Inter', sans-serif;
font-size: 17px;
line-height: 1.5;
font-style: normal;
text-transform: uppercase;
text-align: center;
font-weight: 400;
letter-spacing: 1px;
background: none;
width: 202px;
height: 61px;
padding: 17px 0 0 0;
margin-left: -101px;
left: 50%;
top: -25px;
z-index: 0;
}

.decoration-effect-2 a, .decoration-effect-2 a:hover {
color: #fff;
text-decoration: none;
}

.effect-bubba-2::before,
.effect-bubba-2::after {
width: 180px;
height: 39px;
position: absolute;
top: 10px;
right: 10px;
bottom: 10px;
left: 10px;
content: '';
        opacity: 0;
   -moz-opacity: 0;
-webkit-opacity: 0;
filter: alpha(opacity=0);
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
        transition: opacity 0.35s, transform 0.35s;
}

.effect-bubba-2::before {
border-top: 1px solid #fff;
border-bottom: 1px solid #fff;
-webkit-transform: scale(0,1);
   -moz-transform: scale(0,1);
    -ms-transform: scale(0,1);
     -o-transform: scale(0,1);
        transform: scale(0,1);
}

.effect-bubba-2::after {
border-left: 1px solid #fff;
border-right: 1px solid #fff;
-webkit-transform: scale(1,0);
   -moz-transform: scale(1,0);
    -ms-transform: scale(1,0);
     -o-transform: scale(1,0);
        transform: scale(1,0);
}

.effect-bubba-2:hover::before,
.effect-bubba-2:hover::after {
        opacity: 1;
   -moz-opacity: 1;
-webkit-opacity: 1;
filter: alpha(opacity=100);
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
-webkit-transform: scale(1);
   -moz-transform: scale(1);
    -ms-transform: scale(1);
     -o-transform: scale(1);
        transform: scale(1);
}

.quote {
margin: 0 auto;
}

.quote p {
font-family: 'Inter', sans-serif;
font-size: 18px;
line-height: 1.5;
font-style: italic;
font-weight: normal;
text-align: center;
color: #fff;
font-weight: 400;
letter-spacing: 1px;
}

.quote-mark-l {
color: #fff;
padding: 0 10px 0 0;
}

.quote-mark-r {
color: #fff;
padding: 0 0 0 10px;
}


/* navigation */
.menu-toggle {
position: fixed;
display: block;
top: 3px;
left: 0;
width: 80px;
height: 80px;
padding: 0;
background: none;
line-height: 1;
        opacity: 1;
   -moz-opacity: 1;
-webkit-opacity: 1;
filter: alpha(opacity=100);
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
z-index: 999;
}

@media only screen and (max-width: 880px) {
  .menu-toggle {
    position: absolute;
  }
}

#main-menu {
position: fixed;
font-family: 'Sora', sans-serif;
font-style: normal;
text-transform: uppercase;
font-weight: 400;
letter-spacing: 1px;
line-height: 1;
width: 400px;
height: 200%;
left: -760px;
top: -460px;
margin: auto;
background: #fff;
-webkit-transition: left .4s ease-in-out;
   -moz-transition: left .4s ease-in-out;
    -ms-transition: left .4s ease-in-out;
     -o-transition: left .4s ease-in-out;
        transition: left .4s ease-in-out;
-webkit-transform: rotate(-30deg);
   -moz-transform: rotate(-30deg);
    -ms-transform: rotate(-30deg);
     -o-transform: rotate(-30deg);
        transform: rotate(-30deg);
-webkit-transform-origin: center;
   -moz-transform-origin: center;
    -ms-transform-origin: center;
	 -o-transform-origin: center;
        transform-origin: center;
z-index: 998;
}

@media only screen and (max-width: 880px) {
  #main-menu {
    width: 400px;
    left: -660px;
    top: -400px;
  }
}

@media only screen and (max-width: 640px) {
  #main-menu {
    width: 280px;
    height: 100%;
    left: -280px;
    top: 0;
    -webkit-transform: rotate(0deg);
       -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
         -o-transform: rotate(0deg);
            transform: rotate(0deg);
  }
}

#main-menu.activated {
left: 98px;
}

@media only screen and (max-width: 640px) {
  #main-menu.activated {
    left: 108px;
  }
}

#main-menu ul {
list-style: none outside none;
padding: 0 0 0 37px;
}

#main-menu ul li {
text-align: left;
line-height: .75;
}

#main-menu .credits {
font-size: 14px;
line-height: 1;
margin: 15px 0 0 9px;
-webkit-transform: rotate(90deg);
   -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
     -o-transform: rotate(90deg);
        transform: rotate(90deg);
-webkit-transform-origin: left;
   -moz-transform-origin: left;
    -ms-transform-origin: left;
	 -o-transform-origin: left;
        transform-origin: left;
}

@media only screen and (max-width: 640px) {
  #main-menu .credits {
    font-size: 12px;
    margin: 28px 0 0 -14px;
    -webkit-transform: rotate(0deg);
       -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
         -o-transform: rotate(0deg);
            transform: rotate(0deg);
  }
}

#main-menu .credits a {
color: #444;
text-decoration: none;
}

#main-menu a {
display: none;
min-width: 10px;
color: #c5c2b8;
text-decoration: none;
-webkit-transition: color .8s ease-in-out;
   -moz-transition: color .8s ease-in-out;
    -ms-transition: color .8s ease-in-out;
     -o-transition: color .8s ease-in-out;
        transition: color .8s ease-in-out;
}

#main-menu li .active {
color: #000;
}

.menu-nav-wrapper {
display: table;
width: 100%;
height: 100%;
}

.menu-nav {
display: table-cell;
width: 100%;
height: 100%;	
vertical-align: middle;
}


/* link style */
.link {
position: relative;
outline: none;
text-decoration: none;
font-family: 'Josefin Sans', sans-serif;
font-weight: 400;
font-size: 34px;
line-height: 1;
display: inline-block;
width: 250px;
letter-spacing: 0.04em;
}

@media only screen and (max-width: 640px) {
  .link {
    font-size: 27px;
    width: 195px;
  }
}

.link--kukuri {
overflow: hidden;
line-height: 1;
}

.link--kukuri::after {
content: '';
position: absolute;
height: 16px;
width: 100%;
top: 50%;
margin-top: -8px;
right: 0;
background: #db0018;
-webkit-transform: translate3d(-100%,0,0);
   -moz-transform: translate3d(-100%,0,0);
    -ms-transform: translate3d(-100%,0,0);
     -o-transform: translate3d(-100%,0,0);
        transform: translate3d(-100%,0,0);	
-webkit-transition: -webkit-transform 0.4s;
        transition: transform 0.4s;
-webkit-transition-timing-function: cubic-bezier(0.7,0,0.3,1);
        transition-timing-function: cubic-bezier(0.7,0,0.3,1);
}

.link--kukuri:hover::after {
-webkit-transform: translate3d(100%,0,0);
   -moz-transform: translate3d(100%,0,0);
    -ms-transform: translate3d(100%,0,0);
     -o-transform: translate3d(100%,0,0);
        transform: translate3d(100%,0,0);
}

.link--kukuri::before {
position: absolute;
content: attr(data-letters);
z-index: 2;
overflow: hidden;
color: #000;
white-space: nowrap;
width: 0%;
-webkit-transition: width 0.6s 0.3s;
   -moz-transition: width 0.6s 0.3s;
    -ms-transition: width 0.6s 0.3s;
     -o-transition: width 0.6s 0.3s;
        transition: width 0.6s 0.3s;
}

.link--kukuri:hover::before {
width: 100%;
}


/* brackets */
.brackets a::before,
.brackets a::after {
display: inline-block;
        opacity: 0;
   -moz-opacity: 0;
-webkit-opacity: 0;
filter: alpha(opacity=0);
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
-webkit-transition: -webkit-transform 0.3s, opacity 0.2s;
   -moz-transition: -moz-transform 0.3s, opacity 0.2s;
    -ms-transition: -ms-transform 0.3s, opacity 0.2s;
     -o-transition: -o-transform 0.3s, opacity 0.2s;
        transition: transform 0.3s, opacity 0.2s;
}

.brackets a::before {
content: '[';
margin-right: 10px;
-webkit-transform: translateX(20px);
   -moz-transform: translateX(20px);
    -ms-transform: translateX(20px);
     -o-transform: translateX(20px);
        transform: translateX(20px);
}

.brackets a::after {
content: ']';
margin-left: 10px;
-webkit-transform: translateX(-20px);
   -moz-transform: translateX(-20px);
    -ms-transform: translateX(-20px);
     -o-transform: translateX(-20px);
        transform: translateX(-20px);
}

.brackets a:hover::before,
.brackets a:hover::after,
.brackets a:focus::before,
.brackets a:focus::after {
        opacity: 1;
   -moz-opacity: 1;
-webkit-opacity: 1;
filter: alpha(opacity=100);
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
-webkit-transform: translateX(0px);	
   -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
     -o-transform: translateX(0px);
        transform: translateX(0px);
}

.brackets ul, li {
list-style: none;
}

.brackets a {
color: #db0018;
text-decoration: none;
}

.brackets a:hover {
color: #db0018;
text-decoration: none;
}

.brackets a:visited {
color: #db0018;
text-decoration: none;
}


/* ui layer */
#ui-layer {
position: relative;
min-width: 100%;
min-height: 100%;
        opacity: 1;
   -moz-opacity: 1;
-webkit-opacity: 1;
filter: alpha(opacity=100);
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
z-index: 6;
}

.ui-layer-inner {
position: fixed;
width: 100%;
height: 100%;
overflow-x: hidden;
overflow-y: auto;
z-index: 100;
}


/* borders */
.border-top,
.border-bottom,
.border-left,
.border-right {
-webkit-transform: rotate(-30deg);
   -moz-transform: rotate(-30deg);
    -ms-transform: rotate(-30deg);
     -o-transform: rotate(-30deg);
        transform: rotate(-30deg);
-webkit-transform-origin: center;
   -moz-transform-origin: center;
    -ms-transform-origin: center;
	 -o-transform-origin: center;
        transform-origin: center;
}		
		
@media only screen and (min-width: 880px) {
  .border-top {
    position: fixed;
    width: 50%;
    height: 2px;
    left: 10px;
	top: 10px;
    background: #fff;
    z-index: 10;
  }

  .border-top.top-position {
    -webkit-transform: translateY(-200px);
       -moz-transform: translateY(-200px);
        -ms-transform: translateY(-200px);
         -o-transform: translateY(-200px);
            transform: translateY(-200px);
    -webkit-transition: all 1.0s ease;
       -moz-transition: all 1.0s ease;
	    -ms-transition: all 1.0s ease;
         -o-transition: all 1.0s ease;
            transition: all 1.0s ease;
  }

  .border-bottom {
    position: fixed;
    width: 50%;
    height: 2px;
    right: 10px;
    bottom: 10px;
    background: #fff;
    z-index: 10;
  }

  .border-bottom.bottom-position {
    -webkit-transform: translateY(200px);
       -moz-transform: translateY(200px);
        -ms-transform: translateY(200px);
         -o-transform: translateY(200px);
            transform: translateY(200px);
    -webkit-transition: all 1.0s ease;
       -moz-transition: all 1.0s ease;
	    -ms-transition: all 1.0s ease;
         -o-transition: all 1.0s ease;
            transition: all 1.0s ease;
  }

  .border-left {
    position: fixed;
    width: 2px;
    height: 50%;
    left: 10px;
    bottom: 10px;
    background: #fff;
    z-index: 10;
  }

  .border-left.left-position {
    -webkit-transform: translateX(-200px);
       -moz-transform: translateX(-200px);
        -ms-transform: translateX(-200px);
         -o-transform: translateX(-200px);
            transform: translateX(-200px);
    -webkit-transition: all 1.0s ease;
       -moz-transition: all 1.0s ease;
	    -ms-transition: all 1.0s ease;
         -o-transition: all 1.0s ease;
            transition: all 1.0s ease;
  }

  .border-right {
    position: fixed;
    width: 2px;
    height: 50%;
    right: 10px;
    top: 10px;
    background: #fff;
    z-index: 10;
  }

  .border-right.right-position {
    -webkit-transform: translateX(200px);
       -moz-transform: translateX(200px);
        -ms-transform: translateX(200px);
         -o-transform: translateX(200px);
            transform: translateX(200px);
    -webkit-transition: all 1.0s ease;
       -moz-transition: all 1.0s ease;
	    -ms-transition: all 1.0s ease;
         -o-transition: all 1.0s ease;
            transition: all 1.0s ease;
  }

  .border-top,
  .border-bottom,
  .border-left,
  .border-right {
    -webkit-transition: all 1.0s ease;
       -moz-transition: all 1.0s ease;
	    -ms-transition: all 1.0s ease;
         -o-transition: all 1.0s ease;
            transition: all 1.0s ease;
  }
}


/* countdown */
#countdown-wrapper {
position: relative;
margin: 28px auto;
width: 400px;
-webkit-transform: rotate(60deg);
   -moz-transform: rotate(60deg);
    -ms-transform: rotate(60deg);
     -o-transform: rotate(60deg);
        transform: rotate(60deg);
-webkit-transform-origin: center;
   -moz-transform-origin: center;
    -ms-transform-origin: center;
	 -o-transform-origin: center;
        transform-origin: center;
text-shadow: 1px 1px 2px #000;
}

@media only screen and (max-width: 640px) {
  #countdown-wrapper {
    margin: -21px auto -16px auto;
    width: auto;
    -webkit-transform: rotate(0deg);
       -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
         -o-transform: rotate(0deg);
            transform: rotate(0deg);
  }
}

#countdown {
margin: 0;
padding: 0;
}

ul#countdown li {
display: inline-block;
width: 115px;
}

@media only screen and (max-width: 640px) {
  ul#countdown li {
    width: 90px;
  }
}

ul#countdown li span {
font-family: 'Sora', sans-serif;
font-size: 70px;
font-weight: 400;
line-height: 1;
letter-spacing: -0.04em;
color: #fff;
text-align: center;
margin: 0;
padding: 0;
position: relative;
}

@media only screen and (max-width: 640px) {
  ul#countdown li span {
    font-size: 50px;
  }
}

ul#countdown li span.seconds {
font-family: 'Sora', sans-serif;
font-size: 55px;
font-weight: 400;
line-height: 1.1;
letter-spacing: -0.04em;
color: #db0018;
text-align: left;
margin: 0;
padding: 0 0 0 20px;
position: relative;
}

@media only screen and (max-width: 640px) {
ul#countdown li span.seconds {
font-size: 35px;
}

ul#countdown li span.seconds {
padding: 0 0 0 20px;
}
}

ul#countdown li span::before {
content: '';
width: 100%;
height: 1px;
position: absolute;
}

ul#countdown li p.timeRefDays,
ul#countdown li p.timeRefHours,
ul#countdown li p.timeRefMinutes {
font-family: 'Sora', sans-serif;
color: #fff;
text-transform: uppercase;
font-size: 16px;
font-style: normal;
font-weight: 300;
text-align: center;
margin: 0;
padding: 0 0 0 5px;
}

@media only screen and (max-width: 640px) {
  ul#countdown li p.timeRefDays,
  ul#countdown li p.timeRefHours,
  ul#countdown li p.timeRefMinutes {
    padding: 0 0 0 3px;
  }
}

ul#countdown li p.timeRefSeconds {
font-family: 'Sora', sans-serif;
color: #fff;
text-transform: uppercase;
font-size: 16px;
font-style: normal;
font-weight: 300;
text-align: center;
margin: 0;
padding: 0 0 0 24px;
}

@media only screen and (max-width: 640px) {
  ul#countdown li p.timeRefSeconds {
    padding: 0 0 0 18px;
  }
}

.until-launch {
font-family: 'Sora', sans-serif;
color: #fff;
font-size: 23px;
font-weight: 700;
line-height: 1;
letter-spacing: -0.04em;
text-transform: uppercase;
text-align: center;
margin: 0 0 10px 0;
}


/* center container */
.center-container-home {
position: absolute;
display: table;
height: 100%;
width: 100%;
left: 0;
top: 0;
}

.center-block-home {
display: table-cell;
vertical-align: middle;
}

.center-container {
position: absolute;
display: table;
height: 100%;
width: 100%;
left: 0;
top: 0;
background: rgba(0, 0, 0, .70);
}

.center-block {
display: table-cell;
vertical-align: middle;
}

.center-container-ex-modal {
position: absolute;
display: table;
height: 100%;
width: 100%;
left: 0;
top: 0;
background: none;
}

.center-block-ex-modal {
display: table-cell;
vertical-align: middle;
}


/* lines */
.lines-button {
margin: -16px 0 0 -3px;
padding: 30px 16px;
cursor: pointer;
-webkit-user-select: none;
 -khtml-user-select: none;
   -moz-user-select: none;
    -ms-user-select: none;
        user-select: none;
}

.lines-button:hover {
        opacity: 1;
   -moz-opacity: 1;
-webkit-opacity: 1;
filter: alpha(opacity=100);
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.lines-button:active {
-webkit-transition: 0;
   -moz-transition: 0;
	-ms-transition: 0;
     -o-transition: 0;
        transition: 0;
}

.lines {
position: relative;
display: inline-block;
width: 35px;
height: 2px;
-webkit-transition: .3s;
   -moz-transition: .3s;
	-ms-transition: .3s;
     -o-transition: .3s;
        transition: .3s;
background: #fff;
}

.lines:after,
.lines:before {
content: "";
position: absolute;
display: inline-block;
width: 35px;
height: 2px;
-webkit-transition: .3s;
   -moz-transition: .3s;
	-ms-transition: .3s;
     -o-transition: .3s;
        transition: .3s;
left: 0;
-webkit-transform-origin: .28571rem center;
   -moz-transform-origin: .28571rem center;
    -ms-transform-origin: .28571rem center;
     -o-transform-origin: .28571rem center;
        transform-origin: .28571rem center;
background: #fff;
}

.lines:before {
top: 10px;
}

.lines:after {
top: -10px;
}

.lines-button.minus.lines-close .lines:after,
.lines-button.minus.lines-close .lines:before {
-webkit-transform: none;
   -moz-transform: none;
    -ms-transform: none;
     -o-transform: none;
        transform: none;
top: 0;
width: 35px;
background: #111;
}

@media only screen and (max-width: 640px) {
  .lines-button.minus.lines-close .lines:after,
  .lines-button.minus.lines-close .lines:before {
    background: #fff;
  }
}

.lines-button.x.lines-close .lines {
background: 0 0;
}

.lines-button.x.lines-close .lines:after,
.lines-button.x.lines-close .lines:before {
-webkit-transform-origin: 50% 50%;
   -moz-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
     -o-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
top: 0;
width: 35px;
background: #111;
}

@media only screen and (max-width: 640px) {
  .lines-button.x.lines-close .lines:after,
  .lines-button.x.lines-close .lines:before {
    background: #fff;
  }
}

.lines-button.x.lines-close .lines:before {
-webkit-transform: rotate3d(0,0,1,45deg);
   -moz-transform: rotate3d(0,0,1,45deg);
    -ms-transform: rotate3d(0,0,1,45deg);
     -o-transform: rotate3d(0,0,1,45deg);
        transform: rotate3d(0,0,1,45deg);
}

.lines-button.x.lines-close .lines:after {
-webkit-transform: rotate3d(0,0,1,-45deg);
   -moz-transform: rotate3d(0,0,1,-45deg);
    -ms-transform: rotate3d(0,0,1,-45deg);
     -o-transform: rotate3d(0,0,1,-45deg);
        transform: rotate3d(0,0,1,-45deg);
}

.lines-button.x2 .lines {
-webkit-transition: background .3s .5s ease;
   -moz-transition: background .3s .5s ease;
	-ms-transition: background .3s .5s ease;
     -o-transition: background .3s .5s ease;
        transition: background .3s .5s ease;
}

.lines-button.x2 .lines:after,
.lines-button.x2 .lines:before {
-webkit-transform-origin: 50% 50%;
   -moz-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
     -o-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
-webkit-transition: top .3s .6s ease, -webkit-transform .3s ease;
   -moz-transition: top .3s .6s ease, -moz-transform .3s ease;
	-ms-transition: top .3s .6s ease, -ms-transform .3s ease;
     -o-transition: top .3s .6s ease, -o-transform .3s ease;
        transition: top .3s .6s ease, transform .3s ease;
}

.lines-button.x2.lines-close .lines {
-webkit-transition: background .3s 0 ease;
   -moz-transition: background .3s 0 ease;
	-ms-transition: background .3s 0 ease;
     -o-transition: background .3s 0 ease;
        transition: background .3s 0 ease;
background: 0 0;
}

.lines-button.x2.lines-close .lines:after,
.lines-button.x2.lines-close .lines:before {
-webkit-transition: top .3s ease, -webkit-transform .3s .5s ease;
   -moz-transition: top .3s ease, -moz-transform .3s .5s ease;
	-ms-transition: top .3s ease, -ms-transform .3s .5s ease;
     -o-transition: top .3s ease, -o-transform .3s .5s ease;
        transition: top .3s ease, transform .3s .5s ease;
top: 0;
width: 35px;
background: #111;
}

@media only screen and (max-width: 640px) {
  .lines-button.x2.lines-close .lines:after,
  .lines-button.x2.lines-close .lines:before {
    background: #fff;
  }
}

.lines-button.x2.lines-close .lines:before {
-webkit-transform: rotate3d(0,0,1,45deg);
   -moz-transform: rotate3d(0,0,1,45deg);
    -ms-transform: rotate3d(0,0,1,45deg);
     -o-transform: rotate3d(0,0,1,45deg);
        transform: rotate3d(0,0,1,45deg);
}

.lines-button.x2.lines-close .lines:after {
-webkit-transform: rotate3d(0,0,1,-45deg);
   -moz-transform: rotate3d(0,0,1,-45deg);
    -ms-transform: rotate3d(0,0,1,-45deg);
     -o-transform: rotate3d(0,0,1,-45deg);
        transform: rotate3d(0,0,1,-45deg);
}

button {
outline: none;
border: none;
}


/* intro years */
.intro-years {
position: relative;
width: 325px;
height: 265px;
margin: 45px 0 0 0;
}

@media only screen and (max-width: 640px) {
  .intro-years {
    margin: 45px 0 0 10px;
  }
}

.intro-years h2 {
font-family: 'Sora', sans-serif;
font-style: normal;
font-weight: 400;
font-size: 10px;
text-align: center;
text-transform: uppercase;
letter-spacing: 0.65em;
color: #fff;
margin: 38px 0 32px 0;
}

.intro-years h3 {
position: relative;
font-family: 'Sora', sans-serif;
font-style: normal;
font-weight: 700;
font-size: 105px;
text-align: center;
text-transform: uppercase;
letter-spacing: 0.05em;
color: #fff;
width: 100%;
line-height: 100%;
z-index: 0;
}

.borders-berlin {
position: absolute;
left: 0;
top: -35px;
margin: 0 auto;
border: 15px solid rgba(219, 0, 24, .45);
z-index: -1;
}

.borders-berlin,
.borders-berlin:after,
.borders-berlin:before {
width: 165px;
height: 265px;
-webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
        box-sizing: border-box;
}


/* facts counter */
.facts-counter-wrapper,
.contact-info-wrapper {
padding: 0;
}

.facts-counter-number {
font-family: 'Inter', Arial, sans-serif;
font-size: 35px;
font-weight: 400;
line-height: 1.3;
text-align: center;
color: #fff;
}

@media only screen and (max-width: 880px) {
  .facts-counter-number {
	margin: 20px 0 0 0;
  }
}

.facts-counter-number.large {
font-size: 50px;
}

@media only screen and (max-width: 880px) {
  .facts-counter-number.large {
    font-size: 35px;
  }
}

.facts-counter-description,
.contact-info-description {
color: #fff;
text-align: center;
text-transform: uppercase;
}

.facts-counter-description-img,
.contact-info-description-img {
display: block;
font-size: 25px;
text-align: center;
color: #db0018;
margin: 15px 0 15px 0;
}

@media only screen and (max-width: 880px) {
  .facts-counter-description-img,
  .contact-info-description-img {
    font-size: 20px;
	margin: 10px 0 10px 0;
  }
}

.facts-counter-description-img.large,
.contact-info-description-img.large {
font-size: 40px;
}

@media only screen and (max-width: 880px) {
  .facts-counter-description-img.large,
  .contact-info-description-img.large {
    font-size: 20px;
	margin: 10px 0 10px 0;
  }
}

.facts-counter-title,
.contact-info-text {
font-size: 11px;
letter-spacing: 0.05em;
}

@media only screen and (max-width: 880px) {
  .facts-counter-title,
  .contact-info-text {
    font-size: 10px;
  }
}

.facts-counter-title.large,
.contact-info-text.large {
font-size: 12px;
}

@media only screen and (max-width: 880px) {
  .facts-counter-title.large,
  .contact-info-text.large {
    font-size: 10px;
  }
}


/* blockquote */
blockquote {
position: relative;
margin-bottom: 36px;
}

@media only screen and (max-width: 1200px) {
  blockquote {
    margin-bottom: 28px;
  }
}

@media only screen and (max-width: 880px) {
  blockquote {
    margin: 20px 0 24px 0;
  }
}

blockquote p {
font-size: 19px;
line-height: 1.45;
letter-spacing: 0.03em;
font-style: italic;
font-weight: 500;
z-index: 1;
}

blockquote h3 {
font-family: 'Sora', sans-serif;
font-size: 26px;
font-weight: 700;
line-height: 1.3;
font-style: normal;
letter-spacing: -0.01em;
color: #fff;
margin: 0 0 8px 0;
z-index: 1;
position: relative;
}

@media only screen and (max-width: 880px) {
  blockquote h3 {
    font-size: 20px;
  }
}

blockquote p::before {
position: relative;
font-family: ionicons;
content: "\f347";
font-size: 40px;
font-style: normal;
left: 0;
top: -5px;
color: #ccc;
}

blockquote p::after {
position: absolute;
font-family: ionicons;
content: "\f347";
font-size: 100px;
font-style: normal;
right: 0;
top: 0;
color: #ccc;
z-index: -1;
}


/* services */
.service-heading {
font-family: 'Sora', sans-serif;
font-size: 15px;
font-style: normal;
font-weight: 400;
text-transform: uppercase;
margin: 15px 0;
text-align: left;
letter-spacing: 0.05em;
color: #fff;
}

.service-number {
position: absolute;
top: 0;
font-family: 'Sora', sans-serif;
font-size: 76px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: -0.04em;
color: rgba(219, 0, 24, .45);
z-index: -1;
}

#services p {
padding-left: 100px;
text-align: left;
}

@media only screen and (max-width: 880px) {
  .service-number {
    font-size: 100px;
  }
  
  .services-block.middle {
    margin: 80px 0;
  } 
}

@media only screen and (max-width: 640px) {
  .services-block.middle {
    margin: 40px 0;
  }
}


/* skills bar */
.show-skillbar {
position: relative;
padding: 0 20px;
margin: 20px 0 0 0;
text-align: left;
}

@media only screen and (max-width: 880px) {
  .show-skillbar {
    margin: 0;
  }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .show-skillbar {
	padding: 0 30px 0 20px;
  }
}

.skillbar {
position: relative;
display: inline-block;
width: 100%;
height: 21px;
margin: 0 0 30px 0;
background: none;
}

.skillbar-title {
position: absolute;
width: auto;
height: 21px;
line-height: 21px;
top: -21px;
left: 0;
font-family: 'Inter', sans-serif;
font-size: 10px;
font-weight: 400;
text-transform: uppercase;
color: #fff;
background: none;
padding: 0;
}

.skillbar-bar {
display: inline-block;
width: 0px;
height: 3px;
background: #fff;
margin: 0 0 3px 0;
}

.skill-bar-percent {
position: absolute;
height: auto;
line-height: 1;
top: -21px;
right: 0;
color: #fff;
font-size: 11px;
}


/* link underline */
.link-underline {
position: relative;
display: inline-block;
}

.link-underline::before {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 1px;
background: #fff;
-webkit-transform-origin: right center;
   -moz-transform-origin: right center;
    -ms-transform-origin: right center;
        transform-origin: right center;
-webkit-transform: scale(0, 1);
   -moz-transform: scale(0, 1);
    -ms-transform: scale(0, 1);
     -o-transform: scale(0, 1);
        transform: scale(0, 1);
-webkit-transition: -webkit-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
   -moz-transition: -moz-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -ms-transition: -ms-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
     -o-transition: -o-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.link-underline.contact::before {
bottom: -5px;
background: #fff;
}

.link-underline.services::before {
bottom: -5px;
background: #fff;
width: 150px;
}

a.contact, a:hover.contact {
color: #fff;
}

.link-underline:hover::before {
-webkit-transform-origin: left center;
   -moz-transform-origin: left center;
    -ms-transform-origin: left center;
        transform-origin: left center;
-webkit-transform: scale(1, 1);
   -moz-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
     -o-transform: scale(1, 1);
        transform: scale(1, 1);
}


/* contact form */
#contact-form {
width: 100%;
margin: 0;
padding: 0;
text-align: center;
}

form {
margin: 0;
padding: 0;
}

#form input {
position: relative;
width: 100%;
height: 40px;
border-bottom: 1px solid #fff;
border-left: none;
border-right: none;
border-top: none;
padding: 5px 5px;
background: none;
margin: 5px;
-webkit-transition: all 0.3s;
   -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
        transition: all 0.3s;
font-family: 'Inter', sans-serif;
font-size: 14px;
line-height: 1.5;
font-style: normal;
font-weight: normal;
text-align: center;
}

#form input {
margin: 10px 0 10px 0;
}

textarea {
position: relative;
width: 100%;
height: 100px;
border-bottom: 1px solid #fff;
border-left: none;
border-right: none;
border-top: none;
padding: 5px 5px;
background: none;
margin: 5px;
-webkit-transition: all 0.3s;
   -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
        transition: all 0.3s;
font-family: 'Inter', sans-serif;
font-size: 14px;
line-height: 1.5;
font-style: normal;
font-weight: normal;
text-align: center;
}

#form textarea {
margin: 10px 0 10px 0;
} 

#form input:hover,
#form textarea:hover {
border-color: rgba(255,255,255, .35);
}

.success {
font-family: 'Inter', sans-serif;
font-size: 11px;
font-style: normal;
font-weight: 500;
letter-spacing: 0.15em;
text-transform: uppercase;
text-align: center;
color: #fff;
margin: 0 auto;
padding: 80px 0 0 0;
line-height: 1;
 -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

#form .error {
position: absolute;
font-size: 9px;
text-transform: uppercase;
text-align: left;
color: #db0018;
display: block;
margin: -2px 0 0 1px;
padding: 0;
letter-spacing: 0.15em;
 -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

.make-space {
margin-left: 15px;
margin-right: 15px;
}


/* contact form placeholders */
::-webkit-input-placeholder { font-size: 12px; color: #fff; }
     :-ms-input-placeholder { font-size: 12px; color: #fff; }
         ::-moz-placeholder { font-size: 12px; color: #fff; }
     input:-moz-placeholder { font-size: 12px; color: #fff; }

input:focus::-webkit-input-placeholder { color: transparent; }
     input:focus:-ms-input-placeholder { color: transparent; }
         input:focus::-moz-placeholder { color: transparent; }
          input:focus:-moz-placeholder { color: transparent; }

textarea:focus::-webkit-input-placeholder { color: transparent; }
     textarea:focus:-ms-input-placeholder { color: transparent; }
         textarea:focus::-moz-placeholder { color: transparent; }
          textarea:focus:-moz-placeholder { color: transparent; }


/* contact header */
.contact-header {
    text-align: center;
    margin: 10px 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.contact-header-email {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #fff;
    text-decoration: none;
}

.contact-header-sep {
    color: rgba(255,255,255,0.35);
    font-size: 16px;
}

.contact-header-tel {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.75);
}

@media only screen and (max-width: 600px) {
    .contact-header-sep { display: none; }
    .contact-header { flex-direction: column; gap: 6px; }
}

/* contact form grid */
.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
    text-align: left;
}

@media only screen and (max-width: 768px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.contact-form-left,
.contact-form-right {
    display: flex;
    flex-direction: column;
}

/* select ambito */
#ambito {
    position: relative;
    width: 100%;
    height: 40px;
    border-bottom: 1px solid #fff;
    border-left: none;
    border-right: none;
    border-top: none;
    padding: 5px 5px;
    background: none;
    margin: 10px 0;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 0.03em;
    color: #fff;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.5)'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 6px center;
    transition: border-color 0.3s;
}

#ambito option {
    background: #1a1a1a;
    color: #fff;
}

#ambito:hover { border-color: rgba(255,255,255,0.35); }

/* file upload */
.contact-upload-wrap {
    margin: 10px 0;
    position: relative;
}

#attachment {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

.contact-upload-label {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    padding: 8px 5px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 0.03em;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s;
}

.contact-upload-label i {
    font-size: 18px;
    color: rgba(255,255,255,0.5);
    flex-shrink: 0;
}

.contact-upload-label:hover {
    border-color: rgba(255,255,255,0.7);
    color: #fff;
}

.contact-upload-label:hover i { color: #fff; }

/* map toggle */
/* contact form glass effect */
#contact-form {
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255,255,255,0.09);
    padding: 22px 24px;
    margin-bottom: 4px;
}

/* contact form wrap — squeezes when map panel opens */
#contact-form-wrap {
    width: 100%;
    transition: width 0.65s ease;
}

#contact.map-panel-open #contact-form-wrap {
    width: 26%;
    text-align: left;
    padding: 0 0 0 0;
}

#contact.map-panel-open #contact-form-wrap h2 {
    font-size: 28px;
    line-height: 1;
}

#contact.map-panel-open #contact-form-wrap .decoration-2 {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#contact-form-wrap .decoration-2 {
    transition: opacity 0.3s ease 0.2s;
}

#contact-form-row {
    transition: opacity 0.3s ease 0.2s;
}

#contact.map-panel-open #contact-form-row {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* dove siamo button */
#map-open-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: none;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding: 16px 0;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    text-align: left;
    transition: color 0.25s;
    margin-top: 8px;
}

#map-open-btn:hover { color: #fff; }

#map-open-btn i:first-child {
    font-size: 18px;
    color: #db0018;
    flex-shrink: 0;
}

#map-open-btn span { flex: 1; }

#map-open-btn i:first-child {
    font-size: 20px;
    color: #db0018;
    flex-shrink: 0;
}

#map-open-btn i:last-child {
    font-size: 14px;
    flex-shrink: 0;
    color: rgba(255,255,255,0.4);
    transition: color 0.25s, transform 0.25s;
}

#map-open-btn:hover i:last-child {
    color: #fff;
    transform: translateX(3px);
}

/* map panel */
#map-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 75vw;
    height: 100vh;
    opacity: 0;
    transform: scale(1.06);
    transform-origin: right center;
    visibility: hidden;
    transition: opacity 0.65s ease-in-out,
                transform 0.65s ease-in-out,
                visibility 0s linear 0.65s;
    background: rgba(14, 14, 14, 0.97);
    z-index: 500;
    overflow: hidden;
}

#contact.map-panel-open #map-panel {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
    transition: opacity 0.65s ease-in-out,
                transform 0.65s ease-in-out,
                visibility 0s linear 0s;
}

#map-panel-scroll {
    height: 100%;
    overflow-y: auto;
    padding: 60px 40px 40px;
    display: flex;
    flex-direction: column;
}

#map-panel-close {
    position: absolute;
    top: 20px;
    left: 24px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
    line-height: 1;
    padding: 4px;
}

#map-panel-close:hover { color: #fff; }

#map-iframe {
    display: block;
    width: 100%;
    flex: 1;
    min-height: 400px;
    border: none;
}

.map-panel-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 20px 0 0;
    color: rgba(255,255,255,0.55);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.map-panel-info i {
    font-size: 18px;
    color: #db0018;
    flex-shrink: 0;
    margin-top: 1px;
}

@media only screen and (max-width: 880px) {
    #map-panel { width: 100vw; transform-origin: center center; }
    #map-panel-scroll { padding: 60px 24px 40px; }
    #contact.map-panel-open #contact-form-wrap { display: none; }
}

/* service cards */
#svc-cards {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 16px;
}

.svc-card {
    width: 20%;
    min-height: 190px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.svc-card-inner {
    width: 100%;
    height: 100%;
    min-height: 190px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px 48px;
    transition: background 0.3s ease;
}

.svc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(219, 0, 24, 0);
    transition: background 0.35s ease;
    z-index: 1;
    pointer-events: none;
}

.svc-card:hover::before { background: rgba(219, 0, 24, 0.18); }

.svc-card-icon {
    width: 56px;
    height: 56px;
    opacity: 0.65;
    position: relative;
    z-index: 2;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.svc-card:hover .svc-card-icon {
    opacity: 1;
    transform: translateY(-5px);
}

.svc-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 14px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
    z-index: 2;
}

.svc-card-name {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #fff;
    font-weight: 500;
    line-height: 1.3;
}

.svc-card-cta {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0);
    transition: color 0.3s ease;
    margin-top: 2px;
}

.svc-card:hover .svc-card-cta { color: rgba(255,255,255,0.65); }

/* card backgrounds */
.svc-bg-software    { background: linear-gradient(135deg, #0d1b2a 0%, #1a3a5c 100%); }
.svc-bg-ecommerce   { background: linear-gradient(135deg, #0d2a1a 0%, #1a4a2e 100%); }
.svc-bg-api         { background: linear-gradient(135deg, #1a0d2a 0%, #3a1a5c 100%); }
.svc-bg-moodle      { background: linear-gradient(135deg, #0d2628 0%, #1a4a4e 100%); }
.svc-bg-ai          { background: linear-gradient(135deg, #0d0d2a 0%, #1f1a4a 100%); }
.svc-bg-data        { background: linear-gradient(135deg, #0d1f28 0%, #1a3f50 100%); }
.svc-bg-design      { background: linear-gradient(135deg, #2a0d1a 0%, #501a32 100%); }
.svc-bg-performance { background: linear-gradient(135deg, #2a1209 0%, #5a2914 100%); }
.svc-bg-migrazioni  { background: linear-gradient(135deg, #191a0d 0%, #333516 100%); }
.svc-bg-seo         { background: linear-gradient(135deg, #0a2015 0%, #1a4030 100%); }
.svc-bg-infrastruttura { background: linear-gradient(135deg, #0a1628 0%, #1a2d4a 100%); }

@media only screen and (max-width: 1024px) {
    .svc-card { width: 33.33%; }
}
@media only screen and (max-width: 640px) {
    .svc-card { width: 50%; min-height: 160px; }
    .svc-card-inner { min-height: 160px; }
}

/* service popup modals */
.svc-modal-hero {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px 4px 0 0;
    margin-bottom: 0;
}

.svc-popup .modal-body { text-align: center; }

.svc-popup .modal-body h2 {
    font-family: 'Sora', sans-serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 10px;
}

.svc-popup .modal-body p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(197,194,184,0.85);
    margin-bottom: 20px;
}

.svc-popup .modal-body p.svc-modal-brand {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin: 0 0 22px;
}

.svc-popup-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: block;
    opacity: 0.85;
}

/* zoom effect anche per svc-popup */
.svc-popup.fade .modal-dialog {
    -webkit-transform: scale(0.65);
            transform: scale(0.65);
    -webkit-transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.35s ease;
            transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.35s ease;
}
.svc-popup.in .modal-dialog {
    -webkit-transform: scale(1);
            transform: scale(1);
}

/* button effect */
.c-btn {
position: relative;
display: inline-block;
border: 1px solid #fff;
background: none;
letter-spacing: 0.25em;
font-weight: 700;
font-size: 10px;
text-transform: uppercase;
text-align: center;
color: #fff;
margin: 20px 0 0 0;
padding: 15px 25px;
-webkit-transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
   -moz-transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    -ms-transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
     -o-transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
        transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.c-btn:hover {
box-shadow: 0 8px 32px rgba(255,255,255,0.18), 0 2px 8px rgba(255,255,255,0.08);
}

.c-btn.c-btn-dark {
border: 1px solid #111;
color: #111;
}

.c-btn.fullwidth {
width: 225px;
}

.c-btn::before,
.c-btn-dark::before {
content: "";
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: rgba(219, 0, 24, .45);
-webkit-transform-origin: right center;
   -moz-transform-origin: right center;
    -ms-transform-origin: right center;
        transform-origin: right center;
-webkit-transform: scale(0, 1);
   -moz-transform: scale(0, 1);
    -ms-transform: scale(0, 1);
     -o-transform: scale(0, 1);
        transform: scale(0, 1);
-webkit-transition: -webkit-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
   -moz-transition: -moz-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -ms-transition: -ms-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
     -o-transition: -o-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.c-btn-dark::before {
background: #111;
}

.c-btn.c-btn-red {
    border: 1px solid #db0018;
    color: #db0018;
}

.c-btn.c-btn-red::before {
    background: #db0018;
}

.c-btn.c-btn-red:hover {
    color: #fff;
}

.svc-panel-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.c-btn:hover::before,
a:hover .c-btn::before {
-webkit-transform-origin: left center;
   -moz-transform-origin: left center;
    -ms-transform-origin: left center;
        transform-origin: left center;
-webkit-transform: scale(1, 1);
   -moz-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
     -o-transform: scale(1, 1);
        transform: scale(1, 1);
}

.c-btn span {
display: inline-block;
position: relative;
z-index: 2;
}

.c-btn:hover,
a:hover .c-btn {
color: #fff;
}

.c-btn-dark:hover {
color: #fff;
}


/* works */
#works-content {
display: -webkit-box;
display: -webkit-flex;
display: -moz-flex;
display: -ms-flexbox;
display: -o-flex;
display: flex;
-webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
height: 100vh;
margin: 10px 0 0 0;
padding: 0;
}

@media only screen and (max-width: 1200px) {
  #works-content {
	height: 100%;
  }
}

@media only screen and (max-width: 640px) {
  #works-content {
    margin: -10px 0 0 0;
  }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  #works-content {
    height: 100%;
  }
}

#works-content .works-grid-inner {
width: 100%;
height: 50%;
zoom: 1;
letter-spacing: normal;
word-spacing: normal;
text-rendering: auto;
list-style: none;
}

#works-content .works-grid-inner .relative-container {
position: relative;
width: 100%;
height: 100%;
text-align: center;
transition: box-shadow 0.3s ease;
}

#works-content .works-grid-inner .relative-container:hover {
box-shadow: 0 8px 32px rgba(255,255,255,0.18), 0 2px 8px rgba(255,255,255,0.08);
}

#works-content .works-grid-inner .relative-container .works-inner {
position: absolute;
display: block;
width: 100%;
height: 100%;
left: 0;
top: 0;
background-repeat: no-repeat;
background-position: center center;
-webkit-background-size: cover;
   -moz-background-size: cover;
    -ms-background-size: cover;
     -o-background-size: cover;
        background-size: cover;
-webkit-transition: all .4s ease;
   -moz-transition: all .4s ease;
    -ms-transition: all .4s ease;
     -o-transition: all .4s ease;
        transition: all .4s ease;
z-index: 0;
}

@media only screen and (max-width: 1200px) {
  #works-content .works-grid-inner .relative-container .works-inner {
	min-height: 350px;
  }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  #works-content .works-grid-inner .relative-container .works-inner {
	min-height: 350px;
  }
}

#works-content .works-grid-inner .relative-container:hover .works-inner {
width: 100%;
height: 100%;
}

@media only screen and (max-width: 1200px) {
  #works-content .works-grid-inner .relative-container:hover .works-inner {
	min-height: 350px;
  }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  #works-content .works-grid-inner .relative-container:hover .works-inner {
	min-height: 350px;
  }
}

#works-content .works-grid-inner .relative-container .table-cell {
position: relative;
top: 50%;
}

#works-content .works-grid-inner .relative-container .table-cell > * {
position: relative;
top: 50%;
letter-spacing: 1px;  
color: #fff;
-webkit-transition: all .4s ease;
   -moz-transition: all .4s ease;
    -ms-transition: all .4s ease;
     -o-transition: all .4s ease;
        transition: all .4s ease;
z-index: 0;
}

#works-content .works-grid-inner .relative-container label.works-title {
font-family: 'Inter', sans-serif;
font-size: 14px;
line-height: 1;
letter-spacing: 0.05em;
font-style: normal;
text-transform: uppercase;
text-align: center;
font-weight: 500;
width: 225px;
padding: 10px 20px;
display: inline-block;
background: #000;
color: #fff;
border: 1px solid #000;
cursor: pointer;
-webkit-transition: all .6s ease;
   -moz-transition: all .6s ease;
    -ms-transition: all .6s ease;
     -o-transition: all .6s ease;
        transition: all .6s ease;
}

@media only screen and (max-width: 1200px) {
  #works-content .works-grid-inner .relative-container label.works-title {
    margin-top: 150px;
  }
}

#works-content .works-grid-inner .relative-container a.works-button {
position: relative;
display: block;
visibility: hidden;
top: 50px;
width: 300px;
margin: auto;
        opacity: 0;
   -moz-opacity: 0;
-webkit-opacity: 0;
filter: alpha(opacity=0);
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
-webkit-transition: all .4s ease;
   -moz-transition: all .4s ease;
    -ms-transition: all .4s ease;
     -o-transition: all .4s ease;
        transition: all .4s ease;
z-index: 12;
}

#works-content .works-grid-inner .relative-container:hover .table-cell > * {
        opacity: 0;
   -moz-opacity: 0;
-webkit-opacity: 0;
filter: alpha(opacity=0);
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}

#works-content .works-grid-inner .relative-container:hover a.works-button {
visibility: visible;
        opacity: 1;
   -moz-opacity: 1;
-webkit-opacity: 1;
filter: alpha(opacity=100);
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
top: -36px;
}

#works-content .works-grid-inner .relative-container a.works-button {
font-family: 'Inter', sans-serif;
font-size: 14px;
line-height: 1;
letter-spacing: 0.05em;
font-style: normal;
text-transform: uppercase;
text-align: center;
font-weight: 500;
width: 225px;
padding: 10px 20px;
display: inline-block;
background: #fff;
color: #111;
border: 1px solid #fff;
cursor: pointer;
-webkit-transition: all .6s ease;
   -moz-transition: all .6s ease;
    -ms-transition: all .6s ease;
     -o-transition: all .6s ease;
        transition: all .6s ease;
}

#works-content .works-grid-inner a.works-button:hover {
background: #fff;
color: #000;
}

@media screen and (min-width: 40em) {
  #works-content .works-grid-inner {
    width: 50%;
    min-height: 350px;
  }
}

@media screen and (min-width: 60em) {
  #works-content .works-grid-inner {
    width: 33.3333%;
    min-height: 350px;
  }
}

@media only screen and (max-width: 640px) {
#works-content .works-grid-inner {
	min-height: 350px;
  }
}

/* layout misto progetti */
@media screen and (min-width: 60em) {
    #works-content .works-grid-inner:nth-child(1) { width: 60%; }
    #works-content .works-grid-inner:nth-child(2) { width: 40%; }
    #works-content .works-grid-inner:nth-child(3) { width: 40%; }
    #works-content .works-grid-inner:nth-child(4) { width: 60%; }
    #works-content .works-grid-inner:nth-child(5) { width: 50%; }
    #works-content .works-grid-inner:nth-child(6) { width: 50%; }
}

/* zoom effect modal progetti */
.works-modal.fade .modal-dialog {
    -webkit-transform: scale(0.65);
       -moz-transform: scale(0.65);
        -ms-transform: scale(0.65);
            transform: scale(0.65);
    -webkit-transition: -webkit-transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1),
                        opacity 0.35s ease;
            transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1),
                        opacity 0.35s ease;
}

.works-modal.in .modal-dialog {
    -webkit-transform: scale(1);
       -moz-transform: scale(1);
        -ms-transform: scale(1);
            transform: scale(1);
}


/* works modal */
.works-modal {
left: -20px;
}

/* cornici annidate — svcModal fondo rosso Mediana */
#svcModal .modal-content {
background: rgba(219,0,24,0.8);
}

/* testi */
#svcModal .modal-content h2 { color: #fff; }
#svcModal .modal-content p  { color: rgba(255,255,255,0.88); }
#svcModal .modal-content p.item-intro { color: rgba(255,255,255,0.6); }
#svcModal .svc-brand-sn     { color: rgba(255,255,255,0.6); }
#svcModal .svc-brand-mediana { color: #fff; }
#svcModal .svc-modal-tech   { color: rgba(255,255,255,0.45); }

/* croce di chiusura */
#svcModal .close-modal .lr,
#svcModal .close-modal .lr .rl { background-color: #fff; }

/* bottone chiudi */
#svcModal .c-btn-dark {
border-color: rgba(255,255,255,0.5);
color: #fff;
}
#svcModal .c-btn-dark::before { background: rgba(0,0,0,0.15); }
#svcModal .c-btn-dark:hover   { color: #fff; border-color: #fff; }

/* cornici */
#svcModal::before {
content: '';
position: fixed;
inset: 0;
pointer-events: none;
z-index: 2000;
box-shadow:
  inset 0 0 0 1px  rgba(255,255,255,0.25),
  inset 0 0 0 22px rgba(219,0,24,0.8),
  inset 0 0 0 23px rgba(255,255,255,0.12),
  inset 0 0 0 44px rgba(219,0,24,0.8),
  inset 0 0 0 45px rgba(255,255,255,0.06);
}

@media only screen and (max-width: 640px) {
  #svcModal::before {
    box-shadow:
      inset 0 0 0 1px  rgba(255,255,255,0.25),
      inset 0 0 0 12px rgba(219,0,24,0.8),
      inset 0 0 0 13px rgba(255,255,255,0.12),
      inset 0 0 0 24px rgba(219,0,24,0.8),
      inset 0 0 0 25px rgba(255,255,255,0.06);
  }
}

/* zoom animation per Bootstrap modal (Bootstrap 3 usa .in) */
.modal.fade .modal-dialog {
-webkit-transform: scale(1.4);
   -moz-transform: scale(1.4);
    -ms-transform: scale(1.4);
        transform: scale(1.4);
-webkit-transition: -webkit-transform 0.6s ease-in-out,
                    opacity 0.6s ease-in-out;
        transition: transform 0.6s ease-in-out,
                    opacity 0.6s ease-in-out;
}

.modal.in .modal-dialog {
-webkit-transform: scale(1);
   -moz-transform: scale(1);
    -ms-transform: scale(1);
        transform: scale(1);
}

.works-modal .modal-content .modal-content-date {
width: 100%;
background-color: #fff;
top: 0;
right: 0;
padding: 0 0 12px 0;
text-align: right;
font-size: 9px;
letter-spacing: 1px;
color: #111;
text-transform: uppercase;
}

.works-modal .modal-content {
padding: 100px 0 50px 0;
min-height: 100%;
border: 0;
background-color: #111;
-webkit-border-radius: 0;
   -moz-border-radius: 0;
        border-radius: 0;
text-align: center;
-webkit-background-clip: border-box;
        background-clip: border-box;
-webkit-box-shadow: none;
        box-shadow: none;
}

.works-modal .modal-content h2 {
font-family: 'Inter', sans-serif;
font-size: 24px;
line-height: 1;
letter-spacing: -0.04em;
font-style: normal;
text-transform: uppercase;
text-align: right;
font-weight: 700;
color: #fff;
}

.works-modal .modal-content p {
text-align: left;
margin-bottom: 30px;
color: rgba(197,194,184,0.8);
}

.works-modal .modal-content p.item-intro {
font-family: 'Inter', sans-serif;
padding: 10px 0 0 0;
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.05em;
color: rgba(219,0,24,0.85);
text-align: right;
}

.works-modal .modal-content p.svc-modal-brand {
font-family: 'Inter', sans-serif;
font-size: 12px;
font-weight: 600;
letter-spacing: 0.12em;
text-transform: uppercase;
text-align: right;
margin: 4px 0 24px;
padding: 0;
}

.svc-brand-mediana {
color: #db0018;
}

.svc-brand-sn {
color: rgba(255,255,255,0.75);
}

.works-modal .modal-content ul.list-inline {
margin-top: 0;
margin-bottom: 30px;
}

.works-modal .modal-content img {
margin: 50px 0;
}

.works-modal .close-modal {
position: absolute;
width: 50px;
height: 50px;
top: 20px;
right: 20px;
background-color: transparent;
cursor: pointer;
-webkit-transition: all .3s ease;
   -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
     -o-transition: all .3s ease;
        transition: all .3s ease;
}

.works-modal .close-modal:hover {
        opacity: 0.30;
   -moz-opacity: 0.30;
-webkit-opacity: 0.30;
filter: alpha(opacity=30);
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
-webkit-transition: all .3s ease;
   -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
     -o-transition: all .3s ease;
        transition: all .3s ease;
}

/* chiudi button override per modal scuri */
.works-modal .c-btn-dark {
border-color: rgba(255,255,255,0.5);
color: #fff;
}

.works-modal .c-btn-dark::before {
background: rgba(219,0,24,0.45);
}

.works-modal .c-btn-dark:hover {
color: #fff;
border-color: #db0018;
}

.works-modal .close-modal .lr {
width: 1px;
height: 25px;
margin: 10px 0 0 23px;
background-color: #fff;
-webkit-transform: rotate(45deg);
   -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
     -o-transform: rotate(45deg);
        transform: rotate(45deg);
z-index: 1050;
}

.works-modal .close-modal .lr .rl {
width: 1px;
height: 25px;
background-color: #fff;
-webkit-transform: rotate(90deg);
   -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
     -o-transform: rotate(90deg);
        transform: rotate(90deg);
z-index: 1051;
}

.modal-body p,
.modal-body h4,
.modal-body h5,
.modal-body ul,
.modal-body li {
color: rgba(197,194,184,0.8);
}

.modal-body h4 {
color: #fff;
}


/* ex modal */
.ex-modal h4 {
font-family: 'Sora', sans-serif;
font-size: 45px;
font-weight: 700;
line-height: 1;
letter-spacing: normal;
color: #111;
text-align: center;
text-transform: uppercase;
margin: 0 0 50px 0;
padding: 10px 0 0 0;
}

.ex-modal h5  {
font-family: 'Inter', sans-serif;
font-style: normal;
font-weight: 700;
font-size: 12px;
text-align: center;
text-transform: uppercase;
letter-spacing: 0.35em;
color: #111;
margin: 0;
padding: 0;
}

.ex-modal-closer {
position: relative;
width: 50px;
height: auto;
margin: 0 auto;
font-size: 20px;
text-align: center;
color: #111;
cursor: pointer;
}

.ex-modal p {
font-size: 13px;
color: #111;
text-align: center;
}

.ex-modal {
position: fixed;
width: -webkit-calc(100% - 100px);
width: -moz-calc(100% - 100px);
width: calc(100% - 100px);
height: -webkit-calc(100% - 20px, 100px, 20px, 100px);
height: -moz-calc(100% - 20px, 100px, 20px, 100px);
height: calc(100% - 20px, 100px, 20px, 100px);
top: 10px;
right: 50px;
bottom: 10px;
left: 50px;
-webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
        box-sizing: border-box;
visibility: hidden;
background: #fff;
        opacity: 0;
   -moz-opacity: 0;
-webkit-opacity: 0;
filter: alpha(opacity=0);
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
-webkit-transform: scale(1.4);
   -moz-transform: scale(1.4);
    -ms-transform: scale(1.4);
     -o-transform: scale(1.4);
        transform: scale(1.4);
-webkit-transform-origin: center;
   -moz-transform-origin: center;
    -ms-transform-origin: center;
	 -o-transform-origin: center;
        transform-origin: center;
-webkit-transition: opacity 0.6s ease-in-out,
                    -webkit-transform 0.6s ease-in-out,
                    visibility 0s linear 0.6s;
        transition: opacity 0.6s ease-in-out,
                    transform 0.6s ease-in-out,
                    visibility 0s linear 0.6s;
z-index: 1005;
}

.reverse-rotation-ex-modal {
-webkit-transform: scale(1.4);
   -moz-transform: scale(1.4);
    -ms-transform: scale(1.4);
     -o-transform: scale(1.4);
        transform: scale(1.4);
}

.ex-modal.close {
visibility: hidden;
        opacity: 0;
   -moz-opacity: 0;
-webkit-opacity: 0;
filter: alpha(opacity=0);
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
-webkit-transform: scale(1.4);
   -moz-transform: scale(1.4);
    -ms-transform: scale(1.4);
     -o-transform: scale(1.4);
        transform: scale(1.4);
}

.ex-modal.open {
width: -webkit-calc(100% - 100px);
width: -moz-calc(100% - 100px);
width: calc(100% - 100px);
height: -webkit-calc(100% - 20px, 100px, 20px, 100px);
height: -moz-calc(100% - 20px, 100px, 20px, 100px);
height: calc(100% - 20px, 100px, 20px, 100px);
top: 10px;
right: 50px;
bottom: 10px;
left: 50px;
-webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
        box-sizing: border-box;
visibility: visible;
        opacity: 1;
   -moz-opacity: 1;
-webkit-opacity: 1;
filter: alpha(opacity=100);
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
-webkit-transform: scale(1);
   -moz-transform: scale(1);
    -ms-transform: scale(1);
     -o-transform: scale(1);
        transform: scale(1);
-webkit-transition: opacity 0.6s ease-in-out,
                    -webkit-transform 0.6s ease-in-out,
                    visibility 0s linear 0s;
        transition: opacity 0.6s ease-in-out,
                    transform 0.6s ease-in-out,
                    visibility 0s linear 0s;
}

@media only screen and (max-width: 640px) {
  .ex-modal.open {
    width: -webkit-calc(100% - 10px);
    width: -moz-calc(100% - 10px);
    width: calc(100% - 10px);
    height: -webkit-calc(100% - 10px);
    height: -moz-calc(100% - 10px);
    height: calc(100% - 10px);
    top: 5px;
	right: 5px;
    bottom: 5px;
	left: 5px;
    -webkit-transform: scale(1);
       -moz-transform: scale(1);
        -ms-transform: scale(1);
         -o-transform: scale(1);
            transform: scale(1);
  }
}

.ex-modal-launcher {
cursor: pointer;
}



/* newsletter form */
#subscribe-wrapper {
position: relative;
width: 300px;
height: 160px;
margin: 0 auto;
background: none;
text-align: center;
}

@media only screen and (max-width: 480px) {
  #subscribe-wrapper {
    width: 260px;
	margin: 0 auto;
  }
}

.newsletter {
position: relative;
clear: both;
border: none;
background: none;
padding: 0;
overflow: hidden;
}

#subscribe input {
position: relative;
width: 225px;
height: 40px;
text-align: center;
color: #111;
border: none;
border-bottom: 1px solid #111;
background: none;
-webkit-transition: all 0.5s linear;
   -moz-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
     -o-transition: all 0.5s linear;
        transition: all 0.5s linear;
font-family: 'Inter', sans-serif;
font-size: 14px;
line-height: 1.5;
font-style: normal;
font-weight: normal;
text-align: center;
}

#subscribe input:focus, #subscribe textarea:focus {
color: #111;
-webkit-transition: all 0.5s linear;
   -moz-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
     -o-transition: all 0.5s linear;
        transition: all 0.5s linear;
}

#subscribe input:hover {
border-color: rgba(119, 119, 119, .5);
-webkit-transition: all 0.5s linear;
   -moz-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
     -o-transition: all 0.5s linear;
        transition: all 0.5s linear;
}

.subscribe-success {
font-family: 'Inter', sans-serif;
font-size: 11px;
font-style: normal;
font-weight: 500;
letter-spacing: 0.15em;
text-transform: uppercase;
text-align: center;
color: #111;
margin: 0 auto;
padding: 80px 0 0 0;
line-height: 1;
 -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

#subscribe .subscribe-error {
font-size: 9px;
text-transform: uppercase;
text-align: center;
color: #111;
display: block;
margin: 8px auto 0 auto;
padding: 0;
letter-spacing: 0.15em;
 -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}


/* newsletter placeholders */
input[type="text"].subscribe-email::-webkit-input-placeholder {
color: #111;
}

input[type="text"].subscribe-email:-ms-input-placeholder{
color: #111;
}

input[type="text"].subscribe-email::-moz-placeholder {
color: #111;
}

input:focus.subscribe-email::-webkit-input-placeholder { color: transparent; }
     input:focus.subscribe-email:-ms-input-placeholder { color: transparent; }
         input:focus.subscribe-email::-moz-placeholder { color: transparent; }
          input:focus.subscribe-email:-moz-placeholder { color: transparent; }


/* shadow */
.top-shadow {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: -moz-linear-gradient(top, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .02) 100%);
background: -webkit-linear-gradient(top, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .02) 100%);
background: linear-gradient(to bottom, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .02) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#40000000', endColorstr='#00000000', GradientType=0);
z-index: 1;
}

.cover-all {
position: fixed;
height: 100%;
width: 100%;
left: 0;
top: 0;
background: rgba(0, 0, 0, .05);
z-index: 1;
}


/* hero container */ 
.hero-fullscreen {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
overflow: hidden;
z-index: 0;
}


/* hero bg */
.hero-bg {
position: relative;
width: 100%;
height: 100%;
background-position: center center;
background-repeat: no-repeat;
-webkit-background-size: cover;
   -moz-background-size: cover;
    -ms-background-size: cover;
     -o-background-size: cover;
        background-size: cover;
-webkit-transition: -webkit-transform 2s ease;
   -moz-transition: -moz-transform 2s ease-out;
	-ms-transition: -ms-transform 2s ease-out;
     -o-transition: -o-transform 2s ease-out;
        transition: transform 2s ease;
-webkit-transform: scale(1.8);
   -moz-transform: scale(1.8);
    -ms-transform: scale(1.8);
     -o-transform: scale(1.8);
        transform: scale(1.8);
        opacity: 0;
   -moz-opacity: 0;
-webkit-opacity: 0;
filter: alpha(opacity=0);
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}

.hero-bg-show {
-webkit-transform: scale(1);
   -moz-transform: scale(1);
    -ms-transform: scale(1);
     -o-transform: scale(1);
        transform: scale(1);
        opacity: 1;
   -moz-opacity: 1;
-webkit-opacity: 1;
filter: alpha(opacity=100);
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}


/* hero fullscreen FIX */ 
.hero-fullscreen-FIX {
width: 100%;
height: 100%;
}


/* slick fullscreen,
slick fullscreen SPLIT */
.slick-fullscreen.slick-fullscreen-split-content {
width: 50%;
left: 50%;
}

.slick-fullscreen-img-fill {
position: relative;
display: block;
width: 100%;
overflow: hidden;
text-align: center;
}

.slick-fullscreen-img-fill img {
position: relative;
display: inline-block;
min-width: 100%;
max-width: none;
min-height: 100%;
}

.slick-fullscreen .slick-fullscreen-item .slick-fullscreen-img-fill,
.slick-fullscreen-split .slick-fullscreen-item .slick-fullscreen-img-fill {
height: 100vh;
background: none;
}

.slick-fullscreen .slick-fullscreen-item .slick-fullscreen-img-fill .slick-fullscreen-info,
.slick-fullscreen-split .slick-fullscreen-item .slick-fullscreen-img-fill .slick-fullscreen-info {
position:absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
line-height: 100vh;
text-align: center;
}

.slick-fullscreen .slick-fullscreen-item .slick-fullscreen-img-fill .bg-img,
.slick-fullscreen-split .slick-fullscreen-item .slick-fullscreen-img-fill .bg-img {
position: relative;
width: auto;
height: 100%;
background-position: center center;
background-repeat: no-repeat;
-webkit-background-size: cover;
   -moz-background-size: cover;
    -ms-background-size: cover;
     -o-background-size: cover;
        background-size: cover;
}

.slick-fullscreen .slick-fullscreen-item .slick-fullscreen-info > div,
.slick-fullscreen-split .slick-fullscreen-item .slick-fullscreen-info > div {
display: inline-block!important;
vertical-align: middle;
}

.slick-fullscreen:hover .slick-prev,
.slick-fullscreen:hover .slick-next,
.slick-fullscreen-split:hover .slick-prev,
.slick-fullscreen-split:hover .slick-next {
        opacity: 1;
   -moz-opacity: 1;
-webkit-opacity: 1;
filter: alpha(opacity=100);
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.slick-fullscreen:hover .slick-prev,
.slick-fullscreen-split:hover .slick-prev {
left: -35px;
}

.slick-fullscreen:hover .slick-next,
.slick-fullscreen-split:hover .slick-next {
right: -35px;
}


.slick-fullscreen .slick-dots,
.slick-fullscreen-split .slick-dots {
position: absolute;
width: 100%;
height: 5px;
bottom: 0;
left: 0;
margin: 0;
padding: 0;
background: rgba(255, 255, 255, .25);
list-style-type: none;
}

.slick-fullscreen .slick-dots li button,
.slick-fullscreen-split .slick-dots li button {
display: none;
}

.slick-fullscreen .slick-dots li,
.slick-fullscreen-split .slick-dots li {
position: absolute;
float: left;
width: 0;
height: 5px;
left: -5px;
bottom: 0;
background: #fff;
}

.slick-fullscreen .slick-dots li.slick-active,
.slick-fullscreen-split .slick-dots li.slick-active {
width: 100%;
-webkit-animation: progressDots 4s both;
   -moz-animation: progressDots 4s both;
    -ms-animation: progressDots 4s both;
     -o-animation: progressDots 4s both;
        animation: progressDots 4s both;
}

@-webkit-keyframes progressDots {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes progressDots {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.slick-fullscreen,
.slick-fullscreen-split {
background: none;
}

.slick-fullscreen .slick-slide,
.slick-fullscreen-split .slick-slide {
display: none;
float: left;
height: 100%;
}

.slick-initialized .slick-slide {
display: block;
}


/* ken burns slideshow */
.kenburns-slide-wrapper {
position: relative;
width: 100%;
height: 100%;
left: 0;
top: 0;
overflow: hidden;
z-index: 0;
}

.kenburns-slide {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
        opacity: 0;
   -moz-opacity: 0;
-webkit-opacity: 0;
filter: alpha(opacity=0);
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
-webkit-animation: KenBurnsSlideShow 24s linear infinite 0s;
   -moz-animation: KenBurnsSlideShow 24s linear infinite 0s;
    -ms-animation: KenBurnsSlideShow 24s linear infinite 0s;
     -o-animation: KenBurnsSlideShow 24s linear infinite 0s;
        animation: KenBurnsSlideShow 24s linear infinite 0s;
}

.kenburns-slide-1,
.kenburns-slide-1-2 {
        opacity: 1;
   -moz-opacity: 1;
-webkit-opacity: 1;
filter: alpha(opacity=100);
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
background-repeat: no-repeat;
background-position: center;
-webkit-background-size: cover;
   -moz-background-size: cover;
    -ms-background-size: cover;
     -o-background-size: cover;
        background-size: cover;
}

.kenburns-slide-2,
.kenburns-slide-2-2 {
-webkit-animation-delay: 6s;
   -moz-animation-delay: 6s;
    -ms-animation-delay: 6s;
     -o-animation-delay: 6s;
        animation-delay: 6s;
background-repeat: no-repeat;
background-position: center;
-webkit-background-size: cover;
   -moz-background-size: cover;
    -ms-background-size: cover;
     -o-background-size: cover;
        background-size: cover;
}

.kenburns-slide-3,
.kenburns-slide-3-2 {
-webkit-animation-delay: 12s;
   -moz-animation-delay: 12s;
    -ms-animation-delay: 12s;
     -o-animation-delay: 12s;
        animation-delay: 12s;
background-repeat: no-repeat;
background-position: center;
-webkit-background-size: cover;
   -moz-background-size: cover;
    -ms-background-size: cover;
     -o-background-size: cover;
        background-size: cover;
}

.kenburns-slide-4,
.kenburns-slide-4-2 {
-webkit-animation-delay: 18s;
   -moz-animation-delay: 18s;
    -ms-animation-delay: 18s;
     -o-animation-delay: 18s;
        animation-delay: 18s;
background-repeat: no-repeat;
background-position: center;
-webkit-background-size: cover;
   -moz-background-size: cover;
    -ms-background-size: cover;
     -o-background-size: cover;
        background-size: cover;
}

@-webkit-keyframes KenBurnsSlideShow {
  0% {
    opacity: 0;
    -webkit-transform: scale(1);
  }
 5% {
    opacity: 1
  }
 25% {
    opacity: 1;
  }
 30% {
    opacity: 0;
    -webkit-transform: scale(1.1);
  }
 100% {
    opacity: 0;
    -webkit-transformm: scale(1);
  }
}

@-moz-keyframes KenBurnsSlideShow {
  0% {
    opacity: 0;
    -moz-transform: scale(1);
  }
 5% {
    opacity: 1
  }
 25% {
    opacity: 1;
  }
 30% {
    opacity: 0;
    -moz-transform: scale(1.1);
  }
 100% {
    opacity: 0;
    -moz-transform: scale(1);
  }
}

@-o-keyframes KenBurnsSlideShow {
  0% {
    opacity: 0;
    -o-transform: scale(1);
  }
 5% {
    opacity: 1
  }
 25% {
    opacity: 1;
  }
 30% {
    opacity: 0;
    -o-transform: scale(1.1);
  }
 100% {
    opacity: 0;
    -o-transform: scale(1);
  }
}

@keyframes KenBurnsSlideShow {
  0% {
    opacity: 0;
	    transform: scale(1);
    -ms-transform: scale(1);
  }
 5% {
    opacity: 1
  }
 25% {
    opacity: 1;
  }
 30% {
    opacity: 0;
	    transform: scale(1.1);
    -ms-transform: scale(1.1);
  }
 100% {
    opacity: 0;
	    transform: scale(1);
    -ms-transform: scale(1);
  }
}


/* YouTube video */
.YT-bg {
background: none;
}

@media only screen and (max-width: 880px) {
  .YT-bg {
    position: relative;
    height: 100%;
    background-image: url(../img/background/YT-bg.jpg);
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
       -moz-background-size: cover;
        -ms-background-size: cover;
         -o-background-size: cover;
            background-size: cover;
  }
}

.background-video {
position: absolute;
background-repeat: no-repeat;
background-position: top center;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow: hidden;
}

video,
source {
position: absolute;
min-width: 100%;
min-height: 100%;
bottom: 0;
left: 0;
}

.loaded .ytplayer-container {
display: block;
}

.ytplayer-container {
position: absolute;
min-width: 100%;
height: 100%;
top: 0;
right: 0;
bottom: 0;
left: 0; 
overflow: hidden;
z-index: 1;
}

.ytplayer-shield {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 1;
}

.ytplayer-player {
position: absolute;
}


/* HTML5 video */
#video-bg {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
overflow: hidden;
z-index: 0;
}


/* Vimeo video */
#vimeo-video {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
overflow: hidden;
z-index: 0;
}

.vimeo-bg {
background: none;
}

@media only screen and (max-width: 880px) {
  .vimeo-bg {
    position: relative;
    height: 100%;
    background-image: url(../img/background/vimeo-bg.jpg);
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
       -moz-background-size: cover;
        -ms-background-size: cover;
         -o-background-size: cover;
            background-size: cover;
  }
}


/* divider */
.dividerOT {
position: relative;
width: auto;
height: 118px;
margin: 0 auto;
background: none;
}

@media only screen and (max-width: 640px) {
  .dividerOT {
    height: 93px;
  }
}


/* brand name bottom-right */
.social-icons-wrapper {
position: fixed;
right: 40px;
bottom: 17px;
z-index: 15;
}

@media only screen and (max-width: 880px) {
  .social-icons-wrapper {
    position: absolute;
    right: 20px;
    top: 19px;
  }
}

.home-brand-name {
margin: 0;
padding: 0;
font-family: 'Inter', sans-serif;
font-weight: 600;
font-size: 11px;
letter-spacing: 0.12em;
text-transform: uppercase;
line-height: 1;
}

.home-brand-mediana {
color: #db0018;
}

.home-brand-sn {
color: rgba(255,255,255,0.75);
}

@media only screen and (max-width: 880px) {
  .home-brand-name {
    font-size: 10px;
  }
}

ul.social-icons {
font-size: 20px;
line-height: 1;
margin: 0;
padding: 0;
position: relative;
}

@media only screen and (max-width: 880px) {
  ul.social-icons {
    font-size: 15px;
  }
}

ul.social-icons a {
padding: 0;
color: #fff;
text-decoration: none;
        opacity: 1;
   -moz-opacity: 1;
-webkit-opacity: 1;
filter: alpha(opacity=100);
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
-webkit-transition: all 0.5s linear;
   -moz-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
     -o-transition: all 0.5s linear;
        transition: all 0.5s linear;
}

ul.social-icons a:hover {
padding: 0;
color: #fff;
text-decoration: none;
        opacity: 0.5;
   -moz-opacity: 0.5;
-webkit-opacity: 0.5;
filter: alpha(opacity=50);
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
-webkit-transition: all 0.5s linear;
   -moz-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
     -o-transition: all 0.5s linear;
        transition: all 0.5s linear;
}


/* preloader */
.preloader-bg {
position: fixed;
width: 100%;
height: 100%;
overflow: hidden;
background: #000;
z-index: 999998;
}

#preloader {
position: fixed;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
overflow: hidden;
background: #000;
z-index: 999999;
}

.preloader-m {
font-family: 'Inter', sans-serif;
font-weight: 700;
font-size: clamp(28px, 9vw, 130px);
color: #db0018;
line-height: 1;
letter-spacing: -0.02em;
text-transform: uppercase;
transition: opacity 0.015s linear, text-shadow 0.04s linear;
will-change: transform, opacity, text-shadow;
}

.preloader-m.is-final {
font-family: 'Inter', sans-serif !important;
font-weight: 700 !important;
font-style: normal !important;
animation: preloader-pulse 1.6s ease-in-out infinite;
}

@keyframes preloader-pulse {
  0%, 100% { transform: scale(1);    opacity: 1;    text-shadow: 0 0 40px rgba(219,0,24,0.5), 0 0 80px rgba(219,0,24,0.2); }
  50%       { transform: scale(1.07); opacity: 0.85; text-shadow: 0 0 100px rgba(219,0,24,0.95), 0 0 200px rgba(219,0,24,0.4); }
}


/* EFFECTS */
/* film grain */
#film-grain {
position: fixed;
height: 100%;
width: 100%;
overflow: hidden;
background: url(../img/effects/film-grain.gif) repeat top left;
        opacity: 0.1;
   -moz-opacity: 0.1;
-webkit-opacity: 0.1;
filter: alpha(opacity=10);
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=10)";
z-index: 1;
}


/* particles */
#particles-holder {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%!important;
overflow: hidden;
z-index: 2;
}

#particles-js {
width: 100%;
height: 100%;
overflow: hidden;
background: none;
}


/* appear element */
.appear-element {
-webkit-transform: scale(1);
   -moz-transform: scale(1);
    -ms-transform: scale(1);
     -o-transform: scale(1);
        transform: scale(1);
        opacity: 1;
   -moz-opacity: 1;
-webkit-opacity: 1;
filter: alpha(opacity=100);
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
-webkit-animation: appear 2.4s 1;
   -moz-animation: appear 2.4s 1;
    -ms-animation: appear 2.4s 1;
     -o-animation: appear 2.4s 1;
        animation: appear 2.4s 1;
-webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
}

@-webkit-keyframes appear {
from {
    -ms-transform: scale(0);
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 0;
}

to {
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}
}

@keyframes appear {
from {
    -ms-transform: scale(0);
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 0;
}

to {
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}
}


/* snow */
#snow {
position: fixed;
width: 100%;
height: 100%;
left: 0;
top: 0;
overflow: hidden;
z-index: 2;
}


/* fog */
#fog-wrapper {
position: fixed;
width: 100%;
height: 100%;
left: 0;
bottom: 0;
overflow: hidden;
z-index: 2;
}

#fog {
position: fixed;
width: 100%;
max-width: 100%;
min-width: 800px;
height: 200px;
left: 0;
bottom: 0;
}


/* rain */
.weather {
position: fixed;
width: 100%;
height: 100%!important;
left: 0;
top: 0;
overflow: hidden;
z-index: 2;
}

.weather:before, .weather:after {
content: "";
position: absolute;
left: -100%;
top: -100%;
right: -100%;
bottom: -100%;
pointer-events: none;
background: transparent repeat;
-webkit-transform: rotate(-40deg);
   -moz-transform: rotate(-40deg);
    -ms-transform: rotate(-40deg);
     -o-transform: rotate(-40deg);
        transform: rotate(-40deg);
-webkit-transform-origin: center;
   -moz-transform-origin: center;
    -ms-transform-origin: center;
     -o-transform-origin: center;
        transform-origin: center;
-webkit-animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
-webkit-animation-name: weather;
        animation-name: weather;
animation-timing-function: linear;
animation-iteration-count: infinite;
}

.weather:after {
-webkit-animation-name: weather2;
        animation-name: weather2;
}

.weather.rain:before, .weather.rain:after {
background: url(../img/effects/rain.png) left top;
        opacity: 0.6;
   -moz-opacity: 0.6;
-webkit-opacity: 0.6;
filter: alpha(opacity=60);
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
-webkit-animation-duration: 2s;
        animation-duration: 2s;
}

.weather.rain:after {
-webkit-animation-duration: 1.5s;
        animation-duration: 1.5s;
}

@-webkit-keyframes weather {
    from { background-position: 0 0; }
    to { background-position: 0 1024px; }
}
@keyframes weather {
    from { background-position: 0 0; }
    to { background-position: 0 1024px; }
}
@-webkit-keyframes weather2 {
    from { background-position: 64px 64px; }
    to { background-position: 64px 1088px; }
}
@keyframes weather2 {
    from { background-position: 64px 64px; }
    to { background-position: 64px 1088px; }
}


/* clouds */
.clouds {
position: fixed;
width: 150%;
height: 100%;
left: -50%;
top: 0;
background: none;
overflow: hidden;
z-index: 2;
}

.cloud-1 {
position: absolute;
left: 0;
top: 0;
width: 300%;
height: 100%;
background-image: url(../img/effects/cloud-1.png);
background-repeat: repeat-x;
-webkit-animation: cloud-1 50s linear infinite;
   -moz-animation: cloud-1 50s linear infinite;
    -ms-animation: cloud-1 50s linear infinite;
     -o-animation: cloud-1 50s linear infinite;
        animation: cloud-1 50s linear infinite;
-webkit-transform: scale(1,1) translate3d(0,0,0);
   -moz-transform: scale(1,1) translate3d(0,0,0);
    -ms-transform: scale(1,1) translate3d(0,0,0);
     -o-transform: scale(1,1) translate3d(0,0,0);
        transform: scale(1,1) translate3d(0,0,0);
}

.cloud-2 {
position: absolute;
left: 0;
top: 0;
width: 300%;
height: 100%;
background-image: url(../img/effects/cloud-2.png);
background-repeat: repeat-x;
-webkit-animation: cloud-2 90s linear infinite;
   -moz-animation: cloud-2 90s linear infinite;
    -ms-animation: cloud-2 90s linear infinite;
     -o-animation: cloud-2 90s linear infinite;
        animation: cloud-2 90s linear infinite;
-webkit-transform: scale(1,1) translate3d(0,0,0);
   -moz-transform: scale(1,1) translate3d(0,0,0);
    -ms-transform: scale(1,1) translate3d(0,0,0);
     -o-transform: scale(1,1) translate3d(0,0,0);
        transform: scale(1,1) translate3d(0,0,0);
}

.cloud-3 {
position: absolute;
left: 0;
top: 0;
width: 300%;
height: 100%;
background-image: url(../img/effects/cloud-3.png);
background-repeat: repeat-x;
-webkit-animation: cloud-3 70s linear infinite;
   -moz-animation: cloud-3 70s linear infinite;
    -ms-animation: cloud-3 70s linear infinite;
     -o-animation: cloud-3 70s linear infinite;
        animation: cloud-3 70s linear infinite;
-webkit-transform: scale(1,1) translate3d(0,0,0);
   -moz-transform: scale(1,1) translate3d(0,0,0);
    -ms-transform: scale(1,1) translate3d(0,0,0);
     -o-transform: scale(1,1) translate3d(0,0,0);
        transform: scale(1,1) translate3d(0,0,0);
}

@media only screen and (max-width: 880px) {
  .cloud-1,
  .cloud-2,
  .cloud-3 {
    -webkit-background-size: 25%!important;
            background-size: 25%!important;
  }
}

@-webkit-keyframes cloud-1 {
0% {
    left: 0;
}

100% {
    left: -200%;
}
}

@-moz-keyframes cloud-1 {
0% {
    left: 0;
}

100% {
    left: -200%;
}
}

@keyframes cloud-1 {
0% {
    left: 0;
}

100% {
    left: -200%;
}
}

@-webkit-keyframes cloud-2 {
0% {
    left: 0;
}

100% {
    left: -200%;
}
}

@-moz-keyframes cloud-2 {
0% {
    left: 0;
}

100% {
    left: -200%;
}
}

@keyframes cloud-2 {
0% {
    left: 0;
}

100% {
    left: -200%;
}
}

@-webkit-keyframes cloud-3 {
0% {
    left: 0;
}

100% {
    left: -200%;
}
}

@-moz-keyframes cloud-3 {
0% {
    left: 0;
}

100% {
    left: -200%;
}
}

@keyframes cloud-3 {
0% {
    left: 0;
}

100% {
    left: -200%;
}
}


/* birds */
#birdman-container {
display: none;
visibility: hidden;
}

#birdman-holder {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%!important;
overflow: hidden;
z-index: 2;
}

canvas {
position: fixed;
left: 0;
/* top: 0; */
bottom: 0;
width: 100%;
height: 100%;
overflow: hidden;
}

/* ================================
   MEDIANA - VIDEO DINAMICO PER SEZIONE
   ================================ */
.section-video-stage {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
overflow: hidden;
background: #000;
}

.section-video {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
overflow: hidden;
visibility: hidden;
opacity: 0;
z-index: 0;
-webkit-transition: opacity .9s ease, visibility .9s ease;
   -moz-transition: opacity .9s ease, visibility .9s ease;
    -ms-transition: opacity .9s ease, visibility .9s ease;
     -o-transition: opacity .9s ease, visibility .9s ease;
        transition: opacity .9s ease, visibility .9s ease;
}

.section-video.is-active {
visibility: visible;
opacity: 1;
z-index: 1;
}

.section-video video {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
object-fit: cover;
object-position: center center;
background: #000;
}

/* lo shadow originale deve rimanere sopra ai video */
.section-video-stage .top-shadow {
z-index: 3;
pointer-events: none;
}

@media only screen and (max-width: 768px) {
    .section-video video {
        object-position: center center;
    }
}


/* ═══════════════════════════════════════════════════════
   MEDIANA – HOME ENHANCEMENTS
   ═══════════════════════════════════════════════════════ */

/* ── Tagline cycling: uno alla volta, gestito da JS ── */
.decoration-effect {
    overflow: hidden;
    height: 28px;
    padding: 0;
}

.decoration-effect p.until-launch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    line-height: 1.2;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ── Stats row ── */
.home-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 44px auto 0 auto;
    width: 100%;
}

.home-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 36px;
}

.home-stat-number {
    font-family: 'Sora', sans-serif;
    font-size: 46px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.04em;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, .6);
}

.home-stat-number sup {
    font-size: 22px;
    vertical-align: super;
    color: #db0018;
    font-weight: 700;
}

.home-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
    margin-top: 7px;
    white-space: nowrap;
}

.home-stat-sep {
    width: 1px;
    height: 44px;
    background: rgba(255, 255, 255, .18);
    flex-shrink: 0;
}

@media only screen and (max-width: 640px) {
    .home-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    .home-stat-sep { display: none; }
    .home-stat-number { font-size: 36px; }
    .home-stat { padding: 0 20px; }
}

/* ── CTA links ── */
.home-cta-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

.home-cta {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    position: relative;
}

.home-cta:hover {
    color: #fff;
    text-decoration: none;
}

#cta-contact.home-cta {
    white-space: nowrap;
    letter-spacing: 1px;
    font-size: 14px;
}

/* sovrascrive il testo e il bar del kukuri per sfondi scuri */
.home-cta.link--kukuri::before {
    color: #db0018;
    top: 0;
    left: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    line-height: inherit;
}

.home-cta.link--kukuri::after {
    background: rgba(255, 255, 255, .08);
    height: 14px;
    margin-top: -7px;
}


.home-cta-vsep {
    display: inline-block;
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, .28);
    flex-shrink: 0;
}

/* ── Scroll indicator ── */
.scroll-indicator {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
    pointer-events: none;
}

.scroll-indicator-label {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .35);
    writing-mode: vertical-lr;
    transform: rotate(180deg);
}

.scroll-line {
    display: block;
    width: 1px;
    height: 48px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0)   0%,
        rgba(255, 255, 255, .5) 100%
    );
    transform-origin: top;
    animation: scroll-pulse 2.6s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%    { transform: scaleY(0); opacity: 0; }
    35%   { transform: scaleY(1); opacity: 1; }
    65%   { transform: scaleY(1); opacity: .7; }
    100%  { transform: scaleY(0); opacity: 0; }
}

@media only screen and (max-width: 640px) {
    .scroll-indicator { display: none; }
}


/* ── HOME REDESIGN ─────────────────────────────────────── */

.home-eyebrow {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 10px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin: 0 0 32px 0;
    padding: 0;
    text-align: center;
}

.home-headline {
    margin: 0 0 32px 0;
    text-align: center;
}

.home-hl-line {
    display: block;
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
    color: #fff;
}

.hl-thin {
    font-weight: 200;
    font-size: 34px;
    letter-spacing: 0.06em;
    opacity: 0.8;
}

.hl-bold {
    font-weight: 800;
    font-size: 42px;
    letter-spacing: 0.03em;
    opacity: 1;
}

.home-rule {
    width: 48px;
    height: 1px;
    background: rgba(255,255,255,0.35);
    margin: 0 auto 24px auto;
}

.home-tagline {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    margin: 0 0 32px 0;
    padding: 0;
    text-align: center;
}

@media only screen and (max-width: 640px) {
    .hl-thin            { font-size: 19px; }
    .hl-bold            { font-size: 24px; }
    .home-eyebrow       { font-size: 9px; letter-spacing: 0.15em; margin-bottom: 14px; }
    .home-headline      { margin-bottom: 14px; }
    .home-rule          { margin-top: 0; margin-bottom: 14px; }
    .home-tagline       { font-size: 9px; letter-spacing: 0.12em; margin-bottom: 14px; }
    .home-stats         { margin-top: 14px; }
    .intro-spacer-2     { height: 20px; }
}

@media only screen and (max-width: 640px) {
    .center-container-home {
        position: relative;
        display: block;
        min-height: 100vh;
        padding: 80px 0 40px;
        box-sizing: border-box;
    }
    .center-block-home {
        display: block;
    }
}

/* ── Services editorial layout ── */


/* ── Service Modal: tech line ── */
.svc-modal-tech {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin: 0 0 24px 0;
    display: block;
}

/* ── Works hover: titolo rosso ── */
.works-grid-inner .works-title {
    transition: color 0.2s;
}
.works-grid-inner:hover .works-title {
    color: #db0018;
}

.svc-intro {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin: 0 0 64px 0;
}

/* decoration-2 override for contact (2 righe) */
.section-contact .decoration-effect-2 {
    width: 300px;
    height: 88px;
    margin-left: -150px;
    padding: 10px 0 0 0;
    line-height: 1.6;
}

.section-contact .decoration-left-2 {
    margin-right: 160px;
}

.section-contact .decoration-right-2 {
    margin-left: 160px;
}

.section-contact .effect-bubba-2::before,
.section-contact .effect-bubba-2::after {
    width: 278px;
    height: 66px;
}

@media only screen and (max-width: 640px) {
    .section-contact .decoration-effect-2 {
        width: 220px;
        height: 98px;
        margin-left: -110px;
    }
    .section-contact .decoration-left-2  { margin-right: 120px; }
    .section-contact .decoration-right-2 { margin-left: 120px; }
    .section-contact .effect-bubba-2::before,
    .section-contact .effect-bubba-2::after {
        width: 198px;
        height: 76px;
    }
}

/* decoration-2 override for works (longer text) */
.section-works .decoration-effect-2 {
    width: 420px;
    height: 61px;
    margin-left: -210px;
}

.section-works .decoration-left-2 {
    margin-right: 220px;
}

.section-works .decoration-right-2 {
    margin-left: 220px;
}

.section-works .effect-bubba-2::before,
.section-works .effect-bubba-2::after {
    width: 398px;
    height: 39px;
}

@media only screen and (max-width: 640px) {
    .section-works .decoration-effect-2 {
        width: 260px;
        height: 61px;
        margin-left: -130px;
    }
    .section-works .decoration-left-2 {
        margin-right: 140px;
    }
    .section-works .decoration-right-2 {
        margin-left: 140px;
    }
    .section-works .effect-bubba-2::before,
    .section-works .effect-bubba-2::after {
        width: 238px;
        height: 39px;
    }
}

/* decoration-2 override for services (longer text, multi-line) */
.section-services .decoration-2 {
    margin-bottom: 40px;
}

.section-services .decoration-effect-2 {
    width: 560px;
    height: 90px;
    margin-left: -280px;
    padding: 14px 0 0 0;
}

.section-services .decoration-left-2 {
    margin-right: 290px;
}

.section-services .decoration-right-2 {
    margin-left: 290px;
}

.section-services .effect-bubba-2::before,
.section-services .effect-bubba-2::after {
    width: 540px;
    height: 68px;
}

@media only screen and (max-width: 640px) {
    .section-services .decoration-effect-2 {
        width: 280px;
        height: 110px;
        margin-left: -140px;
        padding: 10px 0 0 0;
    }
    .section-services .decoration-left-2 {
        margin-right: 150px;
    }
    .section-services .decoration-right-2 {
        margin-left: 150px;
    }
    .section-services .effect-bubba-2::before,
    .section-services .effect-bubba-2::after {
        width: 260px;
        height: 90px;
    }
}

.svc-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 0 0 40px 0;
}

/* Primary services */
.svc-primary {
    padding: 0 48px 40px 0;
}

.svc-primary:last-child {
    padding-bottom: 48px;
}

.svc-item {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.35s ease;
}

.svc-item:hover {
    box-shadow: 0 8px 32px rgba(255,255,255,0.18), 0 2px 8px rgba(255,255,255,0.08);
}


.svc-item > * {
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.svc-item .svc-title,
.svc-item .svc-title-sm,
.svc-item .svc-num,
.svc-item .svc-num-sm {
    transition: color 0.3s ease;
}

.svc-item:hover .svc-title,
.svc-item:hover .svc-title-sm {
    color: #db0018;
}

.svc-item:hover .svc-desc,
.svc-item:hover .svc-desc-sm,
.svc-item:hover .svc-tech {
    color: #fff;
}

.svc-item:hover .svc-num,
.svc-item:hover .svc-num-sm {
    color: rgba(255,255,255,0.85);
}

.svc-num {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(219, 0, 24, 0.65);
    margin: 0 0 10px 0;
    display: block;
    text-transform: uppercase;
}

.svc-title {
    font-family: 'Sora', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 12px 0;
    transition: color 0.3s ease;
}

.svc-desc {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin: 0 0 16px 0;
}

.svc-tech {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.25);
}

/* Secondary services */
.svc-secondary {
    padding: 0 32px 32px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 28px;
    margin-bottom: 8px;
}

.svc-num-sm {
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(219, 0, 24, 0.65);
    margin: 0 0 8px 0;
    display: block;
    text-transform: uppercase;
}

.svc-title-sm {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin: 0 0 8px 0;
    transition: color 0.3s ease;
}

.svc-desc-sm {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
    margin: 0;
}

/* Tech strip at bottom */
.svc-tech-strip {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 48px;
    padding-top: 24px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.2);
    text-transform: uppercase;
}

/* Services responsive */
@media only screen and (max-width: 768px) {
    .svc-primary {
        padding-right: 0;
        padding-bottom: 32px;
        border-top: 1px solid rgba(255,255,255,0.08);
        padding-top: 28px;
    }
    .svc-primary:first-child {
        border-top: none;
        padding-top: 0;
    }
    .svc-title { font-size: 22px; }
    .svc-secondary {
        padding-right: 0;
        padding-bottom: 24px;
    }
    .svc-intro { margin-bottom: 32px; }
    .svc-divider { margin-bottom: 0; }
}

/* ───────────────────────────────────────────
   Services: lista + side panel
─────────────────────────────────────────── */

/* Override table-cell centering per services */
#services > .center-container {
    display: block;
    overflow-y: auto;
    overflow-x: hidden;
    background: rgba(0,0,0,0.55);
}
#services > .center-container > .center-block {
    display: block;
    padding: 70px 0 60px;
}

#svc-layout {
    width: 100%;
    position: relative;
}

/* Lista wrap */
#svc-list-wrap {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 0 10%;
    transition: width 0.65s ease-in-out,
                padding 0.65s ease-in-out,
                text-align 0s linear 0.32s;
}
#svc-list-wrap h2 {
    transition: font-size 0.65s ease-in-out, line-height 0.65s ease-in-out;
}


/* Quando il panel è aperto: lista si schiaccia a sinistra */
#services.svc-panel-open #svc-list-wrap {
    width: 26%;
    text-align: left;
    padding: 0 0 0 4%;
}
#services.svc-panel-open #svc-list-wrap h2 {
    font-size: 22px;
    line-height: 1;
}
#services.svc-panel-open #svc-list-wrap .decoration-2 {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
#svc-list-wrap .decoration-2 {
    transition: opacity 0.3s ease 0.2s;
}

/* Lista */
#svc-list {
    list-style: none;
    margin: 28px 0 0 0;
    padding: 0;
}

.svc-list-item {
    padding: 13px 0;
    cursor: pointer;
    transition: opacity 0.25s;
}
.svc-list-item:hover { opacity: 0.6; }
.svc-list-item.active { opacity: 1; }
.svc-list-item.active .svc-list-title { color: #db0018; }

.svc-list-title {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 5px;
}

.svc-list-desc {
    display: block;
    font-size: 0.8rem;
    color: rgba(197,194,184,0.65);
    line-height: 1.55;
    max-height: 60px;
    overflow: hidden;
    margin: 0 auto;
    max-width: 520px;
}

/* ─── Side panel ─── */

#svc-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 75vw;
    height: 100vh;
    opacity: 0;
    transform: scale(1.06);
    transform-origin: right center;
    visibility: hidden;
    transition: opacity 0.65s ease-in-out,
                transform 0.65s ease-in-out,
                visibility 0s linear 0.65s;
    background: rgba(14, 14, 14, 0.97);
    z-index: 500;
    overflow: hidden;
}

#services.svc-panel-open #svc-panel {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
    transition: opacity 0.65s ease-in-out,
                transform 0.65s ease-in-out,
                visibility 0s linear 0s;
}

#svc-panel.instant {
    transition: none !important;
}


#svc-panel-scroll {
    height: 100%;
    overflow-y: auto;
    padding: 70px 60px 60px;
    box-sizing: border-box;
}

/* close button */
#svc-panel-close {
    position: absolute;
    top: 20px;
    right: 70px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 17px;
    cursor: pointer;
    z-index: 10;
    padding: 8px 10px;
    line-height: 1;
    transition: color 0.2s;
}
#svc-panel-close:hover { color: #fff; }

/* contenuto panel */
#svc-panel h2 {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    text-align: right;
    color: #fff;
    line-height: 1;
    margin: 0 0 4px;
}
#svc-panel .svc-modal-brand  { text-align: right; margin-bottom: 30px; }
#svc-panel p                  { color: rgba(255,255,255,0.88); text-align: left; margin-bottom: 20px; }
#svc-panel h4                 { color: #fff; }
#svc-panel h5                 { color: rgba(255,255,255,0.7); }
#svc-panel .svc-brand-mediana { color: #db0018; }
#svc-panel .svc-brand-sn      { color: rgba(255,255,255,0.6); }
#svc-panel .svc-modal-tech    { color: rgba(255,255,255,0.42); }
#svc-panel ul { list-style: none; padding-left: 0; }
#svc-panel ul li::before { content: none; }

/* link progetti correlati nel panel servizi */
.svc-prj-refs { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); }
.svc-prj-refs__label { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 12px; }
.svc-prj-link { display: inline-block; margin: 0 8px 8px 0; padding: 5px 14px; border: 1px solid rgba(255,255,255,0.22); border-radius: 3px; font-size: 12px; color: rgba(255,255,255,0.7); text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.svc-prj-link:hover { border-color: #db0018; color: #fff; }

/* bottone Chiudi nel panel */
#svc-panel .c-btn-dark             { border-color: rgba(255,255,255,0.5); color: #fff; }
#svc-panel .c-btn-dark::before     { background: rgba(0,0,0,0.15); }
#svc-panel .c-btn-dark:hover       { border-color: #fff; color: #fff; }

/* tiretto cambio servizio */
#svc-panel-scroll {
    transition: transform 0.22s ease-in, opacity 0.22s ease-in;
}
.svc-scroll-out {
    transform: translateX(-40px);
    opacity: 0;
    pointer-events: none;
}
.svc-scroll-in {
    transform: translateX(30px);
    opacity: 0;
    pointer-events: none;
    transition: none;
}

/* Mobile: panel fullscreen */
@media only screen and (max-width: 767px) {
    #svc-panel { width: 100vw; transform-origin: center center; }
    #svc-panel-scroll { padding: 60px 28px 40px; }

    #services.svc-panel-open #svc-list-wrap { display: none; }

    #svc-list-wrap { padding: 0 6%; }
    .svc-list-title { font-size: 1.55rem; }
}

/* Service modal image */
.svc-modal-img-wrap {
    position: relative;
    overflow: hidden;
    margin: 24px 0 36px;
}

.svc-modal-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(to bottom, transparent, #111);
    pointer-events: none;
}

.svc-modal-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    filter: brightness(0.88) contrast(1.05);
    transform: scale(1);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.svc-modal-img-wrap:hover .svc-modal-img {
    transform: scale(1.03);
    filter: brightness(0.95) contrast(1.05);
}

/* e-commerce modal panels */
.ecom-intro {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(197,194,184,0.8);
    margin-bottom: 28px;
}

.ecom-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 0 0 28px;
}

.ecom-panel {
    padding: 22px 20px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    transition: box-shadow 0.3s ease;
}

.ecom-panel:hover {
    box-shadow: 0 8px 32px rgba(255,255,255,0.18), 0 2px 8px rgba(255,255,255,0.08);
}

.ecom-panel--featured {
    border-color: rgba(255,255,255,0.12);
    border-top: 2px solid rgba(255,255,255,0.85);
    box-shadow: 0 -1px 8px rgba(255,255,255,0.12);
}

.ecom-panel__logo {
    display: block;
    height: 32px;
    width: auto;
    margin-bottom: 14px;
    background: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    object-fit: contain;
}

.ecom-panel__logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.ecom-panel__logo-row .ecom-panel__logo {
    margin-bottom: 0;
}

.svc-modal-logo {
    display: block;
    height: 36px;
    width: auto;
    background: #fff;
    padding: 6px 12px;
    border-radius: 3px;
    object-fit: contain;
    margin-bottom: 20px;
}

.ecom-panel__tag {
    display: block;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #db0018;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
}

.ecom-panel__title {
    font-family: 'Sora', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.3;
}

.ecom-panel__sub {
    font-size: 13px;
    color: rgba(197,194,184,0.55);
    font-style: italic;
    margin-bottom: 14px;
    line-height: 1.5;
}

.ecom-panel p {
    font-size: 14px;
    color: rgba(197,194,184,0.75);
    line-height: 1.65;
    margin-bottom: 10px;
}

.ecom-panel ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 14px;
    columns: 2;
    column-gap: 12px;
}

.ecom-panel ul li {
    font-size: 13px;
    color: rgba(197,194,184,0.65);
    padding: 3px 0 3px 12px;
    position: relative;
    break-inside: avoid;
    line-height: 1.4;
}

.ecom-panel ul li::before {
    content: none;
}

.ecom-panel h5 {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 16px 0 8px;
}

.ecom-panel strong {
    color: rgba(255,255,255,0.85);
}

.ecom-closing {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(197,194,184,0.7);
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 20px;
    margin-top: 8px;
}

.ecom-closing strong {
    color: #fff;
}

@media only screen and (max-width: 768px) {
    .ecom-panels {
        grid-template-columns: 1fr;
    }
    .ecom-panel ul {
        columns: 1;
    }
}


/* === Info Panel destra === */
#info-panel-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 998;
}

/* Bottone trigger */
#info-panel-caller {
    position: fixed;
    top: 3px;
    right: 0;
    width: 80px;
    height: 80px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 999;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icona "i" — bianca su sfondo video scuro */
.info-caller-icon {
    display: block;
    width: 24px;
    height: 24px;
    position: relative;
}
.info-caller-icon::before {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    -webkit-transition: background 0.3s ease;
            transition: background 0.3s ease;
}
.info-caller-icon::after {
    content: '';
    display: block;
    width: 3px;
    height: 14px;
    background: rgba(255,255,255,0.8);
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    border-radius: 2px;
    -webkit-transition: background 0.3s ease;
            transition: background 0.3s ease;
}
#info-panel-caller:hover .info-caller-icon::before,
#info-panel-caller:hover .info-caller-icon::after,
#info-panel-caller.panel-open .info-caller-icon::before,
#info-panel-caller.panel-open .info-caller-icon::after {
    background: #db0018;
}

/* Pannello — dark, elegante */
#info-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 360px;
    height: 100vh;
    background: #0d0d0d;
    z-index: 998;
    overflow-y: auto;
    -webkit-transition: right 0.5s cubic-bezier(0.4,0,0.2,1);
            transition: right 0.5s cubic-bezier(0.4,0,0.2,1);
    box-shadow: -12px 0 80px rgba(0,0,0,0.85);
}
#info-panel.activated {
    right: 0;
}

/* Bottone chiusura */
#info-panel-close {
    position: absolute;
    top: 22px;
    right: 26px;
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    color: rgba(255,255,255,0.18);
    cursor: pointer;
    padding: 0;
    -webkit-transition: color 0.25s ease;
            transition: color 0.25s ease;
    outline: none;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    letter-spacing: 0;
}
#info-panel-close:hover {
    color: rgba(255,255,255,0.7);
}

/* Contenuto pannello */
.info-panel-inner {
    padding: 80px 44px 64px 44px;
}

.info-panel-brand {
    margin-bottom: 28px;
}
.info-brand-name {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #db0018;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.info-brand-sub {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 7px;
}

.info-panel-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 300;
    font-style: italic;
    color: rgba(255,255,255,0.42);
    line-height: 1.75;
    margin: 0;
}

.info-panel-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 36px 0;
}

.info-panel-block {
    margin-bottom: 24px;
}
.info-panel-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: rgba(255,255,255,0.28);
    margin-bottom: 6px;
}
.info-panel-block p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    font-weight: 300;
    color: rgba(255,255,255,0.72);
    line-height: 1.6;
    margin: 0;
}
.info-panel-block a {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    -webkit-transition: color 0.25s ease;
            transition: color 0.25s ease;
}
.info-panel-block a:hover {
    color: #fff;
}

.info-panel-cta {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 5px;
    -webkit-transition: color 0.25s ease, border-color 0.25s ease;
            transition: color 0.25s ease, border-color 0.25s ease;
}
.info-panel-cta:hover {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.5);
}

@media only screen and (max-width: 640px) {
    #info-panel {
        width: 88%;
        right: -88%;
    }
    #info-panel.activated {
        right: 0;
    }
}

/* === Brand credit nel menu === */
.menu-brand-credit {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}
.menu-brand-red {
    color: #db0018;
}
.menu-brand-gray {
    color: #999;
}

/* =============================================
   Works — portfolio grid 3 colonne
   ============================================= */

/* Sezione scrollabile quando il contenuto eccede */
#works .center-container {
    display: block;
    overflow-y: auto;
}
#works .center-block {
    display: block;
}
#works .lower-content {
    padding-top: 110px;
    padding-bottom: 50px;
}

/* Grid */
#works-portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 24px -12px 0;
}
.wk-col {
    padding: 0 12px;
    margin-bottom: 36px;
}

/* Card */
.wk-item {
    display: block;
}
.wk-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    text-decoration: none;
}
.wk-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
    filter: brightness(0.82);
}
.wk-item:hover .wk-thumb img {
    transform: scale(1.06);
    filter: brightness(0.65);
}
.wk-hover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(219, 0, 24, 0.72);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.wk-item:hover .wk-hover {
    opacity: 1;
}
.wk-hover span {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Info sotto la card */
.wk-info {
    padding: 12px 2px 0;
    text-align: left;
}
.wk-title {
    display: block;
    color: rgba(255, 255, 255, 0.92);
    font-family: 'Sora', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}
.wk-title:hover {
    color: #db0018;
    text-decoration: none;
}
.wk-subtitle {
    display: block;
    color: rgba(255, 255, 255, 0.52);
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-style: italic;
    margin-bottom: 4px;
}
.wk-cat {
    display: block;
    color: rgba(255, 255, 255, 0.38);
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 991px) {
    .wk-col { width: 50%; }
}
@media (max-width: 600px) {
    .wk-col { width: 100%; }
    #works-portfolio-grid { margin: 16px 0 0; }
    .wk-col { padding: 0; }
}


