/* CSS Document */

body{overflow-x:hidden;}

html, body {
margin: 0px;
font-family:  Barlow, sans-serif;;
width:100%;
height:100%;
font-weight:300;
}

h1{font-size:3.4em;line-height: 1.4;}
h2{font-size:1.8em;line-height: 1.4;}
h3{font-size:1.6em;line-height: 1.4;}
p{font-size:1.4em;line-height: 1.4;}





/*header*/

.home-content h1,
.home-content p,
.home-content .btn{
  opacity:0;
  transform:translateY(30px);
}



.home-content .btn{
  animation:heroReveal 1.2s cubic-bezier(.22,.61,.36,1) forwards;
  animation-delay:.8s;
}

@keyframes heroReveal{

  to{
    opacity:1;
    transform:translateY(0);
  }

}


.home-content h1 {
  font-size: clamp(42px, 5vw, 82px);
  line-height: 1.1;
  margin-bottom: 20px;
  animation:heroReveal 1.2s cubic-bezier(.22,.61,.36,1) forwards;
  animation-delay:.2s;
}

.home-content p {
  font-size: clamp(20px, 1.5vw, 22px);
  line-height: 1.6;
  margin-bottom: 30px;
  animation:heroReveal 1.2s cubic-bezier(.22,.61,.36,1) forwards;
  animation-delay:.5s;
}


.home-video {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: #000;
  will-change: transform;
}



.home-video video {
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}




.overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0,0,0,0.6);

  display: flex;
  align-items: center;
}




.home-content {
  position: relative;
  z-index: 3;
  max-width: 650px;
  width: 100%;
  color: #fff;
  padding-top: 0;
  width: 50%;
}

.home-content .btn {
  display: inline-block;
  font-size: 18px;
  border: 1px solid #f1f1f1;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  padding: 14px 28px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.home-content .btn:hover {
  background: #fff;
  color: #000;
}


#header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  background:rgba(71,71,71,0.97);
  z-index:1030;
  backdrop-filter: blur(6px);
}




#about,
#servizi,
#metodo,
#portfolio,
#contatti{
  width:100%;
  position:relative;
  overflow:hidden;
}

.section{
  position:relative;
  padding:clamp(80px,10vw,140px) 0;
  scroll-margin-top:100px;
}

.dark{
  background:#0f0f0f;
  color:#fff;
}

.light{
  background:#fff;
  color:#111;
}

.accent{
  background:#45291e;
  color:#fff;
}

.metodo{
  background:#eaf0f6;
  color:#111;
}

.contatti{
  background:url(img/rombi.png) center center / cover no-repeat;
  color:#fff;
}


.navbar-default .navbar-collapse {
    border-color: rgba(255,255,255,.02);
}

.navbar-default .navbar-toggle {
    border-color: red;
    background-color: red;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;

}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: red;

}

/* =========================
   HEADER / NAVBAR
========================= */

#header,
.navbar{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:9999;

  background:transparent;
  transition:all .35s ease;
}

/* header nero scroll */
.navbar.scrolled{
  background:rgba(0,0,0,0.95);
  backdrop-filter:blur(6px);
}

/* header nero menu aperto */
#header.menu-open{
  background:#000;
}

/* =========================
   DESKTOP
========================= */



.navbar .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.nav-wrapper{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 20px;
}
.navbar-header{
  display:flex;
  align-items:center;
}

.navbar-collapse{
  margin-left:auto;
}

.navbar-nav{
  position:relative;
  display:flex;
  gap:20px;
  list-style:none;
  margin:0;
  padding:0;
}

/* LINK BASE */
.navbar-nav a{
  position:relative;
  color:#fff;
  padding:10px 0;
  text-decoration:none;

  text-transform:uppercase;
  font-family:Montserrat;
  font-size:14px;
  letter-spacing:1px;

  transition:.3s ease;
}



/* BRUSH UNDERLINE */
.navbar-nav a::before{
  content:"";
  position:absolute;

  left:50%;
  bottom:-6px;

  width:0%;
  height:3px;

  background:linear-gradient(
    90deg,
    transparent,
    #ff2a2a,
    #ff2a2a,
    transparent
  );

  transform:translateX(-50%);
  transition:.35s ease;

  opacity:0.9;
  filter:blur(.2px);
}


/* LINEA BASE (HIDDEN) */
.navbar-nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;

  width:0;
  height:2px;

  background:#fff;

  transition:.3s ease;
}


.navbar-nav a:hover::before,
.navbar-nav a.active::before{
  width:120%;
}


/* HOVER + ACTIVE */
.navbar-nav a:hover::before,
.navbar-nav a.active::before{
  width:120%;
}




.navbar-nav li a{
  color:#fff;
  text-transform:uppercase;
  font-family:Montserrat;
  font-size:14px;
  letter-spacing:1px;
}




/* =========================
   TOGGLE
========================= */

.navbar-toggle{
  display:none;

  margin-left:auto;

  width:44px;
  height:44px;

  padding:0;

  background:none;
  border:none;

  cursor:pointer;

  z-index:10001;
}

/* LINEE */
.icon-bar{
  display:block;

  width:26px;
  height:2px;

  margin:6px auto;

  border-radius:20px;

  transition:
    transform .35s ease,
    opacity .25s ease,
    background .3s ease;
}

/* colore default */
.navbar .icon-bar{
  background:#fff;
}

/* scroll */
.navbar.scrolled .icon-bar{
  background:#000;
}



/* MENU APERTO */

.menu-open .icon-bar:nth-child(1){
  transform:translateY(8px) rotate(45deg);
}

.menu-open .icon-bar:nth-child(2){
  opacity:0;
}

.menu-open .icon-bar:nth-child(3){
  transform:translateY(-8px) rotate(-45deg);
}






/* SERVIZI */
.servizi{
  position:relative;
  padding:120px 0;
  overflow:hidden;
}

/* TITOLO GIGANTE SFONDO */
.servizi-bg-title{
  position:absolute;
  top:30%;
  left:50%;
  transform: translateX(-50%) rotate(-2deg); /* inclinazione leggera */
  font-size:clamp(60px,20vw,420px);
  font-weight:700;
  opacity:0.03;
  white-space:nowrap;
  pointer-events:none;
}

.portfolio-bg-title {
  position: absolute;
  top: 10px; /* vicino all'inizio della sezione */
  left: 50%;
  transform: translateX(-50%) rotate(-2deg); /* inclinazione leggera */
  font-size: clamp(60px,15vw,300px);
  font-weight: 700;
  color: rgba(120,120,120,0.15);
  pointer-events: none;
  z-index: 0;
  transition: transform 1s ease;
  animation: floatText 12s ease-in-out infinite;
}

@keyframes floatText{
  0%{transform: translateX(-50%) translateY(0) rotate(-7deg);}
  50%{transform: translateX(-50%) translateY(-10px) rotate(-7deg);}
  100%{transform: translateX(-50%) translateY(0) rotate(-7deg);}
}


/* SERVIZIO */
.servizio{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin: 0;
  opacity:.35;
  transform:translateY(60px);
  transition:all .8s ease;
  gap:120px;
}

/* ingressi differenziati */
.servizio:nth-child(1){ transition-delay:0s; }
.servizio:nth-child(2){ transition-delay:0.2s; }
.servizio:nth-child(3){ transition-delay:0.4s; }
.servizio:nth-child(4){ transition-delay:0.6s; }

.servizio.visible{
  opacity:1;
  transform:translateY(0);
}

.servizio.active{
  opacity:1;
  transform:translateY(-10px);
}

/* alternanza */
.servizio:nth-child(even){
  flex-direction:row-reverse;
}

/* TESTO */
.servizio-testo{
  max-width:600px;
}

.servizio h3{
  font-size:clamp(32px,4vw,56px);
  letter-spacing:-1px;
  margin-bottom:10px;
  transition: transform 0.8s ease, color 0.8s ease;
}

.servizio p{
  font-size:clamp(20px,1.2vw,22px);
  line-height:1.5;
  color:#bfbfbf;
  margin-bottom:25px;
  transition: transform 0.8s ease, color 0.8s ease;
}

/* micro-movimento Clay-style */
.servizio.active h3{
  transform: translateY(-5px);
  color:#ff2a2a;
}

.servizio.active h4{
  transform: translateY(-3px);
  color:#e0e0e0;
}

/* LISTA PULITA */
.servizio ul{
  list-style:none;
  padding-left:0;
  margin:0;
}

.servizio li{
  font-size:clamp(18px,1.1vw,20px);
  line-height:1.6;
  margin-bottom:16px;
  padding-left:0;
}

/* ICONE */
.servizio-icona{
  position: relative;
  will-change: transform;
  opacity:0; /* fade-in iniziale */
  transition: opacity 1s ease, transform 0.8s ease;
}
.servizio-icona.visible{
  opacity:1;
}
.servizio-icona svg{
  width:520px;
  height:520px;
  opacity:.06;
  stroke:#ff2a2a;
  fill:none;
  stroke-width:2;
  animation: floatIcon 20s ease-in-out infinite, rotateIcon 80s linear infinite;
}

/* layered depth */
.servizio-icona.layer1{ z-index:1; }
.servizio-icona.layer2{ z-index:2; }
.servizio-icona.layer3{ z-index:3; }
.servizio-icona.layer4{ z-index:4; }

/* movimento */
@keyframes floatIcon{
  0%{transform:translateY(0)}
  50%{transform:translateY(-60px)}
  100%{transform:translateY(0)}
}

@keyframes rotateIcon{
  0%{rotate:0deg}
  100%{rotate:360deg}
}


/* SEZIONE ABOUT */

.about{
padding:150px 0;
position:relative;
}

/* SCRITTA GIGANTE DIETRO */

.about-bg-title{
position:absolute;
top:45%;
left:50%;
transform:translate(-50%,-50%) rotate(-6deg);
font-size:clamp(120px,18vw,420px);
font-weight:700;
color:rgba(0,0,0,0.05);
pointer-events:none;
z-index:1;
}



/* LAYOUT */

.row{
display:flex;
flex-wrap:wrap;
gap:70px;
align-items:center;
}



/* TESTO */
.testo-profile{
  flex:2 1 500px;
  display:flex;
  flex-direction:column;
  gap:60px;
}

/* BLOCCO TESTO */
.about-block{
  opacity:0.2;
  transform:translateY(60px);
  transition:.7s;
}


.about-block.visible{
  opacity:1;
  transform:translateY(0);
}

/* TITOLI MANIFESTO */
.about-main-title{
  font-size:clamp(36px,5vw,72px);
  line-height:1.1;
  margin-bottom:30px;
  font-weight:700;
  max-width:700px;
}

.highlight{
  color:#ff2a2a;
  border-bottom:2px solid #ff2a2a;
}

/* PARAGRAFO */
.about-block p{
  font-size:clamp(18px,1.4vw,20px);
  line-height:1.7;
  max-width:650px;
  margin-bottom:20px;
}


/* PORTFOLIO */

/* CONTAINER */
.case-study-container{
max-width:1100px;
margin:auto;
padding:20px;
}

/* GRID */
.case-study-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:30px;
}

.case-study-card{
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  position: relative;
  transform: translateY(60px);
  transition:
  opacity .8s ease,
  transform .8s ease;
}



/* IMAGE */
.case-study-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.case-study-card:hover img{
transform:scale(1.08);
}

/* DARK FADE */
.case-study-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to top,
    rgba(0,0,0,0.95) 0%,
    rgba(0,0,0,0.55) 45%,
    transparent 80%
  );
  pointer-events:none;
}

/* CONTENT */
.case-study-content{
position:absolute;
bottom:0;
left:0;
padding:20px;
color:#fff;
z-index:2;
}

/* TAG */
.case-study-tag{
font-size:11px;
letter-spacing:1px;
text-transform:uppercase;
opacity:0.8;
}

/* TITLE */
.case-study-title{
font-size:22px;
font-weight:700;
margin:6px 0;
text-shadow:
  0 2px 8px rgba(0,0,0,.8),
  0 0 20px rgba(0,0,0,.6);
}

/* RESULT */
.case-study-result{
font-size:15px;
font-weight:600;
color:white;
}

/* PRICE */
.case-study-price{
font-size:13px;
opacity:0.85;
margin-top:4px;
}

/* CTA */
.case-study-cta{
margin-top:14px;
display:inline-block;
padding:12px 18px;
background:#ff2a2a;
color:#fff;
text-decoration:none;
font-weight:700;
font-size:14px;
transition:.3s;
}

.case-study-content a{
color:white;
}

.case-study-cta:hover{
background:#c4001e;
}

/* CTA FINAL */
.case-study-bottom{
text-align:center;
padding:80px 20px;
}

.case-study-bottom h2{
font-size:28px;
margin-bottom:10px;
}

.case-study-bottom p{
color:#666;
margin-bottom:25px;
}

.case-study-email{
display:inline-block;
padding:16px 26px;
background:#e60023;
color:#fff;
text-decoration:none;
font-weight:700;
font-size:15px;
}

.metodo{
background:#eaf0f6; /* sfondo designer chiaro */
color:#111;
padding:200px 0;
position:relative;
}

.metodo-bg-title{
position:absolute;
top:40%;
left:50%;
transform:translate(-50%,-50%) rotate(-6deg);
font-size:clamp(60px,18vw,420px);
font-weight:700;
color:rgba(0,0,0,0.05);
pointer-events:none;
}

/* LINEA VERTICALE */

.metodo::before{
content:"";
position:absolute;
left:140px;
top:0;
bottom:0;
width:1px;
background:rgba(0,0,0,0.1);
}

/* CONTENITORE */

.container{
width:90%;
max-width:1100px;
margin:auto;
}

/* INTRO */

.text-intro{
max-width:700px;
margin-bottom:120px;
line-height:1.4;
opacity:0;
transform:translateY(30px);
transition:
opacity 1s ease,
transform 1s cubic-bezier(.22,.61,.36,1);
}

.text-intro.visible{
  opacity:1;
  transform:translateY(0);
}

.text-intro h2{
font-size:clamp(32px,4vw,65px);
}

.text-intro p{
font-size:clamp(22px,2vw,28px);
}

.reveal{
  opacity:0;
  transform:translateY(40px);

  transition:
  opacity 1s ease,
  transform 1s cubic-bezier(.22,.61,.36,1);
}

.reveal.visible{
  opacity:1;
  transform:none;
}



/* METODO STEP*/

.metodo-step{
display:flex;
gap:60px;
margin:140px 0;
align-items:flex-start;
opacity:.3;
transform:translateY(60px);
transition:.7s;
}

.metodo-step.visible{
opacity:1;
transform:translateY(0);
}

/* NUMERI PIENI */

.metodo-numero{
font-size:clamp(80px,8vw,140px);
font-weight:700;
min-width:140px;
color:rgba(0,0,0,0.12);
transition:.4s;
}

.metodo-step.active .metodo-numero{
color:#ff2a2a;
transform:scale(1.05);
}

/* TESTO */

.metodo-testo{
position:relative;
z-index:2;
max-width:600px;
}

.metodo-testo h3{
font-size:clamp(32px,4vw,56px);
margin:0 0 10px;
}

.metodo-testo p{
font-size:clamp(20px,1.6vw,22px);
font-weight: 600;
color:#555;
margin-bottom:20px;
}

.metodo-testo ul{
list-style:none;
padding:0;
}

.metodo-testo li{
font-size:18px;
margin-bottom:10px;
}

/* Numeri Sito */

.stats-hicweb{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:60px;
  margin-top:120px;
}

.stat-item{
  text-align:left;
}

.stat-item h3{
  font-size:clamp(60px,8vw,140px);
  line-height:0.9;
  font-weight:700;
  color:#111;
  margin:0;
  transition:color .5s ease;
}

.stat-item.active h3{
  color:#ff2a2a;
}

.stat-item p{
  margin-top:8px;
  font-size:15px;
  letter-spacing:.8px;
  text-transform:uppercase;
  opacity:.7;
  color:#111;
  font-weight:500;
}

.stat-item:hover h3{
  color:#e63946;
  transform:translateY(-6px);
}

@media  (max-width: 768px) {

  .servizio{
    flex-direction:column !important;
    text-align:center;
    margin:100px 0;
  }
  .servizio-icona{
    margin-bottom:30px;
  }
  .servizio-icona svg{
    width:220px;
    height:220px;
    opacity: .15;
    stroke-width: 3;
    animation: floatIcon 40s ease-in-out infinite, rotateIcon 120s linear infinite;
  }




}


@media(max-width:400px){

}


/* Tablet e piccoli desktop */
@media (min-width: 768px) and (max-width: 1399px) {
  .container {
    max-width: 95%;   /* container leggermente più stretto */
    padding: 0 30px;  /* margini interni */
  }

  .servizio {
    justify-content: center;
    gap: 80px;       /* distanza tra testo e icona ridotta */
  }

  .servizio-testo {
    max-width: 500px; /* testo più stretto per tablet */
  }

  .servizio-icona svg {
    width: 400px;
    height: 400px;   /* icone più piccole per tablet */
     opacity: .10;
  }

  .servizi-bg-title {
    font-size: clamp(120px, 15vw, 350px); /* titolo più piccolo */
  }
}

@media(max-width:900px){
  .row{
    flex-direction:column;
  }
  .photo-profile{
    max-width:100%;
  }
  .about-bg-title{
    font-size:clamp(90px,20vw,260px);
  }
  .metodo::before{
  display:none;
  }
  .metodo-step{
  flex-direction:column;
  gap:20px;
  }
  .metodo-numero{
  min-width:auto;
  }
  .case-study-grid{
  grid-template-columns:1fr;
  }

}

@media(max-width:992px){
  .stats-hicweb{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:600px){
  .stats-hicweb{
    grid-template-columns:1fr;
    gap:30px;
  }
}

@media(min-width:768px) {



  h2.title-section  {
     text-transform: uppercase;
     font-size: 4.8em;
     text-align: center;
     display: block;
     margin: auto;
  }
  h3.section-subheading{
    font-size: 2.8em;
  }
  h3.subheading{
    font-size: 2.6em;
  }

  .top-servizi h3 {
  color: white;
  text-align:center;
  font-size: 2.6em;
  }


	 header.masthead {
  padding-top:25%;
  padding-bottom:15%;
  }
  header.masthead .masthead-subheading {
    font-size: 2.25rem;
    font-style: italic;
    line-height: 2.25rem;
    margin-bottom: 2rem;
  }
  header.masthead .masthead-heading {
    font-size: 8.5rem;
    font-weight: 700;
    line-height: 10.5rem;
    margin-bottom: 4rem;
  }

  .navbar-default {
      padding: 25px 0;
      border: 0;
      background-color: transparent;
      -webkit-transition: padding .3s;
      -moz-transition: padding .3s;
      transition: padding .3s;
  }

  .navbar-default .navbar-brand {
      font-size: 1.1em;
      -webkit-transition: all .3s;
      -moz-transition: all .3s;
      transition: all .3s;
  }

  .navbar-default .navbar-nav>.active>a {
      border-radius: 0px;
  }

  .navbar-default.navbar-shrink {
      padding: 0px;
background-color: black;
opacity: 0.97;
  }

  .navbar-default.navbar-shrink . {
      font-size: 1.1em;
  }
}



.logo {
background-position: left center;
float: left;
height: 65px;
display: block;
background-repeat: no-repeat;
width: 190px;
background-image: url(img/logo_hicweb_modern-red-white.png);

}

.logo p {
margin-top: 50px;
font-size: 14px;
display: block;
color: white;
letter-spacing: 0.10em;
}



#footer{
  background:#000;
  color:#fff;
  width:100%;
  padding:80px 0;
}





.logo-claim {
color: white;
font-size: 1.5em;
width: 100%;
height: 100px;
margin-top: 50px;
padding-top: 17px;
}

.logo-claim h2 {
color: white;
background-image: url(img/logo_hicweb_modern-red-white2.png);
display: block;
width: 100%;
height: 80px;
font-size: 0em;
position: relative;
text-align: center;
background-repeat: no-repeat;
background-position: center center;
}
.logo-claim p {
display: block;
color: white;
font-size: 1em;
margin-top: 0px;
text-align:center;
}

a,
a:link,
a:visited{
  text-decoration:none;
  color:inherit;
  transition:color .3s ease-in-out;
}

a:hover{
  color:#ff2a2a;
}

a:active{
  color:#111;
}



.contact {
display: block;
width: 100%;
height: 80px;
padding-bottom:100px;
color: white;
font-size: 26px;
gap:10px;
}

.contact a {
color: white;
}

.contact a:hover {
color: #ff2a2a;
}

.contact li {
color: white;
display: block;

}

.contact li a {
color: white;
}

.contact li a:hover {
color: #ff2a2a;
}


.address {
background-image: url(img/telephone_icon.png);
background-repeat: no-repeat;
background-position: left center;
}
.phone {
background-image: url(img/telephone_icon.png);
background-repeat: no-repeat;
display: block;
padding-left: 40px;
background-position: left center;
}
.email {
background-image: url(img/email_icona.png);
background-repeat: no-repeat;
margin-top: 6px;
background-position:  center center;
padding-left: 170px;
margin-left: -170px;
}

.social {
display: block;
margin:0 auto;
width:32px;
}

.social ul{
padding-left:0px;
}

.social li{
display: block;
}

.icon-facebook{
display: inline-block;
background: url(img/icon_fb.png) center center no-repeat red;
width:32px;
height:32px;
text-align:center;
border-radius:50%;
}

.icon-facebook:hover {
background-color: rgb(190, 23, 23);

}

.email_2 {
background-image: url(img/email_icona.png);
background-repeat: no-repeat;
padding-left: 40px;
margin-top: 6px;
background-position: left center;
}

.home {
background-repeat: no-repeat;
background-position: left top;
padding-left: 40px;
background-image: url(img/icona_home.png);
}

.contact h3 {
color: white;
text-transform: uppercase;
margin-left: 38px;
}

.top{
  position:fixed;
  bottom:20px;
  right:20px;
  width:50px;
  height:50px;
  background:#ff2a2a;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:9999;
}

.top::before,
.top::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  background:rgba(255,42,42,0.4);
  animation:ripple 2s infinite;
  will-change: transform, opacity;
}

.top::after{
  animation-delay:1s;
}

@keyframes ripple{
  0%{
    transform:scale(1);
    opacity:0.35;
  }
  100%{
    transform:scale(2.5);
    opacity:0;
  }
}

.top i{
  font-size:24px;
  color:#fff;
  line-height:1;
}

.top:hover{
  background:#a80000;
  transform:translateY(-3px);
}

.copyright{
  border-top:1px solid rgba(255,255,255,0.12);
  margin-top:90px;
  padding-top:20px;
  text-align:center;
  font-size:12px;
  opacity:0.5;
  letter-spacing:0.5px;
}

.copyright-social {
border-top: 1px solid #f4f4f4;
display: block;
margin-top: 50px;
width: 100%;
float: left;
}
.copyright-social p {
font-size: 1em;
margin-left: 12px;
color: white;
display: block;
text-align:center;
line-height: 1.2em;
}






#about h1 {
text-transform: uppercase;
font-size: 3.1em;
text-align: center;
display: block;
margin:auto;
}

hr{
width:10%;
height:0;
border:0;
margin-top: 20px;
margin-bottom: 20px;
border-top: 3px solid red;
}






#servizi h2 {
color: white;

display: block;

margin:auto;
}








.cover-contact {
display: block;
color: white;
padding-top:20px;
}

#contatti h2 {
color: white;
width: 100%;
margin:auto;
}

.form-contatti {
display: block;
margin-top: 20px;
width: 100%;
float:left;
margin-bottom: 30px;
}

.preventivo{
  color:white;
  margin-top:80px;
  padding-top:20px;
  background-color: #583a2f;
}

input {
border: 2px solid;
width: 95%;
height: auto;
display: block;
margin-top: 30px;
font-size: 18px;
color: black;
text-align: left;
box-sizing: border-box;
padding:20px;
border-radius:2px;
}

textarea {
border: 2px solid;
display: block;
font-size: 1.3em;
color: black;
width:95%;
height: 267px;
margin-top: 30px;
line-height: 1.5em;
font-family: Arial;
text-align: left;
box-sizing: border-box;
padding: 20px;
border-radius:2px;
}

input:hover {
border: 2px solid red;
background-color: white;
-webkit-transition-property: all;
-webkit-transition-duration: .3s, .3s;
-webkit-transition-timing-function: ease-in-out;
transition-property: all;
transition-duration: .3s, .3s;
transition-timing-function: ease-in-out;
}

input[type="submit"] {
background-color: rgba(255, 255, 255, 0);
border-color:  white;
border-style:solid;
font-size: 1.3em;
display: block;
width: 200px;
height: auto;
color: white;
cursor: pointer;
text-align: center;
box-sizing: border-box;
margin:-30px auto;
border-radius:2px;
}

input[type="submit"]:hover {
border-color: red;
color: red;
-webkit-transition-property: all;
-webkit-transition-duration: .3s, .3s;
-webkit-transition-timing-function: ease-in-out;
transition-property: all;
transition-duration: .3s, .3s;
transition-timing-function: ease-in-out;
}




textarea:hover {
border: 2px solid red;
background-color: white;
-webkit-transition-property: all;
-webkit-transition-duration: .3s, .3s;
-webkit-transition-timing-function: ease-in-out;
transition-property: all;
transition-duration: .3s, .3s;
transition-timing-function: ease-in-out;
}

.form-left{
	width:50%;
	overflow:hidden;
	float:left;
}

.form-right{
	width:50%;
	overflow:hidden;
}

.checker {
    float: left;
}
.photo-profile {
  width: 250px;
  height: 250px;
  margin: 30px auto;
}

.photo-profile img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transition: all 0.3s linear;
}





.mainly-contact {
width: 250px;
display: block;
height: 220px;
border-left-width: 4px;
border-left-color: red;
float: left;
margin-top: 150px;
}
.mainly-contact li {
color: white;
margin-top: 10px;
display: block;
font-size: 1.3em;
}

.mainly-contact li a {
color: white;
}

.mainly-contact li a:hover {
color: red;
}


.mainly-contact h3 {
text-transform: uppercase;
margin-left: 38px;
font-size: 1.5em;
color: white;
}



.claim {
background-color: white;
display: block;
position: relative;
width: 100%;
padding-bottom: 20px;
}
.claim h2 {
font-size: 2.8em;
font-weight: bold;
color: red;
text-align: left;
display: block;
margin-bottom: 16px;
}

.cookie{margin-top:100px}

.cookie li{font-size:1.3em}


.testo {
float: left;
width: 70%;
display: block;
color: #333333;
text-align: justify;
}
.testo li {
font-weight: bold;
color: black;
font-size:1.3em;
}
.menu-right {
display: block;
float: right;
}

.menu-right ul {
padding-left: 0px;
}

.menu-right li {
display: block;
text-align: left;
width: 260px;
background-color: white;
font-size: 1.6em;
}

.menu-right li.heading{
font-size: 2.3em;
}

.voice-menu{
font-size: 1.5em;

}


.menu-right li a {
display: block;
color:#333333;
padding: 10px;

}

.menu-right li a:not(.button):hover{
	color:white;
}

.menu-right li a:hover {
display: block;
background-color:red;
padding: 10px;
color:white;

}

.menu-right li.active a{
color:#ff2a2a;
}


.btn-responsive-menu {
  padding: 10px;
  background: red none repeat scroll 0% 50%;
  margin-top: 20px;
  margin-right: 20px;
  margin-bottom: 0;
  display: none;
  cursor: pointer;
  color: #ffffff;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-topright: 4px;
  -moz-border-radius-bottomright: 4px;
  -moz-border-radius-bottomleft: 4px;
  float: right;
}

.show {
  display: block;
}



.testo-profile {
width: 100%;
margin-top:60px;
text-align: justify;
}


label.error {
font-weight: 300;
color: #C00;
font-size: 0.7em;
text-transform: uppercase;
margin: 0px 0 0 0;
display: block !Important;
float: right;
position: relative;
z-index: 1;
padding: 2px 8px;
background: #C00;
color: #FFF;
clear: both;
margin-right:30px;
}

img {
width:100%;
height:auto;
vertical-align: middle;
}

#portfolio h1 {
font-size: 3.1em;
color: black;
text-align: center;
display: block;
text-transform: uppercase;
margin:auto;
}









@media  (max-width: 480px) {

	.top-servizi {
width:100%;
}

.home-content {
  width: 90%;
}

}




*,
::before,
::after {
  box-sizing: border-box;
  padding: 0;
}






@media (min-width: 1400px) {
  .container {
    max-width: 1400px!important;
    margin:0 auto;
  }
}


/* =========================
   MOBILE
========================= */

@media(max-width:992px){

  .navbar-header{
  width:100%;
  display:flex;
  align-items:center;
}



  .navbar-toggle{
    display:block;
    z-index:10001;
  }

  .navbar-collapse{

    position:absolute;

    top:100%;
    left:0;

    width:100%;

    background:#000;

    padding:20px 0;

    opacity:0;
    visibility:hidden;

    transform:translateY(-15px);

    transition:
    opacity .35s ease,
    transform .35s ease,
    visibility .35s ease;
  }

  .navbar-collapse.active{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
  }

  .navbar-nav{

    display:flex;
    flex-direction:column;

    align-items:center;

    gap:0;

    width:100%;
  }

  .navbar-nav li{
    width:100%;
    text-align:center;
  }

  .navbar-nav li a{

    display:block;

    color:#fff;

    font-size:15px;
    font-weight:400;

    letter-spacing:.5px;

    padding:16px 20px;
  }





  .navbar-header,
  .navbar-collapse{
    margin-left:0!important;
    margin-right:0!important;
  }



}
