:root {
  --home-bg: #ffffff;
  --surface-bg: #ffffff;
  --accent-color: #111111;
  --heading-color: #111111;
  --body-text-color: #424242;
  --site-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --base-font-size: 16px;
  --nav-font-size: 16px;
  --h1-size: clamp(38px, 5.2vw, 72px);
  --h2-size: clamp(30px, 4.2vw, 54px);
  --h3-size: 22px;
  --card-title-size: 21px;
  --muted: #777777;
  --line: #e9e9e9;
  --line-strong: #d7d7d7;
  --soft: #f7f7f7;
  --danger: #ef4444;
  --shadow: 0 22px 70px rgba(0, 0, 0, .07);
  --shadow-soft: 0 10px 34px rgba(0, 0, 0, .05);
  --radius-xl: 34px;
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--site-font);
  font-size: var(--base-font-size);
  color: var(--body-text-color);
  line-height: 1.6;
  background: var(--home-bg);
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--accent-color); color: #fff; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 999;
  padding: 10px 14px; border-radius: 999px;
  background: var(--accent-color); color: #fff; font-weight: 800;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--home-bg);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 86px; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 14px; margin-right: auto; min-width: 0; }
.brand-logo { width: 96px; height: 58px; object-fit: contain; border-radius: 16px; }
.brand strong { display: block; color: var(--heading-color); font-size: 22px; line-height: 1; letter-spacing: -.045em; font-weight: 950; }
.brand small { display: none; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--muted); font-size: var(--nav-font-size); font-weight: 650; transition: color .18s ease; }
.main-nav a:hover { color: var(--heading-color); }
.nav-admin { opacity: .6; }
.menu-toggle {
  display: none; width: 46px; height: 46px; padding: 10px;
  border: 1px solid var(--line); border-radius: 15px;
  background: var(--surface-bg);
}
.menu-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 99px; background: var(--heading-color); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 13px 22px; border: 0; border-radius: 999px;
  background: var(--accent-color); color: #fff; font-weight: 850; font-size: var(--base-font-size);
  box-shadow: 0 14px 34px rgba(0,0,0,.12);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 45px rgba(0,0,0,.16); opacity: .92; }
.btn:active { transform: translateY(0); }
.btn-soft { background: var(--surface-bg); color: var(--heading-color); border: 1px solid var(--line); box-shadow: none; }
.btn-soft:hover { box-shadow: var(--shadow-soft); }
.btn-call { min-height: 52px; padding-inline: 28px; }

.hero { min-height: calc(100vh - 86px); display: flex; align-items: center; padding: 72px 0; background: var(--home-bg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: 42px; align-items: center; }
.status-pill {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 30px; padding: 10px 18px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface-bg); color: var(--muted); font-size: var(--base-font-size);
}
.status-pill span { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-color); box-shadow: 0 0 0 5px rgba(0,0,0,.06); }
.status-pill strong { font-weight: 600; }
h1, h2, h3 { margin: 0; color: var(--heading-color); line-height: 1.04; letter-spacing: -.055em; }
h1 { font-size: var(--h1-size); max-width: 100%; overflow-wrap: break-word; text-wrap: balance; }
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); }
p { margin: 0; }
.hero-copy { min-width: 0; position: relative; z-index: 2; }
.hero-visual { min-width: 0; }
.hero-subtitle { max-width: 720px; margin-top: 22px; color: var(--body-text-color); font-size: calc(var(--base-font-size) + 2px); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 34px; }
.stat-card { padding: 14px 0; }
.stat-card strong { display: block; color: var(--heading-color); font-size: calc(var(--base-font-size) + 10px); line-height: 1; letter-spacing: -.04em; }
.stat-card span { display: block; margin-top: 6px; color: var(--muted); font-size: calc(var(--base-font-size) - 2px); }
.hero-image-card { overflow: hidden; border-radius: var(--radius-xl); background: var(--surface-bg); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 10px; }
.hero-image-card img { width: 100%; height: 470px; object-fit: cover; border-radius: 26px; }

.section-pad { padding: 92px 0; background: var(--home-bg); }
.section-head { margin-bottom: 40px; }
.section-head.centered { max-width: 800px; margin-inline: auto; text-align: center; }
.section-kicker, .eyebrow { margin: 0 0 12px; color: var(--muted); font-size: calc(var(--base-font-size) - 2px); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.section-head p:last-child { margin-top: 14px; color: var(--body-text-color); font-size: calc(var(--base-font-size) + 1px); }

.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card, .feature-card, .step, .work-card, .review-card, .contact-list a, .lead-form, .detail-card, .detail-section-card, .not-found {
  background: var(--surface-bg); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.service-card { padding: 26px; border-radius: 28px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.service-card:hover, .work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.service-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 18px; background: var(--accent-color); color: #fff; }
.service-icon svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3, .work-body h3 { font-size: var(--card-title-size); }
.service-card p { margin: 12px 0 18px; color: var(--body-text-color); }
.clean-list { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.clean-list li { position: relative; padding-left: 20px; color: var(--body-text-color); font-size: calc(var(--base-font-size) - 1px); }
.clean-list li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-color); }

.about-section, .works-section, .contact-section { border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 54px; align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; height: 540px; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow); border: 10px solid var(--surface-bg); }
.about-floating-card { position: absolute; right: -18px; bottom: 34px; padding: 18px 22px; border-radius: 22px; background: var(--surface-bg); box-shadow: var(--shadow); border: 1px solid var(--line); }
.about-floating-card strong { display: block; color: var(--heading-color); font-size: calc(var(--base-font-size) + 8px); letter-spacing: -.04em; }
.about-floating-card span { color: var(--muted); }
.about-copy > p:not(.section-kicker) { margin-top: 20px; color: var(--body-text-color); font-size: calc(var(--base-font-size) + 1px); }
.about-features { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 28px; }
.feature-card { padding: 18px; border-radius: 20px; }
.feature-card h3 { font-size: calc(var(--base-font-size) + 1px); letter-spacing: -.03em; }
.feature-card p { margin-top: 8px; color: var(--muted); font-size: calc(var(--base-font-size) - 2px); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.step { padding: 24px; border-radius: 26px; }
.step-number { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 24px; border-radius: 16px; background: var(--accent-color); color: #fff; font-weight: 950; }
.step h3 { font-size: var(--card-title-size); }
.step p { margin-top: 10px; color: var(--body-text-color); }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.work-card { display: block; overflow: hidden; border-radius: 28px; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.work-card figure { margin: 0; }
.work-image { position: relative; overflow: hidden; aspect-ratio: 4/3; background: #f4f4f4; }
.work-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .48s ease; }
.work-card:hover .work-image img { transform: scale(1.045); }
.work-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.35), transparent 48%); pointer-events: none; }
.image-click-badge { position: absolute; right: 14px; bottom: 14px; z-index: 2; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.95); color: #111; font-size: calc(var(--base-font-size) - 3px); font-weight: 900; box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.work-body { padding: 20px; }
.work-meta { display: inline-block; margin-bottom: 10px; color: var(--muted); font-size: calc(var(--base-font-size) - 3px); font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.work-body p { margin-top: 9px; color: var(--body-text-color); font-size: calc(var(--base-font-size) - 1px); }
.work-open { display: inline-flex; gap: 8px; margin-top: 14px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--heading-color); background: var(--surface-bg); font-weight: 900; font-size: calc(var(--base-font-size) - 2px); }
.work-open::after { content: "→"; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.review-card { padding: 24px; border-radius: 28px; }
.review-card blockquote { margin: 0; color: var(--body-text-color); font-size: calc(var(--base-font-size) + 1px); line-height: 1.65; }
.review-person { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.review-avatar { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-color); color: #fff; font-weight: 900; }
.review-person strong { display: block; color: var(--heading-color); }
.review-person span { color: var(--muted); font-size: calc(var(--base-font-size) - 2px); }

.contact-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(380px,1.1fr); gap: 48px; align-items: start; }
.contact-copy > p:not(.section-kicker) { margin-top: 18px; color: var(--body-text-color); font-size: calc(var(--base-font-size) + 1px); }
.contact-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 28px; }
.contact-list a { display: grid; gap: 4px; padding: 18px; border-radius: 20px; }
.contact-list a:last-child { grid-column: 1 / -1; }
.contact-list strong { color: var(--heading-color); font-size: calc(var(--base-font-size) + 1px); }
.contact-list span { color: var(--muted); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.socials a { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-weight: 800; display:inline-flex; align-items:center; gap:8px; }
.socials a img { width:20px; height:20px; object-fit:contain; }
.lead-form { display: grid; gap: 14px; padding: 28px; border-radius: 30px; }
.lead-form h3 { font-size: calc(var(--h3-size) + 3px); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
label { display: grid; gap: 8px; color: var(--heading-color); font-size: calc(var(--base-font-size) - 2px); font-weight: 800; }
input, textarea, select { width: 100%; border: 1px solid var(--line); outline: 0; border-radius: 16px; background: var(--surface-bg); color: var(--heading-color); padding: 13px 14px; transition: border .18s ease, box-shadow .18s ease; }
textarea { min-height: 130px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--accent-color); box-shadow: 0 0 0 4px rgba(0,0,0,.06); }
.privacy { grid-template-columns: 18px 1fr; align-items: start; gap: 10px; color: var(--muted); font-weight: 600; }
.privacy input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent-color); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-result { min-height: 22px; color: var(--muted); font-size: calc(var(--base-font-size) - 2px); }
.form-result.ok { color: #15803d; }
.form-result.error { color: var(--danger); }
.form-result a { color: var(--heading-color); font-weight: 900; }
.hp { position: absolute; left: -9999px; opacity: 0; }

.detail-main { padding: 70px 0 96px; background: var(--home-bg); }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; color: var(--muted); font-weight: 850; }
.back-link:hover { color: var(--heading-color); }
.detail-hero { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(340px,.95fr); gap: 28px; align-items: stretch; }
.detail-cover { overflow: hidden; min-height: 500px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface-bg); box-shadow: var(--shadow-soft); }
.detail-cover img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; }
.detail-card { display: flex; flex-direction: column; justify-content: space-between; padding: 32px; border-radius: var(--radius-xl); }
.detail-card h1 { font-size: var(--h1-size); }
.detail-description { margin-top: 18px; color: var(--body-text-color); font-size: calc(var(--base-font-size) + 1px); }
.detail-meta-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 24px; }
.detail-meta { padding: 13px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-bg); }
.detail-meta span { display: block; color: var(--muted); font-size: calc(var(--base-font-size) - 4px); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.detail-meta strong { color: var(--heading-color); }
.detail-content-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(320px,.9fr); gap: 26px; margin-top: 34px; }
.detail-section-card { padding: 26px; border-radius: 26px; }
.detail-section-card p { margin-top: 14px; color: var(--body-text-color); font-size: calc(var(--base-font-size) + 1px); }
.detail-gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 30px; }
.detail-gallery a { display: block; overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--line); border-radius: 22px; background: var(--surface-bg); box-shadow: var(--shadow-soft); }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.detail-gallery a:hover img { transform: scale(1.04); }
.not-found { max-width: 760px; margin: 80px auto; padding: 34px; border-radius: 30px; text-align: center; }

.site-footer { padding: 28px 0; background: var(--home-bg); border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: calc(var(--base-font-size) - 2px); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 72px; height: 44px; object-fit: contain; border-radius: 10px; }
.footer-brand strong { display: block; color: var(--heading-color); }
.footer-brand small { display: block; color: var(--muted); }
.floating-wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 999px; background: var(--accent-color); color: #fff; font-weight: 950; box-shadow: 0 16px 42px rgba(0,0,0,.16); }
.floating-wa::before { display: none; }

.reveal { opacity: 0; transform: translateY(14px); animation: reveal .6s ease forwards; }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1060px) {
  .services-grid, .portfolio-grid, .reviews-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 980px) {
  .header-inner { min-height: 76px; }
  .brand-logo { width: 84px; height: 52px; }
  .brand strong { font-size: 20px; }
  .menu-toggle { display: block; order: 3; }
  .header-inner > .btn { display: none; }
  .main-nav { position: fixed; inset: 76px 20px auto 20px; display: grid; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface-bg); box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .18s ease; }
  body.menu-open .main-nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 12px; font-size: var(--nav-font-size); }
  .hero { min-height: auto; padding-top: 54px; }
  .hero-grid, .about-grid, .contact-grid, .detail-hero, .detail-content-grid { grid-template-columns: 1fr; }
  .hero-image-card img { height: 420px; }
  .about-media img { height: 440px; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 24px, var(--container)); }
  .section-pad { padding: 72px 0; }
  .hero-subtitle { font-size: var(--base-font-size); }
  .stats, .services-grid, .portfolio-grid, .reviews-grid, .steps, .form-row, .about-features, .contact-list, .detail-meta-grid, .detail-gallery { grid-template-columns: 1fr; }
  .hero-actions .btn, .form-actions .btn { width: 100%; }
  .hero-image-card img { height: 310px; }
  .about-media img { height: 330px; }
  .about-floating-card { position: static; margin-top: 12px; }
  .lead-form { padding: 22px; border-radius: 26px; }
  .floating-wa { right: 12px; bottom: 12px; font-size: 0; padding: 12px 14px; }
  .floating-wa img { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; scroll-behavior: auto !important; transition: none !important; }
}

/* Logo ufficiale orizzontale */
.brand-logo {
  width: 210px !important;
  height: 92px !important;
  object-fit: contain !important;
  border-radius: 0 !important;
}
.brand span { display: none !important; }
.footer-brand img {
  width: 150px !important;
  height: 90px !important;
  object-fit: contain !important;
}
@media (max-width: 680px) {
  .brand-logo { width: 160px !important; height: 74px !important; }
}

/* Anti overflow testi lunghi + dati pagamento sito */
.contact-list a,
.contact-list div,
.service-card,
.work-card,
.review-card,
.detail-meta,
.item,
.badge {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.contact-list strong,
.contact-list span strong span,
.footer-inner,
.footer-brand strong,
.footer-brand small {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.floating-wa img { width: 24px; height: 24px; object-fit: contain; flex: 0 0 auto; }
.floating-wa span { display: inline-block; }

/* Refinement finale grafica + hero con sfondo personalizzabile */
body {
  background:
    radial-gradient(circle at 12% -10%, color-mix(in srgb, var(--accent-color) 8%, transparent), transparent 32rem),
    linear-gradient(180deg, var(--home-bg), color-mix(in srgb, var(--home-bg) 88%, #f4f4f4 12%));
}
.site-header {
  background: color-mix(in srgb, var(--home-bg) 88%, white 12%);
  box-shadow: 0 10px 30px rgba(0,0,0,.035);
}
.main-nav a {
  padding: 9px 10px;
  border-radius: 999px;
}
.main-nav a:hover {
  background: color-mix(in srgb, var(--accent-color) 7%, transparent);
}
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--home-bg) calc(var(--hero-overlay-opacity) * 100%), transparent), color-mix(in srgb, var(--home-bg) 78%, transparent)),
    var(--home-bg-image),
    var(--home-bg) !important;
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--home-bg-image);
  background-size: cover;
  background-position: center;
  opacity: var(--hero-image-opacity);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -24% -10%;
  height: 42%;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--accent-color) 10%, transparent), transparent 60%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.status-pill {
  box-shadow: 0 10px 28px rgba(0,0,0,.045);
  backdrop-filter: blur(12px);
}
.hero-image-card,
.about-media img,
.service-card,
.work-card,
.review-card,
.lead-form,
.contact-list a,
.step,
.feature-card {
  border-color: color-mix(in srgb, var(--accent-color) 10%, var(--line));
}
.hero-image-card,
.about-media img {
  box-shadow: 0 28px 90px rgba(0,0,0,.10);
}
.service-card,
.work-card,
.review-card,
.step,
.feature-card,
.lead-form {
  backdrop-filter: blur(10px);
}
.service-card:hover,
.work-card:hover,
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(0,0,0,.10);
}
.btn {
  box-shadow: 0 16px 36px color-mix(in srgb, var(--accent-color) 24%, transparent);
}
.btn-soft {
  background: color-mix(in srgb, var(--surface-bg) 92%, white 8%);
}
.section-head.centered h2,
.contact-copy h2,
.about-copy h2 {
  text-wrap: balance;
}
.lead-form {
  background: color-mix(in srgb, var(--surface-bg) 94%, white 6%);
}
input, textarea, select {
  background: color-mix(in srgb, var(--surface-bg) 92%, white 8%);
}
/* Override sicuro hero background: immagine separata + overlay chiaro */
.hero {
  background: var(--home-bg) !important;
}
.hero::before {
  background-image: var(--home-bg-image);
  background-size: cover;
  background-position: center;
  opacity: var(--hero-image-opacity);
}

/* Privacy checkbox ordinata e leggibile */
.privacy {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 9px !important;
  color: var(--muted) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 650 !important;
}
.privacy input {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  margin-top: 1px !important;
  accent-color: var(--accent-color) !important;
}
.privacy span { min-width: 0; }
.privacy a {
  color: var(--heading-color) !important;
  font-weight: 850 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}
.form-result.ok {
  color: #15803d !important;
  font-weight: 850 !important;
}

/* FIX finale contatti, floating call e WhatsApp */
.contact-list {
  grid-template-columns: 1fr !important;
}
.contact-list a,
.contact-list div {
  width: 100%;
}
.contact-list strong {
  font-size: clamp(14px, 1.55vw, 17px) !important;
  line-height: 1.28 !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: none !important;
}
.contact-list span {
  font-size: 14px !important;
  line-height: 1.35 !important;
}
.floating-call {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 61;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--accent-color);
  color: #fff;
  font-weight: 950;
  box-shadow: 0 16px 42px rgba(0,0,0,.18);
}
.floating-call::before {
  content: "☎";
  font-size: 18px;
  line-height: 1;
}
.floating-wa {
  background: #ffffff !important;
  color: #111111 !important;
  border: 1px solid rgba(37,211,102,.35) !important;
  box-shadow: 0 16px 42px rgba(37,211,102,.22) !important;
}
.floating-wa img {
  width: 28px !important;
  height: 28px !important;
}
@media (max-width: 680px) {
  .floating-call {
    left: 12px;
    bottom: 12px;
    width: 50px;
    height: 50px;
    min-height: 50px;
    padding: 0;
    font-size: 0;
  }
  .floating-call::before { font-size: 20px; }
  .floating-wa { bottom: 12px; right: 12px; width: 50px; height: 50px; padding: 0 !important; justify-content:center; }
  .floating-wa span { display:none !important; }
}

/* Footer utility links */
.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--muted);
  font-weight: 800;
  font-size: calc(var(--base-font-size) - 2px);
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-bg);
}
.footer-links a:hover {
  color: var(--heading-color);
  border-color: var(--line-strong);
}

/* Floating call centrale e stop prima del footer */
:root { --floating-safe-bottom: 20px; }
.floating-call {
  left: 50% !important;
  right: auto !important;
  bottom: var(--floating-safe-bottom) !important;
  transform: translateX(-50%) !important;
  z-index: 62 !important;
}
.floating-wa {
  bottom: var(--floating-safe-bottom) !important;
}
@media (max-width: 680px) {
  .floating-call {
    left: 50% !important;
    bottom: var(--floating-safe-bottom) !important;
    transform: translateX(-50%) !important;
  }
  .floating-wa { bottom: var(--floating-safe-bottom) !important; }
}
