
@font-face{font-family:"Playfair Display";src:url(/fonts/playfair-display-latin-600-normal.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Playfair Display";src:url(/fonts/playfair-display-latin-700-normal.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Playfair Display";src:url(/fonts/playfair-display-latin-600-italic.woff2) format("woff2");font-weight:600;font-style:italic;font-display:swap}
@font-face{font-family:"DM Sans";src:url(/fonts/dm-sans-latin-400-normal.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"DM Sans";src:url(/fonts/dm-sans-latin-500-normal.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"DM Sans";src:url(/fonts/dm-sans-latin-600-normal.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"DM Sans";src:url(/fonts/dm-sans-latin-700-normal.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}
/* Layout: film a schermo intero con capitoli che cambiano allo scroll, poi bande alternate (avorio, nero, carta). Pagine servizio con testata scura e corpo a due colonne. Un solo aspetto, scelto. */
:root {
  --ink: #1A1A1A;
  --ink-2: #242322;
  --ivory: #FBF8F3;
  --paper: #F2ECE3;
  --red: #B3261E;
  --red-light: #E0574C;
  --grey: #5B5751;
  --grey-light: #C9C2B7;
  --line: #E0D8CC;
  --line-dark: rgba(251, 248, 243, 0.14);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 104px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 70; background: var(--ink); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red-light); outline-offset: 3px; border-radius: 2px; }
img { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.76rem; font-weight: 700; color: var(--red); margin: 0 0 var(--s2); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.on-dark .eyebrow { color: var(--red-light); }
h1, h2, h3 { text-wrap: balance; }
h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.08; margin: 0 0 var(--s2); letter-spacing: -0.01em; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.65; color: var(--grey); max-width: 60ch; margin: 0; }
.on-dark .lead { color: var(--grey-light); }
.section { padding-block: clamp(72px, 9vw, var(--s6)); }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s3) var(--s5); margin-bottom: var(--s5); }
.head > div { max-width: 640px; min-width: 0; }

/* Logo */
.logo { display: inline-flex; align-items: center; font-family: var(--serif); font-weight: 700; line-height: 1; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.logo svg { width: 0.72em; height: 0.72em; margin: 0 0.03em; }
.logo circle { fill: none; stroke: var(--red-light); }

/* Menu */
.nav { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 60; color: var(--ivory); background: rgba(22, 22, 22, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-dark); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 68px; }
.nav .logo { font-size: 1.6rem; color: var(--ivory); }
.nav__links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 0.95rem; font-weight: 500; }
.nav__links a { text-decoration: none; color: var(--grey-light); transition: color 0.2s; }
.nav__links a:hover { color: var(--ivory); }
.btn-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: var(--ivory) !important; padding: 11px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: background 0.2s, transform 0.2s; white-space: nowrap; }
.btn-pill:hover { background: var(--red-light); transform: translateY(-1px); }
.nav__toggle { display: none; background: none; border: 1px solid var(--line-dark); color: var(--ivory); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; }
.nav__toggle span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; }
@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); padding: 8px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px)); border-bottom: 1px solid var(--line-dark); }
  .nav.open .nav__links { display: flex; }
  .nav__links li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .nav__links li:last-child a { margin-top: 16px; justify-content: center; border: 0; }
}

/* Film */
.film { position: relative; height: 500vh; background: var(--ink); color: var(--ivory); }
.film__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.film__media { position: absolute; inset: 0; transform-origin: 60% 50%; will-change: transform; }
.film__media video, .film__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,20,20,0.92) 0%, rgba(20,20,20,0.66) 38%, rgba(20,20,20,0.08) 72%), linear-gradient(0deg, rgba(20,20,20,0.7) 0%, rgba(20,20,20,0) 30%); }
.film__copy { position: absolute; inset: 0; display: flex; align-items: center; }
.film__copy .wrap { position: relative; padding-block: 110px 120px; min-height: 100%; display: flex; align-items: center; }
.chapter { position: absolute; max-width: 620px; opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; pointer-events: none; }
.chapter.is-on { opacity: 1; transform: none; pointer-events: auto; }
.chapter:first-child { position: relative; }
.chapter__kicker { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; font-weight: 700; color: var(--red-light); margin: 0 0 18px; }
.chapter h1, .chapter h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(2.6rem, 6.6vw, 5.4rem); line-height: 1.02; margin: 0 0 22px; letter-spacing: -0.015em; }
.chapter h1 em, .chapter h2 em { font-style: italic; color: var(--red-light); }
.chapter p.body { font-size: clamp(1.05rem, 1.6vw, 1.28rem); line-height: 1.6; max-width: 40ch; margin: 0 0 28px; color: #EDE7DE; }
.chapter__ctas { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.link-arrow { color: var(--ivory); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(251,248,243,0.4); padding-bottom: 3px; transition: border-color 0.2s; }
.link-arrow:hover { border-color: var(--red-light); }
.rail { position: absolute; left: 0; right: 0; bottom: 0; }
.rail .wrap { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; padding-block: 0 28px; }
.rail__item { border-top: 2px solid rgba(251,248,243,0.22); padding-top: 12px; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grey-light); position: relative; }
.rail__item i { position: absolute; top: -2px; left: 0; height: 2px; width: 0; background: var(--red-light); }
.rail__item.is-on { color: var(--ivory); }
@media (max-width: 560px) { .rail__item span { display: none; } }

/* Offerta */
.offer { background: var(--paper); }
.offer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: var(--s3); }
.offer__card { background: var(--ivory); border: 1px solid var(--line); border-radius: 14px; padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: var(--s2); min-width: 0; }
.offer__tag { align-self: flex-start; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); background: rgba(179,38,30,0.08); padding: 6px 12px; border-radius: 999px; }
.offer__card h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; margin: 0; }
.offer__card p { margin: 0; color: var(--grey); line-height: 1.65; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; line-height: 1.5; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 8px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.on-dark .checks li::before { border-color: var(--red-light); }
.offer__card .btn-solid { margin-top: auto; align-self: flex-start; }
.btn-solid { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-weight: 600; font-size: 1rem; padding: 15px 24px; border: 0; border-radius: 6px; background: var(--ink); color: var(--ivory); cursor: pointer; text-decoration: none; transition: background 0.2s, transform 0.2s; }
.btn-solid:hover { background: var(--red); transform: translateY(-1px); }

/* Problemi: colonne fisse, tutte le righe allineate */
.problemi { background: var(--ink); color: var(--ivory); }
.prob__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-dark); counter-reset: p; }
.prob { counter-increment: p; display: grid; grid-template-columns: 64px minmax(0, 5fr) minmax(0, 7fr) 220px; column-gap: 40px; row-gap: 12px; align-items: baseline; padding-block: 34px; border-bottom: 1px solid var(--line-dark); }
.prob::before { content: counter(p, decimal-leading-zero); font-family: var(--serif); font-size: 1.15rem; color: var(--red-light); font-variant-numeric: tabular-nums; }
.prob h3 { font-family: var(--serif); font-size: clamp(1.3rem, 2.1vw, 1.65rem); line-height: 1.22; margin: 0; }
.prob p { margin: 0; color: var(--grey-light); line-height: 1.7; }
.prob p b { display: block; color: var(--red-light); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin-bottom: 6px; }
.prob a { justify-self: start; display: inline-flex; align-items: center; gap: 8px; color: var(--ivory); font-weight: 600; font-size: 0.95rem; text-decoration: none; border: 1px solid var(--line-dark); border-radius: 999px; padding: 9px 16px; transition: border-color 0.2s, background 0.2s; }
.prob a::after { content: "→"; color: var(--red-light); }
.prob a:hover { border-color: var(--red-light); background: rgba(224, 87, 76, 0.08); }
@media (max-width: 1020px) { .prob { grid-template-columns: 48px minmax(0, 1fr); } .prob p, .prob a { grid-column: 2; } }

/* Servizi */
.serv__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: var(--s3); }
.serv { display: flex; flex-direction: column; gap: 12px; text-decoration: none; background: var(--ivory); border: 1px solid var(--line); border-radius: 14px; padding: 30px 28px; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; min-width: 0; }
.serv:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(26,26,26,0.45); }
.serv svg { width: 46px; height: 46px; }
.serv svg g, .svc-hero svg g { fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.serv h3 { font-family: var(--serif); font-size: 1.4rem; margin: 8px 0 0; }
.serv p { margin: 0; color: var(--grey); line-height: 1.6; }
.serv .more { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--red); }
.serv:hover .more { text-decoration: underline; }

/* Metodo */
.metodo { background: var(--paper); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--s4); counter-reset: s; }
.step { border-top: 2px solid var(--ink); padding-top: 22px; min-width: 0; counter-increment: s; }
.step::before { content: counter(s); font-family: var(--serif); font-size: 2.6rem; color: var(--red); line-height: 1; display: block; margin-bottom: 14px; }
.step h3 { font-family: var(--serif); font-size: 1.4rem; margin: 0 0 8px; }
.step p { margin: 0; color: var(--grey); line-height: 1.65; }

/* Storia */
.storia__intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s3) var(--s5); align-items: start; }
@media (max-width: 900px) { .storia__intro { grid-template-columns: 1fr; } }
.storia__intro h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.storia__intro p { font-size: 1.14rem; line-height: 1.8; margin: 0 0 var(--s2); max-width: 60ch; }
.storia__intro p:first-child::first-letter { font-family: var(--serif); font-size: 3.4em; float: left; line-height: 0.82; margin: 0.06em 0.1em 0 0; color: var(--red); }
.numeri { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); margin: var(--s5) 0; padding-block: var(--s4); border-block: 1px solid var(--line); }
@media (max-width: 760px) { .numeri { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.numeri div { min-width: 0; }
.numeri b { display: block; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.numeri span { display: block; margin-top: 10px; color: var(--grey); line-height: 1.45; max-width: 18ch; }
.locali__titolo { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--grey); margin: 0 0 var(--s2); }
.locali { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.locale { display: grid; grid-template-columns: 150px minmax(0, 4fr) minmax(0, 6fr) 200px; column-gap: 40px; row-gap: 12px; align-items: baseline; padding-block: 34px; border-bottom: 1px solid var(--line); }
.locale__years { font-family: var(--serif); font-size: 1.2rem; color: var(--red); font-variant-numeric: tabular-nums; white-space: nowrap; }
.locale h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1; margin: 0 0 6px; }
.locale__place { color: var(--grey); font-size: 0.95rem; margin: 0; }
.locale__desc { margin: 0; line-height: 1.7; color: #3A3733; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.facts li { font-size: 0.92rem; color: var(--ink); font-variant-numeric: tabular-nums; padding-left: 14px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
@media (max-width: 1020px) { .locale { grid-template-columns: 110px minmax(0, 1fr); } .locale__desc, .facts { grid-column: 2; } }
@media (max-width: 560px) { .locale { grid-template-columns: 1fr; } .locale__desc, .facts { grid-column: 1; } }
.storia__chiusa { margin: var(--s4) 0 0; font-size: 1.05rem; color: var(--grey); max-width: 70ch; line-height: 1.7; }

/* WhatsApp e assistente */
.fab { position: fixed; right: max(20px, calc(env(safe-area-inset-right, 0px) + 12px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab__btn { width: 58px; height: 58px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 28px -8px rgba(0,0,0,0.45); transition: transform 0.2s; text-decoration: none; }
.fab__btn:hover { transform: scale(1.06); }
.fab.is-open { display: none; }
.fab__btn svg { width: 30px; height: 30px; }
.fab__wa { background: #25D366; color: #FFFFFF; }
.fab__chat { background: var(--red); color: var(--ivory); }
.fab__teaser { max-width: 250px; background: var(--ivory); color: var(--ink); border: 1px solid var(--line); border-radius: 14px 14px 4px 14px; padding: 14px 34px 14px 16px; font-size: 0.95rem; line-height: 1.45; box-shadow: 0 14px 34px -14px rgba(0,0,0,0.4); position: relative; cursor: pointer; }
.fab__teaser b { display: block; margin-bottom: 2px; }
.fab__teaser button { position: absolute; top: 6px; right: 6px; border: 0; background: none; font-size: 1.1rem; color: var(--grey); cursor: pointer; width: 26px; height: 26px; }
.bot { position: fixed; right: max(20px, calc(env(safe-area-inset-right, 0px) + 12px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 90; width: min(390px, calc(100vw - 32px)); height: min(620px, calc(100svh - 110px)); background: var(--ivory); color: var(--ink); border-radius: 18px; box-shadow: 0 30px 70px -20px rgba(0,0,0,0.55); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
@media (max-width: 520px) { .bot { right: 0; left: 0; bottom: 0; width: 100%; height: 100svh; height: 100dvh; border-radius: 0; padding-top: env(safe-area-inset-top, 0px); } }
.bot__head { background: var(--ink); color: var(--ivory); padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.bot__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ivory); display: grid; place-items: center; flex: none; }
.bot__avatar svg { width: 24px; height: 24px; }
.bot__avatar circle { fill: none; stroke: var(--red); }
.bot__head b { display: block; font-size: 1rem; }
.bot__head small { color: var(--grey-light); font-size: 0.82rem; }
.bot__close { margin-left: auto; background: none; border: 1px solid var(--line-dark); color: var(--ivory); width: 36px; height: 36px; border-radius: 8px; cursor: pointer; font-size: 1.2rem; }
.bot__log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 14px; line-height: 1.5; font-size: 0.95rem; overflow-wrap: anywhere; }
.msg a { color: var(--red); font-weight: 600; }
.msg--bot { background: var(--ivory); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg--me { background: var(--ink); color: var(--ivory); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg--typing { color: var(--grey); letter-spacing: 0.2em; }
.riepilogo { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; font-size: 0.88rem; }
.riepilogo li span { color: var(--grey); }
.bot__foot { padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--ivory); display: flex; flex-wrap: wrap; gap: 8px; }
.opt { font: inherit; font-size: 0.92rem; font-weight: 500; padding: 9px 14px; border-radius: 999px; border: 1px solid #BDB4A7; background: #FFFFFF; color: var(--ink); cursor: pointer; transition: all 0.15s; text-align: left; }
.opt:hover { border-color: var(--ink); background: var(--ink); color: var(--ivory); }
.opt--main { background: var(--red); border-color: var(--red); color: var(--ivory); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.opt--main:hover { background: var(--red-light); border-color: var(--red-light); }
.bot__form { display: flex; gap: 8px; width: 100%; }
.bot__form input { flex: 1; min-width: 0; font: inherit; padding: 11px 13px; border: 1px solid #BDB4A7; border-radius: 10px; background: #FFFFFF; color: var(--ink); }
.bot__form button { font: inherit; font-weight: 600; border: 0; border-radius: 10px; padding: 0 16px; background: var(--ink); color: var(--ivory); cursor: pointer; }
.bot__err { width: 100%; margin: 0; font-size: 0.85rem; color: var(--red); }
.contatti__wa { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; padding: 14px 20px; border-radius: 12px; border: 1px solid var(--line-dark); text-decoration: none; color: var(--ivory); }
.contatti__wa svg { width: 28px; height: 28px; flex: none; }
.contatti__wa span { display: block; font-size: 0.85rem; color: var(--grey-light); }
.contatti__wa b { font-size: 1.15rem; font-variant-numeric: tabular-nums; user-select: all; }
.contatti__wa:hover { border-color: #25D366; }
.rail .wrap { padding-right: max(96px, env(safe-area-inset-right, 0px)); }

/* Contatti */
.contatti { background: var(--ink); color: var(--ivory); }
.contatti__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: var(--s4) var(--s5); align-items: start; }
.form { background: var(--ivory); color: var(--ink); border-radius: 16px; padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px 20px; min-width: 0; }
.form fieldset { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.form legend { font-size: 0.92rem; font-weight: 600; margin-bottom: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-block; padding: 10px 16px; border: 1px solid #BDB4A7; border-radius: 999px; cursor: pointer; font-size: 0.95rem; transition: all 0.15s; }
.choice input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 0.92rem; font-weight: 600; min-width: 0; }
.field--wide, .form__azioni, .form .nota { grid-column: 1 / -1; }
.field input, .field textarea { font: inherit; font-weight: 400; padding: 13px 14px; border: 1px solid #BDB4A7; border-radius: 8px; background: #FFFFFF; color: var(--ink); width: 100%; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 0; }
.form__azioni { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__azioni small { color: var(--grey); }
.nota { margin: 0; padding: 14px 16px; border-left: 4px solid var(--red); background: var(--paper); line-height: 1.55; }

/* Pagine servizio */
.svc-hero { background: var(--ink); color: var(--ivory); position: relative; overflow: hidden; padding-block: 150px 80px; }
.svc-hero__img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.35; }
.svc-hero__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,20,20,0.95) 0%, rgba(20,20,20,0.7) 55%, rgba(20,20,20,0.4) 100%); }
.svc-hero .wrap { position: relative; }
.crumb { font-size: 0.9rem; color: var(--grey-light); margin: 0 0 28px; }
.crumb a { color: var(--grey-light); }
.svc-hero h1 { font-family: var(--serif); font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1.04; margin: 0 0 20px; max-width: 16ch; letter-spacing: -0.01em; }
.svc-hero p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; color: #EDE7DE; max-width: 52ch; margin: 0 0 30px; }
.svc-hero svg { width: 52px; height: 52px; margin-bottom: 18px; }
.svc-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--s5); align-items: start; }
@media (max-width: 920px) { .svc-body { grid-template-columns: 1fr; } }
.svc-block + .svc-block { margin-top: var(--s5); }
.svc-block h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.svc-block > p { font-size: 1.1rem; line-height: 1.75; margin: 0 0 var(--s2); max-width: 64ch; }
.svc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.svc-list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; line-height: 1.6; }
.svc-list li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--red); margin-top: 0.45em; }
.svc-list b { display: block; font-weight: 600; }
.svc-list span { color: var(--grey); }
.svc-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: var(--s3); }
.box { border-radius: 14px; padding: 28px; }
.box h3 { font-family: var(--serif); font-size: 1.35rem; margin: 0 0 14px; }
.box--paper { background: var(--paper); }
.box--ink { background: var(--ink); color: var(--ivory); }
.box--ink p { color: var(--grey-light); margin: 0 0 20px; line-height: 1.6; }
.box--ink .btn-pill { display: inline-flex; }
.svc-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--s3); counter-reset: s; }
.svc-steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 16px; line-height: 1.6; color: var(--grey); }
.svc-steps li::before { content: counter(s); display: block; font-family: var(--serif); font-size: 1.8rem; color: var(--red); margin-bottom: 6px; }
.svc-steps b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.altri { background: var(--paper); }
.altri__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--s2); }
.altri a { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-decoration: none; background: var(--ivory); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; font-weight: 600; transition: border-color 0.2s; }
.altri a:hover { border-color: var(--ink); }
.altri a::after { content: "→"; color: var(--red); }

/* Footer */
.footer { background: #121212; color: var(--ivory); }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--s4); padding-block: var(--s5) var(--s4); }
.footer .logo { font-size: 1.7rem; color: var(--ivory); }
.footer h4 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-light); margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; color: #E6E0D6; }
.footer a:hover { color: var(--red-light); }
.footer p { color: var(--grey-light); margin: 12px 0 0; line-height: 1.6; max-width: 32ch; }
.footer__base { border-top: 1px solid var(--line-dark); padding-block: 20px calc(20px + env(safe-area-inset-bottom, 0px)); font-size: 0.88rem; color: var(--grey-light); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: var(--s4) var(--s5); align-items: start; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-family: var(--serif); font-size: 1.22rem; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.6rem; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 22px; color: var(--grey); line-height: 1.7; max-width: 64ch; }

/* Consensi */
.consenso { grid-column: 1 / -1; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 0.9rem; line-height: 1.5; color: var(--grey); align-items: start; }
.consenso input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); }

/* Pagine legali */
.legal { padding-block: 140px var(--s6); }
.legal .wrap { max-width: 860px; }
.legal h1 { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.08; margin: 0 0 12px; }
.legal .agg { color: var(--grey); margin: 0 0 var(--s4); }
.legal h2 { font-size: 1.45rem; margin: var(--s4) 0 12px; }
.legal p, .legal li { line-height: 1.75; color: #33302C; }
.legal ul { padding-left: 1.2em; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; vertical-align: top; }
.table-scroll { overflow-x: auto; }
.todo { background: #FFF0C2; color: #6B4A00; padding: 1px 6px; border-radius: 4px; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .film { height: auto; }
  .film__stage { position: relative; }
  .chapter { position: relative; opacity: 1; transform: none; }
  .chapter:not(:first-child), .rail { display: none; }
  * { transition: none !important; }
}

.partner.partner--foto { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; align-items: start; }
.partner__foto { width: 140px; height: 170px; object-fit: cover; object-position: center 20%; border-radius: 10px; max-width: 100%; }
.partner__txt { display: flex; flex-direction: column; gap: 8px; min-width: 0; height: 100%; }
@media (max-width: 480px) { .partner.partner--foto { grid-template-columns: 1fr; } .partner__foto { width: 120px; height: 146px; } }
.bol { background: var(--paper); }
.bol__grid, .bol__hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--s5); align-items: center; }
.bol__grid img, .bol__hero img { width: 100%; max-width: 340px; height: auto; justify-self: center; filter: drop-shadow(0 20px 40px rgba(0,0,0,.25)); }
@media (max-width: 860px) { .bol__grid, .bol__hero { grid-template-columns: 1fr; gap: var(--s4); } .bol__grid img, .bol__hero img { max-width: 240px; } }
.crit { list-style: none; padding: 0 !important; margin: 0; display: grid !important; gap: 0 !important; counter-reset: cr; border-top: 1px solid var(--line); }
.crit li { counter-increment: cr; display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); line-height: 1.55; }
.crit li::before { content: counter(cr); font-family: var(--serif); font-size: 1.4rem; color: var(--red); line-height: 1.1; }
.crit b { display: block; } .crit span { color: var(--grey); }
.lang { display: inline-flex !important; align-items: center; gap: 7px; font-weight: 600; font-size: 0.88rem; letter-spacing: 0.04em; }
.lang .flag { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,0.25); flex: none; }
.form__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--s3); }
.form__cols > div { border: 1px solid var(--line); border-radius: 14px; padding: 26px; background: var(--ivory); min-width: 0; }
.form__cols h3 { font-family: var(--serif); font-size: 1.4rem; margin: 0 0 14px; }
.form__cols .checks { padding: 0 !important; }
.form__cols .checks li { font-size: 1rem !important; line-height: 1.5 !important; }
.ruoli { list-style: none; padding: 0 !important; margin: 0 0 8px; display: flex !important; flex-wrap: wrap; gap: 10px !important; }
.ruoli li { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 16px; font-size: 0.98rem !important; line-height: 1.3 !important; }
.on-dark .ruoli li { background: rgba(251,248,243,0.06); border-color: var(--line-dark); color: var(--ivory); }
.pers__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5); align-items: start; }
@media (max-width: 900px) { .pers__grid { grid-template-columns: 1fr; gap: var(--s4); } }
.pers__steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line-dark); counter-reset: ps; }
.pers__steps li { counter-increment: ps; display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); color: var(--grey-light); line-height: 1.6; }
.pers__steps li::before { content: counter(ps); font-family: var(--serif); font-size: 1.5rem; color: var(--red-light); line-height: 1.1; }
.pers__steps b { display: block; color: var(--ivory); }
.cover { background: var(--ink) !important; color: var(--ivory); display: flex; align-items: flex-end; padding: 22px 24px; position: relative; overflow: hidden; }
.cover::before { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; border: 14px solid var(--red-light); opacity: .9; }
.cover::after { content: ""; position: absolute; right: 8px; top: 8px; width: 84px; height: 84px; border-radius: 50%; border: 4px solid var(--red-light); opacity: .9; }
.cover span { position: relative; font-family: var(--serif); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; letter-spacing: -0.01em; }
.art-cover.cover span { font-size: clamp(2.4rem, 7vw, 4.4rem); }
/* Pagine statiche: blog, articoli, servizi */
.page-top { padding-block: 140px 56px; background: var(--ink); color: var(--ivory); }
.page-top h1 { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.06; margin: 0 0 18px; max-width: 20ch; letter-spacing: -0.01em; }
.page-top p.lead { color: var(--grey-light); }
.crumb a { text-decoration: none; } .crumb a:hover { text-decoration: underline; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: var(--s4) var(--s3); }
.card { display: flex; flex-direction: column; text-decoration: none; min-width: 0; }
.card__img { aspect-ratio: 16/10; border-radius: 12px; background: var(--paper) center/cover no-repeat; margin-bottom: 18px; max-width: 100%; }
.card__cat { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--red); }
.card h2, .card h3 { font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; margin: 8px 0 10px; }
.card p { margin: 0 0 12px; color: var(--grey); line-height: 1.6; }
.card .more { margin-top: auto; font-weight: 600; color: var(--red); }
.card:hover h2, .card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.art-head { padding-block: 140px 40px; background: var(--ivory); }
.art-head .wrap, .art .wrap { max-width: 800px; }
.art-head h1 { font-family: var(--serif); font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.1; margin: 0 0 18px; letter-spacing: -0.01em; }
.art-meta { color: var(--grey); font-size: 0.95rem; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.art-cover { aspect-ratio: 16/8; border-radius: 14px; background: var(--paper) center/cover no-repeat; margin-top: 32px; max-width: 100%; }
.art { padding-bottom: var(--s6); }
.art .intro { font-size: 1.25rem; line-height: 1.7; color: #33302C; margin: 0 0 var(--s4); }
.art h2 { font-family: var(--serif); font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.2; margin: var(--s5) 0 var(--s2); }
.art p, .art li { font-size: 1.1rem; line-height: 1.8; color: #2B2926; }
.art ul, .art ol { padding-left: 1.3em; display: grid; gap: 8px; }
.art a { color: var(--red); }
.art .formula { font-family: var(--serif); font-size: clamp(1.2rem, 2.4vw, 1.6rem); background: var(--paper); border-left: 3px solid var(--red); padding: 18px 22px; border-radius: 0 10px 10px 0; }
.cta-box { margin-top: var(--s5); background: var(--ink); color: var(--ivory); border-radius: 16px; padding: clamp(28px, 4vw, 44px); display: grid; gap: 14px; }
.cta-box h2 { margin: 0 !important; color: var(--ivory); }
.cta-box p { color: var(--grey-light) !important; margin: 0; }
.cta-box .acts { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 6px; }
.cta-box .acts a.link-arrow { color: var(--ivory); }
.correlati { background: var(--paper); }
.fab-wa { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 50; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.fab-wa svg { width: 30px; height: 30px; }
