/* Reset */
body,
html {
     font-family: 'Inter', Arial, Helvetica, sans-serif;
    line-height: 1;
    font-size: 16px;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, hsl(var(--sage-light)), hsl(var(--cream)));
    color: #40362b;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {

    margin: 0 0 1rem 0;
    padding: 0;
}

ol,
ul {
    padding-left: 20px;
    line-height: 1.5;
}

img {
    height: auto;
}

h1,
.title {
  font-size: clamp(28px, 5vw, 60px);
  line-height: 1.1;
  font-weight: 600;
}

h2,
.title-approccio,
.title-test {
  font-size: clamp(24px, 3.8vw, 42px);
  line-height: 1.2;
  font-weight: 600;
}

h3 {
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.3;
  font-weight: 500;
}

h4 {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.35;
  font-weight: 500;
}

p,
.descrizione,
.descrizione2,
.p-chisono,
.p-approccio,
.p-test,
.p-footer {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
}


h5 {
  font-size: clamp(14px, 1.2vw, 16px);
}

h6 {
  font-size: clamp(12px, 1vw, 14px);
}

a {
    text-decoration: none
}






/* Menu */
:root {
  --sage-light: 95 15% 90%;
  --cream: 45 25% 95%;
  --sage-cream-blend: 60 20% 96%;

  --card: linear-gradient(135deg, hsl(var(--sage-cream-blend)) 0%, hsl(var(--cream)) 100%);

  --menu-bg: linear-gradient(135deg, hsl(var(--sage-light)), hsl(var(--cream)));
  --menu-color: #40362b;
}


.header__menu a.active {
  position: relative;
}

.header__menu a.active::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 8px;
  width: calc(100% - 32px);
  height: 2px;
  background-color: #ff774d;
  border-radius: 2px;
}

.header {
    background: var(--menu-bg);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    padding: 10px 20px;
    border-bottom: 0.5px solid #a8a49d;

}

.header__content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.header__logo,
.header__quick {
    display: flex;
    align-items: center;
    color: #ff774d;
}

.header__menu {
    padding: 0;
    margin: 0;
}

.header__menu li {
    display: inline-block;
}

.header__menu li a {
    color: var(--menu-color);
    display: block;
    padding: 16px;
    font-size: 15px;
    font-weight: 400;
}

.spacer-index{
    height: 15vh;
}


.button {
    font-size: 0.9rem;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    display: inline-block;
    border-radius: 50px;
    font-weight: 500;
    background-color: #ff774d;
}






.spacer {
    height: 20vh;
}

.logo {
    height: 50px;
    width: 100%;
    display: flex;

}

.sloganhome {
    font-weight: 300;
    font-size: 16px;
    line-height: 13.75px;
    letter-spacing: 10%;
    color: #40362b;
    opacity: 70%;


}

.title {
    color: #40362b;
    font-size: clamp(30px, 5.5vw, 60px);
    line-height: 1.1;
    font-weight: 600;
}

.title2 {
    color: #ff774d;
}

.descrizione {
    line-height: 35px;
    font-weight: 300;
    color: #726b5e;
    letter-spacing: 0.5px;
}

.descrizione2 {
    font-size: 18px;
    color: #726b5e;
}

strong {
    font-weight: 700;
}

.buttonhomearancio{
      font-size: 1rem;
    color: #fff;
    text-decoration: none;
    padding: 15px 30px;
    display: inline-block;
    border-radius: 50px;
    font-weight: 500;
    background-color: #ff774d;
}

.buttonhome {
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    padding: 15px 30px;
    display: inline-block;
    border-radius: 50px;
    font-weight: 500;
    background-color: #2C6E49;
}

.buttonhome1 {
    font-size: 1rem;
    color: #2C6E49;
    text-decoration: none;
    padding: 15px 30px;
    display: inline-block;
    border-radius: 50px;
    font-weight: 500;
    border: 2px solid #2C6E49;
    margin-left: 15px;
}

.buttonhome1:hover {

    color: #fff;
    background-color: #2C6E49;
}




.homeimg {
    width: 100%;
    height: auto;
    border-radius: 30px;
    margin-left: 50px;
}

.imgchisono {
  width: 40%;
  overflow: hidden;
    height: 500px;
    border-radius: 30px;

}

.imgchisono img {
  width: 95%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.whatsapp {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 9999999;

}

.whatsapp a {
    font-size: 40px;
    color: #0b7d46;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    display: block;

}

.instagram {
  position: fixed;
  right: 30px;
  bottom: 100px; /* lo sposto un po' più in alto per non sovrapporlo a WhatsApp */
  z-index: 9999999;
}

.instagram a {
  font-size: 40px;
  color: #E4405F; /* colore ufficiale di Instagram */
  width: 60px;
  height: 60px;
  text-align: center;
  line-height: 60px;
  display: block;
}

.spacer1 {
    height: 15vh;
}

.p-chisono {
    color: #726b5e;
    font-size: 18px;

}

.ul-chisono {
    list-style: none;
    padding: 0;
    
}


.elenco {
    color: #40362b;
  
}

.ph-graduation-cap {
    font-size: 22px;
    color: #ff774d;
    background-color: rgba(255, 107, 53, 0.1);
    /* 10% opaco arancione */
    border-radius: 50%;
    padding: 10px;
   
}

.ph-student {
    font-size: 22px;
    color: #ff774d;
    background-color: rgba(255, 107, 53, 0.1);
    /* 10% opaco arancione */
    border-radius: 50%;
    padding: 10px;
}

.ph-scroll {
    font-size: 22px;
    color: #ff774d;
    background-color: rgba(255, 107, 53, 0.1);
    /* 10% opaco arancione */
    border-radius: 50%;
    padding: 10px;
}

.ph-book-open-text{
     font-size: 22px;
    color: #ff774d;
    background-color: rgba(255, 107, 53, 0.1);
    /* 10% opaco arancione */
    border-radius: 50%;
    padding: 10px;
}

.title-approccio {
    text-align: center;
}




.p-approccio {
    text-align: center;
    color: #726b5e;
    font-size: 18px;

}




.container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 20px;
}

.card {
    background: linear-gradient(135deg, hsl(var(--sage-light)), hsl(var(--cream)));
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 260px;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background-color: rgba(255, 107, 53, 0.1);
    /* 10% opaco arancione */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;


}

.icon i {
    font-size: 28px;
    color: #ff774d;

}

.card h3 {
    margin: 0 0 12px;
    font-size: 18px;
    color: #40362b;
    
}

.card p {
    margin: 0;
    font-size: 15px;
    color: #726b5e;
    line-height: 1.5;
}

.container1 {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 24px ;
}

.card1 {
    background: var(--card);
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    width:  300px;
    transition: transform 0.2s ease;
}

.card1:hover {
    transform: translateY(-5px);
}

.icon1 {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: rgba(44, 110, 73, 0.1);
    /*background-color: rgba(255, 107, 53, 0.1);
    /* 10% opaco arancione */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;


}

.icon1 i {
    font-size: 28px;
    color: #2C6E49;

}

.card1 h3 {
    margin: 0 0 12px;
    font-size: 24px;
    color: #40362b;
}

.card1 p {
    margin: 0;
    font-size: 16px;
    color: #726b5e;
    line-height: 1.5;
    
}


.card-h4{
    text-align: center;
    margin-top: 10px;
    font-weight: 500;
}



.buttoncard {
    font-size: 0.9rem;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    display: flex;
    border-radius: 50px;
    font-weight: 500;
    background-color: #2C6E49;
    text-align: center;
    align-items: center;
    justify-content: center; 
}

.buttoncard:hover{
    color: #2C6E49;
    background-color: #fff;
    border: 2px solid #2C6E49;

}

.buttoncard1 {
    font-size: 0.9rem;
    color: #2C6E49;
    text-decoration: none;
    padding: 10px 20px;
    display: flex;
    border-radius: 50px;
    font-weight: 500;
    background-color: #fff;
    text-align: center;
    align-items: center;
     justify-content: center; 
     border: 2px solid #2C6E49;
    
}

.buttoncard1:hover{
    color: #fff;
    background-color: #2C6E49;
}

.title-color{
    color: #ff774d;
}


.title-test{
    text-align: center;
}

.p-test{
    text-align: center;
    color: #726b5e;
}

.testimonials-wrapper{
  display:flex;
  gap:20px;
  max-width:1100px;
  margin:auto;
}


.testimonial.active{
  opacity:1;
  position:relative;
}

.testimonial-container{
  flex:1;
  background-color:#edf0e9;
  border-radius:12px;
  box-shadow:0 4px 8px rgba(0,0,0,0.1);
  padding:20px;
   position:relative;
  overflow:hidden;
}

.testimonial{
  margin-bottom:20px;
   opacity:0;
  position:absolute;
  transition:opacity .6s ease;
}

.testimonial:last-child{
  margin-bottom:0;
}

.stars{
  color:#ff6c3f;
  font-size:1.3rem;
  margin-bottom:8px;
}

.testimonial p{
  font-style:italic;
  color:#6b5f56;
  margin-bottom:8px;
}

.testimonial strong{
  color:#3d342f;
}


.footer {
 background: linear-gradient(135deg, hsl(95, 15%, 82%), hsl(45, 25%, 88%));
  padding: 2rem;
  font-family: 'Helvetica Neue', sans-serif;
  color: #3d342f;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-column {
  flex: 1 1 200px;
}

.brand {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}


.footer-column ul {
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
  color: #726b5e;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-column a {
  text-decoration: none;
  color: #726b5e;
}

.footer-column strong {
  color: #40362b;
  display: block;
  margin-bottom: 0.5rem;
}

hr {
  border: none;
  border-top: 1px solid #c9ccc2;
  margin: 2rem 0 1rem;
}

.footer-bottom {
  text-align: center;
  color: #726b5e;
  font-size: 0.9rem;
}

.ph {
  color: #ff6c3f;
  font-size: 1rem;
}


.logofooter {
  height: 36px;
  object-fit: contain;
}

.p-footer{
    color: #726b5e;
}


.ph-leaf{
    color: #2C6E49;
}









@media (max-width: 768px) {

    .header__menu a.active::after {
    display: none;
  }

    .header__menu {
        position: absolute;
        top: 60px;
        left: 0;
        background: var(--menu-bg);
        width: 100%;
        height: 100vh;
        height: 0vh;
        overflow: hidden;
        transition: all 1s cubic-bezier(.215, .61, .355, 1);
        z-index: 999999;
    }

    .header__menu li {
        width: 100%;
        border-bottom: 1px solid #444
    }

    .menu-open .header__menu {
        height: 100vh;
        padding: 3%;
    }

    .icon-hamburger {
        height: 50px;
        width: 40px;
        margin-left: 20px;
        padding-top: 5px;
    }

    .icon-hamburger span {
        height: 2px;
        width: 30px;
        background: var(--menu-color);
        position: relative;
        display: block;
        margin-top: 11px;
        transition: all 0.5s cubic-bezier(.215, .61, .355, 1);
    }

    .menu-open .icon-hamburger span:nth-child(1) {
        transform: rotate(45deg) translateY(9px);
    }

    .menu-open .icon-hamburger span:nth-child(2) {
        transform: rotate(-45deg) translateY(-9px);
    }

    .header__quick {
        display: flex;
        justify-content: flex-end;
        width: 50%;
    }

    .spacer {
        height: 10vh;
    }

    .sloganhome {
        text-align: center;
    }

    .title {
        text-align: center;
    }

    .descrizione {
        text-align: center;
    }

    .descrizione2 {
        text-align: center;
    }

    .buttonhome {
        display: flex;
        justify-content: center;
    }

    .buttonhome1 {
        display: flex;
        justify-content: center;
        margin-left: 0;
    }

    .buttonhomearancio{
         display: flex;
        justify-content: center;
    }


    .button {
        padding: 10px;
    }
    .buttoncard{
    margin-top: 15px !important;
    }

    .homeimg {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .container {
        flex-direction: column;
        align-items: center;
    }

  .imgchisono {
    width: 100%;
    height: auto; /* niente altezza fissa */
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
  }

  .imgchisono img {
    width: 100%;
    height: auto; /* mantiene proporzioni */
    object-fit: contain; /* evita il taglio */
  }

  .spacer1{
    height: 5vh;
  }

  .grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* COLONNE full width */
  .col-50,
  .col-60,
  .col-100 {
    width: 100%;
  }

  /* IMMAGINE HERO */
  .homeimg {
    width: 100%;
    height: auto;
    margin-top: 20px;
  }

  /* CARD */
  .card,
  .card1 {
    width: 90%;
    margin-bottom: 20px;
  }

  .container,
  .container1 {
    flex-direction: column;
    align-items: center;
  }

  /* FOOTER */
  .footer {
    text-align: center;
  }

  .footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-column {
    width: 100%;
    text-align: center;
    flex: 0 0 auto; /* evita spazi vuoti tra le colonne su mobile */
  }

  /* UL reset (QUESTO è il punto chiave) */
   .footer-column ul {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .footer-column li {
    display: flex;
    justify-content: center; /* CENTRA ORIZZONTALMENTE */
    align-items: center;
    width: auto; /* 🔥 NON 100% */
    text-align: center;
    margin-bottom: 10px;
  }

  .footer-column li a {
    display: inline-block;
  }

  /* LOGO centrato */
  .logofooter {
    display: block;
    margin: 0 auto;
  }
 
    .testimonials-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .testimonial-container {
    width: 90%;
  }

    .testimonial {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .testimonial p,
  .testimonial strong,
  .stars {
    text-align: center;
  }

}

@media (min-width: 769px) and (max-width: 1024px) {

  /* GRID */
  .grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .col-50,
  .col-60 {
    width: 100%;
  }

  /* HERO */
  .homeimg {
    width: 80%;
    margin: 0;
  }

  /* TESTI */
  .title,
  .descrizione,
  .descrizione2,
  .sloganhome {
    text-align: center;
  }

  /* BOTTONI */
  .buttonhome,
  .buttonhome1,
  .buttonhomearancio {
    display: inline-block;
    margin: 10px 5px;
  }

  /* CARD */
  .container {
    flex-direction: row;
    justify-content: center;
  }

  .card {
    width: 45%;
  }

  .container1 {
    flex-direction: row;
    justify-content: center;
  }

  .card1 {
    width: 45%;
  }

  /* CHI SONO */
  .imgchisono {
    width: 80%;
    height: auto;
    margin-bottom: 30px;
  }

  .imgchisono img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  /* TESTIMONIAL */
  .testimonials-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .testimonial-container {
    width: 80%;
  }

  /* FOOTER */
  .footer-top {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-column {
    flex: 1 1 40%;
    text-align: center;
  }

  .footer-column ul li {
    justify-content: center;
  }
}


/* ! Grid System */
.grid {
    margin: 0 auto;
    padding: 0 15px;
    max-width: 1250px;
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
}

.grid--center {
    justify-content: center;
}

.col {
    flex: 1;
}

[class*='col-'] {
    position: relative;
    padding: 0 15px;
}

.grid .grid [class*='col-'] {
    padding: 0px;
}

.col-20 {
    width: 20%;
}

.col-25 {
    width: 25%;
}

.col-30 {
    width: 30%;
}

.col-33 {
    width: 33.33%;
  display: flex;
  flex-direction: column;
  align-items: center; /* CENTRA ORIZZONTALMENTE il contenuto */
  text-align: center;
}

.col-40 {
    width: 40%;
}

.col-50 {
    width: 50%;
}

.col-60 {
    width: 60%;
}

.col-70 {
    width: 70%;
}

.col-80 {
    width: 80%;
}

.col-100 {
    width: 100%;
}

@media (max-width: 991px) {
    .tab-20 {
        width: 20%;
    }

    .tab-25 {
        width: 25%;
    }

    .tab-33 {
        width: 33.33%;
    }

    .tab-50 {
        width: 50%;
    }

    .tab-100 {
        width: 100%;
    }
}

@media (max-width: 768px) {
    [class*='col-'] {
        width: 100%;
    }

    .sma-20 {
        width: 20%;
    }

    .sma-25 {
        width: 25%;
    }

    .sma-33 {
        width: 33.33%;
    }

    .sma-50 {
        width: 50%;
    }

    .sma-100 {
        width: 100%;
    }
}

a {
    color: #ff774d
}












/* ! Helpers  */

.ml-0 {
    margin-left: 0
}

.ml-1 {
    margin-left: 10px
}

.ml-2 {
    margin-left: 20px
}

.ml-3 {
    margin-left: 40px
}

.ml-4 {
    margin-left: 100px
}

.mr-0 {
    margin-right: 0
}

.mr-1 {
    margin-right: 10px
}

.mr-2 {
    margin-right: 20px
}

.mr-3 {
    margin-right: 40px
}

.mr-4 {
    margin-right: 100px
}


.mt-0 {
    margin-top: 0
}

.mt-1 {
    margin-top: 10px
}

.mt-2 {
    margin-top: 20px
}

.mt-3 {
    margin-top: 40px
}

.mt-5{
    margin-top: 68px;
}

.mt-6{
    margin-top: 117px;
}

.mt-4 {
    margin-top: 100px
}

.mb-0 {
    margin-bottom: 0
}

.mb-1 {
    margin-bottom: 10px
}

.mb-2 {
    margin-bottom: 20px
}

.mb-3 {
    margin-bottom: 30px
}

.mb-4 {
    margin-bottom: 100px
}

.p-0 {
    padding: 0
}

.p-1 {
    padding: 10px
}

.p-2 {
    padding: 20px
}

.p-3 {
    padding: 40px
}

.p-4 {
    padding: 100px
}

.pt-1 {
    padding-top: 10px;
}

.pt-3 {
    padding-top: 20px;
}

.pt-3 {
    padding-top: 40px;
}

.pt-4 {
    padding-top: 15vh;
}

.pb-1 {
    padding-bottom: 10px;
}

.pb-2 {
    padding-bottom: 20px;
}

.pb-3 {
    padding-bottom: 40px;
}

.pb-4 {
    padding-bottom: 15vh;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.img-res {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    vertical-align: middle;
}