﻿:root{
    --container: 1200px;
    --gap: 24px;
    --text: #666666;
    --muted: #6b6b6b;
    --accent: #f59e0b; /* giallo link */
    --accent_h: #d97706; /* giallo link hover */
    --cta: #F66150;
    --radius-hero: 22px;
  }

  /* Stili globali */
p, li, a, ul, ol, em, i, span {
  font-family: "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #666;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #000;
}
  
  *{box-sizing:border-box}
  body{
    margin:0;
    font-family: "Segoe UI", sans-serif;
    color:var(--text);
    line-height:1.5
  }
  a{text-decoration:none;color:inherit}
  img{max-width:100%;height:auto}
  .sr-only{position:absolute;left:-9999px}
  
  .container{max-width:var(--container);margin-inline:auto;padding-inline:16px}
  
  /* Header */
  .site-header{
    background:#fff;
    border-bottom:1px solid #eee;
  }

  .header-inner{
    position: fixed;
    top: 0; left: 0; right: 0;
    display:flex;
    background-color: #fff;
    align-items:center;
    justify-content:space-between;
    height:72px;
    gap:var(--gap);
    width: 100%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.075);
    padding: 0 24px 0 24px;
    transition: height 0.3s ease;
    z-index: 99;
  }

  .header-inner.shrink{
    height: 56px !important;
  }


  .brand{display:flex;align-items:center;gap:12px}
  .site-title{font-weight:700}
  
  /* Toggle (mobile) */
  .nav-toggle{
    display:inline-flex;
    flex-direction:column;
    gap:4px;
    width:36px;height:36px;
    align-items:center;justify-content:center;
    border:1px solid #e5e5e5;
    background:#fff;
    border-radius:8px;
  }
  .nav-toggle .bar{display:block;width:18px;height:2px;background:#111}
  
  /* Nav */
  .site-nav{position:absolute;inset-inline:0;top:72px;border-bottom:1px solid #eee;display:none}
  .site-nav.open{display:block}
  .menu{list-style:none;margin:0;padding:8px 16px;display:flex;height: 100%;}
  .menu > li{
    padding:8px 24px;
  }
  .menu > li > a{
    font-family: 'Poppins', sans-serif;
    display:inline-block;
    color: #000 !important;
    padding:10px 8px;
    font-weight:600;
    letter-spacing:.02em;
    font-size: 16px;
    transition: color 0.15s ease;
  }
  .menu > li.current-menu-item > a,
  .menu > li.current_page_item > a,
  .menu > li > a[aria-current="page"] {
      position: relative;
      color: var(--accent) !important;
      text-decoration: none;
  }
  
  .menu > li.current-menu-item > a::after,
  .menu > li.current_page_item > a::after,
  .menu > li > a[aria-current="page"]::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 4px; /* distanza dal testo */
      width: 100%;
      height: 4px; /* spessore */
      background-color: var(--accent);
  }

  .menu > li > a {
    position: relative;
    color: inherit;
    text-decoration: none; /* togli la sottolineatura standard */
}

.menu > li > a::after {
    content: "";
    position: absolute;
    bottom: 4px; /* distanza dalla scritta */
    left: 0;
    width: 0;
    height: 4px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.menu > li > a:hover {
    color: var(--accent) !important;
}

.menu > li > a:hover::after {
    width: 100%;
}

.hamb-icon{display: none;}

.cover-hero__title {
  position: absolute;
  bottom: 40px;
  left: 120px;
  font-size: 48px;
  line-height: 1.2;
  margin: 0;
  z-index: 2;
}

@media (max-width: 1300px){
  .site-nav{display:none !important;}
  .hamb-icon{display: block !important;}
}
  
  /* ≥ 992px desktop */
  @media (min-width: 992px){
    .nav-toggle{display:none}
    .site-nav{position:static;display:block;border:0}
    .menu > li > a{padding:8px 0}
  }
  
  .site-logo svg {
    height: 60px;
    width: auto;
    display: block;
    transition: height 0.3s ease;
}

.site-logo.shrink svg {
  height: 40px !important;
}




/* ********************** CSS COPERTINA ********************** */

.cover-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  height: 300px;
  justify-content: flex-start;
  background-image: var(--cover-url);
  background-size: cover;
  background-position: center;
}

.cover-hero-home {
  position: relative;
  background: center/cover no-repeat var(--cover-url);
  height: 700px;
  display: grid;
  place-items: center;
  padding: 72px 16px; /* spazio per header fisso + respirazione */
  color: #fff;
}

.cover-hero-home::before {
  content:"";
  position:absolute; inset:0;
  background: rgba(0,0,0,.45);
  z-index:1; /* sta sotto al contenuto */
}

/* Card centrale */
.hero-home-card{
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: min(1100px, calc(100% - 32px));
  background: rgba(255,255,255,.8);
  color: #111;
  border-radius: var(--radius-hero);
  padding: 40px 48px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  backdrop-filter: blur(4px);
}

/* Badge */
.hero-home-badge{
  display:inline-block;
  background: var(--accent);
  color:#fff;
  font-weight:700;
  font-size: 24px;
  padding: 8px 24px 13px;
  border-radius: 999px;
  margin-bottom: 18px;
  letter-spacing:.02em;
  line-height: 24px;
}

/* Titolo */
.hero-home-title{
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  margin: 0 0 14px 0;
}
.hero-home-title span{
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  margin: 0 0 14px 0;
  color: var(--accent);
}

/* Paragrafo */
.hero-home-text {
  font-family: "Poppins", sans-serif;
  font-size: clamp(16px, 1.7vw, 20px);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  color: #333;
  margin: 18px 0 24px;
  padding-left: 24px;
}

.hero-home-list{
  font-family: "Poppins", sans-serif;
  padding: 0 0 24px 24px;
  font-size: 20px;
  position: relative;
  list-style: none;
  color: #333;
  font-weight: 600;
}

.hero-home-close {
  padding-inline-start: 0 !important;
}

.hero-home-close li {
  font-family: "Montserrat", sans-serif;
  position: relative;
  padding: 0 0 8px 44px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.45;
  text-decoration: underline;
  list-style: none;
  color: var(--cta);
}

.hero-home-close li::before{
  content:"";
  position:absolute;
  left:0; top:3px;
  width:28px; height:28px;
  background:url('img/hand-icon.png') no-repeat center/contain;
}

/* CTA */
.hero-home-cta{
  display:flex; gap: 16px; flex-wrap: wrap;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  height: 52px; padding: 0 22px;
  border-radius: 999px;
  font-weight: 700; letter-spacing:.01em;
  text-transform: uppercase;
  text-decoration:none;
  transition: .12s ease;
}
.hero-home-cta .btn-primary{
  background: var(--accent);
  color:#111;
  padding: 14px 40px !important;
  line-height: 1.35 !important;
  box-shadow: 0 4px 7px rgba(0,0,0,.25);
  border: 1px solid #000;
}
.hero-home-cta .btn-primary:hover{
  color: #ffffff;
  background: #d97706;
  transform: translateY(-1px);
  box-shadow: 0 7px 10px rgba(0,0,0,.45);
}

.btn-ghost{
  background:#fff;
  color:#111;
  box-shadow: 0 4px 7px rgba(0,0,0,.25);
  border: 1px solid #ccc;
}
.btn-ghost:hover{
  color: var(--accent);
  border-color:#cfcfcf;
  transform: translateY(-1px);
  box-shadow: 0 7px 10px rgba(0,0,0,.45);
}

/* Responsive padding */
@media (max-width: 850px){
  .cover-hero__title {
    bottom: 40px;
    left: 40px;
  }
}


@media (max-width: 640px){
  .hero-home-card{ padding: 28px 22px; }
}

@media (max-width: 600px){
  .header-inner{
    height: 56px;
    padding: 0 20px 0 16px;
  }
  .header-inner.shrink{
    height: 45px !important;
  }
  .site-logo svg {
    height: 45px;
  }
  .site-logo.shrink svg {
    height: 30px !important;
  }
}


@media (max-width: 385px){
  .cover-hero-home {
    height: 880px !important;
  }
}



