:root {
  --primary: #479ccf;
  --dark: #0f172a;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(248, 250, 252, 0.9);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.2rem;
}

.logo-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 500;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
}

.back-link {
  color: var(--primary);
  font-weight: 600;
}

footer {
  background: #0b1220;
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 0;
}

footer strong {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.copyright {
  font-size: 0.85rem;
  line-height: 1.6;
}

.copyright p {
  margin: 0.2rem 0;
}

.copyright a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
}

:root {
  --wa-green: #25D366;
  --wa-dark: #128C7E;
  --text-main: #222; /* Leggermente più scuro per contrasto */
  --text-sub: #555;
  --bg-card: #ffffff;
  --shadow: 0 15px 45px rgba(0, 0, 0, 0.06);
}

.whatsapp-support {
  padding: 60px 20px; /* Più spazio sopra e sotto */
  display: flex;
  justify-content: center;
  font-family: 'Inter', sans-serif;
}

.support-card {
  display: flex;
  align-items: center;
  gap: 40px; /* Più spazio tra icona, testo e bottone */
  background: var(--bg-card);
  padding: 40px 50px; /* Padding generoso per un look "premium" */
  
  /* LARGHEZZA AUMENTATA */
  max-width: 1205px; 
  width: 100%;
  
  border-radius: 24px; 
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.4s ease;
}

.support-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.main-img {
  width: 100px; /* Icona un po' più grande */
  height: auto;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,0.08));
}

.support-content {
  flex: 2; /* Prende più spazio rispetto al bottone */
}

.support-content h2 {
  margin: 0 0 8px 0;
  font-size: 1.8rem; /* Titolo più grande */
  color: var(--text-main);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.support-content p {
  margin: 0;
  color: var(--text-sub);
  font-size: 1.15rem; /* Testo più leggibile */
  line-height: 1.5;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background-color: var(--wa-green);
  color: #fff;
  padding: 16px 32px; /* Bottone più grande e cliccabile */
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
  white-space: nowrap; /* Evita che il testo del bottone vada a capo */
}

.whatsapp-btn img {
  width: 28px;
  height: 28px;
}

/* Responsive adattato alla nuova larghezza */
@media (max-width: 992px) {
  .support-card {
    max-width: 90%;
    padding: 30px 40px;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .support-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }
  
  .whatsapp-btn {
    width: 100%;
    justify-content: center;
  }
}


:root {
  --accent-color: #007bff; /* Il colore delle parti evidenziate */
  --text-light: #ffffff; /* Testo ora bianco */
  --bg-light: #f8f9fa;
}

.hero-slider {
  position: relative;
  height: 75vh;
  overflow: hidden;
  background-color: var(--bg-light);
  font-family: 'Inter', sans-serif;
}

.slider-container {
  position: relative;
  height: 100%;
  width: 100%;
}

.slides-wrapper {
  height: 100%;
  width: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
} 

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.image-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.image-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

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

/* Contenuto Testuale */
.slide-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  pointer-events: none; /* Permette di cliccare attraverso il testo */
}

.slide-content .title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--text-light);
  line-height: 1.1;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s ease-out 0.3s;
}

.slide.active .title {
  opacity: 1;
  transform: translateY(0);
}

.slide-content .title span {
  color: var(--accent-color);
}

.slide-content .subtitle {
  font-size: 1.5rem;
  color: #ffffff;
  max-width: 500px;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease-out 0.5s;
}

.slide.active .subtitle {
  opacity: 1;
  transform: translateY(0);
}

/* Navigazione Minimal */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: 0.3s;
  color: var(--text-dark);
}

.nav-btn:hover {
  background: var(--accent-color);
  color: white;
}

.prev { left: 30px; }
.next { right: 30px; }

/* Punti di paginazione */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0,0,0,0.2);
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: var(--accent-color);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .slide-content { text-align: center; padding: 0 20px; }
  .nav-btn { width: 40px; height: 40px; }
}

.logo img {
  max-width: 200px; /* Regola questo valore per diminuirlo */
  height: auto;     /* Mantiene le proporzioni corrette */
  display: block;
  transition: transform 0.3s ease; /* Effetto fluido se decidi di animarlo */
}

.logo:hover img {
  transform: scale(1.05); /* Piccolo effetto ingrandimento al passaggio del mouse */
}

/* Opzionale: Ancora più piccolo su mobile */
@media (max-width: 768px) {
  .logo img {
    max-width: 110px;
  }
}