/* =========================================================
   ItalDisinfestazione — Design System (HTML/CSS port)
   Colori in HSL, glassmorphism, gradienti e animazioni.
   ========================================================= */

:root {
  --background: 0 0% 100%;
  --foreground: 215 25% 15%;
  --card: 0 0% 100%;
  --card-foreground: 215 25% 15%;
  --primary: 210 90% 35%;
  --primary-foreground: 0 0% 100%;
  --secondary: 210 20% 96%;
  --secondary-foreground: 210 90% 35%;
  --muted: 210 15% 95%;
  --muted-foreground: 215 15% 45%;
  --accent: 25 95% 55%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  --border: 210 20% 88%;
  --input: 210 20% 88%;
  --ring: 210 90% 35%;
  --success: 145 65% 45%;
  --success-foreground: 0 0% 100%;

  --radius: 0.75rem;

  --gradient-hero: linear-gradient(135deg, hsl(210 90% 35%) 0%, hsl(210 85% 45%) 100%);
  --gradient-subtle: linear-gradient(180deg, hsl(0 0% 100%) 0%, hsl(210 20% 98%) 100%);

  --shadow-soft: 0 2px 8px -2px hsl(210 90% 35% / 0.08);
  --shadow-medium: 0 8px 24px -4px hsl(210 90% 35% / 0.12);
  --shadow-strong: 0 16px 48px -8px hsl(210 90% 35% / 0.16);

  --glass-bg: hsla(0, 0%, 100%, 0.7);
  --glass-border: hsla(0, 0%, 100%, 0.2);
  --glass-shadow: 0 8px 32px 0 hsla(210, 90%, 35%, 0.1);

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { border-color: hsl(var(--border)); }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.15; margin: 0; }
p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.section { padding-block: 4rem; position: relative; overflow: hidden; }
@media (min-width: 768px) { .section { padding-block: 6rem; } }

.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h1,
.section-head h2 { font-size: clamp(1.875rem, 5vw, 3rem); margin-bottom: 1rem; }
.section-head p {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin-inline: auto;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .section-head { margin-bottom: 4rem; }
  .section-head p { font-size: 1.25rem; }
}

.relative { position: relative; }
.z-10 { position: relative; z-index: 10; }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.glass-strong {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.text-gradient {
  background: linear-gradient(to right, hsl(var(--primary)), hsl(var(--primary) / 0.7));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Icons ---------- */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-sm { width: 1rem; height: 1rem; }
.icon-lg { width: 2rem; height: 2rem; }
.icon-xl { width: 2.5rem; height: 2.5rem; }
.icon-fill { fill: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.625rem 1.25rem;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid transparent;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.btn:hover { background: hsl(var(--primary) / 0.9); }
.btn-lg { height: 3rem; padding-inline: 1.75rem; font-size: 1rem; }
@media (min-width: 640px) { .btn-lg { height: 3.5rem; font-size: 1.125rem; } }
.btn-block { width: 100%; }

.btn-accent { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.btn-accent:hover { background: hsl(var(--accent) / 0.9); }

.btn-outline {
  background: transparent;
  border-color: hsl(var(--border));
  color: hsl(var(--foreground));
}
.btn-outline:hover { background: hsl(var(--secondary)); color: hsl(var(--primary)); }

.btn-icon { width: 2.5rem; height: 2.5rem; padding: 0; }

.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-lift:hover { transform: translateY(-4px) scale(1.05); box-shadow: var(--shadow-strong); }

/* ---------- Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border: 1px solid hsl(var(--primary) / 0.2);
}

/* ---------- Card ---------- */
.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.card-hover { transition: all 0.3s ease; }
.card-hover:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-strong); }

/* =========================================================
   Navigation
   ========================================================= */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: 0 4px 12px hsl(210 90% 35% / 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
}
.nav-logo img { height: 3rem; width: auto; transition: opacity 0.2s; }
.nav-logo:hover img { opacity: 0.8; }
.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-link {
  font-weight: 500;
  background: none;
  border: none;
  color: hsl(var(--foreground));
  transition: color 0.2s;
  font-size: 1rem;
  padding: 0;
}
.nav-link:hover { color: hsl(var(--primary)); }
.nav-toggle {
  display: inline-flex;
  background: none;
  border: none;
  color: hsl(var(--foreground));
  padding: 0.25rem;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { text-align: left; }

@media (min-width: 768px) {
  .nav-inner { padding-block: 1rem; }
  .nav-logo img { height: 4rem; }
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 4rem;
}
@media (min-width: 768px) { .hero { min-height: 95vh; padding-top: 4rem; } }
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.65), rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.5));
}
.hero-inner { max-width: 56rem; margin-inline: auto; text-align: center; color: #fff; }
.hero h1 {
  font-size: clamp(1.875rem, 7vw, 4.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
.hero-sub {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  color: rgba(255,255,255,0.95);
  max-width: 48rem;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: var(--shadow-strong);
  font-size: 0.875rem;
  font-weight: 600;
}
.hero-cta { display: flex; flex-direction: column; gap: 1rem; justify-content: center; padding-inline: 1rem; }
.hero-trust { margin-top: 2rem; color: rgba(255,255,255,0.7); font-size: 0.875rem; }
@media (min-width: 640px) { .hero-cta { flex-direction: row; } }

/* Ping dot */
.ping { position: relative; display: inline-flex; height: 0.75rem; width: 0.75rem; }
.ping::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: hsl(var(--success));
  animation: ping 1.2s cubic-bezier(0,0,0.2,1) infinite;
}
.ping::after {
  content: "";
  position: relative;
  display: inline-flex;
  height: 0.75rem;
  width: 0.75rem;
  border-radius: 9999px;
  background: hsl(var(--success));
}

/* =========================================================
   Urgency bar
   ========================================================= */
.urgency {
  padding-block: 2rem;
  background: linear-gradient(to right, hsl(var(--destructive) / 0.05), hsl(var(--accent) / 0.05), hsl(var(--destructive) / 0.05));
  position: relative;
  overflow: hidden;
}
.urgency-card { max-width: 64rem; margin-inline: auto; padding: 1.5rem; border: 2px solid hsl(var(--accent) / 0.3); border-radius: var(--radius); }
.urgency-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .urgency-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.urgency-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.5rem; }
.urgency-item .stat { font-weight: 700; font-size: 1.125rem; }
.urgency-item .label { font-size: 0.8rem; color: hsl(var(--muted-foreground)); }
@media (min-width: 768px) { .urgency-item .stat { font-size: 1.25rem; } .urgency-item .label { font-size: 0.875rem; } }

/* =========================================================
   Color helpers (icon tiles)
   ========================================================= */
.c-primary { --c: var(--primary); }
.c-accent { --c: var(--accent); }
.c-success { --c: var(--success); }
.c-destructive { --c: var(--destructive); }
.t-primary { color: hsl(var(--primary)); }
.t-accent { color: hsl(var(--accent)); }
.t-success { color: hsl(var(--success)); }
.t-destructive { color: hsl(var(--destructive)); }
.t-c { color: hsl(var(--c, var(--primary))); }

/* =========================================================
   Services
   ========================================================= */
.services {
  background: linear-gradient(135deg, hsl(var(--secondary)), hsl(var(--background)) 50%, hsl(var(--secondary)));
}
.grid-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .grid-cards { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .grid-cards { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  padding: 1.5rem;
  border: 2px solid hsl(var(--c) / 0.3);
  border-radius: var(--radius);
  background: hsl(var(--card) / 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.service-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-strong); border-color: hsl(var(--c) / 0.8); }
.service-top { display: flex; align-items: flex-start; gap: 0.75rem; }
.icon-tile {
  display: inline-flex;
  padding: 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  background: hsl(var(--c) / 0.15);
  color: hsl(var(--c));
  box-shadow: 0 4px 6px hsl(var(--c) / 0.15);
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.service-card:hover .icon-tile { transform: scale(1.1); background: hsl(var(--c) / 0.25); }
.service-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; transition: color 0.2s; }
@media (min-width: 768px) { .service-card h3 { font-size: 1.25rem; } }
.service-card:hover h3 { color: hsl(var(--primary)); }
.service-card .desc { font-size: 0.95rem; color: hsl(var(--muted-foreground)); }
.service-more { font-size: 0.875rem; color: hsl(var(--primary)); font-weight: 600; display: flex; align-items: center; gap: 0.25rem; }
.service-more .arrow { transition: transform 0.2s; }
.service-card:hover .service-more .arrow { transform: translateX(4px); }

.section-cta { margin-top: 3rem; text-align: center; }
.section-cta p { color: hsl(var(--muted-foreground)); margin-bottom: 1rem; }

/* =========================================================
   Method
   ========================================================= */
.method { background: linear-gradient(135deg, hsl(var(--background)), hsl(var(--secondary) / 0.3) 50%, hsl(var(--background))); }
.steps { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; text-align: center; }
.step-icon-wrap { position: relative; display: inline-block; }
.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
  background: hsl(var(--c) / 0.15);
  color: hsl(var(--c));
  border: 2px solid hsl(var(--c) / 0.2);
  box-shadow: 0 10px 15px hsl(var(--c) / 0.3);
  transition: all 0.3s ease;
}
.step:hover .step-icon { transform: scale(1.1) rotate(12deg); }
.step-num {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: hsl(var(--c));
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: var(--shadow-medium);
}
.step h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.95rem; color: hsl(var(--muted-foreground)); line-height: 1.6; }
.step-connector {
  display: none;
  position: absolute;
  top: 2.5rem;
  left: 60%;
  width: 80%;
  height: 2px;
  background: linear-gradient(to right, hsl(var(--primary) / 0.3), hsl(var(--accent) / 0.3), hsl(var(--success) / 0.3));
}
@media (min-width: 1024px) { .step-connector { display: block; } }

/* =========================================================
   Case studies (carousel)
   ========================================================= */
.cases { background: hsl(var(--secondary)); }
.cases-inner { max-width: 64rem; margin-inline: auto; }
.carousel { position: relative; width: 100%; margin-bottom: 2rem; overflow: hidden; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.4s ease; }
.carousel-slide { min-width: 100%; padding-inline: 0.25rem; box-sizing: border-box; }
.case-card { padding: 1.5rem; border: 2px solid hsl(var(--primary) / 0.1); border-radius: var(--radius); }
@media (min-width: 768px) { .case-card { padding: 2rem; } }
.case-card h3 { font-size: 1.25rem; margin-bottom: 1.5rem; text-align: center; }
@media (min-width: 768px) { .case-card h3 { font-size: 1.5rem; } }
.case-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .case-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
.case-block + .case-block { margin-top: 1.5rem; }
.case-h4 { display: flex; align-items: center; gap: 0.5rem; font-size: 1.125rem; font-weight: 700; margin-bottom: 1rem; }
@media (min-width: 768px) { .case-h4 { font-size: 1.25rem; } }
.case-dot { width: 2rem; height: 2rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.125rem; }
.case-text { font-size: 0.95rem; color: hsl(var(--muted-foreground)); line-height: 1.7; }
.case-result { background: hsl(var(--success) / 0.05); border: 1px solid hsl(var(--success) / 0.1); border-radius: var(--radius); padding: 1.25rem; }
@media (min-width: 768px) { .case-result { padding: 1.5rem; } }
.case-result ul { display: flex; flex-direction: column; gap: 0.75rem; }
.case-result li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.95rem; }
.case-quote { margin-top: 1.5rem; padding: 1rem; background: hsl(var(--background)); border-radius: var(--radius); }
.case-quote p:first-child { font-style: italic; color: hsl(var(--muted-foreground)); line-height: 1.6; }
.case-quote .author { font-size: 0.8rem; color: hsl(var(--muted-foreground) / 0.7); margin-top: 0.5rem; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid hsl(var(--primary) / 0.2);
  color: hsl(var(--foreground));
}
.carousel-btn:hover { border-color: hsl(var(--primary) / 0.4); }
.carousel-prev { left: 0.5rem; }
.carousel-next { right: 0.5rem; }
@media (min-width: 1280px) {
  .carousel-prev { left: -3rem; }
  .carousel-next { right: -3rem; }
}

.team-figure { text-align: center; }
.team-figure img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  width: 100%;
  height: 16rem;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid hsl(var(--primary) / 0.1);
  transition: transform 0.5s ease;
}
@media (min-width: 768px) { .team-figure img { height: 20rem; } }
.team-figure img:hover { transform: scale(1.05); }
.team-figure p { font-size: 0.95rem; color: hsl(var(--muted-foreground)); }

/* =========================================================
   Gallery
   ========================================================= */
.gallery { background: hsl(var(--background)); }
.gallery-card {
  overflow: hidden;
  border: 2px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--card) / 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: all 0.3s ease;
}
.gallery-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-strong); border-color: hsl(var(--primary) / 0.3); }
.gallery-media { position: relative; overflow: hidden; }
.gallery-media img { width: 100%; height: 12rem; object-fit: cover; transition: transform 0.7s ease; }
@media (min-width: 640px) { .gallery-media img { height: 14rem; } }
@media (min-width: 768px) { .gallery-media img { height: 16rem; } }
.gallery-card:hover .gallery-media img { transform: scale(1.1) rotate(1deg); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-card:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  background: hsl(var(--primary) / 0.8);
  border-radius: 9999px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.gallery-card .cap { padding: 1rem; font-size: 0.95rem; color: hsl(var(--muted-foreground)); }

/* =========================================================
   Social proof
   ========================================================= */
.social { background: hsl(var(--background)); }
.testimonials { margin-bottom: 3rem; }
.testimonial {
  padding: 1.5rem;
  border: 2px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--card) / 0.8);
  transition: all 0.3s ease;
}
.testimonial:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-strong); border-color: hsl(var(--primary) / 0.2); }
.stars { display: flex; gap: 0.25rem; margin-bottom: 1rem; color: hsl(var(--accent)); }
.testimonial .quote { font-size: 0.95rem; color: hsl(var(--muted-foreground)); margin-bottom: 1rem; font-style: italic; line-height: 1.6; }
.testimonial .who { font-weight: 600; font-size: 0.95rem; }
.testimonial .who span { color: hsl(var(--muted-foreground)); font-weight: 400; margin-left: 0.5rem; }

.proof-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.proof-badges .badge { padding: 0.5rem 1.25rem; transition: transform 0.2s; }
.proof-badges .badge:hover { transform: scale(1.05); border-color: hsl(var(--primary) / 0.4); }

.stats { margin-top: 4rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.stat-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 2px solid hsl(var(--primary) / 0.1);
  transition: all 0.3s ease;
}
.stat-card:hover { transform: scale(1.05); border-color: hsl(var(--primary) / 0.3); box-shadow: var(--shadow-medium); }
.stat-num { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 700; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.8rem; color: hsl(var(--muted-foreground)); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: hsl(var(--secondary)); }
.faq-inner { max-width: 48rem; margin-inline: auto; }
.accordion { display: flex; flex-direction: column; gap: 0.75rem; }
.accordion-item { border: 1px solid hsl(var(--border)); border-radius: var(--radius); padding-inline: 1.25rem; transition: all 0.3s; }
.accordion-item:hover { border-color: hsl(var(--primary) / 0.3); transform: translateY(-4px); box-shadow: var(--shadow-medium); }
.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  padding-block: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 768px) { .accordion-trigger { font-size: 1.125rem; } }
.accordion-trigger .chevron { transition: transform 0.3s; flex-shrink: 0; }
.accordion-item.open .accordion-trigger .chevron { transform: rotate(180deg); }
.accordion-content { overflow: hidden; max-height: 0; transition: max-height 0.3s ease; }
.accordion-content-inner { padding-bottom: 1rem; font-size: 0.95rem; color: hsl(var(--muted-foreground)); line-height: 1.7; }

.faq-cta { margin-top: 3rem; text-align: center; padding: 2rem; border-radius: var(--radius); border: 2px solid hsl(var(--primary) / 0.2); }
.faq-cta p { color: hsl(var(--muted-foreground)); margin-bottom: 1rem; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); padding-block: 2.5rem; }
@media (min-width: 768px) { .site-footer { padding-block: 3rem; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 2rem; } }
.footer-grid img { height: 4rem; width: auto; margin-bottom: 1rem; }
@media (min-width: 768px) { .footer-grid img { height: 5rem; } }
.footer-about p { font-size: 0.95rem; color: hsl(var(--primary-foreground) / 0.8); line-height: 1.7; }
.footer-col h4 { font-size: 1.125rem; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.95rem; }
.footer-col a, .footer-contact span { color: hsl(var(--primary-foreground) / 0.8); transition: color 0.2s; }
.footer-col a:hover { color: hsl(var(--primary-foreground)); }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.5rem; }
.footer-contact { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-bottom { border-top: 1px solid hsl(var(--primary-foreground) / 0.2); padding-top: 1.5rem; text-align: center; color: hsl(var(--primary-foreground) / 0.6); }
.footer-bottom p { font-size: 0.8rem; }
.footer-bottom p + p { margin-top: 0.5rem; }
.footer-bottom a:hover { color: hsl(var(--primary-foreground)); }

/* =========================================================
   Fixed call button
   ========================================================= */
.call-fab { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50; }
.call-fab-wrap { position: relative; }
.call-fab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background: hsl(var(--accent));
  color: #fff;
  border: 4px solid #fff;
  box-shadow: var(--shadow-strong);
  transition: all 0.3s ease;
}
.call-fab-btn:hover { background: hsl(var(--accent) / 0.9); transform: scale(1.1); }
.call-fab-btn:active { transform: scale(0.95); }
.call-fab-online { position: absolute; top: -0.25rem; left: -0.25rem; z-index: 10; }
.call-fab-online .ping { height: 1.25rem; width: 1.25rem; }
.call-fab-online .ping::before, .call-fab-online .ping::after { height: 1.25rem; width: 1.25rem; }
.call-fab-online .ping::after { border: 2px solid #fff; box-shadow: var(--shadow-medium); }
.call-fab-badge {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  background: hsl(var(--destructive));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.6rem;
  border-radius: 9999px;
  border: 2px solid #fff;
  box-shadow: var(--shadow-medium);
  animation: pulse 2s ease-in-out infinite;
}
.call-fab-tip {
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.2s;
  color: hsl(var(--foreground));
}
.call-fab-wrap:hover .call-fab-tip { opacity: 1; transform: scale(1); }
.call-fab-tip .t1 { font-weight: 700; }
.call-fab-tip .t2 { font-size: 0.75rem; opacity: 0.8; }

/* =========================================================
   Background decorative elements (home)
   ========================================================= */
.bg-decor { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-blob { position: absolute; border-radius: 9999px; }
.bg-blob.b1 { top: 0; left: 0; width: 500px; height: 500px; background: hsl(var(--primary) / 0.05); filter: blur(120px); animation: pulse 8s ease-in-out infinite; }
.bg-blob.b2 { bottom: 0; right: 0; width: 600px; height: 600px; background: hsl(var(--success) / 0.04); filter: blur(140px); animation: pulse 10s ease-in-out infinite; }
.bg-blob.b3 { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 700px; height: 700px; background: hsl(var(--accent) / 0.03); filter: blur(160px); animation: pulse 12s ease-in-out infinite; }
.bg-float { position: absolute; animation: float 3s ease-in-out infinite; }

/* =========================================================
   Contact page
   ========================================================= */
.contact-main { padding-top: 4rem; }
@media (min-width: 768px) { .contact-main { padding-top: 5rem; } }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 72rem; margin-inline: auto; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; } }
.form-card { padding: 1.5rem; }
@media (min-width: 768px) { .form-card { padding: 2rem; } }
.form-card h2 { font-size: 1.25rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .form-card h2 { font-size: 1.5rem; } }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-size: 0.95rem; font-weight: 500; margin-bottom: 0.375rem; }
.input, .textarea, .select {
  width: 100%;
  height: 2.75rem;
  padding: 0 0.875rem;
  border: 1px solid hsl(var(--input));
  border-radius: calc(var(--radius) - 2px);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: 1rem;
}
@media (min-width: 768px) { .input, .textarea, .select { height: 3rem; } }
.textarea { height: auto; padding: 0.75rem 0.875rem; resize: none; }
.input:focus, .textarea:focus, .select:focus { outline: 2px solid hsl(var(--ring) / 0.5); outline-offset: 1px; border-color: hsl(var(--ring)); }
.field-hint { font-size: 0.8rem; color: hsl(var(--muted-foreground)); text-align: center; margin-top: 0.5rem; }

.info-stack { display: flex; flex-direction: column; gap: 1.5rem; }
.info-card { padding: 1.5rem; }
.info-card h3 { font-size: 1.125rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .info-card h3 { font-size: 1.25rem; } }
.info-row { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.info-row:last-child { margin-bottom: 0; }
.info-row .t-primary { margin-top: 0.25rem; }
.info-row .label { font-weight: 600; font-size: 0.95rem; }
.info-row a, .info-row .val { font-size: 0.95rem; color: hsl(var(--muted-foreground)); transition: color 0.2s; }
.info-row a:hover { color: hsl(var(--primary)); }
.info-card.accent-card { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.info-card.accent-card p { color: hsl(var(--primary-foreground) / 0.95); margin-bottom: 1rem; line-height: 1.6; }
.why-list { display: flex; flex-direction: column; gap: 0.75rem; }
.why-list li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.95rem; color: hsl(var(--muted-foreground)); }
.why-list .chk { color: hsl(var(--success)); margin-top: 0.1rem; flex-shrink: 0; font-weight: 700; }

/* =========================================================
   Legal pages (prose)
   ========================================================= */
.legal { background: hsl(var(--background)); }
.legal-wrap { max-width: 56rem; margin-inline: auto; padding-block: 3rem; }
@media (min-width: 768px) { .legal-wrap { padding-block: 5rem; } }
.legal h1 { font-size: 1.875rem; color: hsl(var(--primary)); margin-bottom: 2rem; }
@media (min-width: 768px) { .legal h1 { font-size: 2.25rem; } }
.legal section { margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.5rem; font-weight: 600; color: hsl(var(--primary)); margin-bottom: 1rem; }
.legal h3 { font-size: 1.25rem; font-weight: 600; color: hsl(var(--primary)); margin: 1.5rem 0 0.75rem; }
.legal p { line-height: 1.7; margin-bottom: 0.75rem; }
.legal ul { list-style: disc; padding-left: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 0.75rem; }
.legal ul.no-bullet { list-style: none; padding-left: 0; }
.legal a { color: hsl(var(--primary)); }
.legal a:hover { text-decoration: underline; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.legal th, .legal td { border: 1px solid hsl(var(--border)); padding: 0.5rem 1rem; text-align: left; }
.legal th { background: hsl(var(--muted)); }
.legal .table-scroll { overflow-x: auto; }
.legal .updated { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid hsl(var(--border)); }
.legal .updated p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

/* =========================================================
   404
   ========================================================= */
.notfound { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: hsl(var(--secondary)); text-align: center; padding: 1rem; }
.notfound h1 { font-size: 3rem; margin-bottom: 1rem; color: hsl(var(--primary)); }
.notfound p { font-size: 1.25rem; color: hsl(var(--muted-foreground)); margin-bottom: 1.5rem; }

/* =========================================================
   Modal / Dialog
   ========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal {
  position: relative;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  backdrop-filter: blur(30px) saturate(180%);
  background-color: hsl(var(--background) / 0.95);
  border: 2px solid hsl(var(--border));
  border-radius: var(--radius);
  max-width: 42rem;
  width: 100%;
  margin-block: 2rem auto;
  box-shadow: var(--shadow-strong);
  animation: scaleIn 0.2s ease-out;
}
.modal-lg { max-width: 48rem; }
.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 5;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: hsl(var(--background) / 0.8);
  border: 1px solid hsl(var(--border));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--foreground));
}
.modal-close:hover { background: hsl(var(--secondary)); }
.modal-head { padding: 1.5rem; border-bottom: 2px solid hsl(var(--c, var(--border)) / 0.3); background: linear-gradient(135deg, hsl(var(--c, var(--primary)) / 0.1), transparent); }
@media (min-width: 640px) { .modal-head { padding: 2rem; } }
.modal-title { display: flex; align-items: center; gap: 1rem; font-size: 1.5rem; margin-bottom: 1rem; padding-right: 2rem; }
@media (min-width: 640px) { .modal-title { font-size: 2rem; } }
.modal-title .icon-tile { padding: 1rem; border-radius: 1rem; background: hsl(var(--c) / 0.2); border: 2px solid hsl(var(--c) / 0.3); box-shadow: var(--shadow-strong); }
.modal-head .lead { font-size: 1.125rem; color: hsl(var(--foreground)); line-height: 1.6; font-weight: 500; }
@media (min-width: 640px) { .modal-head .lead { font-size: 1.25rem; } }
.modal-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 640px) { .modal-body { padding: 2rem; } }
.modal-includes { border: 2px solid hsl(var(--c, var(--border)) / 0.3); border-radius: var(--radius); padding: 1.25rem; }
.modal-includes h4 { display: flex; align-items: center; gap: 0.5rem; font-size: 1.125rem; margin-bottom: 1.25rem; }
.modal-includes ul { display: flex; flex-direction: column; gap: 0.875rem; }
.modal-includes li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.95rem; line-height: 1.6; }
.modal-includes .li-dot {
  width: 1.5rem; height: 1.5rem; border-radius: 9999px; flex-shrink: 0; margin-top: 0.1rem;
  background: hsl(var(--c) / 0.15); color: hsl(var(--c)); border: 1px solid hsl(var(--c) / 0.3);
  display: flex; align-items: center; justify-content: center;
}
.modal-actions { display: flex; flex-direction: column; gap: 0.75rem; }

/* Gallery modal specifics */
.modal-simple-head { padding: 1.5rem 1.5rem 0; }
.modal-simple-head .modal-title { font-size: 1.25rem; margin-bottom: 0; }
@media (min-width: 640px) { .modal-simple-head .modal-title { font-size: 1.5rem; } }
.modal-img { width: 100%; border-radius: var(--radius); }
.modal-desc { font-size: 1rem; color: hsl(var(--muted-foreground)); line-height: 1.7; }
@media (min-width: 640px) { .modal-desc { font-size: 1.125rem; } }
.modal-detail-box { background: hsl(var(--secondary) / 0.5); padding: 1.25rem; border-radius: var(--radius); }
.modal-detail-box h4 { font-size: 1rem; margin-bottom: 1rem; }
.modal-detail-box ul { display: flex; flex-direction: column; gap: 0.75rem; }
.modal-detail-box li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.95rem; color: hsl(var(--muted-foreground)); line-height: 1.6; }
.modal-detail-box .li-dot { width: 0.5rem; height: 0.5rem; border-radius: 9999px; background: hsl(var(--primary)); margin-top: 0.5rem; flex-shrink: 0; }

body.modal-open { overflow: hidden; }

/* =========================================================
   Toast
   ========================================================= */
.toast-region { position: fixed; bottom: 1rem; right: 1rem; z-index: 200; display: flex; flex-direction: column; gap: 0.5rem; max-width: 24rem; }
@media (max-width: 640px) { .toast-region { left: 1rem; right: 1rem; max-width: none; } }
.toast {
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  padding: 1rem 1.25rem;
  animation: slideInRight 0.3s ease-out;
}
.toast.destructive { background: hsl(var(--destructive)); color: hsl(var(--destructive-foreground)); border-color: hsl(var(--destructive)); }
.toast .toast-title { font-weight: 600; font-size: 0.95rem; }
.toast .toast-desc { font-size: 0.875rem; opacity: 0.9; margin-top: 0.25rem; }

/* =========================================================
   Animations
   ========================================================= */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes bounceSubtle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes wiggle { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes shimmer { 0% { background-position: -1000px 0; } 100% { background-position: 1000px 0; } }

.animate-fade-in { animation: fadeIn 0.6s ease-out forwards; }
.animate-slide-up { opacity: 0; animation: slideUp 0.6s ease-out forwards; }
.animate-bounce-subtle { animation: bounceSubtle 2s ease-in-out infinite; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }
.animate-wiggle { animation: wiggle 1s ease-in-out infinite; }

/* Staggered reveal for card grids */
.reveal > * { opacity: 0; animation: slideUp 0.6s ease-out forwards; }
.reveal > *:nth-child(1) { animation-delay: 0.05s; }
.reveal > *:nth-child(2) { animation-delay: 0.13s; }
.reveal > *:nth-child(3) { animation-delay: 0.21s; }
.reveal > *:nth-child(4) { animation-delay: 0.29s; }
.reveal > *:nth-child(5) { animation-delay: 0.37s; }
.reveal > *:nth-child(6) { animation-delay: 0.45s; }
.reveal > *:nth-child(7) { animation-delay: 0.53s; }
.reveal > *:nth-child(8) { animation-delay: 0.61s; }
.reveal > *:nth-child(9) { animation-delay: 0.69s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .animate-slide-up, .reveal > * { opacity: 1; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   SEO landing pages (servizio x città), blog, hub
   ========================================================= */
.icon-brand { fill: currentColor; stroke: none; }

/* WhatsApp button + floating fab */
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1ebe5a; }
.wa-fab {
  position: fixed; bottom: 6.5rem; right: 1.5rem; z-index: 49;
  width: 3.5rem; height: 3.5rem; border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff; border: 3px solid #fff;
  box-shadow: var(--shadow-strong); transition: transform 0.3s;
}
.wa-fab:hover { transform: scale(1.1); }
.wa-fab .icon { width: 1.6rem; height: 1.6rem; }

/* Breadcrumb */
.breadcrumb { padding-top: 5.5rem; padding-bottom: 0.5rem; font-size: 0.85rem; color: hsl(var(--muted-foreground)); }
@media (min-width: 768px) { .breadcrumb { padding-top: 6.25rem; } }
.breadcrumb a { color: hsl(var(--muted-foreground)); }
.breadcrumb a:hover { color: hsl(var(--primary)); text-decoration: underline; }
.breadcrumb .sep { margin: 0 0.5rem; opacity: 0.5; }
.breadcrumb [aria-current] { color: hsl(var(--foreground)); font-weight: 600; }

/* Landing hero */
.lp-hero { position: relative; overflow: hidden; padding: 3rem 0 3.5rem; display: flex; align-items: center; min-height: 52vh; }
@media (min-width: 768px) { .lp-hero { padding: 4rem 0 5rem; min-height: 56vh; } }
.lp-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.lp-hero-overlay { position: absolute; inset: 0; z-index: 0; background: linear-gradient(120deg, rgba(0,0,0,.72), rgba(0,0,0,.55) 55%, rgba(0,0,0,.45)); }
.lp-hero-inner { max-width: 50rem; color: #fff; }
.lp-hero h1 { font-size: clamp(1.9rem, 5vw, 3.25rem); margin-bottom: 1rem; line-height: 1.12; }
.lp-hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: rgba(255,255,255,.95); line-height: 1.6; margin-bottom: 1.75rem; max-width: 44rem; }
.lp-hero .hero-status { box-shadow: var(--shadow-medium); }
.lp-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.lp-actions.center { justify-content: center; }

/* Narrow content + two-col */
.lp-narrow { max-width: 56rem; }
.lp-narrow > h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); margin-bottom: 1rem; }
.lp-narrow > p { color: hsl(var(--muted-foreground)); line-height: 1.8; margin-bottom: 1rem; font-size: 1.02rem; }
.lp-two { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .lp-two { grid-template-columns: 1.1fr 0.9fr; } }
.lp-two h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin-bottom: 1.25rem; }

/* Signal card */
.signal-card { padding: 1.5rem; margin-top: 1.5rem; border-left: 4px solid hsl(var(--accent)); }
.signal-card h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.signal-list { display: flex; flex-direction: column; gap: 0.75rem; }
.signal-list li { display: flex; align-items: flex-start; gap: 0.6rem; color: hsl(var(--muted-foreground)); line-height: 1.5; }

/* Feature grid (cosa include) */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-item {
  display: flex; align-items: flex-start; gap: 0.75rem; padding: 1rem 1.15rem;
  background: hsl(var(--card) / 0.85); border: 1px solid hsl(var(--border));
  border-left: 3px solid hsl(var(--c, var(--primary))); border-radius: calc(var(--radius) - 2px);
  font-weight: 500; box-shadow: var(--shadow-soft); transition: transform .2s, box-shadow .2s;
}
.feature-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-medium); }
.feature-item .icon { color: hsl(var(--c, var(--primary))); margin-top: 1px; }

/* Why list big */
.why-list.big li { font-size: 1.02rem; margin-bottom: 0.85rem; }
.why-list.big .icon { margin-top: 2px; }

/* Zone */
.zone-card { padding: 1.5rem; }
.zone-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.zone-card p { color: hsl(var(--muted-foreground)); margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.4rem 0.8rem;
  background: hsl(var(--secondary)); border: 1px solid hsl(var(--border));
  border-radius: 9999px; font-size: 0.85rem; color: hsl(var(--secondary-foreground));
}
.chip .icon { color: hsl(var(--primary)); }

/* Related grid */
.related-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.related-chip {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.9rem 1.1rem;
  background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: calc(var(--radius) - 2px);
  font-weight: 500; transition: all .2s; box-shadow: var(--shadow-soft);
}
.related-chip:hover { border-color: hsl(var(--primary) / 0.4); color: hsl(var(--primary)); transform: translateY(-2px); box-shadow: var(--shadow-medium); }
.related-chip .icon { color: hsl(var(--primary)); flex-shrink: 0; }

/* CTA band */
.cta-band { padding: 3.5rem 0; background: var(--gradient-hero); }
.cta-band-inner { max-width: 52rem; margin-inline: auto; text-align: center; padding: 2.5rem 1.5rem; border-radius: var(--radius); }
.cta-band-inner h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin-bottom: 0.75rem; color: #fff; }
.cta-band-inner p { color: rgba(255,255,255,.92); margin-bottom: 1.5rem; font-size: 1.05rem; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  display: flex; flex-direction: column; overflow: hidden; background: hsl(var(--card));
  border: 1px solid hsl(var(--border)); border-radius: var(--radius); box-shadow: var(--shadow-soft);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); border-color: hsl(var(--primary) / 0.3); }
.blog-thumb { overflow: hidden; aspect-ratio: 3 / 2; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .blog-thumb img { transform: scale(1.06); }
.blog-card-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.blog-card-body h3 { font-size: 1.15rem; line-height: 1.3; }
.blog-card-body p { font-size: 0.92rem; color: hsl(var(--muted-foreground)); line-height: 1.55; flex: 1; }
.blog-cat { display: inline-block; align-self: flex-start; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: hsl(var(--primary)); background: hsl(var(--primary) / 0.1); padding: 0.25rem 0.6rem; border-radius: 9999px; }
.blog-date { font-size: 0.8rem; color: hsl(var(--muted-foreground)); display: inline-flex; align-items: center; gap: 0.35rem; }
.blog-date .icon { width: 0.9rem; height: 0.9rem; }

/* Article */
.article-hero { padding-top: 1rem; padding-bottom: 1.5rem; }
.article-hero h1 { font-size: clamp(1.8rem, 5vw, 2.75rem); line-height: 1.15; margin: 0.75rem 0; }
.article-meta { color: hsl(var(--muted-foreground)); font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.4rem; }
.article-img { margin: 0 0 1.75rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-medium); }
.article-img img { width: 100%; height: auto; display: block; }
.article-lead { font-size: 1.2rem; line-height: 1.7; color: hsl(var(--foreground)); font-weight: 500; margin-bottom: 1.5rem; }
.article-body { font-size: 1.05rem; line-height: 1.8; color: hsl(var(--foreground)); }
.article-body h2 { font-size: 1.5rem; color: hsl(var(--primary)); margin: 2rem 0 0.85rem; }
.article-body p { margin-bottom: 1rem; }
.article-body ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.article-cta { margin: 2.5rem 0 1.5rem; padding: 2rem 1.5rem; border-radius: var(--radius); text-align: center; border: 2px solid hsl(var(--primary) / 0.2); }
.article-cta h2 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.article-cta p { color: hsl(var(--muted-foreground)); margin-bottom: 1.25rem; }

/* Hub aree servite */
.hub { display: flex; flex-direction: column; gap: 2.5rem; }
.hub-prov > h2 { font-size: 1.5rem; color: hsl(var(--primary)); margin-bottom: 1.25rem; padding-bottom: 0.5rem; border-bottom: 2px solid hsl(var(--primary) / 0.15); }
.hub-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hub-grid { grid-template-columns: repeat(3, 1fr); } }
.hub-city { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); padding: 1.1rem 1.25rem; box-shadow: var(--shadow-soft); }
.hub-city h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.6rem; }
.hub-code { color: hsl(var(--muted-foreground)); font-weight: 400; font-size: 0.85rem; }
.hub-links { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.hub-links a { font-size: 0.82rem; padding: 0.3rem 0.65rem; background: hsl(var(--secondary)); border-radius: 9999px; color: hsl(var(--secondary-foreground)); transition: all .2s; }
.hub-links a:hover { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
