/* ! Reset */
body,
html {
  /*font-family: 'Intro', Arial, Helvetica, sans-serif;*/
  font-family: "Raleway", sans-serif;
  color: #222;

  font-size: 13px;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background-color: #fff;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
  margin: 0 0 1rem 0;
  padding: 0;
}

ol,
ul {
  list-style-type: none;
}

img {
  height: auto;
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1rem;
}

h5 {
  font-size: 0.8rem;
}

h6 {
  font-size: 0.6rem;
}

a {
  text-decoration: none
}

html, body {
  overflow-x: hidden;
}


.uppercase {
  text-transform: uppercase;
}

.text {
  margin: 0 auto;
  height: auto;
  width: 100%;
  align-items: center;
  text-align: center;
  padding: 50px 0 5px 0;
}

/*font family*/
.montserrat-div {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 3em;
  letter-spacing: 1px;
  color: #333;
}



.montserrat-div h3 {
  font-size: 14px;
}


@media (max-width: 768px) {
  .montserrat-div {
    font-size: 11px;
    line-height: 2em;
  }
}


.buttonReadMore {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;

  height: 30px;
  width: 30px;
  /*border: 1px solid #000;*/
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  background-color: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: 20px;
  text-decoration: none;
  margin: 0 auto;
  /* 💡 Questo centra l'elemento blocco */
}

/*
.buttonReadMore:hover {
  background-color: #e720cd;
  color: #fff;
}
*/

@media (max-width: 768px) {
  .buttonReadMore {
    height: 20px;
    width: 20px;
  }
}







/**********************RECAPITO E POSIZIONE IN TOP**************************/
.contatti-box {
  padding: 0.5rem;
  background-color: #fff;
  border-radius: 12px;

  /*box-shadow: 0 0 12px rgba(0,0,0,0.08);*/

  font-family: 'Raleway', sans-serif;
  max-width: 900px;
  margin: 1rem auto;
}

.contatti-title {
  font-size: clamp(1.5rem, 2vw, 2rem);
  color: #b41515;
  margin-bottom: 1rem;
  text-align: center;
}

.contatti-riga {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: nowrap;

  /*Crea barra inferiore per eventuale */
  /*overflow-x: auto;  Abilita scorrimento orizzontale se il contenuto fuoriesce*/
}

@media (max-width: 600px) {
  .contatti-riga {
    flex-direction: column;
    /* Diventa verticale */
    align-items: flex-start;
    /* Allinea a sinistra (opzionale) */
    gap: 1rem;
    /* Spazio tra i blocchi, ridotto su mobile */
    overflow-x: unset;
    /* Disattiva scroll orizzontale */
  }
}

.contatto {
  display: inline-flex;
  align-items: center;
  font-size: clamp(1rem, 2vw, 1.2rem);
  gap: 0.5rem;
  white-space: nowrap;
}

.telefono-link {
  font-weight: bold;
  text-decoration: none;
  color: #222;
}

.telefono-link:hover {
  color: #b41515;
  text-decoration: underline;
}

.map-icon-link {
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.map-icon-link:hover {
  transform: scale(1.1);
}

.social-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #444;
  font-size: clamp(1.5rem, 2vw, 2rem);
  /*font-size: 24px;*/
  transition: color 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  color: #e1306c; /* Instagram color */
}

.social-links a:nth-child(2):hover {
  color: #1877f2; /* Facebook color */
}




/* ! Grid System con grid e colonne a .col .tab. sma*/
.grid {
  margin: 0 auto;
  padding: 0 15px;
  max-width: 1650px;
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;

}

.grid--center {
  justify-content: center;
  text-align: center;
  display: flex;
}

.align-right {
  text-align: right;
}

.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%;
}

.col-50 {
  width: 50%;
}

.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) {

  .sma-20 {
    width: 20%;
  }

  .sma-25 {
    width: 25%;
  }

  .sma-33 {
    width: 33.33%;
  }

  .sma-50 {
    width: 50%;
  }

  .sma-100 {
    width: 100%;
  }
}

/***************************MENU*******************************/
/* ==== BASE ==== */

.arrow {
  display: inline-block;
  margin-left: 0.4rem;
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  /*background-color: #e720cd;*/
  background-color: black;
  transition: all 0.3s ease;
}

.menu-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
 background-color: white;
}

.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background-color: white;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ==== DESKTOP ==== */
@media (min-width: 769px) {
  .main-nav {
    display: block;
    background-color: #000;
    border-radius: 20px;
  }

  .main-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }

  .main-nav li {
    position: relative;
  }

  .main-nav a {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    padding: 0.5rem;
    transition: color 0.3s ease;
  }

  .main-nav a:hover {
    color: #e720cd;
  }

  .main-nav .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    min-width: 180px;
    z-index: 1000;

  }

  .main-nav li:hover>.submenu {
    display: block;
  }

  .submenu li a {
    padding: 0.5rem 1rem;
    display: block;
    font-size: 1rem;
    color: black;
    background-color: #fff;
  }

  .submenu li a:hover {
    background-color: #f3f3f3;
  }
}

/* ==== MOBILE ==== */
@media (max-width: 800px) {
  .menu-toggle {
    display: flex;
    position: fixed;
    top: 1rem;
    right: 1rem;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    width: 220px;
    /*background-color: #d2a8a8;*/
    background-color: #000;

    padding: 4rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    transition: right 0.4s ease-in-out;
    z-index: 1000;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }

  .main-nav ul li {
    border-bottom: 1px solid #444;
    width: 100%;
  }

  .main-nav a {
    font-size: 1.2rem;
    color: #fff;
  }

  /* SOTTOMENU slide */
  .submenu {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background-color: #e720cd;;
    padding-left: 1rem;
  }

  .submenu.open-submenu {
    max-height: 500px;
  }

  .submenu a {
    color: #fff;
  }

  .main-nav a.open .arrow {
    transform: rotate(180deg);
  }
}

/**************HERO*******************************************************************************/

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;

  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 1;
}

.hero-figure {
  /*position: absolute;*/
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  margin: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-figure picture,
.hero-figure img {
  /*position: absolute;
  top: 0;
  left: 0;*/
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: top;
  z-index: 1;

  display: block;
}

.hero-text {
  position: absolute;
  z-index: 3;
  text-align: center;
  color: white;
  padding: 2rem;
  top: 50%;

  width: 90%;
  /*transform: translateY(-50%);*/


  transform: translate(-50%, -50%);
  left: 50%;
}

.hero-text h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 500;
  margin: 0 0 1rem;
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.6);
  line-height: 40px;
}

.hero-text p {
  font-size: clamp(1rem, 3vw, 1.5rem);
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);

}





/*BUTTON HERO*/
.hero-button-wrapper {
  position: absolute;
  bottom: 30px;
  /* distanza dal fondo */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;

}



.hero-button {
  display: inline-flex;
  /*padding: 8px 18px;*/
  padding: 0.75rem 1.5rem;
  gap: 0.5rem;
  font-size: 1.5rem;
  /* grande su desktop */
  font-weight: 400;
  background-color: #e720cd;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  transition: background-color 0.3s ease, transform 0.2s ease;
  align-items: center;
  text-align: center;

}

.hero-button:hover {
  background-color: #e58000;
  transform: scale(1.05);
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-button {
    font-size: 1.5rem;
    padding: 14px 28px;
  }
}

/* Smartphone (max-width: 600px) 


@media (max-width: 600px) {
  .hero-button {
    font-size: 1rem;
    padding: 12px 24px;

    flex-direction: column;
   
    gap: 0.3rem;
    
  }
}
*/


@media (max-width: 768px) {
  .text {
    width: 90%;
  }
}

.phone-icon {
  animation: none;
  transition: transform 0.3s ease;
}


.hero-button:hover .phone-icon {
  animation: pulse 0.6s infinite alternate;
}

/* Animazione pulse sull’icona */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.2);
  }
}

@media (max-width: 768px) {
  .hero-button-wrapper span{font-size: 1rem;}
  .phone-icon{width: 30px; height: 30px;}
}


/*TESTO DI BENVENUTO*************************************************************************/

.servizi-centro {
  max-width: 1200px;
  margin: auto;
  padding: 2rem 1rem;
  font-family: "Raleway", sans-serif;
  color: #222;
}

.intro,
.cta {
  text-align: center;
  margin-bottom: 2rem;
}

.griglia-servizi {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.servizio {
  background-color: #f9f9f9;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.servizio h3 {
  margin-top: 0;
  font-size: 1.3rem;
  color: #b41515;
}

.servizio ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 0 0;
}

.servizio li {
  margin-bottom: 0.4rem;
}

.servizio p {
  margin: 0.5rem 0 0;
  font-size: 1rem;
}

@media (min-width: 600px) {
  .griglia-servizi {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .griglia-servizi {
    grid-template-columns: repeat(3, 1fr);
  }
}

/**********************INVITO SOCIAL******************************/
  .social-follow {
      font-family: 'Raleway', sans-serif;
      text-align: center;
      padding: 2rem;
      background-color: #f9f9f9;
      color: #222;
     border-radius: 1rem;
    }

    .social-follow h2 {
      color: #b41515;
      font-size: 1.8rem;
      margin-bottom: 1rem;
    }

    .social-follow p {
      font-size: 1.1rem;
      margin-bottom: 1rem;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
    }

    .social-follow ul {
      list-style: none;
      padding: 0;
      margin: 1.5rem 0;
    }

    .social-follow ul li {
      margin-bottom: 0.4rem;
    }

    .social-buttons {
      display: flex;
      justify-content: center;
      gap: 1.5rem;
      margin-top: 1rem;
      flex-wrap: wrap;
    }

    .social-buttons a {
      display: inline-block;
    }

    .social-buttons img {
      width: 40px;
      height: 40px;
      transition: transform 0.3s ease;
    }

    .social-buttons img:hover {
      transform: scale(1.1);
    }

    @media (max-width: 600px) {
      .social-follow h2 {
        font-size: 1.4rem;
      }

      .social-follow p {
        font-size: 1rem;
      }
    }

    /*BORDO LUMINOSO PERSISTENTE*/
    .social-follow {
  border: 2px solid transparent;
  box-shadow: none;
  transition: all 0.4s ease;
}

.social-follow.glow {
  border-color: rgba(255, 100, 100, 0.7);
  box-shadow: 0 0 15px rgba(255, 100, 100, 0.7);
}



/***********************TESTO SOLARIUM*********************************************************************/
.solarium-services {
  font-family: 'Raleway', sans-serif;
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
  color: #222;
  background-color: #f9f9f9;
}

.solarium-services h2,
.solarium-services h3 {
  color: #b41515;
  margin-top: 1.5rem;
}

.solarium-services h3 {
  font-size: 1.3rem;
}

.solarium-services ul {
  padding-left: 1.2rem;
}

.solarium-services ul li {
  list-style-type: disc;
  margin-bottom: 0.5rem;
}

.solarium-services p {
  margin-top: 0.5rem;
  font-size: 1rem;
}


/* 1 colonne con immagini con struttura a display grid e colonne a grid-template-columns Codice **************************/

.image-grid-wrapper-uno {
  /*padding: 1rem;*/
  width: 100%;
  position: relative;
  z-index: 1;
  /*margin-top: 2rem;*/
}

@media (min-width: 1024px) {
  .image-grid-wrapper-uno {
    width: 50%;
    margin: 0 auto;
    padding: 3rem;
  }
}

.image-grid-uno {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  /* desktop, tablet e mobile */
  padding: 1rem;
  box-sizing: border-box;
}

/*RENDE RETTAGOLARE LA SOLA IMMAGINE PER SCHERMI DESKTOP NELLA SOLA IMAGE-GRID-WRAPPER UNO QUINDI NELLA GRID A UNA COLONNA*/
@media (min-width: 1024px) {
  .image-grid-wrapper-uno .image-container img {
    aspect-ratio: 3 / 2;
    /* rettangolare: ad es. 1200x800 */
    height: auto;
    /* o puoi usare height: 400px per forzarla */
    object-fit: cover;
    /* mantiene proporzioni riempiendo il contenitore */
  }
}

/************************2 Colonne con immagini con struttura con display grid e colonne a grid-template-columns************************/
.image-grid-wrapper-due {
  /*padding: 1rem;*/
  width: 100%;
  position: relative;
  z-index: 1;
  /*margin-top: 2rem;*/
}

@media (min-width: 1024px) {
  .image-grid-wrapper-due {
    width: 50%;
    margin: 0 auto;
    padding: 3rem;
  }
}

.image-grid-due {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  /* mobile */
  padding: 1rem;
  box-sizing: border-box;
}

@media (min-width: 600px) {
  .image-grid-due {
    grid-template-columns: repeat(2, 1fr);
    /* tablet */
  }
}

@media (min-width: 1024px) {
  .image-grid-due {
    grid-template-columns: repeat(2, 1fr);
    /* desktop */
  }
}

/*********************4 Colonne con immagini con struttura con display grid e colonne a grid-template-columns***********************/
.image-grid-wrapper-quattro {
  /*padding: 1rem;*/
  width: 100%;
  position: relative;
  z-index: 1;
  /*margin-top: 2rem;*/
}

@media (min-width: 1024px) {
  .image-grid-wrapper-quattro {
    width: 50%;
    margin: 0 auto;
    padding: 3rem;
  }
}

.image-grid-quattro {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  /* mobile */
  padding: 1rem;
  box-sizing: border-box;
}



/*
@media (min-width: 1024px) {
  .image-grid-quattro {
    grid-template-columns: repeat(2, 1fr);
   
  }
}
  */

@media (min-width: 2560px) {
  .image-grid-quattro {
    grid-template-columns: repeat(2, 1fr);
    /* desktop */
  }
}




/*********************6 Colonne con immagini con struttura con display grid e colonne a grid-template-columns***********************/
.image-grid-wrapper {
  /*padding: 1rem;*/
  width: 100%;
  position: relative;
  z-index: 1;
  /*margin-top: 2rem;*/
}

@media (min-width: 1024px) {
  .image-grid-wrapper {
    width: 90%;
    margin: 0 auto;
    padding: 3rem;

  }
}

.image-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  /* mobile */
  padding: 1rem;
  box-sizing: border-box;

}

@media (min-width: 600px) {
  .image-grid {
    grid-template-columns: repeat(3, 1fr);
    /* tablet */
  }
}

@media (min-width: 1024px) {
  .image-grid {
    grid-template-columns: repeat(6, 1fr);
    /* desktop */
  }
}

.image-container {
  position: relative;
  overflow: hidden;
  margin-top: 5px;
  border-radius: 30px;

}

/*
.panel-text {
  position: relative;
  margin-left: -100px;
  margin-top: 200px;
  align-items: center;
  text-align: center;
  background-color: white;
  height: 50%;
  width: 100%;
  display: flex;


}
*/
@media (min-width: 1024px) {
  .panel-text {
    font-size: 30px;
  }

}

@media (max-width: 768px) {
  .panel-text {
    margin-left: 0;
    margin-top: 0;
  }
}

.image-container img {
  width: 100%;
  height: 100%;
  display: block;
  transition: all 1s cubic-bezier(.215, .61, .355, 1);
  opacity: 1;
  object-fit: contain;

}



.image-container img:hover {
  opacity: 0.5;
}

figure {
  position: relative;
  margin: 0 auto;
}

figcaption {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: block;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem;
  text-align: center;
  width: 100%;

  /*background-color: #e720cd;*/
  /*  margin: 0 auto;
  justify-content: center;
  pointer-events: none;*/

}

figcaption.bg-rosa {
  background-color: #f3d1ee;
}

figcaption.bg-verde {
  background-color: #bfeed2;
}

figcaption.bg-arancio {
  background-color: #f7b5ac;
}

figcaption.bg-azzurro {
  background-color: #a3aeb5;
}

figcaption.bg-giallo {
  background-color: #d1d7b4;
}

figcaption.bg-blu {
  background-color: #aea8d1;
}

figcaption.bg-verde-light {
  background-color: #b2daa6;
}

figcaption a {
  margin-top: 0.5rem;
  text-align: center;
  display: inline-block;
}



figcaption h3,
figcaption .text-figcaption {
  pointer-events: auto;
  /*per permettere il clic su link o pulsanti */
}

/*Pannello a scorrimento verticale per visualizzazione testo*/
.panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  color: #111;
  padding: 1rem;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
  z-index: 1;
  height: 100%;
  overflow-y: auto;
  pointer-events: none;
}

.panel.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}


.panel-content {
  max-width: 90%;
  margin: 0 auto;
  text-align: center;
}

.panel h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}


/*PUBBLICITA'PRODOTTI*/
.prodotti {
  background-color: #fffdf7;
  color: #333;
  padding: 3rem 1rem;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.contenitore {
  max-width: 960px;
  margin: 0 auto;
}

.prodotti h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #b41515;
  margin-bottom: 1rem;
  text-align: center;
}

.elenco-prodotti {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.elenco-prodotti li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #ddd;
}

.nome-prodotto {
  font-weight: bold;
  color: #000;
}

.call-to-action {
  text-align: center;
  font-size: 1.2rem;
  margin-top: 2rem;
  background-color: #f7f2eb;
  padding: 1rem;
  border-left: 4px solid #b41515;
}



/************SLIDER PRODOTTI************************/
/* CONTENITORE GENERALE */
.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
  padding: 1rem 0;
}

/* BOTTONI FRECCIA */
.slider-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  padding: 0 1rem;
  z-index: 10;
}
.slider-btn:focus {
  outline: 2px solid #000;
}

/* CONTENITORE SCORRIBILE */
.slider {
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  flex: 1;
}
.slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

/* TRACK + SLIDE */
.slider-track {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}
.slider-track li {
  scroll-snap-align: center;
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 1rem;
}

/* CONTENUTO SLIDE */
.slide-content {
  text-align: center;
  width: 100%;
  max-width: 400px;
}
.text-top,
.text-bottom {
  font-size: 1rem;
  margin: 0.5rem 0;
  color: #333;
}
figure {
  margin: 0;
}
.slider-img {
  width: 70%;
  max-width: 250px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ccc;
}

/* Responsive */
@media (max-width: 600px) {
  .text-top,
  .text-bottom {
    font-size: 0.9rem;
  }
  .slider-img {
    width: 80%;
    max-width: 200px;
  }
}




/******************ORARI************************************/
.orari {
  background-color: #fafafa;
  color: #222;
  padding: 3rem 1rem;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.orari h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #b41515;
  margin-bottom: 1rem;
  text-align: center;
}

.tabella-orari {
  width: 100%;
  max-width: 600px;
  margin: 2rem auto;
  border-collapse: collapse;
  text-align: left;
  font-size: 1rem;
}

.tabella-orari th,
.tabella-orari td {
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
}

.tabella-orari thead {
  background-color: #f1f1f1;
}

.tabella-orari td small {
  color: #666;
  font-style: italic;
  display: block;
  margin-top: 0.25rem;
}

.nota-estiva {
  text-align: center;
  font-size: 1rem;
  margin-top: 2rem;
  background-color: #fff8f5;
  padding: 1rem;
  border-left: 4px solid #b41515;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.paragrafo-centrato {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
}

/*********************MAPPA********************************/
.mappa-google {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}




/************************FOOTER*******************************************************************************/
.site-footer {
  background-color: #111;
  color: #eee;
  padding: 2rem 1rem;
  font-family: 'Arial', sans-serif;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  gap: 2rem;
}

@media (max-width: 768px) {
  .footer-container{gap: 0.5rem;}
}

.footer-col {
  flex: 1 1 250px;
  min-width: 220px;
}

.footer-col h3,
.footer-col h4 {
  color: #f4d03f;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: #fff;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #444;
  margin-top: 2rem;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-col{max-height: 150px;} /*Altezza max colonna su mobile*/
}



/*Icona telefono*/


.phone-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #28a745;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.phone-float:hover {
  background-color: #218838;
  transform: scale(1.1);
}

.phone-float svg {
  pointer-events: none;
}



/******************************MANICURE****************/
.manicure-section {
  font-family: 'Raleway', sans-serif;
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
  color: #222;
  line-height: 1.6;
}

.manicure-section h2,
.manicure-section h3 {
  color: #b41515;
  margin-top: 1.5rem;
}

.manicure-section ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.manicure-section ul li {
  list-style: disc;
  margin-bottom: 0.4rem;
}

.manicure-section p {
  margin: 0.8rem 0;
}

@media (max-width: 600px) {
  .manicure-section {
    padding: 1rem;
    font-size: 1rem;
  }

  .manicure-section h2 {
    font-size: 1.4rem;
  }

  .manicure-section h3 {
    font-size: 1.2rem;
  }
}

/***********************PEDICURE***************************/
.pedicure-section {
  font-family: 'Raleway', sans-serif;
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
  color: #222;
  line-height: 1.6;
}

.pedicure-section h2,
.pedicure-section h3 {
  color: #b41515;
  margin-top: 1.5rem;
}

.pedicure-section ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.pedicure-section ul li {
  list-style: disc;
  margin-bottom: 0.4rem;
}

.pedicure-section p {
  margin: 0.8rem 0;
}

@media (max-width: 600px) {
  .pedicure-section {
    padding: 1rem;
    font-size: 1rem;
  }

  .pedicure-section h2 {
    font-size: 1.4rem;
  }

  .pedicure-section h3 {
    font-size: 1.2rem;
  }
}

/*******************TRUCCO***********************************/
.trucco-hero-section {
  width: 100%;
  background-color: #fff;
  padding: 0;
  margin: 0;
}

.trucco-hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.trucco-img {
  flex: 1 1 50%;
  min-width: 300px;
  max-height: 100vh;
  overflow: hidden;
}

.trucco-img picture,
.trucco-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trucco-testo {
  flex: 1 1 50%;
  padding: 2rem;
  box-sizing: border-box;
  background-color: #faf8f4;
  color: #333;

  line-height: 1.6;
}

.trucco-testo h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #b41515;
  margin-bottom: 1rem;
}

.trucco-testo p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .trucco-hero-container {
    flex-direction: column;
  }

  .trucco-img,
  .trucco-testo {
    flex: 1 1 100%;
  }
}

/*FRECCIA PER RITORNO IN ALTO*/
#backToTop {
  position: fixed;
  bottom: 12rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  font-size: 1.8rem;
  background: linear-gradient(145deg, #f7d774, #e8b200);
  color: #2c2a2a;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.5);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.7),
    0 0 20px rgba(255, 215, 0, 0.4);
  transition: box-shadow 0.3s ease;
  z-index: 999;
}

#backToTop:hover {
  box-shadow: 0 0 15px rgba(255, 215, 0, 1),
    0 0 30px rgba(255, 215, 0, 0.6);
}



  /**************FINESTRE POPUP AVVISI CLIENTI*********************/


 
#popup-carousel {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  /*border: 3px solid #ff6600;*/
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  max-width: 90%;
  max-height: 80vh;
    min-height: 300px;
  width: 300px;
  animation: fadeIn 0.6s ease-out;
  color: #000;
  display: flex;
  align-items: center;
    justify-content: center;
  background-repeat: no-repeat;
display: flex;
transition: all 1s cubic-bezier(.215, .61, .355, 1);
overflow-y:auto;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

#popup-carousel .popup-content {
  position: relative;
  text-align: center;
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.85);
  padding: 3rem;
  /*border-radius: 15px;*/
  height: 100%;
 opacity: 0.5;
}

#popup-carousel .avviso-testo p {
  font-size: 1.2rem;
  line-height: 1.5;
  font-weight: bold;
  margin:0;

}

  #popup-carousel button#chiudi-avviso {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 1.5rem;
  background: #fff;
  border: 2px solid #ff6600;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
  transition: transform 0.2s ease;
}

#popup-carousel button#chiudi-avviso:hover {
  /*background: #ffd;*/
  transform: scale(1.1);
}


@media (max-width: 768px) {
  #popup-carousel {
    /*width: 50%;*/
    font-size: 1rem;
    /*bottom:30vh;
    left:50vw;
    */
     transform: translateX(-50%);
  }
  #popup-carousel .avviso-testo p {
    font-size: 1rem;
  }
}


@media (max-width: 600px)and (orientation: portrait){
  #popup-carousel {
    left: 50%;
    transform: translateX(-50%);
    /*width: 60vw;*/
    width: 80vw;
    max-width: 80vw;
	height: 90%;
  }
}

/* Stile mobile in orizzontale */
@media (orientation: landscape) {
  #popup-carousel {
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;   /* oppure 90vw, 100vw: decidi tu */
    max-width: 60vw;
  }
}


.mt{margin-top: 40px;};

.cta-special {
  background: #f7f7f7;
  border-left: 6px solid #c62828;
  padding: 20px;
  margin-top: 20px;
  border-radius: 8px;
}

.cta-special h2 {
  margin-top: 0;
  color: #c62828;
}

.cta-special h3 {
  margin: 10px 0 5px;
  color: #b71c1c;
}

.cta-special p,
.cta-special ul {
  margin: 10px 0;
}

.special-box {
  background: #fff5f5;
  padding: 15px 18px;
  border-radius: 6px;
  border: 1px solid #ffcdd2;
}

.special-box ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.special-box li {
  margin: 4px 0;
}




.microneedling-section {
  position: relative;
  padding: 6rem 1.5rem;
  background:
    radial-gradient(circle at top left, rgba(217, 162, 127, 0.16), transparent 26%),
    radial-gradient(circle at 100% 0%, rgba(181, 123, 86, 0.10), transparent 22%),
    linear-gradient(180deg, #fffaf6 0%, #f8f1eb 100%);
  overflow: hidden;
}

.microneedling-container {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}

.microneedling-media {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 24px 55px rgba(67, 40, 28, 0.14);
  background: #f3ece6;
  min-height: 560px;
  isolation: isolate;
}

.microneedling-video,
.microneedling-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.microneedling-media-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(45, 29, 22, 0.10) 0%, rgba(45, 29, 22, 0.18) 45%, rgba(45, 29, 22, 0.52) 100%);
  z-index: 1;
}

.microneedling-media-caption {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 2;
  color: #fff;
}

.microneedling-media-caption p {
  margin: 0.75rem 0 0;
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.24);
}

.microneedling-media-badge {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
}

.microneedling-content {
  padding: 2rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(94, 60, 43, 0.10);
  box-shadow: 0 22px 52px rgba(67, 40, 28, 0.10);
  backdrop-filter: blur(12px);
}

.microneedling-eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b57b56;
}

.microneedling-content h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  line-height: 1.02;
  color: #4a2f22;
  letter-spacing: -0.03em;
}

.microneedling-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #5a463b;
  margin-bottom: 1rem;
}

.microneedling-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #5d5149;
  margin-bottom: 1rem;
}

.microneedling-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin: 1.6rem 0;
}

.microneedling-benefit-card {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(94, 60, 43, 0.10);
  box-shadow: 0 12px 28px rgba(67, 40, 28, 0.06);
}

.microneedling-benefit-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  line-height: 1.3;
  color: #4a2f22;
}

.microneedling-benefit-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: #66574e;
}

.microneedling-note {
  font-size: 0.94rem;
  color: #7a6a61;
}

.microneedling-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.btn-microneedling {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #b57b56, #d9a27f);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  box-shadow: 0 10px 25px rgba(181, 123, 86, 0.25);
}

.btn-microneedling:hover,
.btn-microneedling:focus-visible {
  transform: translateY(-2px);
  opacity: 0.98;
}

.btn-microneedling--ghost {
  background: rgba(255, 255, 255, 0.92);
  color: #4a2f22;
  border: 1px solid rgba(94, 60, 43, 0.12);
  box-shadow: none;
}

@media (max-width: 900px) {
  .microneedling-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .microneedling-section {
    padding: 4rem 1rem;
  }

  .microneedling-media,
  .microneedling-video,
  .microneedling-image {
    min-height: 380px;
  }

  .microneedling-content {
    padding: 1.25rem;
    border-radius: 24px;
  }

  .microneedling-benefits-grid {
    grid-template-columns: 1fr;
  }
}


.lamp-section{margin: 0 auto; padding: 20px;}

/* PALETTE LEGGERA COORDINATA REGNO DEL SOLE */
:root {
  --rds-rose: #b76e79;
  --rds-rose-dark: #7d4650;
  --rds-rose-gold: #c8946d;
  --rds-ivory: #fff9f6;
  --rds-charcoal: #292426;
  --rds-text: #332d30;
  --rds-white: #fff;
  --rds-shadow: rgba(71, 53, 61, 0.2);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000001;
  padding: 0.75rem 1rem;
  border: 2px solid #b77752;
  border-radius: 0.5rem;
  background: #ffffff;
  color: #2f2525;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid #7d4650;
  outline-offset: 3px;
}

.social-links a[data-social-label]::after {
  content: attr(data-social-label);
  position: absolute;
  z-index: 20;
  left: 50%;
  bottom: calc(100% + 10px);
  padding: 6px 9px;
  border: 1px solid rgba(183, 138, 97, 0.55);
  border-radius: 7px;
  color: #fff;
  background: #302b2a;
  box-shadow: 0 7px 18px rgba(48, 43, 42, 0.2);
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 5px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.social-links a[data-social-label]::before {
  content: "";
  position: absolute;
  z-index: 21;
  left: 50%;
  bottom: calc(100% + 5px);
  width: 8px;
  height: 8px;
  background: #302b2a;
  transform: translateX(-50%) rotate(45deg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.social-links a[data-social-label]:hover::after,
.social-links a[data-social-label]:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.social-links a[data-social-label]:hover::before,
.social-links a[data-social-label]:focus-visible::before {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .social-links a[data-social-label]::after { transition: none; }
}

body,
html { color: var(--rds-text); }

/* Accenti ripetuti: coordinati senza dominare la pagina. */
.telefono-link,
.contatti-title,
.servizi-centro h2,
.lamp-section h2,
.prodotti h2,
.orari h2,
.manicure-section h2,
.manicure-section h3,
.pedicure-section h2,
.pedicure-section h3,
.trucco-testo h2 {
  color: var(--rds-rose-dark);
}

.telefono-link:hover,
.telefono-link:focus-visible { color: var(--rds-rose); }

.hero-button,
.phone-float {
  color: var(--rds-charcoal);
  background: var(--rds-rose-gold);
  box-shadow: 0 7px 18px var(--rds-shadow);
}

.hero-button:hover,
.hero-button:focus-visible,
.phone-float:hover,
.phone-float:focus-visible {
  color: var(--rds-white);
  background: var(--rds-rose-dark);
}

.buttonReadMore { color: var(--rds-rose-dark); }
.buttonReadMore:hover,
.buttonReadMore:focus-visible {
  color: var(--rds-white);
  background: var(--rds-rose);
  border-radius: 50%;
}

/* Icone social neutre; i colori ufficiali compaiono durante l'interazione. */
.social-links a { color: var(--rds-charcoal); }
.social-links a:hover:first-child,
.social-links a:focus-visible:first-child { color: #e1306c; }
.social-links a:hover:nth-child(2),
.social-links a:focus-visible:nth-child(2) { color: #1877f2; }

/* Card nuovamente multicolore, con pastelli armonizzati. */
figcaption.bg-rosa { background-color: #f2d7e8; }
figcaption.bg-verde { background-color: #d7e8dc; }
figcaption.bg-arancio { background-color: #f4d3c6; }
figcaption.bg-azzurro { background-color: #cedde3; }
figcaption.bg-giallo { background-color: #ede5bd; }
figcaption.bg-blu { background-color: #dcd5e9; }
figcaption.bg-verde-light { background-color: #dceacf; }

figcaption h2,
figcaption h3,
figcaption .text-figcaption { color: var(--rds-charcoal); }

.nota-estiva {
  background-color: var(--rds-ivory);
  border-left-color: var(--rds-rose-gold);
}

/* Il footer resta neutro anziché diventare una grande superficie colorata. */
.site-footer {
  color: #f5eeee;
  background-color: var(--rds-charcoal);
}
.footer-col h3,
.footer-col h4 { color: #e8c9b1; }

#backToTop {
  color: var(--rds-charcoal);
  background: var(--rds-rose-gold);
  box-shadow: 0 6px 16px var(--rds-shadow);
}
#backToTop:hover,
#backToTop:focus-visible {
  background: var(--rds-rose-dark);
  box-shadow: 0 8px 20px rgba(71, 53, 61, 0.32);
}

#popup-carousel button#chiudi-avviso {
  color: var(--rds-charcoal);
  border-color: var(--rds-rose-gold);
}

.btn-microneedling {
  color: var(--rds-charcoal);
  background: linear-gradient(135deg, var(--rds-rose-gold), #b77e5d);
  box-shadow: 0 10px 24px rgba(141, 98, 73, 0.22);
}
.btn-microneedling--ghost {
  color: var(--rds-rose-dark);
  background: var(--rds-white);
  border-color: #e8c9b1;
  box-shadow: none;
}

/* Menu hamburger coordinato alla palette leggera. */
@media (max-width: 800px) {
  .menu-toggle {
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: rgba(255, 249, 246, 0.96);
    border: 1px solid rgba(200, 148, 109, 0.72);
    border-radius: 50%;
    box-shadow: 0 5px 14px rgba(71, 53, 61, 0.18);
  }

  .menu-toggle .bar {
    width: 23px;
    height: 2px;
    background-color: var(--rds-charcoal);
    border-radius: 999px;
  }

  .menu-toggle:hover,
  .menu-toggle:focus-visible {
    background: #f7eee9;
    border-color: var(--rds-rose);
  }

  .menu-toggle:focus-visible {
    outline: 3px solid rgba(183, 110, 121, 0.35);
    outline-offset: 3px;
  }

  .menu-toggle.open {
    background: var(--rds-rose-dark);
    border-color: var(--rds-rose-dark);
  }

  .menu-toggle.open .bar:nth-child(1),
  .menu-toggle.open .bar:nth-child(3) {
    background-color: var(--rds-white);
  }

  .main-nav {
    background: linear-gradient(180deg, var(--rds-charcoal) 0%, #3b3236 100%);
    border-left: 3px solid var(--rds-rose-gold);
    box-shadow: -12px 0 32px rgba(41, 36, 38, 0.28);
  }

  .main-nav ul li {
    border-bottom-color: rgba(232, 201, 177, 0.28);
  }

  .main-nav a {
    color: #fff9f6;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible,
  .main-nav a.open {
    color: #f0c7aa;
  }

  .main-nav a:focus-visible {
    outline: 2px solid var(--rds-rose-gold);
    outline-offset: 4px;
  }

  .main-nav .arrow {
    color: var(--rds-rose-gold);
  }

  .main-nav .submenu {
    margin-top: 0.6rem;
    padding-left: 0.85rem;
    background: rgba(183, 110, 121, 0.18);
    border-left: 2px solid var(--rds-rose-gold);
    border-radius: 0 10px 10px 0;
  }

  .main-nav .submenu a {
    color: #fff9f6;
  }

  .main-nav.open > ul > li {
    opacity: 0;
    animation: rdsMenuItemIn 360ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .main-nav.open > ul > li:nth-child(2) { animation-delay: 55ms; }
  .main-nav.open > ul > li:nth-child(3) { animation-delay: 110ms; }
  .main-nav.open > ul > li:nth-child(4) { animation-delay: 165ms; }
  .main-nav.open > ul > li:nth-child(5) { animation-delay: 220ms; }

  .main-nav .submenu.open-submenu > li {
    opacity: 0;
    animation: rdsSubmenuItemIn 300ms ease-out forwards;
  }

  .main-nav .submenu.open-submenu > li:nth-child(2) { animation-delay: 35ms; }
  .main-nav .submenu.open-submenu > li:nth-child(3) { animation-delay: 70ms; }
  .main-nav .submenu.open-submenu > li:nth-child(4) { animation-delay: 105ms; }
  .main-nav .submenu.open-submenu > li:nth-child(5) { animation-delay: 140ms; }
  .main-nav .submenu.open-submenu > li:nth-child(6) { animation-delay: 175ms; }
  .main-nav .submenu.open-submenu > li:nth-child(7) { animation-delay: 210ms; }
  .main-nav .submenu.open-submenu > li:nth-child(8) { animation-delay: 245ms; }
}

@keyframes rdsMenuItemIn {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes rdsSubmenuItemIn {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .main-nav.open > ul > li,
  .main-nav .submenu.open-submenu > li {
    opacity: 1;
    animation: none;
    transform: none;
  }
}

/* Menu desktop coordinato con la palette leggera. */
@media (min-width: 769px) {
  .main-nav {
    background: linear-gradient(100deg, var(--rds-charcoal) 0%, #3b3236 100%);
    border: 1px solid rgba(200, 148, 109, 0.65);
    box-shadow: 0 7px 20px rgba(71, 53, 61, 0.18);
  }

  .main-nav > ul > li > a {
    color: #fff9f6;
    border-radius: 999px;
  }

  .main-nav > ul > li > a:hover,
  .main-nav > ul > li > a:focus-visible {
    color: var(--rds-charcoal);
    background-color: #f2d7e8;
  }

  .main-nav a:focus-visible {
    outline: 2px solid var(--rds-rose-gold);
    outline-offset: 3px;
  }

  .main-nav .arrow {
    color: #e8c9b1;
  }

  .main-nav .submenu {
    overflow: hidden;
    background-color: var(--rds-ivory);
    border: 1px solid rgba(200, 148, 109, 0.62);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(41, 36, 38, 0.2);
  }

  .main-nav .submenu li a {
    color: var(--rds-charcoal);
    background-color: var(--rds-ivory);
    transition: color 220ms ease, background-color 220ms ease, padding-left 220ms ease;
  }

  .main-nav .submenu li a:hover,
  .main-nav .submenu li a:focus-visible {
    color: var(--rds-rose-dark);
    background-color: #f2d7e8;
    padding-left: 1.25rem;
  }
}
