/* Cavalieri Design System — Fabio Cavalieri Web Designer */
:root {
  --bg: #ffffff;
  --bg-card: #ffffff;
  --bg-elevated: #f5f8fc;
  --text: #1a2332;
  --heading: #0b2e59;
  --text-muted: #5a6577;
  --accent: #0066cc;
  --accent-2: #0066cc;
  --orange: #ff6b00;
  --orange-deep: #b84a00;
  --orange-soft: #fff2e8;
  --blue-soft: #eaf3fc;
  --border: #e2e8f0;
  --gold: #b84a00;
  --gradient: linear-gradient(120deg, #ff6b00 0%, #ff8a33 100%);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 16px 40px rgba(11, 46, 89, 0.12);
  --font: "Lato", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --max: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-2); text-decoration: none; transition: color 0.2s; }
a:hover { color: #004d99; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links { display: flex; gap: 1.5rem; list-style: none; flex-wrap: wrap; }
.nav-links a { color: var(--text-muted); font-size: 0.9rem; }
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 107, 0, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255, 107, 0, 0.4); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--text); }

/* Hero */
.hero {
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 340px);
  gap: 2.5rem 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { position: relative; }
.hero-photo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-photo-frame {
  width: 100%;
  max-width: 320px;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow:
    0 24px 48px rgba(11, 46, 89, 0.15),
    0 0 0 1px var(--border);
  background: var(--bg-card);
}
.hero-photo-frame img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}
.hero-call-badge {
  display: block;
  width: 100%;
  max-width: 320px;
  margin-top: 1rem;
  line-height: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.hero-call-badge img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(11, 46, 89, 0.15));
}
.hero-call-badge:hover {
  transform: scale(1.03);
  filter: brightness(1.05);
}
.hero-call-badge:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 12px;
}
.hero-photo-caption {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-align: center;
}

/* Fiducia — banda sopra portfolio vetrina */
.trust-band {
  padding: 2.5rem 0 1rem;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.trust-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1rem;
  text-align: center;
}
.trust-item strong {
  display: block;
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.trust-item span {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.trust-quote {
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}
.trust-quote em { color: var(--text); font-style: italic; }
.mockup-frame picture {
  display: block;
  width: 100%;
  line-height: 0;
}
.mockup-frame img.case-preview-img {
  width: 100%;
  height: auto;
  display: block;
}
.card-preview picture {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  line-height: 0;
  overflow: hidden;
  pointer-events: none;
}
.card-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
@media (max-width: 768px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
.hero::before {
  content: "";
  position: absolute;
  inset: -50% -20% auto;
  height: 80%;
  background: radial-gradient(ellipse at 30% 20%, #fff2e8, transparent 60%),
              radial-gradient(ellipse at 10% 60%, rgba(0, 102, 204, 0.08), transparent 55%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  position: relative;
}
.hero h1 .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 1rem;
  position: relative;
  line-height: 1.7;
}
.hero .lead strong { color: var(--text); font-weight: 700; }
.hero .hero-note {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 2rem;
  position: relative;
  line-height: 1.65;
  opacity: 0.92;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; position: relative; }

.badge-demo {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: var(--blue-soft);
  color: var(--gold);
  border: 1px solid #ffffff;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

/* Grid portfolio */
.section { padding: 4rem 0; }
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.section-sub { color: var(--text-muted); margin-bottom: 2.5rem; max-width: 560px; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
@media (hover: hover) and (pointer: fine) {
  .project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 107, 0, 0.45);
    box-shadow: var(--shadow);
  }
}

.card-preview {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  background: var(--bg-elevated);
}
@media (hover: hover) and (pointer: fine) {
  .project-card:hover .card-preview img {
    transform: scale(1.06);
  }
}
.card-preview img {
  transition: transform 0.45s ease;
}
.card-preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(10, 14, 23, 0.25) 45%,
    transparent 100%
  );
  pointer-events: none;
}

.card-body { padding: 1.35rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  margin-bottom: 0.4rem;
}
.card-body h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.card-body p { font-size: 0.88rem; color: var(--text-muted); flex: 1; margin-bottom: 1rem; }
/* Card actions — stessi .btn del CTA "Prenota call" */
.card-body {
  position: relative;
  z-index: 5;
  isolation: isolate;
}
.card-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}
.card-links a {
  pointer-events: auto;
  position: relative;
  z-index: 11;
  -webkit-tap-highlight-color: rgba(255, 107, 0, 0.25);
  touch-action: manipulation;
  cursor: pointer;
  text-decoration: none;
}
.card-links .btn-case-study {
  width: 100%;
  min-height: 44px;
  justify-content: center;
  font-size: 0.88rem;
}
.card-links .btn-demo-live {
  width: 100%;
  min-height: 48px;
  font-size: 0.95rem;
  justify-content: center;
}
.card-links .btn-demo-live:hover,
.card-links .btn-demo-live:active,
.card-links .btn-demo-live:focus-visible {
  color: #fff !important;
}
@media (min-width: 520px) {
  .card-links {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
  }
  .card-links .btn-case-study,
  .card-links .btn-demo-live {
    width: auto;
    flex: 1 1 calc(50% - 0.4rem);
    min-width: 9rem;
  }
}

/* Case study */
.case-hero { padding: 3rem 0 2rem; }
.case-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }
.case-meta span {
  padding: 0.4rem 0.9rem;
  background: var(--bg-elevated);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.feature-item h4 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.feature-item p { font-size: 0.85rem; color: var(--text-muted); }

.mockup-frame {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  margin: 2rem 0;
}
.mockup-frame iframe,
.mockup-frame .demo-embed {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  border-radius: var(--radius);
  background: #fff;
}
.case-preview-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  margin-bottom: 0.25rem;
  border: 1px solid var(--border);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding-left: 3rem;
}
.process-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.cta-block {
  text-align: center;
  padding: 3.5rem 2rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 107, 0, 0.3);
  margin: 3rem 0;
}
.cta-block h2 { font-size: 1.75rem; margin-bottom: 0.75rem; }
.cta-block p { color: var(--text-muted); margin-bottom: 1.5rem; max-width: 520px; margin-inline: auto; }
.cta-block-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
.cta-block-actions .btn-outline:hover { color: var(--text); }

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.site-footer a { color: var(--accent-2); }

/* Chat WhatsApp — non blocca tap sulla griglia */
.fab-chat {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  font-family: inherit;
  pointer-events: none;
}
.fab-chat-toggle,
.fab-chat.open .fab-chat-panel {
  pointer-events: auto;
}
.fab-chat-panel {
  width: min(320px, calc(100vw - 2rem));
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
  box-shadow: 0 20px 50px rgba(11, 46, 89, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  pointer-events: none;
}
.fab-chat.open .fab-chat-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.fab-chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.fab-chat-header strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
}
.fab-chat-header span {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.fab-chat-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.25rem;
}
.fab-chat-close:hover { color: var(--text); }
.fab-chat-msg {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.fab-chat-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.fab-chat-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  border-radius: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.fab-chat-wa:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}
.fab-chat-call {
  text-align: center;
  font-size: 0.82rem;
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 600;
}
.fab-chat-call:hover { text-decoration: underline; }
.fab-chat-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.2rem;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  animation: fab-chat-pulse 2.5s ease-in-out infinite;
}
.fab-chat-toggle:hover {
  transform: scale(1.04);
  animation: none;
}
.fab-chat-toggle svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
@keyframes fab-chat-pulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 8px 36px rgba(37, 211, 102, 0.7), 0 0 0 8px rgba(37, 211, 102, 0.15); }
}
@media (max-width: 768px) {
  .fab-chat { bottom: 1rem; right: 1rem; }
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover,
.filter-btn.active {
  background: #fff2e8;
  border-color: var(--accent);
  color: var(--text);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 2.5rem 0 3rem; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-photo { order: -1; }
  .hero-photo-frame { max-width: 280px; margin: 0 auto; }
  .hero-call-badge { max-width: 280px; margin-left: auto; margin-right: auto; }
}


/* =========================================================
   Tema chiaro — bianco · arancione · blu istituzionale
   ========================================================= */
@font-face { font-family: "Lato"; font-weight: 400; font-display: swap; src: url("../fonts/lato-400.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 700; font-display: swap; src: url("../fonts/lato-700.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 600; font-display: swap; src: url("../fonts/playfair-display-600.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-display: swap; src: url("../fonts/playfair-display-700.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 600; font-display: swap; src: url("../fonts/playfair-display-600-italic.woff2") format("woff2"); }
body { font-size: 1.0625rem; line-height: 1.75; }
h1, h2, h3, h4 { color: var(--heading); font-family: var(--font-display); line-height: 1.25; letter-spacing: -0.015em; }
h4 { font-family: var(--font); }
p { margin-bottom: 1.1rem; }
.site-header { box-shadow: 0 2px 14px rgba(11, 46, 89, 0.06); }
.site-header::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #0066cc 0 50%, #ff6b00 50% 100%); }
.logo { color: var(--heading); font-size: 1.15rem; }
.logo span { background: none; -webkit-text-fill-color: var(--orange); color: var(--orange); }
.nav-links a { color: var(--text); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--accent); }
.btn { font-weight: 700; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: #e65c00; }
.btn-outline { border: 2px solid var(--accent); color: var(--accent); background: #fff; }
.btn-outline:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.cta-block-actions .btn-outline:hover { color: #fff; }
.hero { padding: 5rem 0 6rem; }
.hero h1 { color: var(--heading); margin-bottom: 1.5rem; }
.hero h1 .highlight { background: none; -webkit-text-fill-color: var(--orange); color: var(--orange); }
.hero .lead { margin-bottom: 1.5rem; }
.hero .hero-note { margin-bottom: 2.5rem; }
.hero-photo-frame { border: 6px solid #fff; box-shadow: var(--shadow), 0 0 0 3px var(--orange); }
.hero-call-badge img { filter: drop-shadow(0 10px 24px rgba(11, 46, 89, 0.2)); }
.badge-demo { color: var(--accent); background: var(--blue-soft); border: 1px solid #cfe2f7; font-weight: 700; margin-bottom: 1.5rem; }
.section { padding: clamp(4rem, 8vw, 6rem) 0; }
.section:nth-of-type(even) { background: var(--bg-elevated); }
.section-title { position: relative; padding-bottom: 1rem; margin-bottom: 1.1rem; font-size: clamp(1.75rem, 3.5vw, 2.4rem); }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 4px; background: var(--orange); }
.section-sub { margin-bottom: 3rem; font-size: 1.05rem; }
.trust-item { background: #fff; border: 1px solid var(--border); box-shadow: 0 2px 10px rgba(11,46,89,.05); padding: 1.75rem 1.25rem; }
.trust-item strong { color: var(--orange-deep); font-size: 1.2rem; margin-bottom: 0.5rem; }
.trust-item span { font-size: 0.9rem; }
.trust-grid { gap: 1.5rem; margin-bottom: 2rem; }
.project-grid { gap: 2rem; }
.project-card { border: 1px solid var(--border); box-shadow: 0 2px 10px rgba(11,46,89,.05); }
.card-body { padding: 1.75rem 1.75rem 1.9rem; }
.card-tag { color: var(--orange-deep); font-weight: 700; margin-bottom: 0.6rem; font-size: 0.75rem; }
.card-body h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.card-body p { font-size: 0.95rem; margin-bottom: 1.5rem; }
.case-hero { padding: 4.5rem 0 2.5rem; }
.case-meta span { background: var(--blue-soft); color: var(--accent); font-weight: 600; }
.feature-list { gap: 1.5rem; margin: 2.5rem 0; }
.feature-item { border: 1px solid var(--border); padding: 1.6rem; box-shadow: 0 2px 10px rgba(11,46,89,.05); border-top: 3px solid var(--orange); }
.feature-item h4 { font-size: 1.05rem; margin-bottom: 0.6rem; color: var(--heading); }
.feature-item p { font-size: 0.93rem; margin: 0; }
.mockup-frame { background: var(--bg-elevated); border: 1px solid var(--border); }
.process-steps { gap: 2rem; }
.process-step h4 { margin-bottom: 0.4rem; color: var(--heading); }
.process-step p { font-size: 0.93rem; color: var(--text-muted); }
.process-step::before { color: #fff; background: var(--orange); }
.cta-block { background: linear-gradient(120deg, #0b2e59 0%, #0066cc 130%); border: 0; color: #fff; padding: 4rem 2rem; box-shadow: var(--shadow); }
.cta-block h2 { color: #fff; }
.cta-block p { color: #d6e2f0 !important; }
.cta-block .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.cta-block .btn-outline:hover { background: #fff; color: #0b2e59; }
.site-footer { background: #0b2e59; color: #d6e2f0; border-top: 5px solid var(--orange); margin-top: 0; padding: 3rem 0; }
.site-footer a { color: #fff; font-weight: 600; }
.site-footer p { margin: 0.3rem 0; }
.fab-chat-panel { background: #fff; }
.fab-chat-header strong { color: var(--heading); }
.fab-chat-call { color: var(--accent); }
.filter-bar { gap: 0.6rem; margin-bottom: 2.5rem; }
.filter-btn { border: 1.5px solid var(--border); background: #fff; color: var(--text); font-weight: 600; padding: 0.55rem 1.15rem; }
.filter-btn:hover, .filter-btn.active { background: var(--orange); border-color: var(--orange); color: #fff; }
[style*="color:var(--gold)"] { font-weight: 600; }

/* WhatsApp in blu */
.fab-chat-toggle { background: #0066cc; box-shadow: 0 8px 28px rgba(0, 102, 204, 0.4); animation: none; }
.fab-chat-toggle:hover { background: #004d99; }
.fab-chat-wa { background: #0066cc; }
.fab-chat-wa:hover { background: #004d99; box-shadow: 0 8px 24px rgba(0, 102, 204, 0.35); }
/* Più respiro */
.section { padding: clamp(5rem, 9vw, 7.5rem) 0; }
.project-grid { gap: 2.5rem; }
.feature-list { gap: 2rem; }
.card-body { padding: 2rem 2rem 2.2rem; }
.hero h1 { font-weight: 700; letter-spacing: -0.01em; }
.hero h1 .highlight { font-style: italic; }
/* Cellulare: testi grandi */
@media (max-width: 767.98px) {
  html { font-size: 17px; }
  body, p, li { font-size: 1.2rem; line-height: 1.85; }
  .hero h1 { font-size: 2.3rem; }
  .hero .lead, .hero .hero-note { font-size: 1.25rem; color: #3f4a5c; }
  .section-title { font-size: 2rem; }
  .section-sub, .card-body p, .feature-item p, .process-step p, .trust-item span { font-size: 1.1rem; color: #3f4a5c; }
  .card-body h3 { font-size: 1.45rem; }
  .card-tag { font-size: 0.9rem; }
  .btn { font-size: 1.1rem; min-height: 3.1rem; }
  .filter-btn { font-size: 1.05rem; padding: 0.65rem 1.1rem; }
  .nav-links a { font-size: 1.1rem; }
}
.hero-call-btn {
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
  width: 100%; max-width: 320px; margin-top: 1.25rem; padding: 1rem 1.25rem;
  background: #0066cc; color: #fff; border-radius: 18px; text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 102, 204, 0.3); transition: transform .2s, background .2s;
}
.hero-call-btn:hover { background: #004d99; color: #fff; transform: translateY(-2px); }
.hero-call-label { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #ffd6b8; }
.hero-call-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1.1; }
@media (max-width: 768px) { .hero-call-btn { margin-left: auto; margin-right: auto; } }
