/* Font ospitati sul sito (licenza SIL OFL), niente richieste a Google */
@font-face {
  font-family: 'Fraunces'; font-style: italic; font-weight: 400 600; font-display: swap;
  src: url('/assets/fonts/fraunces-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url('/assets/fonts/fraunces.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('/assets/fonts/nunito.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
  --bg:           #faf7f2;
  --bg2:          #f5f0e8;
  --bg3:          #ede8de;
  --border:       #ddd5c8;
  --dark:         #1e1a14;
  --muted:        #6a5c4b;
  --faint:        #776653;
  --green:        #2d6a4f;
  --green-dark:   #1b4332;
  --green-light:  #cde8d8;
  --green-soft:   #e6f2ea;
  --wa:           #25d366;
  --shadow-sm:    0 1px 3px rgba(30,26,20,0.06), 0 2px 8px rgba(30,26,20,0.05);
  --shadow-md:    0 2px 8px rgba(30,26,20,0.07), 0 8px 24px rgba(30,26,20,0.08);
  --shadow-hover: 0 6px 18px rgba(30,26,20,0.10), 0 14px 36px rgba(30,26,20,0.10);
  --sans:  'Nunito', system-ui, sans-serif;
  --serif: 'Fraunces', Georgia, serif;
  --radius: 16px;
  --wrap: 1120px;
  /* "cucitura": la linea tratteggiata del logo (ago e filo) */
  --stitch: repeating-linear-gradient(90deg, var(--green) 0 10px, transparent 10px 18px);
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--sans); background: var(--bg); color: var(--dark); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 2.5px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--green); color: #fff; padding: 10px 18px; border-radius: 8px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ico-sm { width: 16px; height: 16px; }
.ico-fill { fill: currentColor; stroke: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

/* ── HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245,240,232,0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1.5px solid var(--border);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(30,26,20,0.08); }
.nav { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.nav-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.nav-brand img { width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1.5px solid var(--border); transition: transform .4s cubic-bezier(.22,1,.36,1); }
.nav-brand:hover img { transform: rotate(-12deg); }
.nav-brand-text { display: flex; flex-direction: column; gap: 3px; }
.nav-brand-main { font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1; }
.nav-brand-main span { color: var(--green); }
.nav-brand-sub { font-size: 11px; font-weight: 700; color: var(--faint); letter-spacing: 0.05em; text-transform: uppercase; }

.nav-links { display: flex; gap: 6px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 14.5px; font-weight: 700; color: var(--muted); text-decoration: none;
  padding: 8px 12px; border-radius: 8px; position: relative; transition: color .2s, background .2s;
}
.nav-links a:not(.nav-cta):hover { color: var(--dark); background: var(--bg3); }
.nav-links a.active:not(.nav-cta) { color: var(--green); }
.nav-links a.active:not(.nav-cta)::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px;
  background: var(--stitch); background-size: 18px 2px;
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 7px; margin-left: 8px;
  background: var(--green); color: #fff !important; padding: 10px 18px !important;
  border-radius: 10px; box-shadow: 0 2px 10px rgba(45,106,79,0.3);
  transition: background .2s, transform .15s !important;
}
.nav-cta:hover { background: var(--green-dark); transform: translateY(-1px); }

.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--border);
  background: var(--bg); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--dark); border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; border-top: 1.5px solid var(--border); background: var(--bg2);
  padding: 8px 20px 20px;
}
.mobile-menu.open { display: block; }
.mobile-menu a:not(.btn) {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 17px; font-weight: 700; text-decoration: none; padding: 15px 4px;
  border-bottom: 1px dashed var(--border);
}
.mobile-menu a:not(.btn) .ico { color: var(--faint); }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 16px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--sans);
  font-size: 16px; font-weight: 800; padding: 15px 26px; border-radius: 12px;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn .ico { width: 20px; height: 20px; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 4px 16px rgba(45,106,79,0.32); }
.btn-primary:hover { background: var(--green-dark); box-shadow: 0 8px 24px rgba(45,106,79,0.4); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 4px 16px rgba(37,211,102,0.35); }
.btn-wa:hover { background: #1ebe5a; }
.btn-ghost { background: transparent; color: var(--dark); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); background: var(--bg); }
.btn-white { background: #fff; color: var(--green); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.btn-white:hover { background: var(--bg); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ── HERO ── */
.hero-wrap { background: var(--bg2); border-bottom: 1.5px solid var(--border); position: relative; overflow: hidden; }
.hero-wrap::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
  background-size: 28px 28px; opacity: 0.55;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
          mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.hero-thread { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-thread path {
  fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 12 10; opacity: 0.22; vector-effect: non-scaling-stroke; animation: sew 40s linear infinite;
}
@keyframes sew { to { stroke-dashoffset: -880; } }

.hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; padding: 88px 0 92px; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  background: var(--green-light); color: var(--green); font-size: 13px; font-weight: 800;
  padding: 7px 16px 7px 14px; border-radius: 30px; margin-bottom: 22px; letter-spacing: 0.02em;
  border: 1px solid rgba(45,106,79,0.2); transition: background .2s;
}
.hero-badge:hover { background: #bfe0cd; }
.hero-badge::before {
  content: ''; width: 8px; height: 8px; background: var(--green); border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(45,106,79,.5); animation: pulse 2s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(45,106,79,.45); } 70% { box-shadow: 0 0 0 8px rgba(45,106,79,0); } 100% { box-shadow: 0 0 0 0 rgba(45,106,79,0); } }

.hero-kicker { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.hero-kicker .ico { color: var(--green); }

h1.hero-title { font-family: var(--serif); font-size: clamp(40px, 5.6vw, 64px); font-weight: 600; line-height: 1.06; letter-spacing: -0.015em; margin-bottom: 24px; }
.word-wrapper { display: inline-block; overflow: hidden; vertical-align: top; height: 1.25em; padding-bottom: 0.1em; position: relative; }
.rotating-word {
  display: block; font-style: italic; color: var(--green); white-space: nowrap; line-height: 1.15;
  background-image: var(--stitch); background-size: 18px 3px; background-repeat: repeat-x; background-position: 0 100%;
  padding-bottom: 4px;
  animation: slideUp 0.42s cubic-bezier(0.22,1,0.36,1) forwards;
}
.rotating-word.out { animation: slideOut 0.32s cubic-bezier(0.4,0,1,1) forwards; }
@keyframes slideUp  { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes slideOut { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-100%); opacity: 0; } }

.hero-sub { font-size: 18.5px; color: var(--muted); max-width: 520px; margin-bottom: 34px; line-height: 1.75; }
.hero-sub strong { color: var(--dark); font-weight: 700; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-facts { display: flex; gap: 10px 26px; flex-wrap: wrap; list-style: none; }
.hero-facts a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; transition: color .2s; }
.hero-facts a:hover { color: var(--green); }
.hero-facts .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--green-light); color: var(--green); display: inline-flex; align-items: center; justify-content: center; }
.hero-facts .tick .ico { width: 13px; height: 13px; stroke-width: 3; }

/* Hero card */
.hero-card {
  background: #fff; border-radius: 22px; border: 1.5px solid var(--border);
  box-shadow: var(--shadow-md); padding: 22px; position: relative;
}
.hero-card::before {
  content: ''; position: absolute; inset: 8px; border-radius: 16px;
  border: 1.5px dashed rgba(45,106,79,0.28); pointer-events: none;
}
.hero-card-head { display: flex; align-items: center; gap: 12px; padding: 6px 8px 16px; }
.hero-card-head img { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--border); background: #fff; }
.hero-card-head strong { display: block; font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.2; }
.hero-card-head span { font-size: 13px; color: var(--faint); font-weight: 700; }
.hero-card-list { list-style: none; display: flex; flex-direction: column; gap: 8px; position: relative; }
.hero-card-list a {
  display: flex; align-items: center; gap: 13px; padding: 12px 14px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--border); text-decoration: none;
  font-size: 15px; font-weight: 800; transition: border-color .2s, transform .2s, background .2s;
}
.hero-card-list a:hover { border-color: var(--green); background: var(--green-soft); transform: translateX(4px); }
.hero-card-list small { display: block; font-size: 12.5px; font-weight: 600; color: var(--faint); margin-top: 1px; }
.hero-card-list .lbl { flex: 1; }
.hero-card-list .go { color: var(--faint); transition: color .2s, transform .2s; }
.hero-card-list a:hover .go { color: var(--green); transform: translateX(2px); }
.chip-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chip-ico .ico { width: 20px; height: 20px; }
.hero-card-foot { display: flex; gap: 8px; margin-top: 14px; position: relative; }
.hero-card-foot a { flex: 1; justify-content: center; padding: 12px 10px; font-size: 14.5px; border-radius: 11px; }

/* ── TRUST BAR ── */
.trust-bar { background: var(--bg); border-bottom: 1.5px solid var(--border); }
.trust-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 10px; list-style: none; padding: 14px 0; }
.trust-list a {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 30px;
  font-size: 13.5px; font-weight: 700; color: var(--muted); text-decoration: none;
  border: 1px dashed transparent; transition: border-color .2s, color .2s, background .2s;
}
.trust-list a:hover { border-color: var(--green); color: var(--green); background: var(--green-soft); }
.trust-list .ico { color: var(--green); width: 17px; height: 17px; stroke-width: 2.4; }
.trust-bar .wrap { max-width: none; }
.trust-list a.is-new { color: var(--green); background: var(--green-soft); border-color: rgba(45,106,79,.5); }
.trust-list a.is-new .ico { stroke-width: 2; }

/* ── LAYOUT ── */
.section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 14px;
}
.section-eyebrow::before { content: ''; width: 30px; height: 2px; background: repeating-linear-gradient(90deg, var(--green) 0 6px, transparent 6px 10px); }
.section-title { font-family: var(--serif); font-size: clamp(30px, 3.8vw, 46px); font-weight: 600; line-height: 1.14; letter-spacing: -0.01em; }
.section-title em { color: var(--green); }
.section-lead { font-size: 17.5px; color: var(--muted); margin-top: 16px; line-height: 1.75; }
.bg-alt { background: var(--bg3); border-top: 1.5px solid var(--border); border-bottom: 1.5px solid var(--border); }

/* Card cucita: al passaggio compare la cucitura tratteggiata */
.card {
  position: relative; background: var(--bg2); border: 1.5px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: border-color .25s, transform .25s, box-shadow .25s;
}
.card::after {
  content: ''; position: absolute; inset: 7px; border-radius: calc(var(--radius) - 6px);
  border: 1.5px dashed var(--green); opacity: 0; transition: opacity .25s; pointer-events: none;
}
.card-link:hover, .card-link:focus-within { border-color: var(--green); transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-link:hover::after, .card-link:focus-within::after { opacity: .35; }
/* link che rende cliccabile tutta la card */
.stretched::before { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.stretched:focus-visible { outline: none; }
.card-link:has(.stretched:focus-visible) { outline: 2.5px solid var(--green); outline-offset: 3px; }

/* ── SERVICES ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { padding: 30px 26px 26px; display: flex; flex-direction: column; }
.service-icon {
  width: 54px; height: 54px; border-radius: 14px; background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  transition: background .25s, color .25s, transform .25s;
}
.service-icon .ico { width: 26px; height: 26px; }
.service-card:hover .service-icon { background: var(--green); color: #fff; transform: rotate(-6deg); }
.service-card h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin-bottom: 10px; line-height: 1.25; }
.service-card p { font-size: 15.5px; color: var(--muted); line-height: 1.75; flex: 1; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 18px; list-style: none; }
.service-tags li { font-size: 12px; font-weight: 700; color: var(--muted); background: var(--bg); border: 1px solid var(--border); padding: 3px 10px; border-radius: 20px; }
.card-more { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 800; color: var(--green); text-decoration: none; }
.card-more .ico { width: 17px; height: 17px; transition: transform .2s; }
.card-link:hover .card-more .ico { transform: translateX(4px); }

/* ── STAMPA 3D ── */
.p3d-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.p3d-modes { list-style: none; display: flex; flex-direction: column; gap: 16px; margin: 30px 0 32px; }
.p3d-modes li { display: flex; gap: 16px; align-items: flex-start; }
.p3d-modes p { font-size: 15.5px; color: var(--muted); line-height: 1.7; }
.p3d-modes strong { display: block; font-size: 16.5px; font-weight: 800; color: var(--dark); }
.p3d-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.p3d-specs { padding: 12px; display: grid; grid-template-columns: 1fr 1fr; }
.p3d-spec { padding: 22px 20px; }
.p3d-spec:nth-child(odd) { border-right: 1.5px dashed var(--border); }
.p3d-spec:nth-child(-n+2) { border-bottom: 1.5px dashed var(--border); }
.p3d-spec .chip-ico { margin-bottom: 14px; }
.p3d-spec h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.25; margin-bottom: 6px; }
.p3d-spec p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.p3d-uses { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.p3d-uses h3 { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--dark); }
.p3d-uses .service-tags { margin: 0; }
.p3d-uses .service-tags li { font-size: 13.5px; padding: 5px 14px; }

/* Etichetta "Nuovo" */
.new-tag {
  display: inline-flex; align-items: center; font-family: var(--sans); font-size: 10.5px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; line-height: 1; color: #fff;
  background: var(--green); padding: 4px 7px; border-radius: 20px; vertical-align: middle;
  position: relative; overflow: hidden;
}
.new-tag::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
.nav-links .new-tag { margin-left: 6px; font-size: 9.5px; padding: 3px 6px; }
.mobile-menu .new-tag { margin-left: 8px; }
.mobile-menu a .lbl-new { display: inline-flex; align-items: center; }

/* Riga evidenziata nella scheda hero */
.hero-card-list a.is-new { background: var(--green-soft); border-color: rgba(45,106,79,.45); }
.hero-card-list a.is-new .chip-ico { background: var(--green); color: #fff; }
.hero-card-list .lbl .new-tag { margin-left: 6px; font-size: 9.5px; padding: 3px 6px; }

/* Fascia novità in fondo ai servizi */
.p3d-banner {
  margin-top: 20px; display: flex; align-items: center; gap: 22px; padding: 24px 28px;
  border-radius: var(--radius); text-decoration: none; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  box-shadow: 0 6px 22px rgba(45,106,79,.3); transition: transform .25s, box-shadow .25s;
}
.p3d-banner::after { content: ''; position: absolute; inset: 7px; border-radius: 11px; border: 1.5px dashed rgba(255,255,255,.28); pointer-events: none; }
.p3d-banner:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(45,106,79,.38); }
.p3d-banner .chip-ico { width: 58px; height: 58px; border-radius: 14px; background: rgba(255,255,255,.14); color: #fff; }
.p3d-banner .chip-ico .ico { width: 28px; height: 28px; }
.p3d-banner-text { flex: 1; }
.p3d-banner-text strong { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.25; margin-bottom: 3px; }
.p3d-banner-text span { font-size: 15.5px; color: rgba(255,255,255,.8); }
.p3d-banner .new-tag { background: #fff; color: var(--green); }
.p3d-banner .new-tag::after { background: linear-gradient(90deg, transparent, rgba(45,106,79,.25), transparent); }
.p3d-banner-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; background: #fff; color: var(--green); padding: 11px 18px; border-radius: 10px; white-space: nowrap; }
.p3d-banner-go .ico { width: 17px; height: 17px; transition: transform .2s; }
.p3d-banner:hover .p3d-banner-go .ico { transform: translateX(4px); }

/* Sezione stampa 3D in verde scuro */
.p3d-dark { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); color: #fff; position: relative; overflow: hidden; }
.p3d-dark::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px); background-size: 24px 24px;
}
.p3d-dark .wrap { position: relative; }
.p3d-dark .section-eyebrow { color: var(--green-light); }
.p3d-dark .section-eyebrow::before { background: repeating-linear-gradient(90deg, var(--green-light) 0 6px, transparent 6px 10px); }
.p3d-dark .section-title { color: #fff; }
.p3d-dark .section-title em { color: var(--green-light); }
.p3d-dark .section-lead { color: rgba(255,255,255,.82); }
.p3d-dark .p3d-modes strong { color: #fff; }
.p3d-dark .p3d-modes p { color: rgba(255,255,255,.75); }
.p3d-dark .p3d-modes .chip-ico { background: rgba(255,255,255,.14); color: #fff; }
.p3d-dark .p3d-specs { color: var(--dark); box-shadow: 0 14px 40px rgba(0,0,0,.18); }
.p3d-dark .p3d-uses h3 { color: #fff; }
.p3d-dark .p3d-uses .service-tags li { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; }
.p3d-side { display: flex; flex-direction: column; gap: 18px; }

/* Animazione: stampante 3D (guidata da JS; senza JS mostra il pezzo finito) */
.p3d-print { border: 1.5px dashed rgba(255,255,255,.3); border-radius: var(--radius); background: rgba(255,255,255,.05); padding: 12px 12px 6px; }
.p3d-print svg { width: 100%; height: auto; display: block; overflow: visible; }
.p3d-print .frame { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.p3d-print .spool { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 2; }
.p3d-print .spool circle:first-child { fill: rgba(205,232,216,.18); }
.p3d-print .fil { fill: none; stroke: var(--green-light); stroke-width: 1.5; opacity: .8; }
.p3d-print .plate { fill: rgba(255,255,255,.25); }
.p3d-print .layer { fill: var(--green-light); transition: fill .6s; }
.p3d-print .layer:nth-child(even) { fill: #bcdcc9; }
.p3d-print .layer.hot { fill: #fff; transition: none; }
.p3d-print #p3d-layers { transition: opacity .5s; }
.p3d-print .rail { stroke: rgba(255,255,255,.4); stroke-width: 3; stroke-linecap: round; }
.p3d-print .carriage { fill: #fff; }
.p3d-print .heater { fill: #dfe9e3; }
.p3d-print .nozzle { fill: #fff; }
.p3d-print .glow { fill: #fff; filter: drop-shadow(0 0 3px #fff); }
.p3d-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.15); margin: 8px 6px 0; overflow: hidden; }
.p3d-bar span { display: block; height: 100%; width: 100%; background: var(--green-light); border-radius: 4px; }
.p3d-print-cap { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); padding: 8px 6px 4px; font-variant-numeric: tabular-nums; }

/* ── STEPS ── */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before {
  content: ''; position: absolute; left: 12%; right: 12%; top: 27px; height: 2px;
  background: var(--stitch); background-size: 18px 2px; opacity: .5;
}
.step { position: relative; text-align: center; padding: 0 6px; }
.step-num {
  width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--green); color: #fff; font-family: var(--serif); font-size: 22px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; position: relative;
  box-shadow: 0 0 0 6px var(--bg3), 0 4px 14px rgba(45,106,79,.35);
}
.step h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: 8px; line-height: 1.25; }
.step p { font-size: 15px; color: var(--muted); line-height: 1.7; }
.step p a { color: var(--green); font-weight: 700; text-decoration-style: dashed; text-underline-offset: 3px; }

/* ── WHO ── */
.who-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.who-card { padding: 26px; display: flex; gap: 18px; align-items: flex-start; }
.who-card .chip-ico { width: 50px; height: 50px; border-radius: 13px; }
.who-card .chip-ico .ico { width: 24px; height: 24px; }
.who-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.who-card p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 12px; }

/* ── WHY ── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card { padding: 36px 30px; }
.why-num {
  font-family: var(--serif); font-size: 72px; font-weight: 600; line-height: 1; display: block;
  color: transparent; -webkit-text-stroke: 1.5px var(--green); margin-bottom: 14px; letter-spacing: -3px; user-select: none;
}
.why-card h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.why-card p { font-size: 15.5px; color: var(--muted); line-height: 1.75; }

/* ── ZONE ── */
.zone-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.zone-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.zone-list a {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: 30px;
  background: var(--bg2); border: 1.5px solid var(--border); font-size: 15px; font-weight: 700;
  text-decoration: none; transition: border-color .2s, background .2s, color .2s, transform .2s;
}
.zone-list a .ico { width: 16px; height: 16px; color: var(--green); }
.zone-list a:hover { border-color: var(--green); background: var(--green-soft); color: var(--green); transform: translateY(-2px); }
.zone-list a.main { background: var(--green); border-color: var(--green); color: #fff; }
.zone-list a.main .ico { color: #fff; }
.zone-note { margin-top: 22px; font-size: 15px; color: var(--muted); }
.zone-note a { color: var(--green); font-weight: 700; }

/* ── FAQ ── */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg2); border: 1.5px solid var(--border); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--green); box-shadow: var(--shadow-md); background: #fff; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px;
  padding: 20px 22px; font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green); }
.faq-q { flex: 1; }
.faq-toggle {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--border); color: var(--green);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .25s, background .25s, border-color .25s;
}
.faq-item[open] .faq-toggle { transform: rotate(180deg); background: var(--green); border-color: var(--green); color: #fff; }
.faq-a { padding: 0 22px 22px; font-size: 16px; color: var(--muted); line-height: 1.8; }
.faq-a strong { color: var(--dark); }
.faq-a a { color: var(--green); font-weight: 700; }
.faq-more { text-align: center; margin-top: 30px; color: var(--muted); font-size: 16px; }
.faq-more a { color: var(--green); font-weight: 800; }

/* ── AMICI ── */
.amici-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.amici-card { overflow: hidden; display: flex; flex-direction: column; }
.amici-card-head { padding: 24px 24px 20px; border-bottom: 1.5px dashed var(--border); }
.amici-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--green); padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; }
.amici-name { font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1.2; margin-bottom: 4px; }
.amici-name a { text-decoration: none; transition: color .2s; }
.amici-name a:hover { color: var(--green); }
.amici-desc { font-size: 14px; color: var(--faint); }
.amici-body { padding: 4px 24px; flex: 1; }
.amici-row { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.amici-row:last-child { border-bottom: none; }
.amici-row-key { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; color: var(--faint); text-transform: uppercase; min-width: 72px; flex-shrink: 0; }
.amici-row-val { font-size: 14.5px; color: var(--muted); }
.amici-row-link { font-size: 14.5px; font-weight: 700; text-decoration: none; transition: color .2s; }
.amici-row-link:hover { color: var(--green); text-decoration: underline; text-decoration-style: dashed; text-underline-offset: 3px; }
.amici-foot { padding: 16px 24px; border-top: 1.5px dashed var(--border); display: flex; gap: 10px; }
.amici-foot .btn { flex: 1; justify-content: center; padding: 11px 14px; font-size: 14.5px; border-radius: 10px; }

/* ── CTA ── */
.cta-block {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  border-radius: 26px; padding: 72px 56px; text-align: center; position: relative; overflow: hidden; color: #fff;
}
.cta-block::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px); background-size: 24px 24px;
}
.cta-block::after {
  content: ''; position: absolute; inset: 12px; border-radius: 18px; pointer-events: none;
  border: 1.5px dashed rgba(255,255,255,0.25);
}
.cta-block > * { position: relative; z-index: 1; }
.cta-block .section-eyebrow { color: var(--green-light); }
.cta-block .section-eyebrow::before { background: repeating-linear-gradient(90deg, var(--green-light) 0 5px, transparent 5px 9px); }
.cta-block h2 { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 48px); font-weight: 600; line-height: 1.15; margin-bottom: 16px; }
.cta-block > p { font-size: 18px; color: rgba(255,255,255,0.82); max-width: 560px; margin: 0 auto 36px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-social { display: flex; justify-content: center; gap: 10px; margin-top: 34px; }
.cta-note { margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,0.6); }

.social-btn {
  width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; transition: background .2s, transform .2s, color .2s, border-color .2s;
}
.social-btn .ico { width: 20px; height: 20px; }
.social-btn:hover { transform: translateY(-3px); }
.cta-social .social-btn { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.22); }
.cta-social .social-btn:hover { background: #fff; color: var(--green); }

/* ── FOOTER ── */
footer { background: var(--bg3); border-top: 1.5px solid var(--border); padding: 60px 0 28px; color: var(--muted); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-bottom: 14px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1.5px solid var(--border); }
.footer-brand span { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--dark); }
.footer-brand span b { color: var(--green); font-weight: 600; }
.footer-about { max-width: 320px; line-height: 1.7; margin-bottom: 18px; }
footer h2 { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--dark); margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.footer-links a:hover { color: var(--green); }
.footer-links .ico { width: 16px; height: 16px; color: var(--green); }
.footer-social { display: flex; gap: 8px; }
.footer-social .social-btn { width: 40px; height: 40px; background: var(--bg2); border: 1.5px solid var(--border); color: var(--muted); }
.footer-social .social-btn .ico { width: 18px; height: 18px; }
.footer-social .social-btn:hover { border-color: var(--green); color: #fff; background: var(--green); }
.footer-copy {
  margin-top: 44px; padding-top: 22px; border-top: 1.5px dashed var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--faint);
}
.footer-copy a { color: var(--muted); font-weight: 700; text-decoration: none; }
.footer-copy a:hover { color: var(--green); }

/* ── WHATSAPP FLOTTANTE ── */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  box-shadow: 0 6px 22px rgba(37,211,102,.45), 0 2px 6px rgba(0,0,0,.12);
  transform: translateY(120px); opacity: 0; transition: transform .35s cubic-bezier(.22,1,.36,1), opacity .35s;
}
.wa-fab.show { transform: none; opacity: 1; }
.wa-fab:hover { background: #1ebe5a; }
.wa-fab .ico { width: 30px; height: 30px; }
.wa-fab-label {
  position: absolute; right: 70px; white-space: nowrap; background: var(--dark); color: #fff;
  font-size: 13.5px; font-weight: 700; padding: 7px 12px; border-radius: 8px;
  opacity: 0; transform: translateX(6px); transition: opacity .2s, transform .2s; pointer-events: none;
}
.wa-fab:hover .wa-fab-label, .wa-fab:focus-visible .wa-fab-label { opacity: 1; transform: none; }

/* ── ANIMAZIONE IN INGRESSO ── */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ── MENU MOBILE: etichette di gruppo ── */
.mobile-menu-label { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin: 14px 4px 0; }

/* ── PAGINE INTERNE: hero ── */
.page-hero { background: var(--bg2); border-bottom: 1.5px solid var(--border); position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1px); background-size: 28px 28px; opacity: .55;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent); mask-image: linear-gradient(to bottom, #000 30%, transparent);
}
.page-hero .wrap { position: relative; padding-top: 28px; padding-bottom: 72px; }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; margin-top: 30px; }
.page-hero-grid.single { grid-template-columns: 1fr; max-width: 780px; }
h1.page-title { font-family: var(--serif); font-size: clamp(36px, 5vw, 56px); font-weight: 600; line-height: 1.08; letter-spacing: -.015em; margin-bottom: 20px; }
h1.page-title em { color: var(--green); }
.page-lead { font-size: 18.5px; color: var(--muted); line-height: 1.75; margin-bottom: 30px; max-width: 600px; }
.page-lead strong { color: var(--dark); }
.page-hero .hero-ctas { margin-bottom: 26px; }
.page-hero-card { padding: 26px; background: #fff; }
.page-hero-card h2 { font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: 14px; }
.page-hero-card .price { margin-bottom: 16px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--muted); line-height: 1.55; }
.check-list li strong { color: var(--dark); }
.check-list .ico { width: 18px; height: 18px; color: var(--green); stroke-width: 2.6; margin-top: 2px; }

/* Breadcrumb */
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13.5px; font-weight: 700; color: var(--faint); }
.breadcrumb li + li::before { content: "\203A"; margin: 0 9px; color: var(--faint); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--green); }

/* ── PREZZI ── */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-grid.two { grid-template-columns: repeat(2, 1fr); }
.price-card { padding: 28px 26px 26px; display: flex; flex-direction: column; background: var(--bg2); }
.price-card.featured { background: #fff; border-color: var(--green); box-shadow: var(--shadow-md); }
.price-card.featured::after { opacity: .35; }
.price-badge {
  position: absolute; top: -12px; left: 24px; background: var(--green); color: #fff;
  font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 20px;
  display: inline-flex; align-items: center; gap: 6px;
}
.price-badge .ico { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.price-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.price-head h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.25; }
.price-desc { font-size: 14.5px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.price { display: flex; align-items: baseline; gap: 7px; margin-bottom: 18px; color: var(--dark); }
.price span { font-size: 14px; font-weight: 700; color: var(--muted); }
.price strong { font-family: var(--serif); font-size: 36px; font-weight: 600; line-height: 1; color: var(--green); letter-spacing: -.01em; }
.price small { font-size: 14px; font-weight: 700; color: var(--muted); }
.price-card .check-list { margin-bottom: 22px; flex: 1; }
.price-card .btn { justify-content: center; padding: 12px 18px; font-size: 15px; }
.price-sub { margin: 44px 0 18px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--dark); }
.price-note { margin-top: 26px; font-size: 14px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.price-note .ico { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.price-card.compact { padding: 22px 22px 20px; }
.price-card.compact .price { margin-bottom: 12px; }
.price-card.compact .price strong { font-size: 28px; }
.price-card.compact .price-desc { margin-bottom: 14px; flex: 1; }

/* ── CONTENUTI DELLE PAGINE ── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 26px; }
.feature .chip-ico { margin-bottom: 16px; width: 46px; height: 46px; border-radius: 12px; }
.feature h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; margin-bottom: 8px; line-height: 1.3; }
.feature p { font-size: 15px; color: var(--muted); line-height: 1.7; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.prose { font-size: 17px; line-height: 1.8; color: var(--muted); }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-family: var(--serif); font-size: clamp(25px, 3vw, 32px); font-weight: 600; line-height: 1.2; color: var(--dark); margin-top: 44px; }
.prose h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--dark); margin-top: 30px; }
.prose strong { color: var(--dark); }
.prose a { color: var(--green); font-weight: 700; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--green); font-weight: 800; }
.prose .callout { background: var(--green-soft); border: 1.5px dashed rgba(45,106,79,.45); border-radius: 14px; padding: 20px 22px; color: var(--dark); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { color: var(--dark); font-weight: 800; background: var(--bg2); }
.table-scroll { overflow-x: auto; }
.article-wrap { max-width: 760px; margin: 0 auto; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; font-weight: 700; color: var(--faint); }
.toc { background: var(--bg2); border: 1.5px solid var(--border); border-radius: 14px; padding: 20px 24px; }
.toc p { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--dark); margin-bottom: 8px; }
.toc ol { padding-left: 20px; }
.toc a { color: var(--green); font-weight: 700; text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* Card verso altre pagine */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related { padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.related h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 4px; }
.related p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.guide-card { padding: 28px; display: flex; flex-direction: column; }
.guide-card h2, .guide-card h3 { font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1.25; margin: 14px 0 10px; }
.guide-card p { font-size: 15.5px; color: var(--muted); line-height: 1.7; flex: 1; margin-bottom: 18px; }
.guide-tag { align-self: flex-start; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green); background: var(--green-light); padding: 4px 10px; border-radius: 20px; }

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding: 64px 0 68px; }
  .hero-card { max-width: 520px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .steps::before { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .zone-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-hero-grid, .split { grid-template-columns: 1fr; gap: 32px; }
  .price-grid, .feature-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .p3d-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav { height: 64px; }
  .nav-brand img { width: 40px; height: 40px; }
  .nav-brand-main { font-size: 16px; }
  html { scroll-padding-top: 72px; }

  .hero { padding: 44px 0 52px; }
  h1.hero-title { font-size: 36px; }
  .hero-sub { font-size: 16.5px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-card { padding: 16px; }

  .trust-list { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 10px 0; }
  .trust-list::-webkit-scrollbar { display: none; }
  .trust-list a { white-space: nowrap; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 34px; }
  .services-grid, .who-grid, .amici-grid { grid-template-columns: 1fr; gap: 14px; }
  .price-grid, .price-grid.two, .feature-grid, .related-grid { grid-template-columns: 1fr; gap: 16px; }
  .price-grid { gap: 26px; }
  .page-hero .wrap { padding-top: 18px; padding-bottom: 52px; }
  .page-hero-grid { margin-top: 20px; }
  .page-lead { font-size: 16.5px; }
  .page-hero .hero-ctas .btn { width: 100%; justify-content: center; }
  .prose { font-size: 16px; }
  .prose table { font-size: 14px; }
  .p3d-ctas .btn { width: 100%; justify-content: center; }
  .p3d-specs { grid-template-columns: 1fr; padding: 6px 12px; }
  .p3d-spec { padding: 18px 8px; }
  .p3d-spec:nth-child(odd) { border-right: none; }
  .p3d-spec:not(:last-child) { border-bottom: 1.5px dashed var(--border); }
  .p3d-banner { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 20px; }
  .p3d-banner-go { width: 100%; justify-content: center; }
  .service-card { padding: 24px 20px 22px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; text-align: left; padding: 0 0 28px; }
  .step-num { margin: 0; grid-row: span 2; }
  .step:not(:last-child)::before {
    content: ''; position: absolute; left: 27px; top: 62px; bottom: 6px; width: 2px;
    background: repeating-linear-gradient(180deg, var(--green) 0 8px, transparent 8px 14px); opacity: .45;
  }
  .who-card { padding: 20px; gap: 14px; }
  .why-card { padding: 28px 22px; }
  .why-num { font-size: 56px; }
  .faq-item summary { font-size: 17px; padding: 18px; }
  .faq-a { padding: 0 18px 18px; font-size: 15.5px; }

  .cta-block { padding: 52px 22px; border-radius: 20px; }
  .cta-block > p { font-size: 16px; }
  .cta-btns .btn { width: 100%; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-copy { flex-direction: column; }
  .wa-fab { right: 16px; bottom: 16px; }
}

/* Link alla pagina Stampa 3D dalla sezione in home */
.p3d-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 22px; color: var(--green-light); font-weight: 800; font-size: 15px; text-decoration: none; }
.p3d-more:hover { color: #fff; text-decoration: underline; }
.p3d-more .ico { width: 16px; height: 16px; }
.related h3 a { text-decoration: none; color: inherit; }
.related:hover h3 a { color: var(--green); }

/* Animazione stampa 3D dentro l'hero della pagina dedicata */
.p3d-hero-card { border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-md); }
.p3d-hero-card .p3d-print { position: relative; }

/* Riga prezzo quando i prezzi sono nascosti (MOSTRA_PREZZI = False in build.py) */
.price.price-quote strong { font-size: 22px; }
.price-card.compact .price.price-quote strong { font-size: 19px; }
