
:root{
  --brand-blue:#003185;
  --brand-green:#62B43B;
  --text:#121821;
  --muted:#5b6472;
}


.hero-internal{
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  color:#fff;
}

/* immagine */
.hero-bg {
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  transform:scale(1.05);
    
}

/* overlay brand */
.hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient( 110deg,rgba(164,141,225,0.85), rgba(120,90,190,.65)  );
}

/* contenuto */
.hero-content{
  position:relative;
  z-index:2;
  max-width:720px;
}

.hero-content h1{
  font-size:clamp(2rem,4vw,3rem);
  font-weight:700;
}

.hero-content p{
  font-size:1.1rem;
  margin:12px 0 20px;
  opacity:.95;
}

/* onda */
.hero-wave{
  position:absolute;
  bottom:-1px;
  left:0;
  width:100%;
  height:90px;
  fill:#fff;
}

/* HERO */
.page-hero{
  position: relative;
  min-height: 40vw;
  overflow: hidden;
}

.hero-box { top: 20vh;
    position: relative;
	}

.page-hero .hero-bg{
  position:absolute; inset:0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  
}

.page-hero .hero-overlay{
  position:absolute; 
  inset:0;
  background: linear-gradient(90deg, rgb(175 119 183 / 52%), rgb(175 119 183 / 45%), rgb(175 119 183, 100% ));

   clip-path: ellipse(100% 15% at 50% 100%);
 
}


.page-hero .hero-inner{
  position: relative; z-index:2;
  display:flex;
  align-items:center;
  padding: 28px 0;
}


.page-hero .hero-box{
  max-width: 780px;
  padding: 22px 22px 18px;
  border-radius: 18px;
  background: rgba(151,151,151,0.42);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 44px rgba(0,0,0,.22);
  color:#fff;

}

.page-hero::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--wave-height);
  background: var(--wave-color);
  clip-path: path("M0,50 C150,80 350,0 600,30 850,60 1050,40 1200,20 L1200,0 L0,0 Z");
}

.page-hero::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--wave-height);
  background: var(--wave-color);
  clip-path: path("M0,20 C200,60 400,100 600,70 850,30 1050,50 1200,80 L1200,120 L0,120 Z");
}

.hero-kicker{
  display:inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(98,180,59,.16);
  border: 1px solid rgba(98,180,59,.28);
  color: rgba(255,255,255,.92);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .7px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-title{
  margin:0 0 10px;
  font-family: "Poppins","Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  font-weight: 900;
  letter-spacing: -0.3px;
  font-size: clamp(26px, 3.2vw, 46px);
  line-height: 1.05;
}

.hero-text{
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,.92);
}

.hero-actions{
  display:flex;
  gap:10px;
  flex-wrap: wrap;
}

.btn-hero-primary{
  background: var(--brand-blue);
  border: 1px solid rgba(255,255,255,.18);
  color:#fff;
  font-weight: 900;
  border-radius: 999px;
  padding: 10px 16px;
  text-decoration:none;
}
.btn-hero-primary:hover{
  background: var(--brand-green);
  border-color: rgba(98,180,59,.55);
  color:#fff;
}

.btn-hero-secondary{
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  color:#fff;
  font-weight: 900;
  border-radius: 999px;
  padding: 10px 16px;
  text-decoration:none;
}
.btn-hero-secondary:hover{
  background: rgba(98,180,59,.18);
  border-color: rgba(98,180,59,.45);
  color:#fff;
}

/* CERTIFICAZIONI */
.cert-section{
  padding: 4px 0 10px;
  background: linear-gradient(180deg, #F3F3F3 0%, #f6f7f9 100%);
}

.cert-card{
  height: 100%;
  background:#fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 16px 16px 14px;
  box-shadow: 0 12px 26px rgba(0,0,0,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative;
  overflow:hidden;
}

.cert-card::before{
  content:"";
  position:absolute; left:0; right:0; top:0;
  height:3px;
  background: linear-gradient(90deg, var(--brand-blue) 0%, rgba(0,49,133,.25) 55%, transparent 100%);
  opacity:.55;
}

.cert-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0,0,0,.10);
  border-color: rgba(98,180,59,.35);
}

.cert-top{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap:12px;
  margin-bottom: 12px;
}

.cert-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  color: var(--brand-blue);
  background: rgba(0,49,133,.08);
  border: 1px solid rgba(0,49,133,.16);
}

.cert-badge-green{
  color:#1f5c11;
  background: rgba(98,180,59,.14);
  border-color: rgba(98,180,59,.28);
}

.cert-badge-blue{
  color: var(--brand-blue);
  background: rgba(0,49,133,.10);
  border-color: rgba(0,49,133,.18);
}

.cert-icon{
  width: 44px; height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.06);
  color: rgba(0,49,133,.80);
}

.cert-name{
  margin: 0 0 8px;
  font-family: "Poppins","Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  font-weight: 900;
  letter-spacing: .2px;
  color: var(--text);
  font-size: 18px;
}

.cert-desc{
  margin: 0 0 12px;
  color: #2a2f36;
  font-size: 14.5px;
  line-height: 1.55;
  
}

.cert-actions{
  display:flex;
  gap:10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.btn-cert{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration:none;
  font-size: 13px;
  border: 1px solid transparent;
  transition: background .18s ease, border-color .18s ease, transform .18s ease, color .18s ease;
}

.btn-cert-primary{
  background: var(--brand-blue);
  color:#fff;
  border-color: rgba(0,49,133,.15);
}
.btn-cert-primary:hover{
  background: var(--brand-green);
  border-color: rgba(98,180,59,.55);
  color:#fff;
  transform: translateY(-1px);
}

.btn-cert-ghost{
  background: rgba(0,49,133,.06);
  color: var(--brand-blue);
  border-color: rgba(0,49,133,.18);
}
.btn-cert-ghost:hover{
  background: rgba(98,180,59,.14);
  border-color: rgba(98,180,59,.35);
  color:#1f5c11;
  transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 480px){
  .page-hero{ min-height: 520px;}
  .page-hero .hero-inner{ min-height: 520px; }
  
  .page-hero .hero-box{ 
    padding: 16px;
    border-radius: 16px;
    top: 0vh;
    margin-top: 150px;
    width: 70vw;
    margin: 120px auto;
  }
  
  .hero-text{ font-size: 13px; }
  .cert-section{ padding: 38px 0 44px; }
  .btn-cert{ width: 100%; justify-content:center; }
}


:root{
  --brand-blue:#003185;
  --brand-green:#62B43B;
  --text:#121821;
  --muted:#5b6472;
}


.hero-internal{
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  color:#fff;
}

/* immagine */
.hero-bg {
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  transform:scale(1.05);
    
}

/* overlay brand */
.hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient( 110deg,rgba(164,141,225,0.85), rgba(120,90,190,.65)  );
}

/* contenuto */
.hero-content{
  position:relative;
  z-index:2;
  max-width:720px;
}

.hero-content h1{
  font-size:clamp(2rem,4vw,3rem);
  font-weight:700;
}

.hero-content p{
  font-size:1.1rem;
  margin:12px 0 20px;
  opacity:.95;
}

/* onda */
.hero-wave{
  position:absolute;
  bottom:-1px;
  left:0;
  width:100%;
  height:90px;
  fill:#fff;
}

/* HERO */
.page-hero{
  position: relative;
  min-height: 40vw;
  overflow: hidden;
}

.hero-box { top: 20vh;
    position: relative;
	}

.page-hero .hero-bg{
  position:absolute; inset:0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  
}

.page-hero .hero-overlay{
  position:absolute; 
  inset:0;
  background: linear-gradient(90deg, rgb(175 119 183 / 52%), rgb(175 119 183 / 45%), rgb(175 119 183, 100% ));

   clip-path: ellipse(100% 15% at 50% 100%);
 
}



.hero-kicker{
  display:inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(98,180,59,.16);
  border: 1px solid rgba(98,180,59,.28);
  color: rgba(255,255,255,.92);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .7px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-title{
  margin:0 0 10px;
  font-family: "Poppins","Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  font-weight: 900;
  letter-spacing: -0.3px;
  font-size: clamp(26px, 3.2vw, 46px);
  line-height: 1.05;
}

.hero-text{
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,.92);
}

.hero-actions{
  display:flex;
  gap:10px;
  flex-wrap: wrap;
}

.btn-hero-primary{
  background: var(--brand-blue);
  border: 1px solid rgba(255,255,255,.18);
  color:#fff;
  font-weight: 900;
  border-radius: 999px;
  padding: 10px 16px;
  text-decoration:none;
}
.btn-hero-primary:hover{
  background: var(--brand-green);
  border-color: rgba(98,180,59,.55);
  color:#fff;
}

.btn-hero-secondary{
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  color:#fff;
  font-weight: 900;
  border-radius: 999px;
  padding: 10px 16px;
  text-decoration:none;
}
.btn-hero-secondary:hover{
  background: rgba(98,180,59,.18);
  border-color: rgba(98,180,59,.45);
  color:#fff;
}

/* CERTIFICAZIONI */
.cert-section{
  padding: 4px 0 10px;
  background: linear-gradient(180deg, #F3F3F3 0%, #f6f7f9 100%);
}

.cert-card{
  height: 100%;
  background:#fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 16px 16px 14px;
  box-shadow: 0 12px 26px rgba(0,0,0,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative;
  overflow:hidden;
}

.cert-card::before{
  content:"";
  position:absolute; left:0; right:0; top:0;
  height:3px;
  background: linear-gradient(90deg, var(--brand-blue) 0%, rgba(0,49,133,.25) 55%, transparent 100%);
  opacity:.55;
}

.cert-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0,0,0,.10);
  border-color: rgba(98,180,59,.35);
}

.cert-top{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap:12px;
  margin-bottom: 12px;
}

.cert-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  color: var(--brand-blue);
  background: rgba(0,49,133,.08);
  border: 1px solid rgba(0,49,133,.16);
}

.cert-badge-green{
  color:#1f5c11;
  background: rgba(98,180,59,.14);
  border-color: rgba(98,180,59,.28);
}

.cert-badge-blue{
  color: var(--brand-blue);
  background: rgba(0,49,133,.10);
  border-color: rgba(0,49,133,.18);
}

.cert-icon{
  width: 44px; height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.06);
  color: rgba(0,49,133,.80);
}

.cert-name{
  margin: 0 0 8px;
  font-family: "Poppins","Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  font-weight: 900;
  letter-spacing: .2px;
  color: var(--text);
  font-size: 18px;
}

.cert-desc{
  margin: 0 0 12px;
  color: #2a2f36;
  font-size: 14.5px;
  line-height: 1.55;
  
}

.cert-actions{
  display:flex;
  gap:10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.btn-cert{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration:none;
  font-size: 13px;
  border: 1px solid transparent;
  transition: background .18s ease, border-color .18s ease, transform .18s ease, color .18s ease;
}

.btn-cert-primary{
  background: var(--brand-blue);
  color:#fff;
  border-color: rgba(0,49,133,.15);
}
.btn-cert-primary:hover{
  background: var(--brand-green);
  border-color: rgba(98,180,59,.55);
  color:#fff;
  transform: translateY(-1px);
}

.btn-cert-ghost{
  background: rgba(0,49,133,.06);
  color: var(--brand-blue);
  border-color: rgba(0,49,133,.18);
}
.btn-cert-ghost:hover{
  background: rgba(98,180,59,.14);
  border-color: rgba(98,180,59,.35);
  color:#1f5c11;
  transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 480px){
 

  .page-hero .hero-inner{ 
    min-height: 520px;      
}

.hero-bg {
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  transform:scale(1.05);
    
}

  
  .page-hero .hero-box{ 
    padding: 16px;
    border-radius: 16px;
    top: 0vh;
    margin-top: 150px;
    width: 70vw;
    margin: 120px auto;
  }

  .hero-text{ font-size: 13px; }
  .cert-section{ padding: 38px 0 44px; }
  .btn-cert{ width: 100%; justify-content:center; }
}


/* =========================
   MOBILE → mostra tutta la foto
   ========================= */
@media (max-width: 768px) {

  .page-hero {
    min-height: auto;  
    padding-top: 60px;
    padding-bottom: 40px;
  }

  .page-hero .hero-bg {
    background-repeat: no-repeat;
	background-size:cover !important;
	
  }

}


