:root{
  --primary:#0082cb;
  --primary-dark:#065b8f;
  --text:#17222d;
  --muted:#5f7285;
  --line:#d9e5ef;
  --shadow:0 20px 45px rgba(8,16,24,.10);
  --topbar-height:10vh;
}

html{scroll-behavior:smooth;}

body{
  font-family:Arial, Helvetica, sans-serif;
  color:var(--text);
  background:#f6f9fc;
  line-height:1.6;
}

a{text-decoration:none;}
img{max-width:100%;display:block;}

h1{
  margin-bottom:22px;
  font-size:78px;
  line-height:1.02;
  letter-spacing:-2px;
  font-weight:800;
  text-shadow:0 10px 28px rgba(0,0,0,.48);
}

h2{
  margin-bottom:20px;
  color:#00577d;
  font-size:36px;
  line-height:1.06;
  letter-spacing:-1.4px;
}

h3{
  margin:20px 0 10px;
  color:#00577d;
  font-size:25px;
  line-height:1.18;
  letter-spacing:-.6px;
}

.white{
  color:#fff !important;
}

.hero{
  min-height:calc(100vh - 130px);
  color:#fff;
  background:#000;
}

.hero-topbar{
  min-height:88px;
  background:#fff;
  position:relative;
  z-index:40;
}

.navbar-brand img{
  max-height:62px;
  width:auto;
}

.navbar-toggler{
  border:1px solid rgba(0,130,203,.28);
  border-radius:12px;
  box-shadow:none!important;
}

.navbar-nav .nav-link{
  color:var(--primary);
  text-transform:uppercase;
  font-size:15px;
  font-weight:700;
  padding:12px!important;
  white-space:nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .show>.nav-link{color:#00577d;}

.dropdown-menu{
  min-width:260px;
  padding:0;
  border:0;
  border-radius:8px;
  overflow:hidden;
  background:#f1f1f1;
  box-shadow:0 16px 34px rgba(0,0,0,.26);
}

.dropdown-item{
  padding:14px 22px;
  color:#1e1e1e;
  font-size:14px;
  font-weight:600;
  white-space:normal;
  background:#f1f1f1;
}

.dropdown-item.active,
.dropdown-item:active{
  padding:14px 22px;
  color:#fff;
  font-size:14px;
  font-weight:600;
  white-space:normal;
  background:#07111a;

}



.dropdown-item:hover,
.dropdown-item:focus{
  color:#fff;
  background:var(--primary);
}

.btn-protec{
  --bs-btn-color:#fff;
  --bs-btn-bg:var(--primary);
  --bs-btn-border-color:var(--primary);
  --bs-btn-hover-color:#fff;
  --bs-btn-hover-bg:var(--primary-dark);
  --bs-btn-hover-border-color:var(--primary-dark);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  padding:18px 28px;
  border-radius:999px;
  font-size:16px;
  font-weight:700;
  box-shadow:0 10px 26px rgba(0,130,203,.22);
  transition:transform .2s ease, background .2s ease, border-color .2s ease;
}

.btn-protec:hover,
.btn-protec:focus{transform:translateY(-2px);}

.arrow{
  font-size:22px;
  line-height:1;
}

.accent{color:var(--primary);}

.hero-visual{
  min-height:calc(100vh - 130px - var(--topbar-height));
  position:relative;
  overflow:hidden;
  //background:url("../../img/bg-hero.jpg") center center/cover no-repeat;
}

.hero-visual::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.20) 35%,rgba(0,0,0,.52));
  pointer-events:none;
}

.hero-visual>.container{
  position:relative;
  z-index:2;
  min-height:calc(100vh - 130px - var(--topbar-height));
}

.hero-content{
  max-width:860px;
  padding:40px 0 54px;
}

.hero-actions{margin-bottom:3rem;}

.hero-title{
    color:#fff !important;
}

.call-box small{
  display:block;
  margin-bottom:8px;
  color:rgba(255,255,255,.82);
  font-size:14px;
  font-weight:600;
  text-shadow:0 4px 14px rgba(0,0,0,.45);
}

.call-box strong{
  font-size:22px;
  font-weight:700;
  text-shadow:0 4px 14px rgba(0,0,0,.45);
}

.hero-bottom{
  max-width:980px;
  padding-top:24px;
  border-top:1px solid rgba(255,255,255,.20);
}

.hero-description{
  color:#fff;
  font-size:17px;
  line-height:1.6;
  font-weight:500;
  text-shadow:0 4px 14px rgba(0,0,0,.45);
}

.iso-box{
  font-size:17px;
  line-height:1.45;
  font-weight:700;
}

.section{padding-top:40px }
.section-light{background:#fff;padding-bottom:40px;}
.section-soft{background:#eff4f9;padding-bottom:40px;}
.services-showcase{padding-top:30px;padding-bottom:120px;}

.eyebrow{
  display:inline-block;
  margin-bottom:18px;
  color:var(--primary);
  text-transform:uppercase;
  letter-spacing:1.4px;
  font-size:13px;
  font-weight:800;
}

.services-intro{
  max-width:1200px;
  margin:20px auto 50px;
}

.text-muted-custom,
.service-desc{
  color:var(--muted);
  font-size:16px;
  line-height:1.7;
}

.service-photo{
  border-radius:34px;
  overflow:hidden;
}

.service-feature{
  padding:0 0 26px;
  border-bottom:1px solid rgba(8,16,24,.12);
}

.service-feature:last-child{
  padding-bottom:8px;
  border-bottom:0;
}

.service-feature h3{
  margin:0 0 10px;
}

.service-feature:not(.service-feature-icon) h3{
  margin-top:0;
}

.service-feature .service-desc{
  margin-bottom:0;
}


.services-list{
  display:flex;
  flex-direction:column;
  gap:24px;
}

.services-list-label{
  margin:0 0 4px;
  color:var(--primary);
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:1.2px;
}

/* Variante con icona: aggiungi class="service-feature service-feature-icon" */
.service-feature-icon{
  display:grid;
  grid-template-columns:82px minmax(0,1fr);
  column-gap:28px;
  align-items:start;
}

.service-icon{
  width:70px;
  height:70px;
  margin-top:4px;
  border-radius:50%;
  background:linear-gradient(135deg,#39a8ef,var(--primary));
  box-shadow:0 12px 24px rgba(0,130,203,.18);
  display:flex;
  align-items:center;
  justify-content:center;
}

.service-icon svg{
  width:30px;
  height:30px;
  stroke:#fff;
  stroke-width:2.2;
}

.scopri{
  color:#259be3;
  text-decoration:underline!important;
}

.stat{
  height:100%;
  padding:22px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:var(--shadow);
}

.stat strong{
  display:block;
  margin-bottom:8px;
  color:var(--primary);
  font-size:34px;
  line-height:1;
}

.stat span{
  display:block;
  color:var(--muted);
  font-size:14px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.6px;
}

footer{
  padding:34px 0;
  color:#fff;
  background:#d4dce4;
  border-top:3px solid #d4dce4;
}

footer p{
    color:#445465;
}

/* Hero pagine interne */
.page-hero{
  color:#fff;
  background:#000;
}

.page-hero-visual{
  color:#fff;
  min-height:520px;
  position:relative;
  overflow:hidden;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.page-hero-visual::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(0,0,0,.70),rgba(0,0,0,.46) 48%,rgba(0,0,0,.18));
  pointer-events:none;
}

.page-hero-visual>.container{
  min-height:520px;
  position:relative;
  z-index:2;
}

.page-hero-content{
  max-width:940px;
  padding:80px 0;
}

.breadcrumb-protec{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:24px;
  color:rgba(255,255,255,.76);
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:1.4px;
  text-shadow:0 4px 14px rgba(0,0,0,.45);
}

.breadcrumb-protec a{
  color:#fff;
}

.page-hero h1{
  max-width:980px;
  margin-bottom:24px;
  color:#fff;
  font-size:68px;
  line-height:1.02;
  letter-spacing:-2px;
  font-weight:800;
  text-shadow:0 10px 28px rgba(0,0,0,.48);
}

.page-hero-lead{
  max-width:760px;
  color:rgba(255,255,255,.92);
  font-size:20px;
  line-height:1.65;
  font-weight:500;
  text-shadow:0 4px 14px rgba(0,0,0,.45);
}

@media (min-width:992px){
  .navbar .dropdown:hover .dropdown-menu{display:block;margin-top:0;}
}

@media (max-width:1200px){
  h1{font-size:62px;}
  h2{font-size:40px;}
}

@media (max-width:992px){
  .hero-content{padding:34px 0 40px;}
  h1{font-size:52px;}
  .navbar-collapse{
    margin-top:18px;
    padding:18px;
    border-radius:18px;
    background:#f6f9fc;
    box-shadow:0 18px 45px rgba(8,16,24,.12);
  }
}

@media (max-width:768px){
  :root{--topbar-height:84px;}
  .hero-topbar{min-height:84px;}
  .navbar-brand img{max-height:52px;}
  h1{font-size:42px;letter-spacing:-1px;}
  h2{font-size:34px;}
  .btn-protec{padding:16px 22px;}
  .call-box strong{font-size:20px;}
  .hero-description{font-size:16px;}
  .section{padding:30px 0;}
  .hide-mobile{display:none!important;}
}

@media (max-width:560px){
  h1{font-size:36px;}
  .hero-actions{
    flex-direction:column;
    align-items:flex-start!important;
    gap:18px!important;
  }
  .service-feature-icon{
    grid-template-columns:1fr;
    gap:12px;
  }
}


@media (max-width:992px){
  .page-hero h1{font-size:52px;}
  .page-hero-content{padding:58px 0;}
}

@media (max-width:768px){
  .page-hero-visual,
  .page-hero-visual>.container{min-height:460px;}

  .page-hero h1{
    font-size:40px;
    letter-spacing:-1px;
  }

  .page-hero-lead{font-size:17px;}
}

/* Linea grafica pagine interne - integrata da progettazione-realizzazione-installazione.html */
.vspace-30{
  padding-top:30px;
  padding-bottom:30px;
}

.page-intro-card{
  margin-top:-54px;
  position:relative;
  z-index:5;
  padding:34px;
  border:1px solid rgba(217,229,239,.9);
  border-radius:30px;
  background:#fff;
  box-shadow:0 24px 56px rgba(8,16,24,.13);
}

.intro-kicker{
  color:var(--primary);
  font-size:13px;
  font-weight:800;
  letter-spacing:1.4px;
  text-transform:uppercase;
}

.intro-text{
  margin:12px 0 0;
  color:var(--muted);
  font-size:18px;
  line-height:1.7;
}

.quick-data{
  height:100%;
  padding:22px;
  border-radius:22px;
  background:#fff;
  border:1px solid #d9eaf6;
}

.quick-data strong{
  display:block;
  color:#00577d;
  font-size:20px;
  line-height:1.15;
}

.quick-data span{
  display:block;
  margin-top:8px;
  color:var(--muted);
  font-size:14px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.5px;
}

.content-panel{
  padding:44px;
  border-radius:34px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}

.content-panel p{
  color:var(--muted);
  font-size:17px;
  line-height:1.75;
}

.blue-panel{
  height:100%;
  padding:38px;
  border-radius:34px;
  color:#fff;
  background:linear-gradient(135deg,#0082cb,#00577d);
  box-shadow:0 24px 50px rgba(0,88,125,.22);
}

.blue-panel h2,
.blue-panel h3{
  color:#fff;
}

.blue-panel p,
.blue-panel li{
  color:rgba(255,255,255,.86);
}

.check-list{
  padding:0;
  margin:24px 0 0;
  list-style:none;
  display:grid;
  gap:14px;
}

.check-list li{
  display:grid;
  grid-template-columns:30px minmax(0,1fr);
  gap:12px;
  align-items:start;
  color:var(--muted);
  font-size:16px;
  line-height:1.55;
}

.check-list li::before{
  content:"✓";
  width:30px;
  height:30px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  background:var(--primary);
  font-weight:800;
  line-height:1;
}

.blue-panel .check-list li::before{
  color:#00577d;
  background:#fff;
}

.text-flow{
  max-width:720px;
  padding:18px 0;
}

.text-flow p{
  color:var(--muted);
  font-size:17px;
  line-height:1.78;
}

.text-flow .check-list{
  margin-top:30px;
  gap:16px;
}

.service-cover-image{
  height:100%;
  min-height:640px;
  border-radius:34px;
  overflow:hidden;
  box-shadow:0 24px 56px rgba(8,16,24,.13);
  background:#d9e5ef;
}

.service-cover-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.process-card{
  height:100%;
  padding:30px;
  border-radius:28px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 18px 40px rgba(8,16,24,.08);
  text-align:center;

  display:flex;
  flex-direction:column;
  justify-content:center; /* centro verticale */
  align-items:center;     /* centro orizzontale */
}

.process-number{
  width:52px;
  height:52px;
  margin:0 auto 22px auto;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  background:linear-gradient(135deg,#39a8ef,var(--primary));
  font-size:20px;
  font-weight:800;
  box-shadow:0 12px 24px rgba(0,130,203,.18);
}

.process-card h3{
  margin:0 0 12px;
}

.process-card p{
  margin:0;
  color:var(--muted);
  font-size:16px;
  line-height:1.65;
}

.feature-band{
  border-radius:36px;
  overflow:hidden;
  background:#07111a;
  color:#fff;
}

.feature-band-image{
  min-height:420px;
}

.feature-band-content{
  padding:54px;
}

.feature-band h2{
  color:#fff;
}

.feature-band p{
  color:rgba(255,255,255,.76);
  font-size:17px;
  line-height:1.72;
}

.mini-spec{
  padding:20px;
  border-radius:20px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
}

.mini-spec strong{
  display:block;
  margin-bottom:6px;
  color:#fff;
  font-size:17px;
}

.mini-spec span{
  color:rgba(255,255,255,.72);
  font-size:14px;
  line-height:1.45;
}

.cta-strip{
  padding:42px;
  border-radius:32px;
  background:#eff4f9;
  border:1px solid var(--line);
}

.cta-strip p{
  color:var(--muted);
  font-size:17px;
  line-height:1.65;
}

@media (max-width:992px){
  .text-flow{
    max-width:none;
    padding:0;
  }

  .service-cover-image{
    min-height:420px;
  }

  .content-panel,
  .blue-panel,
  .feature-band-content{
    padding:32px;
  }
}

@media (max-width:768px){
  .page-intro-card{
    padding:24px;
    border-radius:24px;
  }

  .content-panel,
  .blue-panel,
  .feature-band-content,
  .cta-strip{
    padding:26px;
    border-radius:24px;
  }

  .service-cover-image{
    min-height:340px;
    border-radius:26px;
  }

  .feature-band-image{
    min-height:280px;
  }
}


/* ==========================================================
   Pagina "Cosa facciamo" - gallery realizzazioni
   Classi aggiuntive per card fotografiche, filtri visivi,
   griglie responsive e modal Bootstrap.
   ========================================================== */

.work-section-heading{
  max-width:880px;
  margin-bottom:34px;
}

.work-section-heading p{
  margin-bottom:0;
}

.work-gallery{
  margin-top:30px;
}

.work-gallery-card{
  height:100%;
  border-radius:28px;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 18px 40px rgba(8,16,24,.08);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.work-gallery-card:hover{
  transform:translateY(-4px);
  border-color:#c7dceb;
  box-shadow:0 24px 56px rgba(8,16,24,.14);
}

.work-gallery-card button{
  display:block;
  width:100%;
  height:100%;
  padding:0;
  border:0;
  background:none;
  text-align:left;
  cursor:pointer;
}

.work-gallery-image{
  position:relative;
  aspect-ratio:4 / 3;
  overflow:hidden;
  background:#d9e5ef;
}

.work-gallery-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transition:transform .35s ease;
}

.work-gallery-card:hover .work-gallery-image img{
  transform:scale(1.04);
}

.work-gallery-image::after{
  content:"Apri immagine";
  position:absolute;
  right:16px;
  bottom:16px;
  padding:8px 13px;
  border-radius:999px;
  color:#fff;
  background:rgba(0,88,125,.88);
  font-size:12px;
  font-weight:800;
  letter-spacing:.4px;
  text-transform:uppercase;
  opacity:0;
  transform:translateY(6px);
  transition:opacity .2s ease, transform .2s ease;
}

.work-gallery-card:hover .work-gallery-image::after{
  opacity:1;
  transform:translateY(0);
}

.work-gallery-body{
  padding:20px 22px 22px;
}

.work-gallery-body h3{
  margin:0 0 8px;
  font-size:21px;
  line-height:1.18;
  letter-spacing:-.4px;
}

.work-gallery-body p{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.6;
}

.work-gallery-label{
  display:inline-flex;
  align-items:center;
  margin-bottom:12px;
  padding:7px 11px;
  border-radius:999px;
  color:var(--primary);
  background:#edf7fd;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.7px;
}

.work-feature-image{
  height:100%;
  min-height:440px;
  border-radius:34px;
  overflow:hidden;
  background:#d9e5ef;
  box-shadow:0 24px 56px rgba(8,16,24,.13);
}

.work-feature-image button{
  display:block;
  width:100%;
  height:100%;
  padding:0;
  border:0;
  background:none;
  cursor:pointer;
}

.work-feature-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.work-category-nav{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  text-align:center;
}

.work-category-nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 17px;
  border-radius:999px;
  color:#00577d;
  background:#fff;
  border:1px solid #d9eaf6;
  font-size:14px;
  font-weight:800;
  box-shadow:0 10px 24px rgba(8,16,24,.06);
  transition:background .2s ease, color .2s ease, transform .2s ease;
}

.work-category-nav a:hover,
.work-category-nav a:focus{
  color:#fff;
  background:var(--primary);
  transform:translateY(-2px);
}

.work-modal .modal-content{
  overflow:hidden;
  border:0;
  border-radius:24px;
  background:#07111a;
  box-shadow:0 30px 80px rgba(0,0,0,.35);
}

.work-modal .modal-header{
  border:0;
  padding:18px 22px;
  color:#fff;
  background:#07111a;
}

.work-modal .modal-title{
  color:#fff;
  font-size:18px;
  font-weight:800;
}

.work-modal .btn-close{
  filter:invert(1) grayscale(100%);
  opacity:.85;
}

.work-modal .modal-body{
  padding:0;
  background:#07111a;
}

.modal-work-image{
  width:100%;
  max-height:78vh;
  object-fit:contain;
  background:#07111a;
}

.work-modal-caption{
  padding:16px 22px 20px;
  color:rgba(255,255,255,.78);
  font-size:15px;
  line-height:1.6;
  background:#07111a;
}

.work-cta-panel{
  padding:46px;
  border-radius:36px;
  color:#fff;
  background:linear-gradient(135deg, rgba(0,130,203,.75), rgba(0,87,125,.75));

}

.work-cta-panel h2{
  color:#fff;
}

.work-cta-panel p{
  padding:0px 20px;
  color:rgba(255,255,255,.84);
  font-size:17px;
  line-height:1.7;
}

.work-cta-panel .btn-protec{
  --bs-btn-color:#00577d;
  --bs-btn-bg:#fff;
  --bs-btn-border-color:#fff;
  --bs-btn-hover-color:#00577d;
  --bs-btn-hover-bg:#edf7fd;
  --bs-btn-hover-border-color:#edf7fd;
  box-shadow:none;
}

@media (max-width:992px){
  .work-feature-image{
    min-height:360px;
  }

  .work-cta-panel{
    padding:34px;
  }
}

@media (max-width:768px){
  .work-gallery-image{
    aspect-ratio:1 / 1;
  }

  .work-gallery-body{
    padding:18px;
  }

  .work-gallery-image::after{
    opacity:1;
    transform:none;
    right:12px;
    bottom:12px;
    font-size:11px;
  }

  .work-feature-image{
    min-height:300px;
    border-radius:26px;
  }

  .work-cta-panel{
    padding:28px;
    border-radius:26px;
  }
}

