:root {
  /* --primary-dark: hsl(180, 36%, 5%); */
  --primary-dark: #000;
  /* --primary-light: #ebe9e5; */
  --primary-light: #fff;
  --secondary-dark: #0811111c;
  /* --secondary-light: #e4e2dc; */
  --secondary-light: #fff;
  --max-width: 1024px;
  --max-width-narrower: 750px;
  --padding-hor: 40px;
  --padding-ver: 100px;
  --border-radius: 5px;
}
@media screen and (max-width: 400px) {
  :root {
    --padding-hor: 25px;
    --padding-ver: 60px;
  }
}
em {
  font-style: italic;
}
button,
.cta,
.cta-secondary {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: var(--primary-dark);
}
/* PAGE FRAMING */
header, footer {
    max-width: var(--max-width-narrower);
    margin: 0 auto;
    padding: 0 var(--padding-hor);
    height: 140px;
    position: relative;
}
main {
    min-height: calc(100dvh - 280px);   
}
@media screen and (max-width: 600px) {
  header, footer {
    height: 80px;
  }
  main {
    min-height: calc(100dvh - 160px);   
  }
}
/* TYPOGRAPHY */
html, body {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--primary-dark);
  background: var(--primary-light);
  line-height: 1.5;
  overflow-x: hidden;
}
@media screen and (max-width: 600px) {
  html, body {
    font-size: 16px;
  }
}
strong {
  font-weight: 600;
}
footer {
  font-size: 12px;
}
li {
  font-size: 14px;
}
a {
  color: var(--primary-dark);
  text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Belleza", sans-serif;
  font-weight: 400;
}
h1, .h1 {
  display: block;
  font-size: 34px;
}
@media (max-width: 600px) {
  h1, .h1 {
    font-size: 28px;
  }
}
h2, .h2 {
  display: block;
  font-size: 28px;
  margin-bottom: calc(var(--padding-ver)/2);
}
@media (max-width: 600px) {
  h2, .h2 {
    font-size: 24px;
  }
}
h3, .h3 {
  display: block;
  font-size: 18px;
  margin-bottom: calc(var(--padding-ver)/2);
}
@media (max-width: 600px) {
  h3, .h3 {
    font-size: 19px;
  }
}
.title-spacing-top {
  margin-top: calc(var(--padding-ver)/2);
}
/* LAYOUT */
header, footer {
  display: flex;
  flex-direction: row;
  align-items: center;
}
header {
  justify-content: space-between;
}
header .logo {
  display: none;
}
.nav-menu {
  width: 100%;
  display: flex;
  /* justify-content: flex-end; */
  justify-content: space-evenly;
}
.nav-menu ul {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 24px;
  gap: 36px;
}
.nav-menu a {
  font-size: 15px;
  display: block;
}
.hamburger {
  display: none;
}
@media (max-width: 600px) {
  .nav-menu ul {
    flex-direction: column;
    background-color: var(--primary-light);
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    gap: 0;
    width: 100%;
    border: 1px solid transparent;
    z-index: 1;
    max-height: 0; 
    overflow: hidden; 
    transition: border-color 0.4s, max-height 0.4s ease-in-out;
  }
  .nav-menu.open ul {
    border: 1px solid var(--secondary-dark);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 350px; 
  }
  .nav-menu ul li {
    padding: 12px var(--padding-hor);
  }
  .nav-menu ul li:first-child {
    padding-top: 40px;
  }
  .nav-menu ul li:last-child {
    padding-bottom: 40px;
  }
  .nav-menu ul li a {
    display: block;
    width: fit-content;
  }
  .hamburger {
    margin-top: -5px;
    position: absolute;
    right: var(--padding-hor);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 2; 
  }
  .hamburger div {
    width: 100%;
    height: 2px;
    background-color: var(--primary-dark);
    transition: all 0.3s ease;
  }
  .hamburger.open {
    content: '✕'; 
    font-size: 35px;
  }
  .hamburger.open div:nth-child(1) {
    transform: rotate(45deg) translate(8px, 6px);
  }
  .hamburger.open div:nth-child(2) {
      opacity: 0;
  }
  .hamburger.open div:nth-child(3) {
      transform: rotate(-45deg) translate(8px, -6px)
  }
}
@media screen and (max-width: 400px) {
  nav a {
    font-size: 13px;
  }
  nav ul {
    gap: 10px;
  }
}
footer {
  padding-top: var(--padding-ver);
  padding-bottom: var(--padding-ver);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap:20px;
  color:rgba(0, 0, 0, 0.5);
}
footer button {
  background: unset;
  padding: unset;
  background-color: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  color:rgba(0, 0, 0, 0.5)!important;
}
footer a {
  color:rgba(0, 0, 0, 0.5)!important;
}
.inner-footer-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap:20px;
  align-items: center;
}
.custom-hero {
  display: flex;
  text-align: center;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.custom-hero img {
  object-fit: cover;
  border-radius: 50%;
}
.images-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
@media screen and (max-width: 600px) {
  .images-container {
    justify-content: center;
  }
  .images-container img {
    max-width: 100px;
    height: auto;
  }
}
.section {
  padding: var(--padding-ver) var(--padding-hor); 
}
main > .section:nth-child(odd):not(#intro) {
  background-color: var(--secondary-light);
}
main > .section:nth-child(odd):not(#intro) > div {
  max-width: var(--max-width-narrower);
  margin: 0 auto;
}
main > .section:nth-child(even) {
  max-width: var(--max-width-narrower);
  margin: 0 auto;
}
.col-spaced {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: calc(var(--padding-ver)/2);
}
@media screen and (max-width: 580px) {
  .col-spaced {
    gap: 35px;
  }
}
.col-spaced.pt-0 {
  padding-top: 0;
}
.col-spaced .col {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}
@media screen and (max-width: 580px) {
  .col-spaced .col {
    gap: 20px;
    flex-direction: column;
  }
}
#studio-firenze .col-spaced .col .cta,
#studio-pistoia .col-spaced .col .cta {
  margin-top: 8px;
}
@media screen and (max-width: 580px) {
  #studio-firenze .col-spaced .col .cta,
  #studio-pistoia .col-spaced .col .cta {
    margin-top: 0;
  }
}
/* ELEMENTS */
p {
  line-height: 2;
}
.underline {
  text-decoration: underline;
}
.cta {
  display: block;
  width: fit-content;
  min-width: 190px;
  max-width: calc(100% - 40px);
  text-align: center;
  border: 1px solid;
  border-color: var(--primary-dark);
  background-color: var(--primary-dark);
  color: var(--primary-light)!important;
  border-radius: var(--border-radius);
  font-weight: 500;
  padding: 10px 20px;
  transition: all 300ms;
}
@media screen and (max-width: 400px) {
  .cta {
    width: 100%;
  }
}
.cta:hover {
  border-color: var(--primary-dark);
  color: var(--primary-dark)!important;
  background-color: var(--primary-light);
}
.cta-secondary {
  display: block;
  position: relative;
  padding: 0.2em 0;
  overflow: hidden;
}
.cta-secondary::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.1em;
  background-color: var(--primary-dark);
  opacity: 0;
  transition: opacity 300ms, transform 300ms;
  opacity: 1;
  transform: translate3d(-100%, 0, 0);
}
.cta-secondary:hover::after {
  transform: translate3d(0, 0, 0);
}
@media screen and (min-width: 501px) {
  .xs-only {
    display: none;
  }
}
/* MODALE FULL SCREEN */  
.modale {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
}
.modale-content {
    max-width: 800px;
    margin: 85px auto;
    background-color: #333;
    padding: 30px;
    border-radius: 10px;
    overflow-y: auto;
    max-height: calc(80vh - 40px);
    -webkit-overflow-scrolling: touch;
}
.modale-content::-webkit-scrollbar {
  width: 8px;
}
.modale-content::-webkit-scrollbar-thumb {
  background-color: white;
  border-radius: 4px;
}
.modale-content::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}
.modale h2 {
    margin-top: 0;
}
.modale p {
    line-height: 1.6;
}
.modale-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 50px;
    font-weight: 400;
    color: white;
    cursor: pointer;
}
.widget-whatsapp {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 1;
}

.widget-whatsapp svg {
  width: 40px;
  height: 40px;
}
.widget-whatsapp a {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 14px;
}

#whatsapp-bubble {
  background: white;
  padding: 8px 12px 5px 10px;
  border-radius: 12px;
  border: 1px solid lightgrey;
  color: #3f3f3f;
  opacity: 0;
  transition: opacity .4s;
  position: relative;
  box-shadow: 4px 4px 7px #888888;
  margin-right: 4px;
}
#whatsapp-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 10px;
  width: 10px;
  height: 10px;
  background: white;
  border-left: 1px solid lightgrey;
  border-bottom: 1px solid lightgrey;
  transform: rotate(313deg);
}
#whatsapp-bubble.show {
  display: block;
  opacity: 1;
  transition: opacity .4s;
}
#whatsapp-bubble.hidden {
  display: none;
}
