/* ==========================================================================
   Onoranze Funebri Menegardo — foglio di stile
   Palette: inchiostro verde-nero, avorio caldo, oro brunito, ulivo.
   ========================================================================== */

@font-face { font-family: "Lora"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/lora.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/manrope.woff2) format("woff2"); }

:root {
  --ink: #161c1a;
  --ink-2: #1e2624;
  --ink-3: #2a3431;
  --paper: #f7f3ec;
  --paper-2: #efe8dc;
  --paper-3: #e3d9c8;
  --white: #fffdf9;
  --text: #232a28;
  --muted: #454d49;
  --on-dark: #f3eee5;
  --on-dark-muted: rgba(243, 238, 229, .85);
  --gold: #c9a96e;
  --gold-2: #b08d57;
  --gold-deep: #7d5f2d;
  --olive: #6b7556;
  --bronze: #9a7638;             /* oro leggibile su fondi chiari */
  --sage: #e6ebe1;               /* verde ulivo chiarissimo */
  --sand: #f2e9da;
  --line: rgba(22, 28, 26, .12);
  --line-dark: rgba(243, 238, 229, .14);

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 30px 60px -32px rgba(22, 28, 26, .45);
  --shadow-sm: 0 12px 30px -18px rgba(22, 28, 26, .35);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; font-weight: 450;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
p a, .prose li a, .ticks a, dd a { color: var(--gold-deep); }
.section--dark p a, .section--dark li a { color: var(--gold); }
button { font: inherit; color: inherit; cursor: pointer; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--ink); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 999; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; transition: top .2s; }
.skip:focus { top: 16px; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.18; letter-spacing: -.015em; margin: 0 0 .5em; color: inherit; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); }
h3 { font-size: 1.28rem; line-height: 1.3; }
em, i { font-style: normal; }
h1 em, h2 em, h3 em { color: var(--gold-deep); }
.legal em { font-weight: 600; }
.section--dark h2 em, .page-hero h1 em, .cta-band h2 em { color: var(--gold); }
p { margin: 0 0 1.1em; }
strong { font-weight: 700; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .8; }
.eyebrow--light { color: var(--gold); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.65; max-width: 44rem; }
.lead--light { color: var(--on-dark-muted); }
.lead--light strong { color: var(--on-dark); }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.section { position: relative; padding-block: clamp(72px, 10vw, 130px); }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.section--dark p { color: var(--on-dark-muted); }
.grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.sec-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head > p:last-child { color: var(--muted); font-size: 1.1rem; }
.section--dark .sec-head > p:last-child { color: var(--on-dark-muted); }
.sec-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.sec-head--row h2 { margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split--rev .split-text { order: 0; }
.split--map { grid-template-columns: .9fr 1.1fr; }
.split--faq { grid-template-columns: .8fr 1.2fr; align-items: start; }
.split--faq .sec-head { position: sticky; top: 130px; }

/* ---------- Bottoni ---------- */
.btn {
  --bg: var(--ink); --fg: var(--on-dark);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; line-height: 1.2;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s var(--ease), border-color .3s;
}
.btn .ico { width: 18px; height: 18px; flex: none; }
.btn { max-width: 100%; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--gold { --bg: var(--gold); --fg: var(--ink); }
.btn--gold:hover { --bg: #d8bb84; }
.btn--dark { --bg: var(--ink); --fg: var(--on-dark); }
.btn--dark:hover { --bg: var(--ink-3); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { --bg: rgba(255, 255, 255, .04); --fg: var(--on-dark); border-color: rgba(243, 238, 229, .28); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { border-color: var(--gold); --fg: var(--gold); }
.btn--lg { padding: 17px 30px; font-size: 1rem; }
.btn--sm { padding: 9px 16px; font-size: .85rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; color: var(--gold-deep); text-decoration: none; }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover .ico, a:hover > .link-arrow .ico, a:hover .link-arrow .ico { transform: translateX(5px); }
.section--dark .link-arrow, .aside-card--dark .link-arrow { color: var(--gold); }

.ico { width: 22px; height: 22px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; padding-top: env(safe-area-inset-top); color: var(--on-dark); transition: background .35s ease, color .35s ease, box-shadow .35s ease; will-change: background; }
.topbar { font-size: .8rem; letter-spacing: .02em; border-bottom: 1px solid var(--line-dark); overflow: hidden; max-height: 44px; transition: max-height .45s var(--ease), opacity .3s, border-color .3s; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 40px; color: var(--on-dark-muted); }
.topbar-in > span { display: inline-flex; align-items: center; gap: 8px; }
.topbar .ico { width: 15px; height: 15px; }
.nav-mobile-only { display: none !important; }
.topbar-link { margin-left: 14px; color: var(--gold); text-decoration: none; font-weight: 600; }
.topbar-link:hover { text-decoration: underline; }
.topbar-right a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; margin-left: 14px; color: var(--on-dark); }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: #7fbf7a; box-shadow: 0 0 0 0 rgba(127, 191, 122, .6); animation: live 2.4s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(127, 191, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 191, 122, 0); } }

.header-in { display: flex; align-items: center; gap: 20px; height: var(--header-h); transition: height .45s var(--ease); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; }
.brand-logo { display: block; height: 72px; width: auto; transition: height .45s var(--ease), transform .6s var(--ease); }
.brand:hover .brand-logo { transform: scale(1.03); }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a { display: block; padding: 10px 7px; font-size: .9rem; white-space: nowrap; font-weight: 600; text-decoration: none; position: relative; }
.nav-list > li > a::after { content: ""; position: absolute; left: 7px; right: 7px; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav-list > li > a:hover::after, .nav-list > li > a[aria-current]::after { transform: scaleX(1); }

.btn--call { padding: 10px 18px 10px 14px; }
.btn--call .ico { width: 20px; height: 20px; }
.call-txt { display: flex; flex-direction: column; line-height: 1.1; font-size: 1rem; }
.call-txt small { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.nav-mobile-extra { display: none; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }

/* stato "scrollato" */
.site-header.is-scrolled { background: rgba(247, 243, 236, .92); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 20px 40px -30px rgba(0, 0, 0, .25); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.site-header.is-scrolled .topbar { max-height: 0; opacity: 0; border-color: transparent; }
.site-header.is-scrolled .header-in { height: 72px; }
.site-header.is-scrolled .brand-logo { height: 58px; }
.site-header.is-scrolled .burger { border-color: var(--line); }

/* ==========================================================================
   Hero (home) – chiaro: frase, nome, pulsanti grandi, foto
   ========================================================================== */
@keyframes kenburns { to { transform: scale(1); } }
.hero-glow, .cta-glow { position: absolute; z-index: -1; width: 70vmax; height: 70vmax; left: -22vmax; bottom: -30vmax; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(201, 169, 110, .28), rgba(201, 169, 110, .08) 55%, transparent); animation: candle 7s ease-in-out infinite alternate; }
@keyframes candle { 0% { opacity: .7; transform: scale(1); } 40% { opacity: .95; transform: scale(1.04); } 60% { opacity: .8; } 100% { opacity: 1; transform: scale(1.02) translateY(-1%); } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hx { --hx-head: 153px; position: relative; overflow: hidden; isolation: isolate; color: var(--ink);
  display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; padding-top: var(--hx-head);
  background: radial-gradient(90% 120% at 0% 0%, #fdfaf4 0%, #f5ecdd 55%, #eee2cc 100%); }
.hx .hero-glow { left: -24vmax; bottom: -44vmax; opacity: .8; }
/* testo allineato al resto del sito, foto fino al bordo destro dello schermo */
.hx-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); padding-left: calc(max(0px, (100% - var(--wrap)) / 2) + var(--gutter)); }
.hx-text { align-self: center; padding: clamp(20px, 4vh, 56px) clamp(28px, 4vw, 64px) clamp(28px, 5vh, 64px) 0; }
.hx-claim { display: flex; flex-direction: column; margin: 0 0 clamp(12px, 2.4vh, 22px); font-family: var(--serif); font-weight: 700; line-height: 1.12; }
.hx-k { color: var(--bronze); font-size: clamp(1.15rem, min(2vw, 3.3vh), 1.75rem); }
.hx-big { color: var(--ink); font-size: clamp(2rem, min(4.1vw, 6.6vh), 3.7rem); letter-spacing: -.015em; margin: 6px 0; text-wrap: balance; }
.hx-h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.05rem, min(1.6vw, 2.7vh), 1.42rem); line-height: 1.4; letter-spacing: 0; color: #3a423e; margin: 0 0 clamp(18px, 3.6vh, 34px); }
.hx-h1 span { display: block; text-wrap: balance; }
.hx-pills { display: grid; gap: clamp(10px, 1.8vh, 16px); max-width: 440px; }
.hx-pill { position: relative; display: flex; align-items: center; gap: 16px; padding: clamp(9px, 1.5vh, 14px) 28px clamp(9px, 1.5vh, 14px) clamp(9px, 1.5vh, 14px); border-radius: 999px; text-align: left; text-decoration: none; color: var(--ink);
  background: rgba(255, 255, 255, .8); box-shadow: 0 18px 40px -26px rgba(60, 45, 20, .55), inset 0 0 0 1px rgba(154, 118, 56, .16); transition: transform .4s var(--ease), box-shadow .4s, background .3s; }
.hx-pill:hover { transform: translateY(-2px); background: #fff; box-shadow: 0 24px 46px -24px rgba(60, 45, 20, .6), inset 0 0 0 1px rgba(154, 118, 56, .35); }
.hx-pill-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: var(--ink); flex: none; }
.hx-pill-ico .ico { width: 22px; height: 22px; }
.hx-pill-ico--wa { background: #2fb463; color: #fff; }
.hx-pill-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.hx-pill-txt small { font-family: var(--serif); font-size: 1rem; color: var(--muted); }
.hx-pill-txt strong { font-family: var(--serif); font-size: clamp(1.55rem, min(2.5vw, 4vh), 2.05rem); font-weight: 700; white-space: nowrap; }
.hx-media { position: relative; margin: 0; min-height: 340px; border-radius: 44px 0 0 0; overflow: hidden; background: #d9cdb8; }
.hx-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: kenburns 18s var(--ease) forwards; }
.hx-media figcaption { position: absolute; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 14px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .85rem; line-height: 1.35; color: var(--muted); text-align: left; }
.hx-media figcaption .ico { width: 26px; height: 26px; color: var(--bronze); flex: none; }
.hx-media figcaption strong { display: block; font-family: var(--serif); font-size: 1rem; color: var(--ink); }

/* testata della home: logo grande finché non si scorre */
.site-header--home:not(.is-scrolled) .brand-logo { height: 92px; }
.site-header--home:not(.is-scrolled) .header-in { height: 112px; }

/* animazioni d'ingresso */
.rise { animation: rise 1.1s var(--ease) both; }
.rise.d1 { animation-delay: .12s; } .rise.d2 { animation-delay: .26s; } .rise.d3 { animation-delay: .4s; } .rise.d4 { animation-delay: .55s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* ==========================================================================
   Page hero (pagine interne)
   ========================================================================== */
.page-hero { position: relative; color: var(--ink); overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 74px) 0 clamp(52px, 7vw, 90px);
  background: radial-gradient(90% 120% at 0% 0%, #fdfaf4 0%, #f5ecdd 55%, #eee2cc 100%); }
.page-hero .hero-glow { left: auto; right: -20vmax; bottom: -40vmax; opacity: .8; }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero.has-img .ph-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.ph-media { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(60, 45, 20, .55), 0 0 0 6px rgba(255, 255, 255, .6); }
.ph-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; animation: kenburns 18s var(--ease) forwards; transform: scale(1.06); }
.page-hero h1 { max-width: 15em; margin-bottom: 22px; }
.h1-sub { display: block; color: var(--bronze); font-size: .56em; font-weight: 500; margin-top: 10px; }
.page-hero .lead { margin-bottom: 30px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 28px; padding: 0; font-size: .82rem; color: var(--on-dark-muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* ==========================================================================
   Ticker paesi
   ========================================================================== */
.ticker { background: var(--ink-2); color: var(--on-dark-muted); border-block: 1px solid var(--line-dark); overflow: hidden; padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker 70s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li { display: flex; align-items: center; white-space: nowrap; font-family: var(--serif); font-size: 1.05rem; font-weight: 500; }
.ticker li::after { content: "✦"; font-style: normal; font-size: .7rem; color: var(--gold); margin: 0 28px; }
.ticker a { text-decoration: none; transition: color .3s; }
.ticker a:hover { color: var(--gold); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ==========================================================================
   Blocchi contenuto
   ========================================================================== */
.frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.frame:hover img { transform: scale(1.03); }
.frame--tall img { aspect-ratio: 4 / 5; }
.frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); pointer-events: none; }
.split-media { position: relative; }
.badge-float { position: absolute; right: -18px; bottom: -28px; display: flex; align-items: center; gap: 14px; background: var(--ink); color: var(--on-dark); padding: 18px 24px; border-radius: 16px; box-shadow: var(--shadow); }
.bf-num { font-family: var(--serif); font-size: 2.2rem; font-weight: 700; line-height: 1; color: var(--gold); }
.bf-txt { font-size: .82rem; line-height: 1.35; letter-spacing: .04em; color: var(--on-dark-muted); }

.ticks { list-style: none; margin: 0 0 1.4em; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li > .ico { position: absolute; left: 0; top: 4px; width: 20px; height: 20px; color: var(--olive); }
.section--dark .ticks .ico { color: var(--gold); }
.signature { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--gold-deep); margin: 10px 0 18px; }

/* numeri di telefono, date e cifre: numeri allineati, più leggibili */
.c-card strong, .hx-pill-txt strong, .stat-n, .fact strong, .ne-when, .casa-facts dd, .aside-big { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }

/* ---------- Card servizi ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 1px 0 var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc-img { overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-3); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-card:hover .svc-img img { transform: scale(1.07); }
.svc-body { position: relative; padding: 34px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.svc-ico { position: absolute; top: -26px; left: 24px; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; box-shadow: 0 0 0 5px var(--white); transition: transform .5s var(--ease); }
.svc-card:hover .svc-ico { transform: rotate(-8deg) scale(1.06); }
.svc-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.svc-body p { font-size: .94rem; color: var(--muted); flex: 1; }

/* ---------- Casa funeraria ---------- */
.casa .split { margin-bottom: clamp(70px, 9vw, 110px); }
.casa-ulivo { width: 84px; height: 84px; border-radius: 50%; margin-bottom: 18px; box-shadow: 0 0 0 1px var(--line-dark); }
.casa-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 28px 0 32px; padding: 24px 0; border-block: 1px solid var(--line-dark); }
.casa-facts dt { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; font-weight: 700; }
.casa-facts dd { margin: 0; font-family: var(--serif); font-size: 1.08rem; font-weight: 500; line-height: 1.45; color: var(--on-dark); }
.casa-collage { position: relative; min-height: 520px; }
.casa-collage > div { position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.casa-collage img { width: 100%; height: 100%; object-fit: cover; }
.cc-a { inset: 0 18% 14% 0; }
.cc-b { width: 52%; aspect-ratio: 4 / 3; right: 0; bottom: 0; border: 6px solid var(--ink); }

/* ---------- Statistiche ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); position: relative; }
.stat { padding: 40px 20px 6px; text-align: center; border-right: 1px solid var(--line-dark); }
.stat:last-child { border-right: 0; }
.stat-n { display: block; font-family: var(--serif); font-size: clamp(2.3rem, 4.4vw, 3.4rem); line-height: 1; color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; }
.stat-l { display: block; margin-top: 10px; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }

/* ---------- Passi ---------- */
.steps { list-style: none; margin: 0 0 50px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 1px; background: linear-gradient(90deg, var(--gold), var(--line)); transform-origin: left; transform: scaleX(var(--line-p, 0)); transition: transform 1.6s var(--ease); }
.steps.is-in::before { --line-p: 1; }
.steps li { position: relative; padding-top: 0; }
.step-n { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--paper); border: 1px solid var(--gold-2); font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--gold-deep); margin-bottom: 24px; position: relative; }
.steps h3 { font-size: 1.28rem; }
.steps p { color: var(--muted); font-size: .98rem; }

/* ---------- Necrologi ---------- */
.nec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.nec-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.nec-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.nec-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; height: 100%; }
.nec-row { display: flex; gap: 22px; padding: 24px; flex: 1; }
.nec-thumb { position: relative; aspect-ratio: 1754 / 1240; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.nec-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.nec-card:hover .nec-thumb img { transform: scale(1.04); }
.pill--float { position: absolute; left: 14px; top: 14px; background: var(--ink); color: var(--gold); box-shadow: var(--shadow-sm); }
.nec-card--m .nec-portrait { display: none; }
.nec-portrait { flex: none; width: 96px; height: 120px; border-radius: 10px; overflow: hidden; background: linear-gradient(160deg, var(--ink-3), var(--ink)); display: grid; place-items: center; position: relative; }
.nec-portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2); }
.nec-initials { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; color: var(--gold); letter-spacing: .04em; }
.nec-body { display: flex; flex-direction: column; min-width: 0; }
.nec-body h3 { font-size: 1.25rem; margin: 4px 0 6px; font-weight: 500; }
.nec-body h3 strong { font-weight: 700; }
.nec-body h3 small { display: block; font-size: .72em; color: var(--muted); font-weight: 500; margin-top: 2px; }
.nec-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .88rem; color: var(--muted); margin: 0 0 4px; }
.nec-meta span { display: inline-flex; align-items: center; gap: 5px; }
.nec-meta .ico { width: 14px; height: 14px; }
.nec-date { font-size: .84rem; color: var(--muted); margin-bottom: 14px; }
.nec-body .link-arrow { margin-top: auto; font-size: .86rem; }
.pill { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 5px 11px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; }
.pill .ico { width: 13px; height: 13px; }
.pill--gold { background: rgba(201, 169, 110, .18); color: var(--gold-deep); }

.nec-tools { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.search { position: relative; flex: 1; max-width: 520px; }
.search .ico { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.search input { width: 100%; padding: 16px 20px 16px 50px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font: inherit; color: var(--text); transition: border-color .3s, box-shadow .3s; }
.search input:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 4px rgba(201, 169, 110, .18); }
.nec-count { margin: 0; color: var(--muted); font-size: .9rem; }
.nec-empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* dettaglio */
.nec-manifesto-sec { background: linear-gradient(#eee2cc 0 clamp(80px, 12vw, 170px), var(--paper) 0); padding-bottom: 10px; }
.nec-manifesto { margin: 0 auto; max-width: 1160px; background: #fff; padding: clamp(6px, 1.2vw, 16px) clamp(6px, 1.2vw, 16px) 0; border-radius: 18px; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .05); }
.nec-manifesto-link { display: block; position: relative; cursor: zoom-in; border-radius: 10px; overflow: hidden; }
.nec-manifesto-link img { width: 100%; height: auto; }
.nec-zoom { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(22, 28, 26, .82); color: #fff; font-size: .82rem; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease); }
.nec-zoom .ico { width: 16px; height: 16px; }
.nec-manifesto-link:hover .nec-zoom, .nec-manifesto-link:focus-visible .nec-zoom { opacity: 1; transform: none; }
@media (hover: none) { .nec-zoom { opacity: 1; transform: none; } }
.nec-manifesto figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 8px 16px; font-size: .86rem; color: var(--muted); }
.nec-manifesto-actions { display: inline-flex; gap: 18px; }
.nec-manifesto-actions a { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-deep); font-weight: 700; text-decoration: none; }
.nec-manifesto-actions .ico { width: 16px; height: 16px; }
.section--after-m { padding-top: clamp(44px, 6vw, 80px); }
.page-hero--nec { padding-bottom: clamp(40px, 5vw, 60px); }

.nec-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.nec-info-title { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 20px; }
.nec-detail .nec-events { margin-bottom: 0; }
.nec-detail .ne-title { font-family: var(--sans); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin: 4px 0 6px; font-weight: 700; }
.nec-detail .nec-form h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }

.maps-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.map-box { margin: 0; }
.map-box .map-embed { min-height: 380px; }
.map-box figcaption { padding: 12px 4px 0; font-weight: 700; font-size: .92rem; }
.frame--map { height: 380px; }
.frame--map img { height: 100%; aspect-ratio: auto; }

.union-logo { background: var(--ink); border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow); display: grid; place-items: center; }
.union-logo img { width: 100%; max-width: 420px; height: auto; }
.union-media { padding-bottom: 60px; }
.union-logo--float { position: absolute; right: -16px; bottom: 0; width: auto; padding: 18px 24px; border: 1px solid var(--line-dark); display: flex; align-items: center; justify-content: center; gap: 14px; }
.union-logo--float img { width: auto; max-width: none; flex: none; }
.union-logo--float img.union-menegardo { height: 64px; }
.union-logo--float img.union-tonellotto { height: 58px; }
.union-plus { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); }
@media (max-width: 700px) { .union-logo--float { right: 10px; width: auto; padding: 12px 14px; gap: 8px; } .union-logo--float img.union-menegardo { height: 44px; } .union-logo--float img.union-tonellotto { height: 40px; } }
.union-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 32px; }
.union-grid .value p a { color: var(--gold-deep); }
.nec-grid--1 { grid-template-columns: 1fr; }

/* fascia Monzambano in home (seconda informazione dopo la hero) */
.monz-band { background: var(--paper); padding-block: clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.monz-card { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 3.5vw, 48px); align-items: center; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold-2); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px) clamp(22px, 3.5vw, 44px); box-shadow: var(--shadow-sm); }
.monz-logo { display: block; background: var(--ink); border-radius: 14px; padding: 14px 18px; transition: transform .5s var(--ease); }
.monz-logo:hover { transform: scale(1.03); }
.monz-logo img { display: block; width: clamp(150px, 15vw, 200px); height: auto; }
.monz-text .eyebrow { margin-bottom: 10px; }
.monz-text h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); margin-bottom: 8px; }
.monz-text p:last-child { margin: 0; color: var(--muted); max-width: 40rem; }

.prov-chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.prov-chips a { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: .88rem; transition: background .3s; }
.prov-chips a:hover { background: var(--gold-deep); }
.prov-sec .sec-head { margin-bottom: 36px; }
.map-zone circle { fill: var(--white); stroke: var(--gold-deep); stroke-width: 4; }
.map-zone .map-zone-halo { fill: rgba(201, 169, 110, .22); stroke: var(--gold-2); stroke-width: 1.5; stroke-dasharray: 4 5; }
.map-zone text { font-family: var(--serif); font-size: 28px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: #f1ebdf; stroke-width: 6px; stroke-linejoin: round; }
.map-zone .map-zone-sub { font-family: var(--sans); font-size: 19px; font-weight: 700; fill: var(--gold-deep); }
.lg-zone { background: var(--white); box-shadow: 0 0 0 2px var(--gold-deep); }
.zone-map .map-off text { font-family: var(--sans); font-size: 22px; font-weight: 700; fill: var(--gold-deep); }
.zone-map .map-off path { fill: var(--gold-2); }

/* banner consenso cookie (solo se il tracciamento è attivo) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120; max-width: 640px; margin: 0 auto; background: var(--ink); color: var(--on-dark); border: 1px solid var(--line-dark); border-radius: 18px; padding: 20px 52px 20px 22px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 14px; font-size: .9rem; color: var(--on-dark-muted); }
.consent a { color: var(--gold); }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-actions .btn { min-width: 120px; }
.consent-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: var(--on-dark-muted); display: grid; place-items: center; }
.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 700px) { .consent { bottom: calc(84px + env(safe-area-inset-bottom)); left: 10px; right: 10px; } .consent-actions .btn { flex: 1; } }

.preview-bar { position: sticky; top: 0; z-index: 130; background: #8a3a28; color: #fff; text-align: center; padding: 10px 16px; font-size: .9rem; }
.preview-bar a { color: #fff; font-weight: 700; margin-left: 8px; }
.nec-text-block { font-family: var(--serif); font-size: 1.12rem; line-height: 1.75; color: var(--ink); margin-bottom: 30px; }
.nec-text-block p { margin: 0 0 .8em; }
.nec-text-block--thanks { font-size: 1rem; color: var(--muted); margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.nec-dest { margin-top: 18px; color: var(--muted); }
.nec-share-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }

/* lightbox */
.lightbox { padding: 0; border: 0; background: transparent; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; overflow: hidden; }
.lightbox::backdrop { background: rgba(10, 13, 12, .93); backdrop-filter: blur(4px); }
.lightbox img { position: absolute; inset: 0; margin: auto; max-width: 96vw; max-height: 92vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 40px 100px rgba(0, 0, 0, .6); cursor: zoom-out; }
.lightbox-close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(22, 28, 26, .7); color: #fff; display: grid; place-items: center; }
.lightbox[open] img { animation: rise .5s var(--ease) both; }
.lightbox img { cursor: default; touch-action: pan-y; inset: 50px 0 46px 0; max-height: calc(100vh - 150px); }
.lightbox-nav { position: absolute; top: 50%; right: 16px; z-index: 2; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(22, 28, 26, .7); color: #fff; display: grid; place-items: center; transition: background .3s, color .3s; }
.lightbox-nav--prev { left: 16px; right: auto; }
.lightbox-nav--prev .ico { transform: rotate(180deg); }
.lightbox-nav:hover { background: var(--gold); color: var(--ink); }
.lightbox-nav[hidden] { display: none; }
.lightbox-cap { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; text-align: center; color: #fff; font-weight: 600; font-size: .95rem; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); pointer-events: none; }
.lightbox-cap:empty { display: none; }
.lightbox-title { position: absolute; left: 0; right: 0; top: 22px; margin: 0; padding: 0 80px; text-align: center; color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; pointer-events: none; }
.lightbox-title:empty { display: none; }
@media (max-width: 700px) { .lightbox-nav { width: 44px; height: 44px; margin-top: -22px; } .lightbox-nav { right: 8px; } .lightbox-nav--prev { left: 8px; } }
.nec-hero-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.nec-hero-portrait { width: clamp(150px, 20vw, 230px); aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, var(--ink-3), #0e1312); display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line-dark), 0 40px 80px -30px rgba(0, 0, 0, .8); }
.nec-hero-portrait img { width: 100%; height: 100%; object-fit: cover; }
.nec-initials--xl { font-size: clamp(2.6rem, 4.6vw, 3.8rem); }
.nec-name { font-weight: 500; margin-bottom: 12px; }
.nec-name strong { font-weight: 700; }
.nec-name small { display: block; font-size: .45em; font-weight: 500; color: var(--gold); margin-top: 8px; }
.nec-sub { color: var(--on-dark-muted); font-size: 1.1rem; margin-bottom: 28px; }
.nec-annuncio { position: relative; text-align: center; font-family: var(--serif); font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.75; color: var(--ink); padding: 10px 0 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.nec-cross { width: 34px; height: 34px; margin: 0 auto 18px; color: var(--gold-2); }
.nec-close { color: var(--muted); font-size: .92em; }
.nec-events { display: grid; gap: 16px; margin-bottom: 50px; }
.nec-event { display: flex; gap: 20px; padding: 24px; border-radius: var(--radius); background: var(--white); box-shadow: 0 1px 0 var(--line); }
.nec-event.is-next { box-shadow: 0 0 0 1.5px var(--gold-2), var(--shadow-sm); }
.ne-ico { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--paper-2); color: var(--gold-deep); display: grid; place-items: center; }
.prose .ne-title { font-family: var(--sans); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin: 4px 0 6px; font-weight: 700; }
.ne-when { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.35; margin-bottom: 4px; color: var(--ink); }
.ne-where { color: var(--muted); margin-bottom: 10px; }
.nec-form { background: var(--paper-2); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.demo-note { margin-top: 30px; font-size: .82rem; color: var(--muted); text-align: center; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Mappa ---------- */
.zone-map { margin: 0; background: var(--white); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.zone-map svg { width: 100%; height: auto; overflow: hidden; border-radius: 12px; background: linear-gradient(180deg, #f3eee4, #ece5d6); }
.map-lake { fill: #c9d6d3; stroke: #9fb4b0; stroke-width: 2; }
.map-lake-label { font-family: var(--serif); font-size: 26px; font-weight: 500; fill: #4f6f6a; }
.map-ring { fill: none; stroke: var(--gold-2); stroke-width: 1.5; stroke-dasharray: 5 8; opacity: .55; }
.map-ring-label { font-family: var(--sans); font-size: 17px; font-weight: 700; fill: var(--gold-deep); opacity: .8; }
.map-town circle { fill: var(--olive); stroke: #fff; stroke-width: 2.5; transition: r .3s, fill .3s; }
.map-town text { font-family: var(--sans); font-size: 25px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: #f1ebdf; stroke-width: 5px; stroke-linejoin: round; }
.map-town:hover circle, .map-town:focus circle, .map-town.is-current circle { fill: var(--gold-2); r: 10; }
.map-town.is-current text { fill: var(--gold-deep); font-weight: 800; }
.map-home circle { fill: var(--gold); stroke: var(--ink); stroke-width: 3; }
.map-home .map-pulse { fill: var(--gold); stroke: none; opacity: .5; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .55; } to { transform: scale(4.5); opacity: 0; } }
.map-home text { font-family: var(--serif); font-size: 30px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: #f1ebdf; stroke-width: 6px; stroke-linejoin: round; }
.map-north { font-family: var(--sans); font-weight: 800; font-size: 20px; fill: var(--muted); }
.map-north-arrow { fill: var(--muted); }
.zone-map figcaption { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 14px 6px 2px; font-size: .8rem; color: var(--muted); }
.zone-map figcaption span { display: inline-flex; align-items: center; gap: 8px; }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.lg-home { background: var(--gold); box-shadow: 0 0 0 2px var(--ink); }
.lg-town { background: var(--olive); }
.lg-ring { border: 1.5px dashed var(--gold-2); }
.aside-card .zone-map { padding: 0; box-shadow: none; }
.aside-card .zone-map figcaption { display: none; }

.town-chips { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.town-chips a { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); text-decoration: none; font-size: .88rem; font-weight: 600; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.town-chips a:hover { border-color: var(--gold-2); transform: translateY(-2px); }
.town-chips small { color: var(--muted); font-weight: 500; font-size: .76rem; }
.town-chips--wide a { background: transparent; }

.zone-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; margin-bottom: 40px; }
.zone-group { background: var(--white); border-radius: var(--radius); padding: 26px 26px 18px; box-shadow: 0 1px 0 var(--line); }
.zone-group h3 { font-size: 1.22rem; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.zone-group ul { list-style: none; margin: 0; padding: 0; }
.zone-group a { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding: 10px 0; text-decoration: none; font-weight: 600; font-size: .95rem; border-bottom: 1px dashed var(--line); transition: color .3s, padding .3s var(--ease); }
.zone-group li:last-child a { border-bottom: 0; }
.zone-group a:hover { color: var(--gold-deep); padding-left: 6px; }
.zone-group small { color: var(--muted); font-weight: 500; white-space: nowrap; font-size: .8rem; }

/* ---------- Recensioni ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { margin: 0; padding: 36px 32px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: linear-gradient(160deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01)); transition: border-color .4s, transform .5s var(--ease); }
.quote:hover { border-color: rgba(201, 169, 110, .5); transform: translateY(-4px); }
.quote-mark { display: block; font-family: var(--serif); font-size: 4rem; line-height: .6; height: 38px; color: var(--gold); margin-bottom: 10px; }
.quote blockquote { margin: 0 0 18px; }
.quote blockquote p { font-family: var(--serif); font-size: 1.08rem; line-height: 1.7; color: var(--on-dark); margin: 0; }
.quote figcaption { font-size: .86rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--white); border-radius: 16px; box-shadow: 0 1px 0 var(--line); transition: box-shadow .4s; }
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.1rem; font-weight: 600; }
.faq-plus { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); transition: background .3s, border-color .3s, transform .45s var(--ease); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .45s var(--ease); }
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-plus { background: var(--gold); border-color: var(--gold); transform: rotate(180deg); }
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { padding: 0 26px 22px; color: var(--muted); }
.faq-a p { margin: 0; }
.prose .faq-item summary h3 { font-family: var(--serif); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: var(--on-dark); overflow: hidden; isolation: isolate; padding-block: clamp(64px, 8vw, 100px);
  background: linear-gradient(120deg, #e6cf9f 0%, #d8b97c 45%, #c9a96e 100%); }
.cta-band .cta-glow { background: radial-gradient(closest-side, rgba(255, 255, 255, .45), transparent); }
.cta-band .btn--gold { --bg: var(--ink); --fg: #fff; }
.cta-band .btn--gold:hover { --bg: var(--ink-3); }
.cta-band .eyebrow--light, .cta-band h2 em { color: #5e4520; }
.cta-glow { left: auto; right: -25vmax; bottom: -40vmax; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-in h2 { margin-bottom: 12px; max-width: 14em; }
.cta-sub { color: var(--on-dark-muted); margin: 0; max-width: 34rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-top: clamp(60px, 8vw, 90px); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 48px; padding-bottom: 50px; }
.brand--footer { color: var(--on-dark); margin-bottom: 20px; }
.brand-logo--footer { height: 130px; }
.nap-h { display: inline-block; margin-top: 10px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.f-brand p { max-width: 26rem; }
.nap { line-height: 1.8; }
.nap strong { color: var(--on-dark); }
.site-footer a, .site-footer p a { color: inherit; text-decoration: none; transition: color .25s; }
.site-footer a:hover { color: var(--gold); }
.f-col h3 { font-family: var(--sans); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 16px; }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.f-cols2 { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.f-h-gap { margin-top: 28px; }
.f-small { font-size: .88rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px 30px; border-top: 1px solid var(--line-dark); font-size: .82rem; }
.footer-bottom p { margin: 0; }

.mobile-bar { display: none; }

/* ==========================================================================
   Pagine interne: prose, aside, gallery
   ========================================================================== */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 6vw, 80px); align-items: start; }
.with-aside--left { grid-template-columns: 300px minmax(0, 1fr); }
.prose { max-width: 760px; min-width: 0; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 0; }
.prose-block { margin-bottom: clamp(44px, 6vw, 64px); }
.prose-fig { margin: 28px 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.prose-fig img { width: 100%; }
.prose ul:not(.ticks):not(.aside-list), .prose ol:not(.num-list) { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.legal h2 { font-size: 1.38rem; margin-top: 1.8em; }
.num-list { list-style: none; counter-reset: n; padding: 0; margin: 0 0 1em; display: grid; gap: 16px; }
.num-list li { counter-increment: n; position: relative; padding-left: 54px; margin: 0; }
.num-list li::before { content: counter(n); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gold-2); color: var(--gold-deep); display: grid; place-items: center; font-family: var(--serif); font-size: 1rem; font-weight: 700; }
.callout { display: flex; gap: 22px; padding: 30px; border-radius: var(--radius); background: var(--ink); color: var(--on-dark); margin-bottom: 56px; }
.callout > .ico { width: 36px; height: 36px; color: var(--gold); flex: none; }
.callout h2 { font-size: 1.5rem; }
.callout p { color: var(--on-dark-muted); margin: 0; }
.callout a { color: var(--gold); }

.aside { position: sticky; top: 110px; display: grid; gap: 18px; }
.aside-card { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: 0 1px 0 var(--line); }
.aside-card--dark { background: var(--ink); color: var(--on-dark); display: grid; gap: 12px; }
.aside-card--dark .eyebrow { margin-bottom: 0; }
.aside-big { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1.3; margin: 0 0 6px; }
.aside-small { font-size: .84rem; color: var(--on-dark-muted); margin: 0; }
.aside-title { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); margin-bottom: 14px; }
.aside-list { list-style: none; margin: 0; padding: 0; }
.aside-list a { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .93rem; color: var(--text); transition: color .25s, padding .3s var(--ease); }
.aside-list li:last-child a { border-bottom: 0; }
.aside-list a:hover { color: var(--gold-deep); padding-left: 4px; }
.aside-list .ico { width: 20px; height: 20px; color: var(--gold-2); flex: none; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: .93rem; }
.toc a { text-decoration: none; color: var(--text); }
.toc a:hover { color: var(--gold-deep); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 50px; }
.fact { background: var(--white); border-radius: 16px; padding: 20px; box-shadow: 0 1px 0 var(--line); display: flex; flex-direction: column; gap: 2px; }
.fact .ico { width: 26px; height: 26px; color: var(--gold-2); margin-bottom: 8px; }
.fact strong { font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; font-weight: 700; }
.fact span { font-size: .85rem; color: var(--muted); }

/* ---------- Slider fotografico ---------- */
.slider { position: relative; margin-bottom: 56px; min-width: 0; max-width: 100%; }
.slider-track { position: relative; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; border-radius: 16px; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.slide { position: relative; flex: 0 0 calc((100% - 16px) / 2); margin: 0; scroll-snap-align: start; }
.slider--wide .slide { flex-basis: calc((100% - 32px) / 3); }
.slide a { display: block; cursor: zoom-in; border-radius: 16px; overflow: hidden; background: var(--paper-3); }
.slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease); }
.slide:hover img { transform: scale(1.04); }
.slide figcaption { padding: 12px 4px 0; font-size: .95rem; font-weight: 700; color: var(--ink); line-height: 1.35; }
.slider-ui { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.slider-btn { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s, opacity .3s; }
.slider-btn .ico { width: 20px; height: 20px; }
.slider-btn--prev .ico { transform: rotate(180deg); }
.slider-btn:hover:not(:disabled) { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.slider-btn:disabled { opacity: .35; cursor: default; }
.slider-dots { flex: 1; display: flex; flex-wrap: wrap; gap: 7px; }
.slider-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: var(--paper-3); transition: width .35s var(--ease), background .3s; }
.slider-dot.is-active { width: 28px; background: var(--gold-2); }
.slider-count { font-size: .86rem; font-weight: 700; color: var(--muted); font-variant-numeric: lining-nums tabular-nums; min-width: 3.2em; text-align: right; }
.slider.is-static .slider-ui { display: none; }
@media (max-width: 700px) {
  .slide, .slider--wide .slide { flex-basis: 86%; }
  .slider-track { gap: 12px; }
}

/* ---------- Team / valori ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card { background: var(--white); border-radius: var(--radius); padding: 34px 30px; box-shadow: 0 1px 0 var(--line); }
.team-ini { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: var(--ink); color: var(--gold); font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin-bottom: 20px; }
.team-card h3 { margin-bottom: 4px; }
.team-role { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.team-card p:last-of-type { color: var(--muted); margin: 0; }
.team-tel { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; color: var(--gold-deep); text-decoration: none; font-variant-numeric: lining-nums; }
.team-tel .ico { width: 18px; height: 18px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.value .ico { width: 36px; height: 36px; color: var(--gold-2); margin-bottom: 18px; }
.value h3 { font-size: 1.22rem; }
.value p { color: var(--muted); font-size: .96rem; }

/* ---------- Contatti ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.c-card { display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: var(--radius); background: var(--white); box-shadow: 0 1px 0 var(--line); text-decoration: none; color: inherit; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
a.c-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.c-card > .ico { width: 26px; height: 26px; color: var(--gold-2); margin-bottom: 10px; }
.c-label { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.c-card strong { font-family: var(--serif); font-size: 1.28rem; line-height: 1.3; font-weight: 700; }
.c-card .c-small { font-size: 1.02rem; word-break: break-word; }
.c-note { font-size: .84rem; color: var(--muted); margin-bottom: 6px; }
.c-card--main { grid-column: 1 / -1; background: var(--ink); color: var(--on-dark); }
.c-card--main .c-label, .c-card--main .c-note { color: var(--on-dark-muted); }
.c-card--main strong { font-size: clamp(1.8rem, 3.2vw, 2.4rem); color: var(--gold); }
.c-card--wide { grid-column: 1 / -1; }
.contact-form { background: var(--white); border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.contact-form h2 { font-size: 1.8rem; }
.map-embed { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper-3); min-height: 420px; box-shadow: var(--shadow-sm); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 30px; background: repeating-linear-gradient(45deg, var(--paper-2), var(--paper-2) 14px, var(--paper-3) 14px, var(--paper-3) 15px); }
.map-consent > .ico { width: 40px; height: 40px; color: var(--gold-2); }
.map-consent p { margin: 0; max-width: 32rem; }
.map-consent .btn { margin: 12px 0 6px; }

/* ---------- Moduli ---------- */
.form { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.form .btn { white-space: normal; text-align: center; max-width: 100%; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-field { display: grid; gap: 6px; min-width: 0; }
.form, .f-row, .nec-form, .contact-form { min-width: 0; }
.f-field input, .f-field textarea { min-width: 0; }
.f-field > span { font-size: .84rem; font-weight: 700; }
.f-field input, .f-field textarea { width: 100%; font: inherit; color: var(--text); padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); transition: border-color .3s, box-shadow .3s, background .3s; }
.f-field textarea { resize: vertical; min-height: 120px; }
.f-field input:focus, .f-field textarea:focus { outline: none; border-color: var(--gold-2); background: var(--white); box-shadow: 0 0 0 4px rgba(201, 169, 110, .18); }
[aria-invalid="true"] { border-color: #b4553f !important; }
.f-err { color: #a3432f; font-size: .82rem; font-weight: 600; }
.f-check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.f-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.f-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-note { font-size: .8rem; color: var(--muted); margin: 0; }
.form .btn { justify-self: start; }
.form-ok { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: 16px; background: rgba(107, 117, 86, .12); border: 1px solid rgba(107, 117, 86, .35); }
.form-ok > .ico { width: 30px; height: 30px; color: var(--olive); flex: none; }
.form-ok p { margin: 4px 0 0; color: var(--muted); }
.form-alert { padding: 16px 18px; border-radius: 12px; background: rgba(180, 85, 63, .1); color: #8a3a28; font-weight: 600; font-size: .92rem; }

.sitemap-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.sitemap-cols h2 { font-size: 1.4rem; }
.sitemap-cols ul { padding-left: 1.2em; }
.sitemap-cols a { color: var(--gold-deep); }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* schermi da 1200 a 1279 px: menu un po' più compatto per far stare logo grande e pulsante */
@media (max-width: 1279px) {
  .nav-list > li > a { padding: 10px 5px; font-size: .87rem; }
  .nav-list > li > a::after { left: 5px; right: 5px; }
}

@media (max-width: 1199px) {
  .burger { display: block; }
  .btn--call { margin-left: auto; }
  .nav {
    position: fixed; inset: 0; z-index: -1; background: var(--ink); color: var(--on-dark);
    padding: calc(var(--header-h) + env(safe-area-inset-top) + 18px) var(--gutter) calc(28px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
    display: flex; flex-direction: column;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open .site-header, .nav-open .site-header--light:not(.is-scrolled) { --on-dark: #f3eee5; --on-dark-muted: rgba(243, 238, 229, .85); --line-dark: rgba(243, 238, 229, .14); }
  .nav-open .site-header { background: transparent !important; color: var(--on-dark) !important; box-shadow: none !important; backdrop-filter: none !important; }
  .nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-open .burger span:nth-child(2) { opacity: 0; }
  .nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line-dark); }
  .nav-list > li > a { flex: 1; font-family: var(--serif); font-size: 1.28rem; font-weight: 600; padding: 12px 0; }
  .nav-list > li > a::after { display: none; }
  .nav-mobile-only { display: block !important; }
  .nav-list > li.nav-mobile-only > a { font-size: 1.15rem; color: var(--gold); }
  .nav-mobile-extra { display: grid; gap: 10px; margin-top: 22px; color: var(--on-dark-muted); font-size: .9rem; }
  .nav-mobile-extra p { margin: 4px 0 0; }
  /* barra compatta: logo proporzionato all'altezza */
  .brand-logo, .site-header.is-scrolled .brand-logo { height: 68px; }
  .site-header--home:not(.is-scrolled) .brand-logo { height: 96px; }
  .site-header--home:not(.is-scrolled) .header-in { height: 112px; }
  .nav-open .site-header--home .brand-logo { height: 68px; }
  .nav-open .site-header--home .header-in { height: var(--header-h); }
  .header-in, .site-header.is-scrolled .header-in { height: var(--header-h); gap: 16px; }
  .btn--call { padding: 9px 16px 9px 13px; }
}

@media (max-width: 1180px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .page-hero.has-img .ph-grid { grid-template-columns: minmax(0, 1fr); }
  .ph-media img { aspect-ratio: 16 / 10; }
  :root { --header-h: 84px; }
  .topbar { display: none; }
  .hx { --hx-head: 112px; text-align: center; }
  .hx-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); padding: 0; }
  .hx-text { align-self: start; padding: 14px var(--gutter) 28px; }
  .hx-claim { align-items: center; }
  .hx-h1 { max-width: 30em; margin-inline: auto; }
  .hx-pills { margin-inline: auto; width: 100%; max-width: 420px; }
  .hx-pill { justify-content: center; padding-right: 32px; }
  .hx-media { min-height: 220px; border-radius: 28px 28px 0 0; }
  .split, .split--map, .split--faq, .with-aside, .with-aside--left, .contact-grid, .nec-detail, .maps-2 { grid-template-columns: minmax(0, 1fr); }
  .union-grid { grid-template-columns: 1fr 1fr; }
  .monz-card { grid-template-columns: auto 1fr; }
  .monz-cta { grid-column: 1 / -1; justify-self: start; }
  .split--faq .sec-head { position: static; }
  .aside { position: static; }
  .with-aside--left .aside--toc { order: 2; }
  .casa-collage { min-height: 420px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .nec-grid { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .team { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .sitemap-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  body { font-size: 1rem; padding-bottom: 72px; }
  .page-hero { padding-top: calc(var(--header-h) + 34px); }
  .ph-media { border-radius: 16px; }
  :root { --header-h: 78px; }
  .brand-logo, .site-header.is-scrolled .brand-logo { height: 62px; }
  .burger { width: 44px; height: 44px; }
  .burger span { left: 12px; right: 12px; }
  .burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
  .nav-list > li > a { font-size: 1.16rem; padding: 10px 0; }
  .nav-list > li.nav-mobile-only > a { font-size: 1rem; }
  .nav-mobile-extra .btn { padding: 13px 18px; }
  .btn--call { display: none; }
  .burger { margin-left: auto; }
  /* home: logo grande, largo quasi tutto lo spazio fino al pulsante del menu (proporzioni 2,1:1) */
  :root { --home-logo: min(143px, calc((100vw - 2 * var(--gutter) - 60px) / 2.1)); }
  .site-header--home:not(.is-scrolled) .brand-logo { height: var(--home-logo); }
  .site-header--home:not(.is-scrolled) .header-in { height: calc(var(--home-logo) + 14px); }
  .nav-open .site-header--home .brand-logo { height: 62px; }
  .nav-open .site-header--home .header-in { height: var(--header-h); }
  /* home: tutto in una schermata, sopra la barra in basso (la foto prende lo spazio che resta) */
  .hx { --hx-head: calc(var(--home-logo) + 14px); min-height: calc(100svh - 78px - env(safe-area-inset-bottom)); }
  .hx-text { padding: 6px var(--gutter) 20px; }
  .hx-claim { margin-bottom: 12px; }
  .hx-k { font-size: 1.2rem; }
  .hx-big { font-size: 1.9rem; margin: 4px 0; }
  .hx-h1 { font-size: 1rem; margin-bottom: 18px; }
  .hx-pills { gap: 10px; max-width: 400px; }
  .hx-pill { padding: 9px 20px 9px 9px; gap: 13px; }
  .hx-pill-ico { width: 42px; height: 42px; }
  .hx-pill-txt small { font-size: .92rem; }
  .hx-pill-txt strong { font-size: 1.6rem; }
  .hx-media { min-height: 150px; border-radius: 26px 26px 0 0; }
  .hx-media figcaption { left: var(--gutter); bottom: 14px; padding: 10px 14px; }
  .page-hero { padding-top: calc(var(--header-h) + 50px); }
  .page-hero .hero-actions .btn { width: 100%; }
  .svc-grid, .nec-grid, .team, .values, .facts, .contact-cards, .f-row, .footer-grid, .sitemap-cols, .casa-facts, .union-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .monz-card { grid-template-columns: minmax(0, 1fr); }
  .monz-logo { justify-self: start; }
  .monz-cta { width: 100%; }
  .btn { white-space: normal; text-align: center; line-height: 1.3; }
  .badge-float { right: 12px; bottom: -22px; padding: 14px 18px; }
  .bf-num { font-size: 2.3rem; }
  .casa-collage { min-height: 320px; }
  .cc-a { inset: 0 10% 18% 0; }
  .nec-row { padding: 18px; gap: 16px; }
  .nec-portrait { width: 76px; height: 96px; }
  .nec-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .nec-hero-portrait { width: 150px; }
  .has-manifesto .nec-hero-portrait { display: none; }
  .has-manifesto .hero-actions .btn { width: auto; flex: 1; }
  .nec-zoom { right: 8px; bottom: 8px; padding: 8px; }
  .nec-zoom span { display: none; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .f-cols2 { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
  .callout { flex-direction: column; gap: 12px; padding: 24px; }
  .faq-item summary { padding: 18px 20px; }
  .faq-item summary h3 { font-size: 1.04rem; }
  .faq-a { padding: 0 20px 18px; }
  .zone-map { padding: 10px; }
  .map-embed { min-height: 360px; }

  .mobile-bar {
    display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; position: fixed; inset: auto 0 0; z-index: 90;
    background: rgba(22, 28, 26, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 6px; border-top: 1px solid var(--line-dark);
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px; border-radius: 12px; color: var(--on-dark); text-decoration: none; font-size: .7rem; font-weight: 700; letter-spacing: .01em; white-space: nowrap; min-width: 0; }
  .mobile-bar .ico { width: 22px; height: 22px; }
  .mobile-bar .mb-call { background: var(--gold); color: var(--ink); }
}

@media (max-width: 700px) and (max-height: 700px) {
  :root { --home-logo: min(110px, calc((100vw - 2 * var(--gutter) - 60px) / 2.1)); }
  .hx-k { font-size: 1.05rem; }
  .hx-big { font-size: 1.62rem; }
  .hx-h1 { font-size: .94rem; margin-bottom: 14px; }
  .hx-h1 span { display: inline; }
  .hx-pill { padding-block: 7px; }
  .hx-pill-ico { width: 38px; height: 38px; }
  .hx-pill-txt small { font-size: .85rem; }
  .hx-pill-txt strong { font-size: 1.4rem; }
  .hx-media { min-height: 110px; }
  .hx-media figcaption { display: none; }
}

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

/* ---------- Tema chiaro (testate interne, sezioni evidenziate, barra in alto sulle pagine interne) ---------- */
.page-hero, .section--dark, .cta-band, .site-header--light:not(.is-scrolled) {
  --on-dark: #1f2624; --on-dark-muted: #4a524e; --line-dark: rgba(22, 28, 26, .13);
}
.page-hero .eyebrow--light, .section--dark .eyebrow--light, .cta-band .eyebrow--light,
.page-hero h1 em, .section--dark h2 em, .cta-band h2 em,
.section--dark .link-arrow, .section--dark p a, .section--dark li a,
.section--dark .casa-facts dt, .section--dark .quote-mark, .section--dark .quote figcaption, .crumbs a:hover,
.site-header--light:not(.is-scrolled) .topbar-link { color: var(--bronze); }
.page-hero .btn--ghost-light, .section--dark .btn--ghost-light, .cta-band .btn--ghost-light { border-color: rgba(22, 28, 26, .22); background: rgba(255, 255, 255, .55); }
.page-hero .btn--ghost-light:hover, .section--dark .btn--ghost-light:hover, .cta-band .btn--ghost-light:hover { border-color: var(--ink); --fg: var(--ink); }
.section--dark .ticks .ico { color: var(--olive); }
.section--dark { background: linear-gradient(180deg, #edf1e8 0%, var(--sage) 100%); }
.section--dark .stat-n { color: var(--bronze); }
.section--dark .grain { opacity: .04; }
.section--dark .quote { background: rgba(255, 255, 255, .72); box-shadow: 0 20px 40px -30px rgba(60, 70, 50, .35); }
.section--dark .quote:hover { border-color: rgba(154, 118, 56, .45); }
.casa .cc-b { border-color: #fff; }
.site-header--light:not(.is-scrolled) .burger { border-color: rgba(22, 28, 26, .18); }


@media print {
  .site-header, .mobile-bar, .cta-band, .site-footer, .hero-actions, .aside, .nec-form { display: none !important; }
  .page-hero, .section--dark { background: #fff !important; color: #000 !important; padding-top: 20px; }
}
