/* 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-contatti {
  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 {
  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,
.p-contatti,
.p-footer,
.card p {
  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;
}


.Titlecontatti{
     margin-top: 160px;
     color: #f86335;
     text-align: center;
}

.Pcontatti{
    margin-bottom: 40px;
    text-align: center;
    
}

.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;
}

.spacer-final{
        height: 20vh;
    }

.logo {
    height: 50px;
    width: 100%;
    display: flex;

}


.title-color{
    color: #ff774d;
}




.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;
}

.title-contatti {
    text-align: center;
    color: #ff774d;
}


.p-contatti {
    text-align: center;
    color: #726b5e;
    font-size: 18px;

}

.spacer-contatti{
    height: 20vh;
}


.container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 20px;
}


.card {
    display: flex;
    align-items: center;
    gap: 20px;

    background: linear-gradient(
        135deg,
        hsl(var(--sage-light)),
        hsl(var(--cream))
    );

    padding: 24px 28px;
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);

    width: 520px;
    text-align: left;
}


.icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 107, 53, 0.1);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon i {
    font-size: 22px;
    color: #ff774d;
}



.card h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: #40362b;
}

.card p {
    margin: 0;
    font-size: 15px;
    color: #726b5e;
    line-height: 1.5;
}


.bigliettodavisita{
     width: 100%;
    height: auto;
    border-radius: 30px;
}

.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;
}


.mappa {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.mappa iframe {
  width: 100%;
  height: 350px;
  display: block;
}


.card a {
  color: inherit;
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}







@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-contatti{
        height: 15vh;
    }

    .spacer {
        height: 5vh;
    }

    .spacer-final{
        height: 10vh;
    }

    .studio2{
        margin-top: 40px;
    }

    .buttonhome {
        display: flex;
        justify-content: center;
    }

    .buttonhome1 {
        display: flex;
        justify-content: center;
        margin-left: 0;
    }


    .button {
        padding: 10px;
    }



    .container {
        flex-direction: column;
        align-items: center;
    }

 /* centra layout */
  .grid {
    text-align: center;
  }

  .col-50,
  .col-100 {
    width: 100%;
    text-align: center;
  }

  /* immagine biglietto */
  .bigliettodavisita {
    margin: 0 auto 20px auto;
    display: block;
    width: 100%;
  }

  /* card contatti */
  .card {
    width: 100%;
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }

  .icon {
    margin: 0 auto 10px auto;
  }

  /* container card */
  .container {
    flex-direction: column;
    align-items: center;
  }

  /* mappe */
  .mappa {
    margin: 0 auto;
  }

  /* titoli */
  h1, h2, h3, p {
    text-align: 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;
  }

}


/* ! 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-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;
}