/* 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 {
    font-size: clamp(24px, 3.8vw, 42px);
    line-height: 1.2;
    font-weight: 600;
}

h3,
.sot-title {
    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-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;
}





.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;
}



.title2 {
    color: #2C6E49;
}

.descrizione2 {
    font-size: 18px;
    color: #726b5e;
}

.title {
  color: #40362b;
}

.laureaimg {
  width: 100%;
  height: auto;
  border-radius: 30px;
  object-fit: cover;
}

.contornochisonoimg {
  object-fit: contain;
  max-height: 450px;
  border-radius: 30px;
  max-width: 100%;

}

.spacerchisono{
    height: 5vh;
}

.spacer10{
    height: 10vh;
}

.spacer {
    height: 20vh;
}

.logo {
    height: 50px;
    width: 100%;
    display: flex;

}

.spacer15{
    height: 15vh;
}

.whatsapp {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 9999999;

}


.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;
}

.buttonhome1:hover {

    color: #fff;
    background-color: #2C6E49;
}

.buttonhome {
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    padding: 15px 30px;
    display: inline-block;
    border-radius: 50px;
    font-weight: 500;
    background-color: #2C6E49;
}

.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;
}


.spacer-final{
    height: 10vh;
}


.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;
}

















@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;
    }


    .button {
        padding: 10px;
    }



    .homeimg {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .container {
        flex-direction: column;
        align-items: center;
    }

     /* GRID → colonna */
  .grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* COLONNE */
  .col-50,
  .col-60,
  .col-30,
  .col-100 {
    width: 100%;
  }

  /* TESTI */
  h1, h2, h3, p {
    text-align: center;
  }

  /* BOTTONI */
  .buttonhome {
    display: inline-block;
    margin: 15px auto;
  }

  /* IMMAGINI */
  .laureaimg {
    width: 100%;
    height: auto;
    margin-top: 20px;
  }

  .contornochisonoimg{
     width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 30px;
  display: block;
  }

  /* FOOTER */
  .footer {
    text-align: center;
  }

  .footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-column {
    width: 100%;
    text-align: center;
    margin-bottom: 25px;
    flex: 0 0 auto; /* evita spazi vuoti tra le colonne su mobile */
  }

  .footer-column ul {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .footer-column li {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
  }

  .logofooter {
    display: block;
    margin: 0 auto;
  }

.spacerchisono{
    height: 1vh;
}
 
.spacer15{
    height: 15vh;
}

.sot-title{
    margin-top: 20px;
}

}

@media (min-width: 769px) and (max-width: 1024px) {

  /* GRID */
  .grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .col-50,
  .col-60,
  .col-30 {
    width: 100%;
  }

  /* HERO / TITOLI */
  .title,
  .sot-title,
  p {
    text-align: center;
  }

  /* IMMAGINI */
  .laureaimg {
  width: 85%;
  max-width: 500px;
  margin: 30px auto 0 auto;
  display: block;
}

  .contornochisonoimg {
    width: 80%;
    margin: 0 auto 30px auto;
    display: block;
  }

  /* BOTTONI */
  .buttonhome {
    display: inline-block;
    margin: 20px auto;
  }

  /* SPACING */
  .spacer15 {
    height: 10vh;
  }

  .spacer10 {
    height: 6vh;
  }

  .spacerchisono {
    height: 3vh;
  }

  /* FOOTER */
  .footer-top {
    justify-content: center;
    gap: 30px;
  }

  .footer-column {
    flex: 1 1 45%;
    text-align: center;
  }

  .footer-column ul {
    align-items: center;
  }

  .footer-column 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-65 {
    width: 65%;
}

.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-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;
}