/* ========================= Sezione 1 ============================= */

/* Headline block */
.sys-headline{
    padding: clamp(16px, 4vw, 36px) 12px;
    background: #fff;
    color:#000;
    font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  }
  .sys-headline__wrap{
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
  }
  .sys-headline__title{
    margin: 0;
    font-weight: 800;
    line-height: 1.15;
    font-size: clamp(22px, 3.6vw, 42px); /* responsive size */
    letter-spacing: .01em;
    text-wrap: balance;                  /* migliore spezzatura linee */
  }



/* ========================= Sezione 2 ============================= */

/* ============ Ecosistema ============ */
.eco{
    background: #fff6cc;
    padding: clamp(32px, 6vw, 60px) 0;
  }
  .eco__container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  .eco__title{
    margin: 0 0 clamp(22px, 4vw, 34px);
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.15;
  }
  .eco__grid{
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(24px, 4vw, 40px);
    align-items: start;
  }
  .eco__copy{
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.65;
    color: #333;
  }
  .eco__copy p{ margin: 0 0 14px; }
  .eco__copy strong{ font-weight: 700; }
  
  /* Lista con V verde come immagine */
  .eco__list{
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
  }
  .eco__list li{
    padding-left: 26px;
    background: url('/brands/casarev/img/v-icon.png')
                no-repeat left center;
    background-size: 16px 16px;
  }
  
  /* Immagine */
  .eco__figure{ margin: 0; }
  .eco__figure img{
    width: 100%;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 26px rgba(0,0,0,.15);
    object-fit: cover;
  }
  
  /* Responsive */
  @media (max-width: 899px){
    .eco__grid{
      grid-template-columns: 1fr;
    }
    .eco__title{ text-align: center; }
  }
  



/* ========================= Sezione 3 ============================= */

/* ========= SEZIONE: Sei Marchi ========= */
.brands{
    background:#fff;
    padding: clamp(48px, 6vw, 6px) 0;
  }
  .brands__container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
  }
  .brands__title{
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.15;
  }
  .brands__subtitle{
    margin: 0 0 clamp(18px, 3.5vw, 28px);
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: clamp(26px, 4vw, 40px);
    color: #000;
  }
  .brands__figure{
    margin: 0;
  }
  .brands__figure img{
    display: block;
    width: 100%;
    max-width: 1100px;     /* per restare vicino alle proporzioni dello shot */
    margin-inline: auto;
    height: auto;
  }



/* ========================= Sezione 4 ============================= */

/* ===================== ECOSISTEMA / BRAND CARDS ===================== */
.eco-cards{
    position: relative;
    /* background inline via style="--bg:url(...)" */
    background: center/cover no-repeat var(--bg);
    padding: clamp(40px, 6vw, 80px) 16px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    isolation: isolate;                 /* per overlay sotto al contenuto */
  }
  
  .eco-cards__inner{
    max-width: 1200px;
    margin-inline:auto;
    color:#000;
  }
  
  .eco-head{
    text-align:center;
    color:#000;
    margin-bottom: clamp(22px, 4vw, 36px);
  }
  .eco-head__kicker{
    color:#000;
    margin:0 0 6px;
    font-family:"Montserrat", sans-serif;
    font-weight:700;
    font-size: 32px;
  }
  .eco-head__sub{
    color:#000;
    max-width: 1000px;
    margin: 24px auto 0;
    font-size: 24px !important;
    line-height:1.6;
  }
  
  .eco-grid{
    display:grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: clamp(18px, 3.2vw, 28px);
  }
  
  .eco-card{
    background: rgba(255,255,255,.75);  /* cards opacity .65 */
    border-radius: 10px;
    box-shadow: 0 10px 26px rgba(0,0,0,.15);
    padding: clamp(18px, 2.6vw, 26px);
    backdrop-filter: blur(1px);
  }
  .eco-card__logo{
    display: block;
    height: clamp(44px, 7vw, 76px);
    width: auto;
    max-width: 90%;
    margin: 0 auto clamp(12px, 1.6vw, 18px);
  }

  .eco-card__body{
    text-align: left;
  }
  .eco-card__body p{
    margin: 0 0 .7em;
    font-size: clamp(14px, 1.9vw, 16px);
    line-height: 1.55;
    columns: #666666;;
  }
 
  .eco-card__body ul {
    padding-left: 8px !important;
  }

  .eco-card__body li {
    content: "";
    list-style: none;
    position:relative;padding-left:32px;margin:3px 0;
  }

  .eco-card__body li::before{
    content:"";position:absolute;left:0;top:-1px;width:20px;height:20px;
    background:url('/brands/casarev/img/v-icon.png') no-repeat left 3px;
    background-size:20px 20px;
  }

  /* ===== Responsive ===== */
  @media (max-width: 900px){
    .eco-grid{ grid-template-columns: 1fr; }
  }




/* ========================= Sezione 5 ============================= */

/* ===== HERO REPO SERRAMENTI ===== */
.repo-hero{
    position: relative;
    min-height: clamp(340px, 60vh, 520px);
    display: grid;
    place-items: center;
    color: #fff;
    isolation: isolate;               /* overlay sotto al contenuto */
  }
  
  .repo-hero__overlay{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.58);      /* scurisce lo sfondo */
    z-index: -1;
  }
  
  .repo-hero__inner{
    width: 100%;
    max-width: 1100px;
    margin-inline: auto;
    text-align: center;
    padding: clamp(18px, 4vw, 28px) 16px;
    text-wrap: balance;
    color: #fff;
  }
  
  .repo-hero__logo{
    display: block;
    margin: 0 auto 50px;
    height: clamp(48px, 10vw, 86px);
    width: auto;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,.25));
  }
  
  .repo-hero__line{
    margin: 0 auto;
    max-width: 980px;
    font-weight: 600;
    font-size: 32px !important;
    line-height: 1.45;
    font-size: clamp(16px, 2.1vw, 22px);
    text-shadow: 0 2px 10px rgba(0,0,0,.35);
    color: #fff;
  }
  
  .repo-hero__line--small{
    font-size: 24px !important;
    margin-top: 24px;
    font-weight: 500;
    font-size: clamp(15px, 1.9vw, 20px);
    color: #fff;
  }
  
  /* Mobile fine-tuning */
  @media (max-width: 599px){
    .repo-hero{ min-height: 46vh; }
  }
  



/* ========================= Sezione 6 ============================= */

/* ===== CasaRev – Perché Diverso (cr-cf6-*) ===== */

.cr-cf6-wrap{
  margin-block: clamp(40px, 7vw, 90px);
  padding-inline: 16px;
  color:#1a1a1a;
  font-family:"Poppins", sans-serif;
}

.cr-cf6-container{
  max-width: 1200px;
  margin-inline: auto;
}

.cr-cf6-header{
  text-align: center;
  margin-bottom: clamp(20px, 4vw, 40px);
}

.cr-cf6-title{
  font-family:"Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.15;
  margin: 0;
}

/* Grid */
.cr-cf6-grid{
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.cr-cf6-text{
  font-size: 16px;
  color:#2b2b2b;
  line-height: 1.65;
}

.cr-cf6-text p{
  margin: 0 0 16px;
}

/* Lista con check verdi */
.cr-cf6-list{
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.cr-cf6-list li{
  position: relative;
  padding-left: 34px;
  margin: 10px 0;
}
.cr-cf6-list li::before{
  content:"";
  position:absolute;
  left:0; top:.3em;
  width:22px; height:22px;
  background-image: url('/brands/casarev/img/v-icon.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Immagine */
.cr-cf6-art{
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cr-cf6-art img{
  width: 100%;
  height: auto;
  max-width: 360px;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 1024px){
  .cr-cf6-grid{
    grid-template-columns: 1fr;
    text-align: left;
  }
  .cr-cf6-art img{ max-width: 300px; }
}
@media (max-width: 560px){
  .cr-cf6-wrap{ padding-inline: 14px; }
  .cr-cf6-title{ font-size: clamp(26px, 7vw, 32px); }
}
