/* =======================
   RESET BASE
======================= */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #fefaf6;
  color: #000000;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: url('../img/digital-bg.svg'), linear-gradient(135deg, #fefaf6 60%, #e0e7ef 100%);
}

/* =======================
   NAVBAR (Header Top)
======================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: #540b0e; /* bordeaux corretto */
  color: #ffffff;
}

.navbar-links ul {
  list-style: none;       
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}


/* Lista dei link di navigazione */



/* Animazione menu */
@keyframes slideDownMenu {
  from { opacity: 0; transform: translateY(-30px);}
  to   { opacity: 1; transform: translateY(0);}
}

/* Wrapper per titolo e menu */
.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-left: 1.5rem;   /* aggiungi questa riga per un piccolo margine a sinistra */
  padding-right: 1.5rem;
}

.navbar-content nav {
  margin-left: auto;
}

/* Stile per il nome in alto (brand) */
.brand {
  position: static;
  left: auto;
  transform: none;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: left;
  white-space: nowrap;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  pointer-events: auto;
  padding-left: 0;        /* imposta a zero */
}



/* Link nel menu */
.navbar a {
  color: #fff;                   /* testo bianco */
  text-decoration: none;
  font-weight: 500;
  border: 2px solid #fff;        /* bordo bianco */
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
  transition: background 0.3s, color 0.3s, border 0.3s;
  background: transparent;
}


.navbar a:hover {
  text-decoration: none;
  background-color: #f0e7e1;     /* beige chiaro */
  color: #540b0e;                /* testo bordeaux */
  border: 2px solid #540b0e;     /* bordo bordeaux */
}

/* =======================
   HERO SECTION CENTRALE
======================= */

.hero {
  position: relative;
  text-align: center;
  padding: 6rem 2rem 4rem 2rem;
  padding-bottom: 1.5rem;
  overflow: hidden;
  z-index: 0;
  animation: bgMove 18s ease-in-out infinite;
}

/* Overlay per fade-in graduale */
.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.2) 100%);
  opacity: 0;
  animation: heroFadeIn 2.5s ease forwards;
  pointer-events: none;
}

/* Fade-in graduale */
@keyframes heroFadeIn {
  from { opacity: 1; }
  to   { opacity: 0; }
}


.hero-box {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 16px #e0e0e0;
  padding: 2.5rem 2rem 2rem 2rem;
  display: inline-block;
  margin-bottom: 2.5rem;
  text-align: center;
  animation: fadeInUp 1s ease both;
}

.hero-box h1 {
  color: #540b0e;
  margin-bottom: 1.2rem;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: normal;
}
.hero-box p {
  color: #333;
  font-size: 1.2rem;
  margin: 0;
}

.hero.portfolio-bg {
  background: url('../img/portfolio-bg.svg') no-repeat center center;
  background-size: cover;
}

.hero > p {
  background: linear-gradient(90deg, #f0e7e1 60%, #e0e7ef 100%);
  color: #540b0e;
  border-left: 6px solid #e07a5f;
  border-radius: 50px 18px 50px 18px;
  box-shadow: 0 2px 16px #e0e7e0;
  padding: 1.2rem 2rem;
  display: inline-block;
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
}
/* ======================= TEST HERO SECTION ======================= */
.hero-section {
  background: linear-gradient(135deg, #fefaf6 60%, #e0e7ef 100%);
  padding-top: 6rem;
  padding-bottom: 0; /* togli padding-bottom per evitare spazio sotto */
  position: relative;
  overflow: hidden; /* importante per la wave assoluta */
}

.hero-wave {
  width: 100vw;
  min-width: 100%;
  height: 120px; /* aumenta l'altezza per coprire meglio */
  position: absolute;
  left: 0;
  bottom: -1px; /* attacca la wave al fondo della sezione */
  z-index: 10;
  background: url('../img/wave.svg') repeat-x bottom;
  background-size: cover;
  opacity: 0.5;
  pointer-events: none;
}


.presentazione-section {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(2px);
  box-shadow: 0 4px 24px #e0e7e011;
  padding-top: 2rem;
  padding-bottom: 2rem;
  position: relative;
  z-index: 2;
}




/* ======================= PORTFOLIO SECTION ======================= */
.portfolio-section {
  margin: 3rem auto;
  max-width: 900px;
  padding: 0 1rem;
}

.portfolio-section h2 {
  color: #540b0e;
  font-size: 2rem;
  margin-bottom: 1.2rem;
  text-align: left;
  letter-spacing: 1px;
}

.portfolio-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px #e0e7e0;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  text-align: left;
  border-left: 6px solid #540b0e;
  transition: box-shadow 0.2s;
}

.portfolio-item h3 {
  color: #540b0e;
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1.3rem;
}

.portfolio-item ul,
.portfolio-section ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 0 0;
  color: #333;
  font-size: 1.05rem;
}

.portfolio-item li,
.portfolio-section li {
  margin-bottom: 0.4rem;
}

.portfolio-section p {
  color: #333;
  font-size: 1.08rem;
  margin: 0.5rem 0 0 0;
}


/* Link nel testo */
.testo-link {
  color: #540b0e;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s;
}
.testo-link:hover {
  color: #e07a5f;
}

/* Titolo principale (nome) */
.nome-principale {
  font-size: 3.2rem;
  color: #540b0e; /* bordeaux */
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
}


/* =======================
   BOTTONI CTA
======================= */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

/* Pulsante primario (bordeaux) */
.btn.primary {
  background-color: #540b0e;
  color: #ffffff;
}

.btn.primary:hover {
  background-color: #6b1014; /* bordeaux più scuro */
}

/* Pulsante secondario (contorno bordeaux) */
.btn.secondary {
  border: 2px solid #540b0e;
  color: #540b0e;
  background-color: transparent;
}

.btn.secondary:hover {
  background-color: #f0e7e1; /* beige più scuro */
}

.btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 4px 24px #540b0e33;
}

/* =======================
   ASPIRAZIONI HOMEPAGE 
======================= */
.cta-aspirazioni {
  display: flex;
  justify-content: center;
  margin: 2.5rem 0 2.5rem 0;
}

.btn-aspirazioni {
  background: linear-gradient(90deg, #e07a5f 0%, #540b0e 100%);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 1.3rem 3.2rem;
  border-radius: 48px;
  box-shadow: 0 6px 32px #540b0e33;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  letter-spacing: 0.5px;
  border: none;
  outline: none;
  cursor: pointer;
}

.btn-aspirazioni:hover {
  background: linear-gradient(90deg, #540b0e 0%, #e07a5f 100%);
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 32px #e07a5f44;
}

/* =======================
   FRECCIA SCROLL DOWN HOMEPAGE
======================= */
.scroll-down-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2.5rem 0 1.5rem 0;
  width: 100%;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s;
}
.scroll-down-arrow span {
  display: block;
  width: 54px;      /* aumentato */
  height: 54px;     /* aumentato */
  border-bottom: 6px solid #540b0e; /* più spesso */
  border-right: 6px solid #540b0e;  /* più spesso */
  transform: rotate(45deg);
  animation: bounceDown 1.3s infinite;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 6px 24px #540b0e22;
  background: transparent;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0) rotate(45deg);}
  50%      { transform: translateY(16px) rotate(45deg);}
}
.scroll-down-arrow:hover span {
  border-color: #e07a5f;
  box-shadow: 0 8px 24px #e07a5f33;
}

/* =======================
   SCROLL SMOOTH
======================= */
html {
  scroll-behavior: smooth;
}

/* =======================
   BLOCCO PRESENTAZIONE HOMEPAGE
======================= */
.presentazione {
  margin: 4rem auto 3rem auto;
  max-width: 900px;
  background: rgba(255,255,255,0.6); /* più opaco */
  border-radius: 24px;
  box-shadow: 0 4px 24px #e0e7e011; /* ombra quasi invisibile */
  padding: 2.5rem 3rem 2.5rem 2.5rem;
  text-align: left;
  border-left: 8px solid #540b0e;
  position: relative;
  backdrop-filter: blur(2px);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s, transform 0.7s;
}


.presentazione.visible {
  opacity: 1;
  transform: translateY(0);
}

.presentazione h2 {
  color: #540b0e;
  margin-bottom: 2.2rem;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.presentazione p {
  color: #222;
  font-size: 1.22rem;
  line-height: 1.8;
  margin: 0 0 2.2rem 0;
  padding: 0;
  font-weight: 400;
  position: relative;
}

.presentazione p:not(:last-child)::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #e07a5f 40%, #540b0e 100%);
  border-radius: 2px;
  margin: 2rem 0 0 0;
  opacity: 0.7;
}

/* =======================
   BLOCCO CONNESSIONI LINKEDIN
======================= */
.presentazione-linkedin {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 1.18rem;
  font-weight: 500;
}

/* =======================
   STILE GENERALE
======================= */
.bordeaux {
  color: #540b0e;
  font-weight: 700;
}

/* =======================
   BACKGROUND PORTFOLIO PAGE
======================= */
body.portfolio-bg {
  background-image: url('../img/portfolio-bg.svg'), linear-gradient(135deg, #fefaf6 60%, #e0e7ef 100%);
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  background-position: center center, center center;
}

/* =======================
   ASPIRAZIONI HOMEPAGE
======================= */
.aspirazioni-titolo {
  text-align: center;
  color: #540b0e;
  font-size: 2.7rem;
  font-weight: 800;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.aspirazioni-box {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 16px #e0e0e0;
  padding: 2.5rem 2rem 2rem 2rem;
  margin: 2.5rem auto;
  text-align: center;
  animation: fadeInUp 1s ease both;
  max-width: 1100px;
  width: 100%;
  min-width: 320px;
  display: block;
  box-sizing: border-box;
}

.aspirazioni-box {
  max-width: 1300px;
}



.aspirazioni-box h1 {
  font-size: 2.7rem;
}

.aspirazioni-box p {
  font-size: 1.22rem;
  color: #222;
  line-height: 1.8;
  margin-bottom: 2.2rem;
  text-align: center;
}


.aspirazioni-anim {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s, transform 0.7s;
}

.aspirazioni-anim.visible {
  opacity: 1;
  transform: translateY(0);
}


/* =======================
    BACKGROUND ASPIRAZIONI PAGE
======================= */
body.aspirazioni-bg {
  background: url('../img/aspirazioni-bg.png') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  z-index: 0;
}

body.aspirazioni-bg::before {
  display: none; /* Nasconde il velo trasparente */
}

body.aspirazioni-bg {
  position: relative;
  z-index: 0;
}

@keyframes bounceDownAspirazioni {
  0%, 100% { transform: translateY(0) rotate(45deg);}
  50%      { transform: translateY(22px) rotate(45deg);}
}

.scroll-down-arrow-aspirazioni:hover span {
  border-color: #540b0e;
  box-shadow: 0 12px 36px #540b0e55, 0 0 0 8px #e07a5f22;
  background: #f0e7e1;
}


/* =======================
   FOOTER
======================= */
footer {
  padding: 1rem;
  text-align: center;
  background-color: #dddddd; /* grigio chiaro */
  font-size: 0.9rem;
}

footer p {
  margin: 0;
  color: #333333;
}

/* =======================
   ANIMAZIONI HOMEPAGE
======================= */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px);}
  to   { opacity: 1; transform: translateY(0);}
}
.hero h1, .hero p, .cta-buttons {
  animation: fadeInUp 1s ease both;
}
.hero p { animation-delay: 0.2s; }
.cta-buttons { animation-delay: 0.4s; }


/* =======================
   ANIMAZIONI PORTFOLIO
======================= */

/* Animazione fade-in up per i box */
@keyframes fadeInUpBox {
  from { opacity: 0; transform: translateY(40px);}
  to   { opacity: 1; transform: translateY(0);}
}

/* Animazione fade-in per i titoli */
@keyframes fadeInTitle {
  from { opacity: 0; letter-spacing: 0.2em; }
  to   { opacity: 1; letter-spacing: 0.05em; }
}

/* Applica animazione ai box del portfolio */
.portfolio-item,
.portfolio-section h2 {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s, transform 0.7s;
}

.portfolio-item.visible,
.portfolio-section h2.visible {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUpBox 0.9s cubic-bezier(.23,1.02,.64,1) both;
}



@keyframes bgMove {
  0% {
    background-position: 50% 50%;
    background-size: 105%, cover;
  }
  50% {
    background-position: 53% 47%;
    background-size: 110%, cover;
  }
  100% {
    background-position: 50% 50%;
    background-size: 105%, cover;
  }
}

/* Applica l'animazione al background della homepage */
.hero {
  animation: bgMove 18s ease-in-out infinite;
}

/* =======================
   MOBILE STILI
======================= */
.hero-box,
.presentazione,
.portfolio-section,
.portfolio-item {
  width: 100%;
  box-sizing: border-box;
}

/* =======================
   STILE IMMAGINI ADATTIVE
======================= */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =======================
   MOBILE ADAPTATIONS
======================= */
@media (max-width: 900px) {
  .navbar-content,
  .hero-box,
  .presentazione,
  .aspirazioni-box,
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .aspirazioni-titolo {
    font-size: 1.7rem;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
  }
}

/* ========== MENU RESPONSIVO HAMBURGER ========== */
/* --- Stile bottone hamburger --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  gap: 4px;
  padding: 8px;
  z-index: 1100;
}
.hamburger span {
  width: 24px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
  display: block;
}

/* --- Comportamento responsive --- */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .navbar-links ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: #fff;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    z-index: 1000;
  }
  .navbar-links ul.open {
    display: flex;
  }
  .navbar-links ul li a {
    color: #540b0e;
    font-weight: 600;
    text-decoration: none;
  }
}


@media (max-width: 600px) {
  body {
    font-size: 1rem;
  }
  .navbar-content {
    flex-direction: column;
    align-items: center;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .hero-box h1,
  .presentazione h2,
  .aspirazioni-box h1 {
    font-size: 1.3rem;
  }
  .presentazione,
  .aspirazioni-box,
  .cta-buttons a,
  .btn,
  .btn-aspirazioni {
    font-size: 1rem;
    padding: 1rem 1.2rem;
  }
  .scroll-down-arrow,
  .scroll-down-arrow-aspirazioni {
    margin: 0.5rem 0;
  }
}


/* =======================
   STILE PER BOLLE RUOLI APSIRAZIONI
======================= */
.bolle-ruoli {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.2rem;
  margin: 2.5rem auto 3.5rem auto;
  max-width: 1100px;
}

.bolla-ruolo {
  background: #540b0e;
  color: #fff;
  border-radius: 50%;
  width: 250px;
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px #540b0e33;
  text-align: center;
  padding: 1.5rem 1.2rem;
  font-size: 1.18rem;
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative;
}
.bolla-ruolo strong {
  font-size: 1.45rem;
  margin-bottom: 0.7rem;
  color: #f0e7e1;
  letter-spacing: 1px;
  font-weight: 800;
  display: block;
}
.bolla-ruolo span {
  font-size: 1rem;
  color: #fff;
  margin-top: 0.4rem;
  opacity: 0.95;
}
.bolla-ruolo:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 10px 32px #e07a5f44;
  background: #6b1014;
}

/* Responsive bolle */
@media (max-width: 900px) {
  .bolla-ruolo {
    width: 200px;
    height: 200px;
    font-size: 1.05rem;
    padding: 1.1rem 0.7rem;
  }
}
@media (max-width: 600px) {
  .bolla-ruolo {
    width: 95vw;
    max-width: 360px;
    height: auto;
    border-radius: 32px;
    padding: 1.3rem 1.1rem;
  }
  .aspirazioni-box {
    padding: 1.2rem 0.7rem 1.2rem 0.7rem;
    max-width: 98vw;
    min-width: unset;
  }
  .bolla-ruolo strong {
    font-size: 1.18rem;
  }
}

/* =======================
   STILE PER LA PAGINA CHAIN
======================= */
.chain-box {
  background: #ffffffcc; /* bianco leggermente trasparente */
  border-radius: 24px;
  box-shadow: 0 2px 16px #e0e0e0;
  padding: 2.5rem 2rem 2rem 2rem;
  margin: 2.5rem auto;
  text-align: left;
  animation: fadeInUp 1s ease both;
  max-width: 1100px;
  width: 100%;
  box-sizing: border-box;
  backdrop-filter: blur(3px);
}

.chain-box h2 {
  color: #540b0e;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.chain-box p {
  color: #222;
  font-size: 1.18rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.chain-titolo {
  text-align: center;
  color: #540b0e;
  font-size: 2.7rem;
  font-weight: 800;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

/* =======================
   BACKGROUND CHAIN PAGE
======================= */
body.chain-bg {
  background-color: #f0e7e1; /* Colore di base */
  background-image: url('../img/chain-bg.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 125% auto;
}


/* ========== CHAIN TAGLINE BOX ========== */
.chain-tagline {
  opacity: 0;
  transform: scale(0.95);
  animation: pulseZoomIn 1s ease-out 0.8s forwards;
  border: 3px solid #540b0e;       /* bordo bordeaux */
  border-radius: 50px;             /* rende il bordo circolare */
  padding: 2rem 2rem 2rem 2rem;         /* spazio interno */
  display: inline-block;           /* per contenere solo il testo */
  margin: 2.5rem auto;
  max-width: 1100px;
  width: 100%;
  background-color: #ffffffcc;     /* leggero sfondo bianco semitrasparente */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* leggera ombra */
  transition: all 0.8s ease;
}

.chain-tagline h2 {
  font-size: 2rem;
  color: #540b0e;
  margin-bottom: 1rem;
}

.chain-tagline::after {
  content: "";
  width: 80px;
  height: 4px;
  background-color: #540b0e;
  display: block;
  margin: 0.5rem auto 0 auto;
  border-radius: 4px;
}

.chain-tagline p {
  font-size: 1.25rem;
  color: #333;
  line-height: 1.8;
  margin-top: 1rem;
}


/* ========== ANIMAZIONI CHAIN ========== */

/* Animazione leggera per il primo blocco */
.chain-box.hero-anim {
  animation: fadeSlideDown 1.2s ease-out both;
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animazione moderna per la tagline */
.chain-tagline {
  opacity: 0;
  transform: scale(0.95);
  animation: pulseZoomIn 1s ease-out 0.8s forwards !important;
}

@keyframes pulseZoomIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }

}

/* =======================
   BOLLE PERCHE CHAIN
======================= */
.chain-perche {
  text-align: center;
  margin: 3rem auto 2.5rem auto;
}

.chain-perche-titolo {
  color: #540b0e;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 2.2rem;
  letter-spacing: 1px;
}

.chain-bolle-wrapper {
  display: flex;
  justify-content: center;
  gap: 2.2rem;
  flex-wrap: wrap;
}

.chain-bolla {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 4px 24px #e0e7e044;
  padding: 2.2rem 1.5rem 1.5rem 1.5rem;
  min-width: 180px;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 2.5px solid #f0e7e1;
}

.chain-bolla-num {
  background: #e07a5f;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  box-shadow: 0 2px 8px #e07a5f33;
  border: 3px solid #fff;
}

.chain-bolla-testo {
  color: #540b0e;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.5;
}

.chain-bolla:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 10px 32px #e07a5f44;
  border-color: #e07a5f;
}

@media (max-width: 900px) {
  .chain-bolle-wrapper {
    gap: 1.2rem;
  }
  .chain-bolla {
    min-width: 140px;
    max-width: 180px;
    padding: 1.5rem 0.7rem 1.2rem 0.7rem;
  }
}

@media (max-width: 600px) {
  .chain-bolle-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .chain-bolla {
    width: 95vw;
    max-width: 350px;
    min-width: unset;
  }
}

