/* ==========================================================================
   00. FONT
   ========================================================================== */
/* (Hai già i link in <head>; l'import qui è opzionale. Se vuoi, puoi rimuoverlo) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Roboto:wght@400;500;700&display=swap');

/* ==========================================================================
   01. RESET + VARIABILI
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root{
  --c-bg: #ffffff;
  --c-dark: #2D2D2D;
  --c-ink: #1A1A1A;
  --c-text: #333333;
  --c-muted: #666666;
  --c-accent: #2E5984;
  --c-accent-soft: #A3C1DA;
  --c-light: #f5f5f5;
}

html, body {
  max-width: 100%;
  overflow-x: clip;
  font-family: 'Roboto', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: var(--c-text);
  line-height: 1.6;
  background-color: var(--c-bg);
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--c-ink);
  font-weight: 600;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

.title-center {
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-align: center;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--c-accent-soft);
  outline-offset: 3px;
}


/* BOTTONI FISSI - BOTTOM LEFT */
.fixed-buttons {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-fixed,
.whatsapp-fixed {
  z-index: 9999;
  color: #fff;
  padding: 15px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-fixed {
  position: static;
  background: var(--c-accent);
  box-shadow: 0 4px 15px rgba(46, 89, 132, 0.4);
}

.whatsapp-fixed {
  position: static;
  background: #25D366;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.phone-fixed:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(46, 89, 132, 0.6);
  background: #1e3a54;
}

.whatsapp-fixed:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  background: #1da851;
}

.phone-fixed svg,
.whatsapp-fixed svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .fixed-buttons {
    bottom: 20px;
    left: 20px;
    gap: 10px;
  }

  .phone-fixed,
  .whatsapp-fixed {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}


/* BOTTONI SU SEZIONI SCURE */
.dark-section .btn-primary,
.dark-section .btn-request,
.cta-section .btn-primary {
  background: #fff;
  color: var(--c-dark);
  border: 2px solid #fff;
}

.dark-section .btn-primary:hover,
.dark-section .btn-request:hover,
.cta-section .btn-primary:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

/* ==========================================================================
   02. COOKIE BANNER
   ========================================================================== */
.cookie-notice {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--c-dark);
  color: #fff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10000;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  gap: 15px;
}

.cookie-notice a { color: #fff; text-decoration: underline; }

.btn-cookie {
  background: var(--c-dark);
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 4px;
  font-weight: 800;
}

/* ==========================================================================
   03. HEADER (come in HTML)
   - call-bar (mobile only)
   - header
   - nav-container
   - brand + slogan
   - hamburger
   ========================================================================== */

/* Phone circle - solo mobile */
.phone-circle {
  display: none;
  width: 45px;
  height: 45px;
  background: var(--c-dark);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  margin-left: auto;
  margin-right: 15px;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

header.transparent .phone-circle {
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.5);
}

.phone-circle:hover {
  transform: scale(1.05);
  background: var(--c-ink);
}

.phone-circle svg {
  width: 20px;
  height: 20px;
}

/* phone-circle: rimosso da mobile, non serve più nel header */

header {
  background: #fff;
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Header trasparente iniziale */
header.transparent {
  background: transparent;
  box-shadow: none;
}

header.scrolled {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

/* Scritte bianche quando header è trasparente */
header.transparent .brand {
  color: #fff;
}

header.transparent .brand strong {
  color: #fff;
}

header.transparent .slogan {
  color: rgba(255,255,255,0.8);
}

header.transparent .nav-link {
  color: #fff;
}

header.transparent .nav-link:hover {
  color: rgba(255,255,255,0.7);
}

header.transparent .nav-link::after {
  background: #fff;
}

header.transparent .menu-toggle span {
  background: #fff;
}

/* Scritte normali quando scrolled */
header.scrolled .brand {
  color: var(--c-dark);
}

header.scrolled .brand strong {
  color: #2E5984;
}

header.scrolled .slogan {
  color: var(--c-muted);
}

header.scrolled .nav-link {
  color: var(--c-dark);
}

header.scrolled .menu-toggle span {
  background: var(--c-dark);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  gap: 20px;
}

.brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--c-dark);
  letter-spacing: -1px;
  line-height: 0.9;
}
.brand strong { color: #2E5984; }

.slogan {
  font-size: 0.8rem;
  color: var(--c-muted);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Hamburger */
.menu-toggle {
  display: none; /* desktop: nascosto */
  flex-direction: column;
  justify-content: space-between;
  width: 35px;
  height: 22px;
  cursor: pointer;
  margin-left: auto; /* sempre a destra */
}

.menu-toggle span {
  width: 100%;
  height: 4px;
  background: var(--c-dark);
  border-radius: 2px;
}

/* Nav links */
.nav-links { 
  display: flex; 
  gap: 20px; 
  align-items: center; 
  list-style: none;
}

.nav-link {
  color: var(--c-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--c-dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-dark);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--c-dark);
}

.nav-link.active::after {
  width: 100%;
}

/* Menu mobile */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.menu-toggle span {
  transition: all 0.3s ease;
}
/* Pulsante X per chiudere menu mobile */
.menu-close {
  display: none; /* Nascosto su desktop */
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 40px;
  font-weight: 300;
  color: var(--c-dark);
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 0;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
  z-index: 1001;
}

.menu-close:hover {
  transform: rotate(90deg);
  color: var(--c-dark);
}

.menu-close:active {
  transform: rotate(90deg) scale(0.9);
}

/* Mostra la X solo quando il menu è aperto su mobile */
@media (max-width: 768px) {
  .nav-links.active .menu-close {
    display: block;
  }
}
/* ==========================================================================
   04. HERO (come in HTML)
   - full screen "bella"
   - titolo ridimensionato e controllato
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(rgba(45, 45, 45, 0.8), rgba(61, 61, 61, 0.7)),
    url('facciata_marina.jpg') center/cover no-repeat fixed;
  color: #fff;
  text-align: left;
  width: 100%;
  padding: 60px 0;
}

/* Supporto: il contenuto nel container resta a sinistra */
.hero .container {
  margin-left: auto;
  margin-right: auto;
}



.hero .container { width: 90%; max-width: 1100px; }

.badge {
  color: #fff;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  display: inline-block;
}

.hero h1 {
  color: #fff;
  /* Ridotto rispetto al tuo clamp originale, così non è più "abnorme" su desktop */
  font-size: clamp(2.2rem, 5.5vw, 4.4rem);
  line-height: 1.05;
  margin: 18px 0;
  font-weight: 900;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
  max-width: 16ch; /* aiuta a mantenere composizione elegante */
}

.hero-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  max-width: 700px;
  margin: 0 0 35px;
  color: #fff;
  opacity: 0.92;
}

.btn-primary {
  background: var(--c-dark);
  color: #fff;
  padding: 18px 35px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  border-radius: 4px;
  display: inline-block;
  box-shadow: 0 8px 15px rgba(46, 89, 132, 0.3);
  transition: transform 0.25s ease, background 0.25s ease;
}
.btn-primary:hover { transform: translateY(-3px); background: var(--c-dark); }

/* ==========================================================================
   05. STORIA (storia-materica)
   ========================================================================== */
.storia-materica { padding: 80px 0; background: #fff; }

.grid-storia {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  align-items: center;
}

.storia-text h2 { font-size: 2.2rem; margin: 15px 0; }
.highlight { color: var(--c-dark); font-weight: 700; }

.lista-storia li {
  margin-bottom: 10px;
  border-left: 4px solid var(--c-dark);
  padding-left: 15px;
  list-style: none;
  font-weight: 800;
}

.storia-image { width: 100%; max-width: 500px; margin: 0 auto;  transition: opacity 500ms ease;
  opacity: 1;
 }

.storia-image img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  box-shadow: 15px 15px 0 var(--c-dark);
  border: 1px solid #eee;
}
/* ==========================================================================
   06. VALORI (valori)
   ========================================================================== */
.valori { 
  padding: 80px 0; 
  background: var(--c-dark); 
  color: #fff; 
}

.valori .title-center {
  color: #fff;
  margin-bottom: 50px;
}

.grid-valori {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  padding: 30px;
  border-top: 5px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
  transition: transform 0.3s ease, background 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.08);
  border-top-color: var(--c-dark);
}

.card-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 50px;
  height: 50px;
  stroke: #fff;
  transition: transform 0.3s ease, stroke 0.3s ease;
}

.card:hover .card-icon svg {
  transform: scale(1.1);
  stroke: #fff;
}

.card h3 { 
  color: #fff; 
  margin-bottom: 15px; 
  font-size: 1.4rem; 
}

/* RESPONSIVE MOBILE - VALORI */
@media (max-width: 768px) {
  .valori {
    padding: 50px 0 60px; /* Ridotto padding superiore */
  }

  .valori .title-center {
    font-size: 1.8rem; /* Più piccolo su mobile */
    margin-bottom: 35px; /* Meno spazio sotto il titolo */
    padding: 0 20px; /* Evita che tocchi i bordi */
    line-height: 1.2;
  }

  .grid-valori {
    gap: 25px; /* Gap leggermente ridotto */
  }

  .card {
    padding: 25px; /* Card leggermente più compatte */
  }

  .card h3 {
    font-size: 1.2rem; /* Titoli card più piccoli */
  }

  .card p {
    font-size: 0.95rem; /* Testo leggermente più piccolo */
    line-height: 1.5;
  }
}

/* Smartphone molto piccoli */
@media (max-width: 480px) {
  .valori {
    padding: 40px 0 50px;
  }

  .valori .title-center {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .card-icon {
    width: 45px;
    height: 45px;
  }

  .card-icon svg {
    width: 45px;
    height: 45px;
  }
}

/* ==========================================================================
   07. TEAM (tradizione-sezione) - SFONDO E SPAZI OTTIMIZZATI
   ========================================================================== */
.tradizione-sezione { 
  padding: 80px 0 40px;      /* Ridotto il padding inferiore (da 100 a 40) */
  background-color: #F8FAFC; /* Grigio chiarissimo: stacca dal bianco senza appesantire */
  text-align: center; 
}

.subtitle-center { 
  color: var(--c-muted); 
  margin-top: -30px; 
  margin-bottom: 30px; 
  font-family: 'Roboto', sans-serif;
}

.grid-team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 60px;
  margin-top: 50px;
  margin-bottom: 20px;       /* Ridotto margine per avvicinare la sezione successiva */
  justify-content: center;
}

.team-card { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
}

.team-image {
  width: 280px;
  height: 280px;
  border-radius: 50%; 
  overflow: hidden;
  margin-bottom: 30px;
  border: 6px solid #fff;     /* Bordo bianco per risaltare sullo sfondo grigio */
  box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Leggera ombra di design */
  transition: all 0.3s ease;
}

.team-card:hover .team-image {
  border-color: var(--c-dark);
  transform: translateY(-5px);
}

.team-image img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
}

.team-role {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--c-dark);
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-weight: 700;
}

.team-content h3 { 
  font-size: 1.8rem; 
  color: var(--c-dark); 
  margin-bottom: 20px; 
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
}

.team-content p {
  font-size: 1rem;
  color: var(--c-muted);
  line-height: 1.6;
  max-width: 420px;
  margin: 0 auto;
}

/* ==========================================================================
   08. SERVIZI (servizi-sezione)
   ========================================================================== */
.servizi-sezione { padding: 100px 0; background: #fff; }

.grid-servizi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

@media (max-width: 480px) {
  .grid-servizi {
    grid-template-columns: 1fr;
  }
}

.servizio-card {
  position: relative;
  height: 450px;
  display: flex;
  align-items: flex-end;
  padding: 35px;
  overflow: hidden;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  transition: transform 0.35s ease;
}

.servizio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 38, 49, 0.95) 5%, rgba(27, 38, 49, 0.4) 100%);
  z-index: 1;
  transition: background 0.35s ease;
}

.servizio-content { position: relative; z-index: 2; color: #fff; text-align: left; }

.servizio-card:hover { transform: scale(1.02); }
.servizio-card:hover .servizio-overlay { background: rgba(45, 45, 45, 0.9); }

.servizio-numero {
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 5px;
}

.servizio-card:hover .servizio-numero { color: #fff; }

.servizio-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: 10px; line-height: 1.2; }
.servizio-card p { font-size: 0.9rem; opacity: 0.85; }

.s-ristrutturazioni { background-image: url('salone_francesco.jpg'); }
.s-strutturali { background-image: url('solaio_beltrami.jpg'); }
.s-tetti { background-image: url('tetto_marina.jpg'); }
.s-cappotti { background-image: url('isotec_angelone.jpg'); }
.s-facciate { background-image: url('facciata_beinasco.jpeg'); }
.s-pavimenti { background-image: url('cortile_toso.jpg'); }

/* ==========================================================================
   09. CITAZIONE (citazione-sezione)
   ========================================================================== */
.citazione-sezione {
  padding: 120px 0;
  background: var(--c-dark); 
  text-align: center;
  position: relative;
}

/* Titolo riportato a bianco */
.citazione-sezione .title-center {
  color: #ffffff; 
  margin-bottom: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 3px;
  font-weight: 600;
}

.citazione-content {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.citazione-content .icon-quote {
  font-size: 6rem;
  color: rgba(255,255,255,0.1);
  font-family: Georgia, serif;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-style: normal;
}

.citazione-content h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-style: normal;
  font-family: 'Montserrat', sans-serif;
  text-transform: none;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}

.citazione-firma {
  display: inline-block;
  margin-top: 40px;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  padding-top: 20px;
  border-top: 2px solid rgba(255,255,255,0.3);
}
/* ==========================================================================
   10. PORTFOLIO (portfolio-home)
   ========================================================================== */
.portfolio-home { 
  padding: 80px 0; 
  background: var(--c-light); 
  text-align: center; 
}

/* Titolo fluido per evitare tagli su smartphone */
.portfolio-home .title-center {
  font-size: clamp(1.8rem, 8vw, 2.5rem); /* Si rimpicciolisce automaticamente su mobile */
  line-height: 1.2;
  padding: 0 15px; /* Evita che le lettere tocchino i bordi dello schermo */
  margin-bottom: 50px;
}

.grid-portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.portfolio-item {
  position: relative;
  height: 480px;
  overflow: hidden;
  background-color: var(--c-dark);
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  filter: brightness(1.05) contrast(1.1);
}

.portfolio-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(27, 38, 49, 0.98) 85%);
  padding: 30px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: #fff;
  z-index: 5;
  transition: opacity 0.3s ease;
}

.label-content h4 { color: #fff; font-size: 1.2rem; margin-bottom: 5px; text-align: left; }

.label-content p {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 800;
  text-align: left;
  opacity: 0.8;
}

.label-arrow { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 800; color: var(--c-dark); }

.portfolio-details {
  position: absolute;
  inset: 0;
  background-color: rgba(27, 38, 49, 0.85);
  backdrop-filter: blur(4px);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  text-align: center;
  opacity: 0;
  transform: translateY(10%);
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 10;
}

.portfolio-item:hover .portfolio-details { opacity: 1; transform: translateY(0); }
.portfolio-item:hover .portfolio-label { opacity: 0; }
.portfolio-item:hover img { transform: scale(1.1); }

.portfolio-details h4 { color: #fff; margin-bottom: 20px; font-size: 1.6rem; }
.portfolio-details p { font-size: 1rem; margin-bottom: 30px; line-height: 1.6; color: #F6F6F6; }

.btn-request {
  background: var(--c-dark);
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: 800;
  border-radius: 4px;
}

/* ==========================================================================
   11. TICKER (ticker-wrapper)
   ========================================================================== */
.ticker-wrapper {
  overflow-x: hidden;
  overflow-y: visible;
  padding: 60px 0;
  background: var(--c-light);
  position: relative;
  width: 100%;
  max-width: 100%;
}

.ticker-wrapper .container {
  width: 100%;
  max-width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

.ticker-title {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 10px;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--c-dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
}

.ticker-wrapper::before,
.ticker-wrapper::after {
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  content: "";
  z-index: 2;
  pointer-events: none;
}

.ticker-wrapper::before { 
  left: 0; 
  background: linear-gradient(to right, var(--c-light), rgba(255,255,255,0)); 
}
.ticker-wrapper::after { 
  right: 0; 
  background: linear-gradient(to left, var(--c-light), rgba(255,255,255,0)); 
}

.logos-container { 
  display: inline-block;
  width: 100%;
  overflow: hidden;
}

.logos-slide { 
  display: inline-flex;
  align-items: center;
  animation: slide 30s linear infinite;
  white-space: nowrap;
}

.logos-slide img {
  height: 80px;
  width: auto;
  margin: 0 40px;
  max-height: 80px;
  filter: grayscale(100%);
  opacity: 0.8;
  object-fit: contain;
  transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
  flex-shrink: 0;
}

.logos-slide img:hover { 
  filter: grayscale(0%); 
  opacity: 1; 
  transform: scale(1.1); 
  cursor: pointer; 
}

@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.logos-container:hover .logos-slide { animation-play-state: paused; }

/* ==========================================================================
   12. PROGETTI + RECENSIONI (progetti-home, recensioni-sezione)
   ========================================================================== */
.progetti-home { padding: 100px 0; background-color: #f4f4f4; }

.header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  gap: 20px;
}

.title-left { font-size: 2.2rem; color: var(--c-dark); margin-bottom: 10px; }

.btn-outline {
  padding: 12px 25px;
  border: 2px solid var(--c-dark);
  color: var(--c-dark);
  font-weight: 800;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn-outline:hover { background: var(--c-dark); color: #fff; }

.grid-progetti-home { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

.progetto-card-home { background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }

.progetto-img { position: relative; height: 300px; overflow: hidden; }
.progetto-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.progetto-card-home:hover img { transform: scale(1.1); }

.progetto-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--c-dark);
  color: #fff;
  padding: 5px 15px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.progetto-info { padding: 30px; }
.progetto-info h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--c-dark); }
.progetto-info p { color: #7F8C8D; font-size: 0.95rem; }

/* Recensioni */
.recensioni-sezione { padding: 100px 0; background: var(--c-light); }

.grid-recensioni {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.recensione-card {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border-bottom: 4px solid var(--c-dark);
}

.stelle { color: var(--c-dark); font-size: 1.2rem; margin-bottom: 15px; }

.recensione-card p { font-style: italic; color: var(--c-muted); margin-bottom: 20px; }

.cliente-nome {
  font-weight: 900;
  color: var(--c-dark);
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* ==========================================================================
   13. FOOTER (footer)
   ========================================================================== */
footer { 
  padding: 60px 0 30px; 
  background: var(--c-dark); 
  color: #fff; 
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

footer .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  max-width: 100%;
}

.footer-info {
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.footer-info h2 { 
  color: #fff; 
  margin-bottom: 15px; 
  font-size: clamp(1.5rem, 3vw, 2rem);
  word-wrap: break-word;
}

.footer-info p { 
  color: #D5DBDB; 
  margin-bottom: 10px; 
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.footer-details { 
  margin: 25px 0; 
  word-wrap: break-word;
}

.footer-details p {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.footer-details a { 
  color: var(--c-dark); 
  text-decoration: none; 
  font-weight: 800; 
  word-break: break-all;
}

.btn-footer {
  background: var(--c-accent) !important;
  color: #fff !important;
  border-color: var(--c-accent) !important;
  background: var(--c-dark);
  color: #fff;
  padding: 20px 40px;
  text-decoration: none;
  font-weight: 900;
  font-size: clamp(1rem, 2vw, 1.2rem);
  display: inline-block;
  border-radius: 4px;
  margin-top: 30px;
  white-space: nowrap;
}

.footer-map { 
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.footer-map h3 { 
  color: #fff; 
  margin-bottom: 20px; 
  font-size: clamp(1.1rem, 2.5vw, 1.4rem); 
  text-transform: uppercase; 
}

.map-wrapper { 
  position: relative; 
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.footer-map iframe {
  filter: grayscale(100%);
  transition: filter 0.35s ease;
  display: block;
  border: 0;
  border-radius: 8px;
  width: 100%;
  max-width: 100%;
  height: 250px;
}
.footer-map iframe:hover { filter: grayscale(0%); }

.directions-link {
  display: none;
  background: #2E5984;
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding: 10px;
  margin-top: 10px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.directions-link:hover {
  background: #1e3d5a;
}

.copy {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: #85929E;
  text-align: center;
}

/* ==========================================================================
   14. MODAL (contact-modal)
   ========================================================================== */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.modal.show { display: block !important; }

.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 40px;
  width: 90%;
  max-width: 450px;
  border-radius: 15px;
  position: relative;
  text-align: center;
  color: var(--c-dark);
}

.close-btn {
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 32px;
  font-weight: 900;
  cursor: pointer;
}

.form-group { margin-bottom: 20px; text-align: left; }

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.btn-submit {
  background: var(--c-dark);
  color: #fff;
  border: none;
  padding: 15px 30px;
  width: 100%;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
}

/* ==========================================================================
   15. CHAT MODAL (chat-modal)
   ========================================================================== */
.chat-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
}

.chat-modal.show {
  display: flex;
}

.chat-container {
  background: #fff;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.3);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.chat-header {
  background: var(--c-dark);
  color: #fff;
  padding: 20px 25px;
  border-radius: 20px 20px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header-info h3 {
  color: #fff;
  font-size: 1.3rem;
  margin: 0 0 5px 0;
  font-weight: 800;
}

.chat-header-info p {
  color: #fff;
  font-size: 0.85rem;
  margin: 0;
  font-weight: 400;
}

.chat-close-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 32px;
  font-weight: 300;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
  line-height: 1;
}

.chat-close-btn:hover {
  background: rgba(255,255,255,0.1);
}

.chat-body {
  flex: 1;
  padding: 25px;
  overflow-y: auto;
  background: #f8f9fa;
  min-height: 150px;
  max-height: 400px;
}

.chat-message {
  margin-bottom: 15px;
  display: flex;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-message-bot {
  justify-content: flex-start;
}

.chat-message-user {
  justify-content: flex-end;
}

.message-content {
  max-width: 80%;
  padding: 12px 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.chat-message-bot .message-content {
  background: #e9ecef;
  color: var(--c-dark);
}

.chat-message-user .message-content {
  background: var(--c-dark);
  color: #fff;
}

.message-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.chat-footer {
  background: #fff;
  padding: 20px 25px;
  border-top: 1px solid #e9ecef;
}

.chat-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-form input,
.chat-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
  resize: none;
  box-sizing: border-box;
}

.chat-form input:focus,
.chat-form textarea:focus {
  outline: none;
  border-color: var(--c-dark);
}

.chat-form textarea {
  min-height: 100px;
}

.btn-chat-send {
  background: var(--c-dark);
  color: #fff;
  border: none;
  padding: 15px 25px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s ease, transform 0.1s ease;
  font-size: 0.9rem;
}

.btn-chat-send:hover {
  background: var(--c-dark);
  transform: translateY(-2px);
}

.btn-chat-send:active {
  transform: translateY(0);
}

.btn-chat-send svg {
  stroke: currentColor;
}

/* Responsive Chat */
@media (max-width: 768px) {
  .chat-modal {
    padding: 0;
    align-items: flex-end;
  }

  .chat-container {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 20px 20px 0 0;
  }

  .chat-body {
    max-height: calc(100vh - 300px);
  }
}

/* ==========================================================================
   16. RESPONSIVE (unico blocco)
   ========================================================================== */
@media (max-width: 768px) {
  /* Header */
  .nav-container { 
    padding: 15px 4%; 
    position: relative;
  }
  .brand { font-size: 2.2rem; }
  .menu-toggle { display: flex; }

  /* Menu mobile */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    gap: 0;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 999;
    overflow-y: auto;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 1rem;
    color: var(--c-dark) !important;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover {
    padding-left: 10px;
    transition: padding-left 0.3s ease;
  }

  /* Hero: mantiene il full screen, ma con title più controllato */
  .hero { background-attachment: scroll; padding: 50px 0; min-height: 85vh; }
  .hero h1 {
    font-size: 2.05rem;  /* qui lo rendiamo davvero "non abnorme" */
    max-width: 16ch;
    line-height: 1.05;
    margin: 14px auto;
  }
  .hero-desc { font-size: 1.05rem; margin: 0 auto 28px; }

  /* Layout sezioni */
  .grid-storia { grid-template-columns: 1fr; }
  .grid-team { gap: 50px; }
  .team-image { width: 220px; height: 220px; }

  .header-split { flex-direction: column; align-items: flex-start; gap: 20px; }
  .grid-progetti-home { grid-template-columns: 1fr; }

  /* Ticker responsive */
  .ticker-wrapper {
    padding: 40px 0;
    overflow-x: hidden;
  }

  .ticker-wrapper::before,
  .ticker-wrapper::after {
    width: 40px;
  }

  .ticker-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .logos-slide img {
    height: 60px;
    margin: 0 25px;
  }

  /* Footer responsive */
  .footer-grid { 
    grid-template-columns: 1fr; 
    text-align: center; 
    gap: 30px;
    padding: 0 10px;
  }

  .footer-info {
    text-align: center;
  }

  .footer-info h2 {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
  }

  .footer-info p {
    font-size: 0.9rem;
  }

  .btn-footer {
  background: var(--c-accent) !important;
  color: #fff !important;
  border-color: var(--c-accent) !important;
    padding: 15px 30px;
    font-size: 1rem;
    width: 100%;
    max-width: 100%;
  }

  .footer-map {
    width: 100%;
    max-width: 100%;
  }

  .footer-map iframe {
    height: 200px;
  }

  .directions-link { display: block; }

  .cookie-notice { flex-direction: column; align-items: flex-start; }

  /* HERO mobile: testo un po' più in alto ma mantiene full-screen */
  .hero {
    align-items: center;
    padding-top: 140px;
    padding-bottom: 60px;
    text-align: left;
  }

  .hero .container {
    text-align: left;
  }

  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.1;
    max-width: none;
    margin-top: 0;
    margin-bottom: 25px;
    text-align: left;
  }

  .hero .badge {
    margin-bottom: 20px;
    display: block;
  }

  .hero-desc {
    margin-bottom: 35px;
    text-align: left;
  }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 1.9rem; }
  
  .hero {
    padding-top: 130px;
  }
}

/* --- CAROSELLO 3D REBUILD --- */
/* ==========================================================================
   SEZIONE CAROSELLO 3D
   ========================================================================== */
.rb-3d-section {
    padding: 100px 0;
    background-color: #f4f4f4;
    overflow: hidden;
}

.rb-grid-showcase {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Area Album Fotografico */
.album-container {
    flex: 1.2;
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.album-stack {
    position: relative;
    width: 625px;
    height: 415px;
}

.album-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    background: #fff;
    transform-origin: bottom left;
    transition: transform 0.6s ease, opacity 0.6s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.album-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Stack effect - foto sotto leggermente spostate */
.album-photo:nth-child(2) {
    transform: rotate(2deg) translateX(8px) translateY(-5px);
    z-index: 4;
}

.album-photo:nth-child(3) {
    transform: rotate(-1.5deg) translateX(-5px) translateY(-8px);
    z-index: 3;
}

.album-photo:nth-child(4) {
    transform: rotate(1deg) translateX(5px) translateY(-12px);
    z-index: 2;
}

.album-photo:nth-child(5) {
    transform: rotate(-2deg) translateX(-8px) translateY(-15px);
    z-index: 1;
}

/* Foto attiva sempre sopra */
.album-photo.active {
    z-index: 10;
    transform: rotate(0deg) translateX(0) translateY(0);
}

/* Animazione sfoglia */
.album-photo.flipping {
    transform: rotate(-15deg) translateX(-50%) translateY(-20px);
    opacity: 0;
    z-index: 20;
}

/* Hover sulla foto attiva */
.album-photo.active:hover {
    box-shadow: 0 15px 50px rgba(0,0,0,0.25);
}

/* Counter */
.album-counter {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    color: var(--c-muted);
    font-weight: 600;
}

.rb-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Area Testo */
.rb-text-content {
    flex: 1;
    text-align: left;
}

.rb-label {
    color: var(--c-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

.rb-text-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 25px;
    line-height: 1.15;
    color: var(--c-ink);
}

.rb-text-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--c-text);
    margin-bottom: 30px;
}

.rb-lista-punti {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
}

.rb-lista-punti li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--c-text);
}

.rb-lista-punti li span {
    color: var(--c-dark);
    font-weight: 700;
    font-size: 1.1rem;
}

/* BUTTON */
.btn-rb {
    display: inline-block;
    background: var(--c-dark);
    color: #fff;
    padding: 18px 35px;
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-rb:hover {
    background: var(--c-ink);
    transform: translateY(-2px);
}

/* Responsive Album */
@media (max-width: 1024px) {
    .rb-grid-showcase { 
        flex-direction: column; 
        gap: 40px;
    }

    .rb-text-content { 
        text-align: left;
        order: 1; 
        padding-bottom: 20px;
    }

    .album-container { 
        width: 100%; 
        height: 400px;
        order: 2; 
        margin-top: 40px;
        margin-bottom: 60px;
    }

    .album-stack { 
        width: 450px;
        height: 300px; 
    }

    .rb-text-content h2 {
        font-size: 1.9rem;
    }
}

@media (max-width: 768px) {
    .rb-3d-section {
        padding: 60px 0;
    }

    .rb-text-content h2 {
        font-size: 1.8rem;
    }

    .album-container { 
        height: 400px;
        margin-top: 60px;
        margin-bottom: 80px;
    }

    .album-stack { 
        width: 440px;
        height: 295px;
    }
}

@media (max-width: 480px) {
    .album-container {
        height: 350px;
        margin-top: 50px;
        margin-bottom: 60px;
    }

    .album-stack { 
        width: 375px;
        height: 250px;
    }

    .rb-text-content h2 {
        font-size: 1.6rem;
    }

    .btn-rb {
        width: 100%;
        text-align: center;
    }
}
/* ========== 1. TITOLO TRADIZIONE FAMIGLIA - PIÙ PICCOLO MOBILE ========== */
@media (max-width: 768px) {
  .tradizione-sezione .title-center {
    font-size: 1.7rem !important;
    line-height: 1.2;
    padding: 0 15px;
  }
}

/* ========== 2. TITOLO SERVIZI - PIÙ PICCOLO MOBILE ========== */
@media (max-width: 768px) {
  .servizi-sezione .title-center {
    font-size: 1.8rem !important;
    padding: 0 15px;
  }
}

/* ========== SERVIZI - ESPANDIBILI (SOVRASCRIVE VECCHIO CODICE) ========== */
.servizio-card {
  position: relative;
  height: 380px;
  display: flex;
  align-items: flex-end;
  padding: 35px;
  overflow: hidden;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  transition: all 0.4s ease;
  cursor: pointer;
}

.servizio-card.expanded {
  height: auto;
  min-height: 500px;
}

.servizio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 38, 49, 0.95) 5%, rgba(27, 38, 49, 0.4) 100%);
  z-index: 1;
  transition: background 0.35s ease;
}

.servizio-card.expanded .servizio-overlay {
  background: rgba(27, 38, 49, 0.93);
}

.servizio-content { 
  position: relative; 
  z-index: 2; 
  color: #fff; 
  text-align: left; 
  width: 100%;
}

.servizio-numero {
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 5px;
}

.servizio-card:hover .servizio-numero { 
  color: #fff; 
}

.servizio-card h3 { 
  color: #fff; 
  font-size: 1.4rem; 
  margin-bottom: 10px; 
  line-height: 1.2; 
}

.servizio-short {
  font-size: 0.9rem; 
  opacity: 0.85;
  display: block;
}

.servizio-full {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 15px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
}

.servizio-card.expanded .servizio-full {
  max-height: 500px;
  opacity: 1;
}

.servizio-card.expanded .servizio-short {
  display: none;
}

.expand-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.expand-arrow svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.3s ease;
}

.servizio-card.expanded .expand-arrow svg {
  transform: rotate(180deg);
}

.btn-servizio-richiedi {
  display: none;
  background: var(--c-dark);
  color: #fff;
  padding: 12px 25px;
  margin-top: 20px;
  border: none;
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.3s ease;
}

.servizio-card.expanded .btn-servizio-richiedi {
  display: inline-block;
}

.servizio-card.expanded .btn-servizio-richiedi:hover {
  background: var(--c-dark);
}

.servizio-card:hover { 
  transform: scale(1.02); 
}

.servizio-card:hover .servizio-overlay { 
  background: rgba(45, 45, 45, 0.9); 
}

/* ========== 4. PORTFOLIO - TITOLO A SINISTRA MOBILE ========== */
@media (max-width: 768px) {
  .portfolio-home .title-center {
    text-align: left !important;
    padding-left: 20px;
  }
}

/* ========== 5. TICKER - TITOLO PIÙ SU + LOGHI COLORATI ========== */
@media (max-width: 768px) {
  .ticker-wrapper {
    padding: 40px 0 60px;
  }
  
  .ticker-title {
    margin-bottom: 25px;
  }
}

.logos-slide img {
  height: 80px;
  width: auto;
  margin: 0 40px;
  max-height: 80px;
  filter: grayscale(0%) !important; /* LOGHI A COLORI */
  opacity: 0.9;
  object-fit: contain;
  transition: transform 0.25s ease, opacity 0.25s ease;
  flex-shrink: 0;
}

.logos-slide img:hover { 
  opacity: 1; 
  transform: scale(1.1); 
}

/* ========== 6. RECENSIONI - TITOLO PICCOLO + PIÙ BELLA ========== */
.recensioni-sezione { 
  padding: 80px 0; 
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  overflow: hidden;
}

.recensioni-sezione .title-center {
  font-size: 2rem;
  margin-bottom: 50px;
}

/* Slider recensioni */
.recensioni-slider {
  width: 100%;
  overflow: hidden;
}

.recensioni-track {
  display: flex;
  gap: 30px;
  animation: scrollRecensioni 40s linear infinite;
  width: max-content;
}

.recensioni-track:hover {
  animation-play-state: paused;
}

@keyframes scrollRecensioni {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.recensione-card {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  width: 380px;
  flex-shrink: 0;
  box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

.recensione-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.cliente-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--c-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
}

.cliente-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cliente-nome {
  font-weight: 700;
  color: var(--c-ink);
  font-size: 1rem;
}

.stelle {
  color: #f5c518;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.recensione-card p { 
  font-size: 0.95rem; 
  color: var(--c-muted); 
  line-height: 1.6;
}

@media (max-width: 768px) {
  .recensioni-sezione {
    padding: 60px 0;
  }

  .recensioni-sezione .title-center {
    font-size: 1.7rem;
  }

  .recensione-card {
    width: 300px;
    padding: 25px;
  }

  .recensioni-track {
    gap: 20px;
  }
}

/* ========== 9. FOOTER - TELEFONO PIÙ CHIARO + ICONA ========== */
.footer-details a {
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-details a::before {
  content: '📞';
  font-size: 1.2rem;
}
/* ==========================================================================
   SERVIZI CUCINE SECTION
   ========================================================================== */
.servizi-cucine {
  background: #1a1a1a;
  padding: 100px 0;
}
.servizi-cucine-title {
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 60px;
}
.servizi-cucine-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.sc-card {
  flex: 0 0 calc(33.333% - 16px);
  max-width: calc(33.333% - 16px);
  background: #ffffff;
  border: 1px solid rgba(46, 89, 132, 0.15);
  border-radius: 12px;
  padding: 40px 32px;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.sc-card:hover {
  border-color: var(--c-accent);
  box-shadow: 0 8px 32px rgba(46, 89, 132, 0.12);
}
.sc-icon {
  color: var(--c-accent);
  margin-bottom: 24px;
}
.sc-card-title {
  color: var(--c-accent);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 12px;
}
.sc-card-text {
  color: #4a4a4a;
  font-family: 'Roboto', sans-serif;
  font-size: .95rem;
  line-height: 1.75;
}
@media (max-width: 900px) {
  .sc-card {
    flex: 0 0 calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
}
@media (max-width: 600px) {
  .sc-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ==========================================================================
   SEO CUCINE SECTION
   ========================================================================== */
.seo-cucine {
  background: #f0eeeb;
  padding: 80px 0;
}
.seo-cucine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.seo-cucine-title {
  color: #1a2e4a;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
}
.seo-cucine-text {
  color: #4a4a4a;
  font-size: 1.05rem;
  line-height: 1.75;
}
.seo-cucine-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  display: block;
}
@media (max-width: 768px) {
  .seo-cucine-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SEO LOCALE CUCINE
   ========================================================================== */
.seo-locale-cucine {
  background: #f7f6f3;
  padding: 90px 0;
}
.seo-locale-title {
  color: #1a2e4a;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 36px;
  max-width: 800px;
}
.seo-locale-body p {
  color: #444;
  font-family: 'Roboto', sans-serif;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 18px;
  max-width: 820px;
}
.seo-locale-body strong {
  color: #1a2e4a;
  font-weight: 700;
}
.seo-locale-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.seo-highlight-item {
  background: #fff;
  border: 1px solid rgba(46, 89, 132, 0.15);
  border-radius: 10px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.seo-highlight-item strong {
  color: var(--c-accent);
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.seo-highlight-item span {
  color: #333;
  font-family: 'Roboto', sans-serif;
  font-size: .95rem;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .seo-locale-highlights { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .seo-locale-highlights { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-sezione {
    padding: 100px 0;
    background: #fff;
}

.faq-subtitle {
    text-align: center;
    color: var(--c-muted);
    margin: -30px auto 50px;
    font-size: 1.1rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--c-dark);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--c-dark);
    margin: 0;
    font-weight: 700;
}

.faq-icon {
    font-size: 28px;
    color: var(--c-dark);
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 30px 25px;
}

.faq-answer p {
    color: var(--c-muted);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .faq-sezione {
        padding: 60px 0;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
}
/* ========== 3. LEGGI TUTTO - SOLO FRECCIA SI RIBALTA ========== */
.expand-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.expand-arrow svg {
  transition: transform 0.3s ease;
}

.servizio-card.expanded .expand-arrow svg {
  transform: rotate(180deg);
}

/* ========== 4. PORTFOLIO MOBILE - TITOLO NON TAGLIATO ========== */
@media (max-width: 768px) {
  .portfolio-home .title-center {
    text-align: left !important;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 1.6rem !important;
    word-wrap: break-word;
    hyphens: auto;
  }
}

/* ========== 5, 6, 7. PORTFOLIO - TITOLI E DETTAGLI BIANCHI ========== */
.label-content h4 { 
  color: #ffffff !important; /* BIANCO */
  font-size: 1.2rem; 
  margin-bottom: 5px; 
  text-align: left; 
}

.label-content p {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 800;
  text-align: left;
  opacity: 0.9;
  color: #ffffff; /* BIANCO */
}

.label-arrow { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  font-size: 0.75rem; 
  font-weight: 800; 
  color: #ffffff !important; /* BIANCO */
}

/* ========== 8. LOGHI PIÙ GRANDI ========== */
.logos-slide img {
  height: 100px !important; /* Aumentato da 80px */
  width: auto;
  margin: 0 50px; /* Più spazio tra i loghi */
  max-height: 100px;
  filter: grayscale(0%) !important;
  opacity: 0.9;
  object-fit: contain;
  transition: transform 0.25s ease, opacity 0.25s ease;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .logos-slide img {
    height: 80px !important; /* Su mobile comunque più grandi del precedente 60px */
    margin: 0 35px;
  }
}
/* FAQ - Titoli categorie */
.faq-category-title {
  font-size: 1.6rem;
  color: var(--c-dark);
  text-align: center;
  margin-bottom: 30px;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 15px;
}

.faq-category-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--c-dark);
}
/* ========== FAQ TABS NAVIGATION ========== */
.faq-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.faq-tab {
    background: #fff;
    border: 2px solid var(--c-dark);
    color: var(--c-dark);
    padding: 12px 30px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.faq-tab:hover {
    background: rgba(46, 89, 132, 0.1);
    transform: translateY(-2px);
}

.faq-tab.active {
    background: var(--c-dark);
    color: #fff;
}

/* FAQ CONTENT SECTIONS */
.faq-content-section {
    display: none;
}

.faq-content-section.active {
    display: block;
    animation: fadeInFaq 0.4s ease-in-out;
}

@keyframes fadeInFaq {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE TABS */
@media (max-width: 768px) {
    .faq-tabs {
        flex-direction: column;
        gap: 10px;
    }

    .faq-tab {
        width: 100%;
        padding: 15px 20px;
        font-size: 0.9rem;
    }
}
/* ========== ACCESSIBILITÀ - REDUCE MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ========== STILE PULSANTE DISABILITATO ========== */
.btn-chat-send:disabled {
  background: #999;
  cursor: not-allowed;
  opacity: 0.6;
}

/* ========== MIGLIORAMENTI CONTRASTO ========== */
.label-content p {
  opacity: 1 !important; /* Migliora contrasto su mobile */
}

/* ========== BOTTONE TORNA SU ========== */
.back-to-top {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--c-dark);
  color: #fff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--c-ink);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .back-to-top {
    display: flex;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}
/* ==========================================================================
   DROPDOWN MENU
   ========================================================================== */
.nav-dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 0.75rem;
  margin-left: 3px;
  display: inline-block;
  transition: transform 0.25s ease;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: #fff;
  min-width: 220px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  border-top: 3px solid var(--c-accent);
  list-style: none;
  padding: 8px 0;
  z-index: 1000;
  border-radius: 0 0 4px 4px;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 11px 20px;
  color: var(--c-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s ease, padding-left 0.2s ease;
}

.dropdown-menu li a:hover {
  background: #f5f5f5;
  padding-left: 26px;
}

/* Header trasparente - dropdown toggle stesso colore nav-link */
header.transparent .nav-dropdown-toggle {
  color: #fff;
}
header.transparent .nav-dropdown-toggle:hover {
  color: #fff;
}
header.transparent .dropdown-arrow {
  color: #fff;
}
header.scrolled .nav-dropdown-toggle {
  color: var(--c-dark);
}

/* ==========================================================================
   DROPDOWN MOBILE
   ========================================================================== */
@media (max-width: 768px) {
  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid var(--c-accent);
    background: #f9f9f9;
    display: none;
    padding: 0;
    margin-left: 10px;
  }

  .nav-dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    padding: 12px 16px;
    font-size: 0.85rem;
    color: var(--c-dark) !important;
  }

  .dropdown-menu li a:hover {
    padding-left: 22px;
  }
}

/* ==========================================================================
   PAGINA TETTI
   ========================================================================== */

/* --- Segnali --- */
.segnali-tetti {
  background: #f7f6f3;
  padding: 90px 0;
  text-align: center;
}
.segnali-tetti-title {
  color: #1a2e4a;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.segnali-tetti-intro {
  color: #666;
  font-family: 'Roboto', sans-serif;
  font-size: 1.05rem;
  margin-bottom: 52px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.segnali-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.segnale-card {
  background: #fff;
  border: 1px solid rgba(46,89,132,0.13);
  border-radius: 14px;
  padding: 40px 28px;
  text-align: left;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.segnale-card:hover {
  border-color: var(--c-accent);
  box-shadow: 0 8px 32px rgba(46,89,132,0.1);
}
.segnale-icon {
  color: var(--c-accent);
  margin-bottom: 20px;
}
.segnale-title {
  color: #1a2e4a;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.segnale-text {
  color: #4a4a4a;
  font-family: 'Roboto', sans-serif;
  font-size: .95rem;
  line-height: 1.75;
}

/* --- Servizi tetti --- */
.servizi-tetti {
  background: #2a2a2a;
  padding: 100px 0;
}
.servizi-tetti-title {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 60px;
}
.servizi-tetti-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.st-card {
  flex: 0 0 calc(33.333% - 16px);
  max-width: calc(33.333% - 16px);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 38px 30px;
  transition: border-color .3s ease, background .3s ease;
}
.st-card:hover {
  border-color: var(--c-accent);
  background: rgba(46,89,132,0.1);
}
.st-icon {
  color: var(--c-accent);
  margin-bottom: 22px;
}
.st-card-title {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 12px;
}
.st-card-text {
  color: rgba(255,255,255,0.6);
  font-family: 'Roboto', sans-serif;
  font-size: .95rem;
  line-height: 1.75;
}

/* --- SEO tetti --- */
.seo-tetti {
  background: #fff;
  padding: 90px 0;
}
.seo-tetti-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.seo-tetti-title {
  color: #1a2e4a;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 24px;
}
.seo-tetti-text {
  color: #444;
  font-family: 'Roboto', sans-serif;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.seo-tetti-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* --- Pacchetti --- */
.pacchetti-tetti {
  background: #f0eeeb;
  padding: 100px 0;
}
.pacchetti-tetti-title {
  color: #1a2e4a;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 14px;
}
.pacchetti-tetti-intro {
  color: #666;
  font-family: 'Roboto', sans-serif;
  font-size: 1.05rem;
  text-align: center;
  margin-bottom: 52px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.pacchetti-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.pkt-card {
  background: #fff;
  border: 1px solid rgba(46,89,132,0.15);
  border-radius: 14px;
  padding: 40px 32px;
  position: relative;
  transition: box-shadow .3s ease;
}
.pkt-card:hover {
  box-shadow: 0 10px 40px rgba(46,89,132,0.12);
}
.pkt-card.pkt-featured {
  border-color: var(--c-accent);
  box-shadow: 0 8px 32px rgba(46,89,132,0.15);
}
.pkt-badge-top {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-accent);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.pkt-label {
  color: var(--c-accent);
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 10px;
}
.pkt-title {
  color: #1a2e4a;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.pkt-text {
  color: #555;
  font-family: 'Roboto', sans-serif;
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.pkt-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pkt-list li {
  color: #444;
  font-family: 'Roboto', sans-serif;
  font-size: .9rem;
  line-height: 1.6;
  padding: 6px 0 6px 20px;
  position: relative;
  border-top: 1px solid #f0eeeb;
}
.pkt-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-weight: 700;
}

/* --- Bonus CTA --- */
.bonus-tetti {
  padding: 90px 0;
}
.bonus-tetti-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.bonus-tetti-text h2 {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.bonus-tetti-text p {
  color: rgba(255,255,255,0.8);
  font-family: 'Roboto', sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 620px;
}
.bonus-tetti-text strong {
  color: #fff;
  font-weight: 700;
}
.bonus-tetti-badges {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}
.bonus-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 20px 28px;
  text-align: center;
  min-width: 150px;
}
.bonus-badge.bonus-badge-accent {
  background: var(--c-accent);
  border-color: var(--c-accent);
}
.bonus-pct {
  display: block;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
}
.bonus-desc {
  display: block;
  color: rgba(255,255,255,0.85);
  font-family: 'Roboto', sans-serif;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* --- Responsive tetti --- */
@media (max-width: 900px) {
  .segnali-grid { grid-template-columns: 1fr; }
  .pacchetti-grid { grid-template-columns: 1fr; }
  .seo-tetti-grid { grid-template-columns: 1fr; }
  .seo-tetti-highlights { grid-template-columns: repeat(2, 1fr); }
  .bonus-tetti-inner { grid-template-columns: 1fr; }
  .bonus-tetti-badges { flex-direction: row; justify-content: center; }
  .st-card { flex: 0 0 calc(50% - 12px); max-width: calc(50% - 12px); }
}
@media (max-width: 600px) {
  .st-card { flex: 0 0 100%; max-width: 100%; }
  .seo-tetti-highlights { grid-template-columns: 1fr; }
}

/* Nascondi "Chiama ora" su desktop e tablet, visibile solo su mobile */
@media (min-width: 769px) {
  .phone-fixed { display: none; }
}
