/* EL.AN. | Tema Impianti — sito v3 «Pianta»
   Sistema visivo: Rame #B06A3B (simbolo, linee, cifre grandi), Grafite #2A2D31 (testi e struttura), Pietra #F5F2ED (fondi).
   Testi piccoli sempre in grafite. Serif (Noto Serif Display) per i titoli EL.AN., Sans (Noto Sans) per testi e Tema Impianti. */
:root {
  --rame: #B06A3B;
  --rame-scuro: #8F4C22;
  --grafite: #2A2D31;
  --grafite-2: #1F2124;
  --pietra: #F5F2ED;
  --pietra-2: #E9E2D9;
  --bianco: #FFFFFF;
  --tinta: #EFE3D7;
  --linea: #E6DFD6;
  --muto: #5A5D61;
  --sans: "Noto Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --hdr: 92px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--pietra); color: var(--grafite); font: 400 16px/1.6 var(--sans); padding-top: env(safe-area-inset-top, 0px); }
img { max-width: 100%; display: block; }
a { color: var(--grafite); }
a:hover { color: var(--rame-scuro); }
:focus-visible { outline: 2px solid var(--rame); outline-offset: 3px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--grafite); color: var(--bianco); padding: 10px 16px; border-radius: 2px; }
.skip:focus { top: 12px; color: var(--bianco); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section.tight { padding-top: 0; }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--grafite); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--rame); flex: none; }
.on-dark .eyebrow, .eyebrow.light { color: var(--pietra); }
.display { font-family: var(--sans); font-stretch: 75%; font-weight: 300; line-height: 1.04; letter-spacing: -.005em; }

.h1 { font-size: clamp(44px, 6.6vw, 84px); }
.h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; }
.h3 { font-family: var(--sans); font-stretch: 75%; font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; max-width: 60ch; }
.small { font-size: 13.5px; }
.note { font-size: 12.5px; line-height: 1.55; color: var(--muto); }
.stack { display: grid; gap: 18px; align-content: start; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--bianco); padding: clamp(24px, 3vw, 36px); }
.card.top { border-top: 2px solid var(--rame); }
.card.dark, .on-dark { background: var(--grafite); color: var(--pietra); }
.on-dark a { color: var(--pietra); }
.chip { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--tinta); color: var(--grafite); border-radius: 2px; padding: 3px 12px; }
.chip.line { background: transparent; border: 1px solid var(--grafite); padding: 2px 12px; }
.big-num { font-family: var(--sans); font-stretch: 75%; font-weight: 400; color: var(--rame); line-height: 1; font-size: clamp(56px, 7vw, 92px); font-variant-numeric: lining-nums tabular-nums; }

/* Buttons */
.btn { --b: var(--grafite); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 2px; font: 700 15.5px var(--sans); text-decoration: none; cursor: pointer; border: 2px solid var(--b); background: var(--b); color: var(--bianco); position: relative; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s var(--ease); }
.btn::after { content: ""; position: absolute; inset: 0; background: var(--rame-scuro); transform: translateY(101%); transition: transform .45s var(--ease); z-index: -1; }
.btn:hover { color: var(--bianco); border-color: var(--rame-scuro); }
.btn:hover::after { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--grafite); }
.btn.ghost:hover { color: var(--bianco); }
.btn.light { --b: var(--pietra); color: var(--grafite); }
.btn.light.ghost { background: transparent; color: var(--pietra); }
.btn.light:hover, .btn.light.ghost:hover { color: var(--bianco); }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.link { font-weight: 700; text-decoration: none; background: linear-gradient(var(--rame), var(--rame)) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size .4s var(--ease); }
.link:hover { background-size: 100% 1px; color: var(--grafite); }
.on-dark .link:hover { color: var(--pietra); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--linea); transition: box-shadow .4s var(--ease); }
.hdr.dark { background: rgba(42, 45, 49, .96); color: var(--pietra); border-bottom-color: transparent; }
.hdr.scrolled { box-shadow: 0 10px 30px -18px rgba(42, 45, 49, .35); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--hdr); transition: height .4s var(--ease); }
.hdr.scrolled .hdr-in { height: 72px; }
.lockup { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.lockup:hover { color: inherit; }
.lockup svg { width: 58px; height: auto; flex: none; transition: width .4s var(--ease); }
.hdr.scrolled .lockup svg { width: 46px; }
.lk-txt { display: grid; gap: 6px; }
.lk-name { font-family: var(--sans); font-stretch: 75%; font-weight: 600; font-size: 23px; letter-spacing: .04em; line-height: 1; white-space: nowrap; }
.lk-name .d { color: var(--rame); }
.lk-name .bar { display: inline-block; width: 1px; height: 17px; background: currentColor; margin: 0 12px; vertical-align: -2px; opacity: .8; }
.lk-name .lt { font-weight: 300; }
.lk-sub { font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: inherit; text-decoration: none; font-size: 14.5px; font-weight: 700; padding-block: 6px; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--rame); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a.btn { color: var(--bianco); }
.nav a.btn::after { transform: translateY(101%); transform-origin: center; left: 0; right: 0; bottom: 0; top: 0; height: auto; background: var(--rame-scuro); }
.nav a.btn:hover::after { transform: translateY(0); }
.nav .btn { min-height: 46px; padding: 0 22px; font-size: 14.5px; }
.hdr.dark .nav a.btn { --b: var(--pietra); color: var(--grafite); }
.hdr.dark .nav a.btn:hover { color: var(--bianco); }
.burger { display: none; width: 48px; height: 48px; border: 0; background: none; color: inherit; cursor: pointer; align-items: center; justify-content: center; }
.burger span { display: block; width: 24px; height: 1.5px; background: currentColor; position: relative; transition: background .3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 24px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-7px) rotate(-45deg); }
.mmenu { position: fixed; inset: 0; z-index: 45; background: var(--grafite); color: var(--pietra); padding: calc(var(--hdr) + 32px + env(safe-area-inset-top, 0px)) 24px 40px; display: grid; align-content: start; gap: 6px; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease); visibility: hidden; }
.menu-open .mmenu { clip-path: inset(0 0 0 0); visibility: visible; }
.mmenu a { color: var(--pietra); text-decoration: none; font-family: var(--sans); font-stretch: 75%; font-weight: 300; font-size: 34px; padding: 8px 0; border-bottom: 1px solid rgba(245, 242, 237, .14); opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.menu-open .mmenu a { opacity: 1; transform: none; }
.menu-open .mmenu a:nth-child(2) { transition-delay: .05s; } .menu-open .mmenu a:nth-child(3) { transition-delay: .1s; } .menu-open .mmenu a:nth-child(4) { transition-delay: .15s; } .menu-open .mmenu a:nth-child(5) { transition-delay: .2s; } .menu-open .mmenu a:nth-child(6) { transition-delay: .25s; }
.menu-open .hdr { background: var(--grafite); color: var(--pietra); border-bottom-color: transparent; }

/* Targa: disegno a tratto */
.targa path.t { fill: none; stroke: var(--rame); stroke-linejoin: round; stroke-linecap: round; }
.draw path.t { stroke-dasharray: 1; stroke-dashoffset: 1; }
.draw.is-in path.t { animation: draw 2.4s var(--ease) forwards; }
.draw .tx { opacity: 0; }
.draw.is-in .tx { animation: fade 1.2s var(--ease) 1.4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(48px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .stack { gap: 26px; }
.line-mask { display: block; overflow: hidden; padding-bottom: .08em; }
.line-mask > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-ready .line-mask > span { transform: none; }
.is-ready .line-mask:nth-child(2) > span { transition-delay: .12s; }
.visual { position: relative; aspect-ratio: 5 / 4; background: var(--pietra-2); overflow: hidden; }
.visual.tall { aspect-ratio: 4 / 5; }
.visual.wide { aspect-ratio: 16 / 9; }
.visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.visual.is-in img { transform: scale(1); }
.visual .art { position: absolute; inset: 12% 10%; width: 80%; height: 76%; color: var(--rame); }
.visual .art path, .visual .art line, .visual .art rect, .visual .art circle { fill: none; stroke: currentColor; stroke-width: .8; stroke-linejoin: round; stroke-linecap: round; }
.visual .tag { position: absolute; left: 16px; bottom: 16px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--bianco); color: var(--grafite); padding: 5px 12px; border-radius: 2px; }
.visual .cap { position: absolute; right: 16px; bottom: 16px; font-size: 12px; color: var(--grafite); background: rgba(255, 255, 255, .9); padding: 5px 12px; border-radius: 2px; }

/* Doors */
.door { background: var(--bianco); padding: clamp(28px, 3.4vw, 44px); text-decoration: none; display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.door::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--rame); transform: scaleX(.18); transform-origin: left; transition: transform .7s var(--ease); }
.door.alt::before { background: var(--grafite); }
.door:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -32px rgba(42, 45, 49, .45); color: var(--grafite); }
.door:hover::before { transform: scaleX(1); }
.door .h3 { font-weight: 300; font-size: clamp(26px, 2.8vw, 36px); }
.door .go { font-weight: 700; font-size: 15px; }

/* Risparmio */
.saving { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.feat { background: var(--pietra); padding: 18px; display: grid; gap: 4px; }
.feat b { font-size: 15.5px; }
.feat span { font-size: 13.5px; }

/* Immobili */
.props { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.props.five { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.prop { background: var(--bianco); text-decoration: none; display: grid; grid-template-rows: auto 1fr; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.prop:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -32px rgba(42, 45, 49, .45); color: var(--grafite); }
.prop .visual { aspect-ratio: 16 / 10; }
.props.five .prop .visual { aspect-ratio: 4 / 3; }
.prop:hover .visual .art { transform: scale(1.03); }
.prop .visual .art { transition: transform 1.2s var(--ease); }
.prop-body { padding: 26px 28px 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.props.five .prop-body { padding: 18px; grid-template-columns: 1fr; gap: 6px; }
.prop-name { font-family: var(--sans); font-stretch: 75%; font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; }
.props.five .prop-name { font-size: 21px; }
.prop-count { border-left: 1px solid var(--linea); padding-left: 22px; display: grid; gap: 2px; min-width: 120px; }
.prop-count b { font-family: var(--sans); font-stretch: 75%; font-weight: 400; font-size: 46px; color: var(--rame); line-height: 1; }
.prop-count span { font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { min-height: 46px; padding: 0 22px; border-radius: 2px; border: 2px solid var(--grafite); background: transparent; color: var(--grafite); font: 700 14.5px var(--sans); cursor: pointer; transition: background .3s, color .3s; }
.pill[aria-pressed="true"], .pill:hover { background: var(--grafite); color: var(--bianco); }
.prop.is-hidden { display: none; }
.cta-dark { background: var(--grafite); color: var(--pietra); padding: clamp(28px, 3.4vw, 44px); display: grid; align-content: space-between; gap: 24px; }

/* Split card */
.card.split { padding: 0; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.props.five.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Brand story */
.story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr) auto; gap: clamp(28px, 4vw, 56px); align-items: center; background: var(--bianco); padding: clamp(24px, 4vw, 48px); }
.logo-sm { display: grid; justify-items: center; gap: 10px; }
.logo-sm svg { width: 220px; height: auto; }
.logo-sub { font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; }

/* Tema band */
.band { background: var(--bianco); border-top: 1px solid var(--linea); }
.band-in { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 48px; flex-wrap: wrap; }
.band h2 { font-family: var(--sans); font-weight: 700; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; }

/* Scheda */
.crumbs { font-size: 13px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; aspect-ratio: 16 / 7.4; }
.gallery .visual { aspect-ratio: auto; }
.gallery .visual:first-child { grid-row: 1 / 3; }
.scheda { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fact { background: var(--bianco); padding: 16px 18px; display: grid; gap: 4px; }
.fact span { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.fact b { font-size: 17px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.panel { background: var(--bianco); min-height: 300px; display: grid; place-items: center; text-align: center; padding: 24px; }
.panel[hidden] { display: none; }
.panel .visual { width: 100%; }
.rows { background: var(--bianco); padding: 4px 28px; }
.row { display: grid; grid-template-columns: 130px minmax(0, 1fr) minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--linea); font-size: 14.5px; line-height: 1.5; }
.row:last-child { border-bottom: 0; }
.aside { position: sticky; top: calc(var(--hdr) + 24px); display: grid; gap: 16px; }
.person { display: flex; gap: 16px; align-items: center; }
.avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--tinta); display: grid; place-items: center; font-weight: 700; flex: none; }
.cantiere { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.cantiere svg { width: 190px; height: auto; flex: none; }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; position: relative; padding-top: 28px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rame); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease); }
.timeline.is-in::before { transform: scaleX(1); }
.tl b { display: block; font-family: var(--sans); font-stretch: 75%; font-weight: 400; font-size: 38px; color: var(--rame); line-height: 1; margin-bottom: 10px; }
.tl p { font-size: 14.5px; line-height: 1.55; }
.values { background: var(--bianco); padding: 8px clamp(20px, 3vw, 40px); }
.val { display: grid; grid-template-columns: 60px 240px minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--linea); }
.val:last-child { border-bottom: 0; }
.val .n { font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.val h3 { font-family: var(--sans); font-stretch: 75%; font-weight: 400; font-size: 28px; }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.member { background: var(--bianco); padding: 24px; display: grid; gap: 6px; align-content: start; }
.member .avatar { margin-bottom: 8px; width: 64px; height: 64px; }
.member .area { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* Tema */
.t-hero { background: var(--grafite); color: var(--pietra); padding-block: clamp(56px, 7vw, 96px); }
.t-hero h1 { font-family: var(--sans); font-weight: 700; font-stretch: 87.5%; font-size: clamp(36px, 4.8vw, 60px); line-height: 1.08; }
.t-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 48px; align-items: center; }
.svc { background: var(--bianco); padding: 26px; border-top: 2px solid var(--grafite); display: grid; gap: 8px; align-content: start; }
.svc b { font-size: 17px; }
.svc span { font-size: 14px; line-height: 1.55; }
.opere { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.opera { background: var(--bianco); padding: 22px; display: grid; gap: 6px; align-content: start; transition: transform .5s var(--ease); }
.opera:hover { transform: translateY(-3px); }
.opera .yr { font-size: 28px; font-weight: 700; line-height: 1; }
.opera p { font-size: 13.5px; line-height: 1.45; }
.sans-h { font-family: var(--sans); font-weight: 700; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; }
.dl { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px 20px; font-size: 15px; }

/* Market placeholder */
.mk { background: var(--bianco); padding: 26px; display: grid; gap: 10px; align-content: start; }
.mk .v { font-family: var(--sans); font-stretch: 75%; font-size: 34px; }

/* Forms */
.form { background: var(--bianco); padding: clamp(26px, 3.4vw, 44px); display: grid; gap: 18px; border-top: 2px solid var(--rame); }
.field { display: grid; gap: 6px; }
label, .lbl { font-size: 13px; font-weight: 700; }
input[type="text"], input[type="tel"], input[type="email"], select, textarea { width: 100%; min-height: 50px; padding: 0 16px; border: 1.5px solid #CFC6BB; border-radius: 4px; background: var(--bianco); color: var(--grafite); font: 400 15.5px var(--sans); transition: border-color .3s; }
textarea { min-height: 120px; padding: 14px 16px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--grafite); }
.choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice button { min-height: 54px; border: 1.5px solid #CFC6BB; border-radius: 4px; background: var(--bianco); color: var(--grafite); font: 700 14.5px var(--sans); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.choice button[aria-pressed="true"] { background: var(--grafite); border-color: var(--grafite); color: var(--bianco); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; font-weight: 400; line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--grafite); flex: none; }
.form-msg { padding: 14px 16px; font-size: 14.5px; background: var(--tinta); }
.form-msg.ok { background: #E4EFE7; color: #1E4F31; }
.hp { position: absolute; left: -9999px; }
.on-dark input[type="email"] { border-color: transparent; }
.contact-list { background: var(--bianco); padding: 6px 28px; }
.contact-list > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--linea); font-size: 15px; }
.contact-list > div:last-child { border-bottom: 0; }

/* Footer */
.ftr { background: var(--grafite); color: var(--pietra); padding: 64px 0 calc(28px + env(safe-area-inset-bottom, 0px)); }
.ftr a { color: var(--pietra); text-decoration: none; font-size: 14px; }
.ftr a:hover { color: var(--bianco); text-decoration: underline; }
.ftr-top { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.ftr .lockup svg { width: 96px; }
.ftr .lk-name { font-size: 30px; }
.ftr .lk-name .bar { height: 26px; margin: 0 16px; }
.ftr .lk-sub { font-size: 11px; }
.payoff { font-family: var(--sans); font-weight: 300; font-size: clamp(28px, 3.4vw, 42px); }
.ftr-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 1px solid #44484E; margin-top: 40px; padding-top: 28px; }
.ftr-cols > div { display: grid; gap: 8px; align-content: start; }
.ftr-h { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ftr-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; line-height: 1.6; border-top: 1px solid #44484E; margin-top: 28px; padding-top: 18px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--pietra); font: inherit; text-decoration: underline; cursor: pointer; }

/* Cookie */
.cookie { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; max-width: 640px; margin: 0 auto; background: var(--bianco); box-shadow: 0 20px 60px -20px rgba(42, 45, 49, .5); padding: 20px 22px; display: grid; gap: 14px; font-size: 13.5px; transform: translateY(140%); transition: transform .7s var(--ease); }
.cookie.show { transform: none; }
.cookie .actions { justify-content: flex-end; }
.cookie .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }

/* Pesi del sistema Pianta: condensato pieno per i nomi, light per il contrappunto (come TEMA | IMPIANTI) */
.display, .h3, .prop-name, .big-num, .tl b, .val h3, .mk .v, .prop-count b, .door .h3 { font-weight: 600; }
.display .lt, .h3 .lt, .big-num .lt, .lt { font-weight: 300; }
.sq { display: inline-block; width: .15em; height: .15em; background: var(--rame); margin: 0 .06em; vertical-align: baseline; }
.vbar { display: inline-block; width: .045em; min-width: 2px; height: .74em; background: var(--rame); margin: 0 .24em; vertical-align: -.02em; }
.tav { font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

/* Simbolo Pianta */
.sym { display: block; width: 100%; height: auto; overflow: visible; }
.sym rect, .sym .door { transition: opacity .45s var(--ease); }
.js .sym.build rect { transform-box: fill-box; transform-origin: left top; }
.js .sym.build rect.h { transform: scaleX(0); }
.js .sym.build rect.v { transform: scaleY(0); }
.js .sym.build.is-in rect { transform: none; transition: transform .8s var(--ease) calc(var(--i) * .12s), opacity .45s var(--ease); }
.js .sym.build .leaf { transform-box: view-box; transform-origin: 74px 81px; transform: rotate(-90deg); }
.js .sym.build.is-in .leaf { transform: none; transition: transform 1.6s var(--ease) 1s; }
.js .sym.build .arc { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .sym.build.is-in .arc { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease) 1s; }
.sym.hl-t .p-w, .sym.hl-t .door { opacity: .1; }
.sym.hl-due .p-top, .sym.hl-due .door { opacity: .1; }
.sym.hl-porta rect { opacity: .1; }
.sym.hl-rigore .door { opacity: .1; }
.blueprint { background-color: var(--bianco); background-image: linear-gradient(rgba(176, 106, 59, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(176, 106, 59, .09) 1px, transparent 1px); background-size: 28px 28px; background-position: -1px -1px; }
.hero-sym { width: 56%; position: relative; }
.quota { position: absolute; left: 8%; right: 8%; top: -10%; height: 0; border-top: 1px solid var(--grafite); }
.quota::before, .quota::after { content: ""; position: absolute; top: -6px; width: 1px; height: 11px; background: var(--grafite); }
.quota::before { left: 0; } .quota::after { right: 0; }
.quota span { position: absolute; left: 50%; top: -9px; transform: translateX(-50%); background: var(--bianco); padding: 0 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.js .quota { transform: scaleX(0); transition: transform 1.2s var(--ease) 2.2s; }
.js .quota span { opacity: 0; transition: opacity .8s var(--ease) 3s; }
.js .is-in .quota { transform: none; }
.js .is-in .quota span { opacity: 1; }
.segno { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; background: var(--bianco); padding: clamp(24px, 4vw, 56px); }
.segno-sym { aspect-ratio: 1; display: grid; place-items: center; padding: 14%; border: 1px solid var(--linea); }
.segno-list { display: grid; border-top: 1px solid var(--linea); }
.segno-list button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 4px; padding: 16px 14px 16px 18px; border-bottom: 1px solid var(--linea); position: relative; transition: background .3s; }
.segno-list button::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 2px; background: var(--rame); transform: scaleY(0); transition: transform .4s var(--ease); }
.segno-list button:hover, .segno-list button:focus-visible, .segno-list button[aria-pressed="true"] { background: var(--pietra); }
.segno-list button:hover::before, .segno-list button:focus-visible::before, .segno-list button[aria-pressed="true"]::before { transform: scaleY(1); }
.segno-list b { font-size: 16px; }
.segno-list span { font-size: 14.5px; line-height: 1.55; }
.logotype { display: flex; align-items: center; gap: 24px; }
.logotype .sym { width: 96px; flex: none; }
.lt-name { font-family: var(--sans); font-stretch: 75%; font-weight: 600; font-size: clamp(40px, 5vw, 64px); letter-spacing: .03em; line-height: .9; white-space: nowrap; }
.lt-name .lt { font-weight: 300; }
.on-dark-lt { color: var(--pietra); }
.cartiglio { margin: 0; background: var(--bianco); border: 1.5px solid var(--grafite); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cartiglio div { padding: 10px 14px; border-right: 1px solid var(--grafite); border-bottom: 1px solid var(--grafite); }
.cartiglio div:nth-child(2n) { border-right: 0; }
.cartiglio div:nth-last-child(-n + 2) { border-bottom: 0; }
.cartiglio dt { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cartiglio dd { margin: 2px 0 0; font-size: 14px; font-weight: 700; }
.card.top { border-top-width: 4px; }
.cantiere .sym { width: 120px; flex: none; }
.hdr.scrolled .lockup .sym { width: 40px; }
.lockup .sym { width: 50px; transition: width .4s var(--ease); }
.ftr .lockup .sym { width: 84px; }
@media (max-width: 960px) { .segno { grid-template-columns: minmax(0, 1fr); } .segno-sym { max-width: 420px; } }
@media (max-width: 640px) { .logotype { gap: 16px; } .logotype .sym { width: 64px; } .lt-name { font-size: 34px; } .lockup .sym { width: 40px; } .ftr .lockup .sym { width: 56px; } .hero-sym { width: 70%; } }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .art.drawable path, .js .art.drawable line, .js .art.drawable rect, .js .art.drawable circle { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .is-in .art.drawable path, .js .is-in .art.drawable line, .js .is-in .art.drawable rect, .js .is-in .art.drawable circle { transition: stroke-dashoffset 2.6s var(--ease); stroke-dashoffset: 0; }
body.leaving main { opacity: 0; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
main { animation: enter .8s var(--ease) both; }
@keyframes enter { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1080px) {
  .props.five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .story { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .story .logo-sm { grid-column: 1 / -1; }
  .team, .opere, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .lk-sub { display: none; }
  .hero-grid, .saving, .scheda, .t-grid, .grid-2, .card.split { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .props { grid-template-columns: minmax(0, 1fr); }
  .ftr-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  :root { --hdr: 76px; }
  .lockup svg { width: 46px; }
  .lk-name { font-size: 15px; }
  .lk-name .bar { margin: 0 8px; height: 13px; }
  .props.five, .team, .opere, .grid-4, .facts, .timeline { grid-template-columns: minmax(0, 1fr); }
  .story { grid-template-columns: minmax(0, 1fr); }
  .props.five.three { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; aspect-ratio: auto; }
  .gallery .visual { aspect-ratio: 4 / 3; }
  .gallery .visual:first-child { grid-row: auto; }
  .gallery .visual:not(:first-child) { display: none; }
  .prop-body { grid-template-columns: minmax(0, 1fr); }
  .prop-count { border-left: 0; padding-left: 0; border-top: 1px solid var(--linea); padding-top: 12px; }
  .val { grid-template-columns: 40px minmax(0, 1fr); gap: 6px 14px; }
  .val p { grid-column: 2; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .choice { grid-template-columns: minmax(0, 1fr); }
  .contact-list > div, .dl { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ftr .lk-name { font-size: 20px; }
  .ftr .lockup svg { width: 64px; }
  .ftr-cols { grid-template-columns: minmax(0, 1fr); }
  .band-in { padding-block: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .line-mask > span { transform: none; }
  .draw path.t, .js .art.drawable *, .js .sym.build .arc { stroke-dashoffset: 0 !important; }
  .js .sym.build rect, .js .sym.build .leaf, .js .quota { transform: none !important; }
  .js .quota span { opacity: 1 !important; }
  .draw .tx { opacity: 1; }
}

/* ===================================================================
   SITO v4 — Targa · font della v3 · eleganza della v2 · più rame
   Hub: .hub-gruppo (neutro), .hub-elan (caldo, rame), .hub-tema (scuro, tecnico)
   =================================================================== */
:root {
  --cta: #A65E30;          /* rame per i pulsanti: testo bianco leggibile (contrasto 4,9:1) */
  --cta-hover: #2A2D31;
  --rame-chiaro: #D9A27C;  /* rame su fondi scuri */
  --calda: #F3E8DD;        /* pietra calda per le sezioni EL.AN. */
  --serif: "Noto Serif Display", Georgia, serif;
  --tech: "IBM Plex Sans", "Noto Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --wa: #25D366;
}
/* Titoli: Noto Sans condensato della v3, alleggerito per l'eleganza della v2; le parole in corsivo diventano rame */
.display, .h3, .prop-name, .tl b, .val h3, .door .h3 { font-weight: 500; }
.display i, .h3 i { font-style: normal; font-weight: 300; color: var(--rame); }
/* Logotipo della Targa: Noto Serif Display, come nelle tavole del marchio */
.lk-name { font-family: var(--serif); font-stretch: 100%; font-weight: 400; font-size: 20px; letter-spacing: .08em; }
.lk-name .bar { height: 17px; }
.ftr .lk-name { font-size: 28px; }

/* Pulsanti: rame pieno, ben visibili; al passaggio diventano grafite */
.btn { --b: var(--cta); background: var(--cta); border-color: var(--cta); color: #fff; box-shadow: 0 10px 24px -14px rgba(166, 94, 48, .9); }
.btn::after { background: var(--cta-hover); }
.btn:hover { border-color: var(--cta-hover); color: #fff; }
.btn.ghost { background: transparent; color: var(--grafite); border-color: var(--cta); box-shadow: none; }
.btn.ghost::after { background: var(--cta); }
.btn.ghost:hover { color: #fff; border-color: var(--cta); }
.btn.light { --b: #fff; background: #fff; border-color: #fff; color: var(--grafite); }
.btn.light::after { background: var(--grafite); }
.btn.light.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .85); }
.btn.wa { background: transparent; color: var(--grafite); border-color: #CFC6BB; box-shadow: none; }
.btn.wa::after { background: var(--wa); }
.btn.wa:hover { color: #0B3D1E; border-color: var(--wa); }
.nav a.btn { color: #fff; }
.nav a.btn::after { background: var(--cta-hover); }
.hdr.dark .nav a.btn { --b: var(--cta); color: #fff; }
.link { background-image: linear-gradient(var(--rame), var(--rame)); background-size: 100% 1px; }
.link:hover { background-size: 100% 2px; color: var(--rame-scuro); }

/* Dettagli caldi */
.eyebrow::before { height: 2px; width: 32px; }
.card.top, .form { border-top: 4px solid var(--rame); }
.chip { background: var(--calda); }
.prop:hover .prop-name { color: var(--rame-scuro); }
.avatar { background: var(--rame); color: #fff; }

/* Menu con sottosezioni */
.nav { gap: 24px; }
.dd { position: relative; display: flex; align-items: center; gap: 2px; }
.dd-t { width: 28px; height: 32px; border: 0; background: none; color: inherit; cursor: pointer; display: grid; place-items: center; border-radius: 6px; }
.dd-t svg { transition: transform .3s var(--ease); }
.dd-m { position: absolute; top: calc(100% + 12px); left: -18px; min-width: 240px; background: #fff; box-shadow: 0 24px 48px -20px rgba(42, 45, 49, .35); border-top: 3px solid var(--rame); padding: 8px; display: grid; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; z-index: 60; }
.dd-m::before { content: ""; position: absolute; left: 0; right: 0; top: -15px; height: 15px; }
.dd:hover .dd-m, .dd:focus-within .dd-m, .dd.open .dd-m { opacity: 1; visibility: visible; transform: none; }
.dd:hover .dd-t svg, .dd.open .dd-t svg { transform: rotate(180deg); }
.nav .dd-m a { color: var(--grafite); padding: 12px 14px; font-size: 14.5px; }
.nav .dd-m a::after { display: none; }
.nav .dd-m a:hover, .nav .dd-m a[aria-current="page"] { background: var(--calda); color: var(--rame-scuro); }
.nav a.parent::after { transform: scaleX(1); }
.hdr.dark .dd-m { background: #202327; }
.hdr.dark .nav .dd-m a { color: #E9E6E1; }
.hdr.dark .nav .dd-m a:hover { background: #2B2F34; color: var(--rame-chiaro); }
.mmenu a.sub { font-size: 22px; padding-left: 22px; opacity: .85; border-bottom-color: rgba(245, 242, 237, .08); }
.mmenu a.sub::before { content: "— "; color: var(--rame-chiaro); }
.mmenu a.mm-cta { font-family: var(--sans); font-size: 16px; margin-top: 18px; justify-self: start; border-bottom: 0; opacity: 1; transform: none; }

/* WhatsApp: pulsante verde sempre visibile */
.wa-fab { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 58; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(18, 140, 70, .6); transition: transform .3s var(--ease); }
.wa-fab:hover { transform: scale(1.06); color: #fff; }
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); animation: wa-pulse 2.6s infinite; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.wa-tip { position: absolute; right: 72px; white-space: nowrap; background: var(--grafite); color: #fff; font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: 6px; opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .25s; pointer-events: none; }
.wa-fab:hover .wa-tip, .wa-fab:focus-visible .wa-tip { opacity: 1; transform: none; }
.cookie.show ~ .wa-fab { bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }

/* Footer: colonne e social */
.ftr-cols { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ftr-h { color: var(--rame-chiaro); }
.socials { display: flex; gap: 10px; }
.soc { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #5A5F66; display: grid; place-items: center; transition: background .3s, border-color .3s; }
.ftr a.soc:hover { background: var(--cta); border-color: var(--cta); text-decoration: none; }

/* Home: le tre porte del gruppo */
.xps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.xp { background: #fff; padding: clamp(24px, 3vw, 34px); display: grid; gap: 14px; align-content: start; border-top: 4px solid var(--rame); }
.xp.x-tema { background: #1B1D20; color: #E9E6E1; border-top-color: var(--rame-chiaro); }
.xp.x-tema .eyebrow { color: var(--rame-chiaro); font-family: var(--mono); letter-spacing: .1em; }
.xp.x-gruppo { border-top-color: var(--grafite); }
.xp-t { font-family: var(--sans); font-stretch: 75%; font-weight: 500; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.1; }
.x-tema .xp-t { font-family: var(--tech); font-stretch: 100%; font-weight: 600; }
.xp-l { display: grid; border-top: 1px solid var(--linea); }
.x-tema .xp-l { border-top-color: #34383E; }
.xp-l a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 14px 0; border-bottom: 1px solid var(--linea); text-decoration: none; color: inherit; }
.x-tema .xp-l a { border-bottom-color: #34383E; }
.xp-l a span { font-weight: 700; font-size: 16px; }
.xp-l a small { grid-column: 1; font-size: 13.5px; opacity: .8; }
.xp-l a i { grid-row: 1 / 3; grid-column: 2; align-self: center; font-style: normal; color: var(--rame); transition: transform .3s var(--ease); }
.x-tema .xp-l a i { color: var(--rame-chiaro); }
.xp-l a:hover i { transform: translateX(4px); }
.xp-l a:hover span { color: var(--rame-scuro); }
.x-tema .xp-l a:hover span { color: var(--rame-chiaro); }

/* Fascia rame di invito all'azione */
.rame-band { background: linear-gradient(120deg, #A65E30, #8F4C22); color: #fff; margin-top: clamp(40px, 6vw, 72px); }
.rb-in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-block: clamp(40px, 5vw, 64px); }
.rame-band .display i { color: #F6D8C2; }
.rame-band p { max-width: 56ch; font-size: 17px; }
.rame-band .eyebrow::before { background: #fff; }

/* Prenota una visita */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; background: #fff; padding: 16px 18px; }
.steps li b { width: 44px; height: 44px; border-radius: 50%; background: var(--rame); color: #fff; display: grid; place-items: center; font-size: 18px; }
.steps li span { display: grid; gap: 2px; font-size: 14.5px; }
.steps li strong { font-size: 16px; }
.choice.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice button[aria-pressed="true"] { background: var(--rame); border-color: var(--rame); }
.consent input { accent-color: var(--rame); }
.map { display: block; }

/* ---------- HUB EL.AN.: caldo ---------- */
.hub-elan { background: var(--calda); }
.hub-elan .hdr { border-bottom: 3px solid var(--rame); }
.hub-elan .cta-dark { background: linear-gradient(140deg, #8F4C22, #6E3A1A); }
.hub-elan .fact { border-left: 3px solid var(--rame); }
.hub-elan .aside .card.dark { background: var(--rame-scuro); }

/* ---------- HUB TEMA IMPIANTI: scuro, tecnico ---------- */
.hub-tema { background: #16181B; color: #E9E6E1; font-family: var(--tech); }
.hub-tema a { color: #E9E6E1; }
.hub-tema .hdr.dark { background: rgba(17, 19, 21, .96); border-bottom: 1px solid #2B2F34; }
.hub-tema .lk-sub { color: #B9B4AD; }
.hub-tema h1, .hub-tema h2, .hub-tema h3, .hub-tema .sans-h, .hub-tema .display { font-family: var(--tech); font-stretch: 100%; letter-spacing: -.01em; }
.hub-tema .eyebrow { font-family: var(--mono); font-weight: 500; letter-spacing: .1em; color: var(--rame-chiaro); }
.hub-tema .eyebrow::before { background: var(--rame-chiaro); }
.hub-tema .t-hero { background-color: #111315; background-image: linear-gradient(rgba(217, 162, 124, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(217, 162, 124, .07) 1px, transparent 1px); background-size: 32px 32px; border-bottom: 1px solid #2B2F34; }
.hub-tema .t-hero h1 { font-family: var(--tech); font-weight: 600; font-stretch: 100%; }
.hub-tema .card, .hub-tema .svc, .hub-tema .opera, .hub-tema .form, .hub-tema .contact-list { background: #1F2226; color: #E9E6E1; }
.hub-tema .svc { border-top: 2px solid var(--rame-chiaro); }
.hub-tema .svc .code, .hub-tema .opera .yr { font-family: var(--mono); color: var(--rame-chiaro); }
.hub-tema .svc .code { font-size: 13px; letter-spacing: .1em; }
.hub-tema .opera .yr { font-size: 24px; font-weight: 500; }
.hub-tema .chip { background: #2B2F34; color: #E9E6E1; }
.hub-tema .card.dark { background: #0F1113; border: 1px solid #2B2F34; }
.hub-tema .dl b { font-family: var(--mono); font-weight: 500; font-size: 13px; color: var(--rame-chiaro); }
.hub-tema .btn.ghost { color: #E9E6E1; }
.hub-tema .link { color: #E9E6E1; }
.hub-tema label, .hub-tema .lbl { color: #E9E6E1; font-family: var(--mono); font-weight: 500; font-size: 12.5px; letter-spacing: .04em; }
.hub-tema input[type="text"], .hub-tema input[type="tel"], .hub-tema input[type="email"], .hub-tema select, .hub-tema textarea { background: #16181B; color: #E9E6E1; border-color: #3A3F45; }
.hub-tema input[type="file"] { color: #E9E6E1; font-family: var(--tech); }
.hub-tema .choice button { background: #16181B; color: #E9E6E1; border-color: #3A3F45; font-family: var(--tech); }
.hub-tema .choice button[aria-pressed="true"] { background: var(--cta); border-color: var(--cta); }
.hub-tema .form-msg { background: #2B2F34; color: #E9E6E1; }
.hub-tema .crumbs, .hub-tema .crumbs a { color: #B9B4AD; font-family: var(--mono); font-size: 12.5px; }
.hub-tema .logo-sm text { fill: #E9E6E1; }
.hub-tema .logo-sub { color: #B9B4AD; }
.t-spec { display: grid; grid-template-columns: auto auto; gap: 8px 18px; font-family: var(--mono); font-size: 13px; border: 1px solid #3A3F45; padding: 22px 24px; background: rgba(17, 19, 21, .7); }
.t-spec span { color: var(--rame-chiaro); letter-spacing: .1em; }
.t-spec b { font-weight: 500; }
.job-cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; text-decoration: none; }
.job-cta .btn { pointer-events: none; }

@media (max-width: 1080px) {
  .xps { grid-template-columns: minmax(0, 1fr); }
  .ftr-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ftr-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wa-fab { width: 56px; height: 56px; }
  .wa-tip { display: none; }
  .t-spec { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wa-fab::before { animation: none; } }
.hub-tema .btn.light:not(.ghost) { --b: var(--cta); background: var(--cta); border-color: var(--cta); color: #fff; }
.hub-tema .btn.light:not(.ghost)::after { background: #fff; }
.hub-tema .btn.light:not(.ghost):hover { color: var(--grafite); border-color: #fff; }
.hub-tema .cookie, .hub-tema .cookie p { color: var(--grafite); font-family: var(--sans); }
.hub-tema .cookie .btn.ghost { color: var(--grafite); }
@media (max-width: 640px) { .hdr .lk-name { font-size: 15px; letter-spacing: .06em; } .hdr .lk-name .bar { margin: 0 8px; height: 13px; } .hdr .lockup svg { width: 40px; } .mmenu a.mm-cta { color: #fff; } }
/* Economia circolare */
.eco { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); align-items: center; background: #1F2226; padding: clamp(20px, 3vw, 40px); border-top: 2px solid var(--rame-chiaro); }
.eco p { max-width: 64ch; }
.eco-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 6px; }
.eco-nums div { border: 1px solid #3A3F45; padding: 16px 18px; display: grid; gap: 6px; }
.eco-nums b { font-family: var(--mono); font-weight: 500; font-size: 26px; color: var(--rame-chiaro); line-height: 1.1; }
.eco-nums span { font-size: 13.5px; line-height: 1.5; color: #C9C4BD; }
.hub-tema .eco-ph { background: #16181B; }
.hub-tema .eco-ph .art { color: var(--rame-chiaro); }
@media (max-width: 900px) { .eco { grid-template-columns: minmax(0, 1fr); } .eco-ph { aspect-ratio: 16 / 10; } }
/* Logo Targa degli hub (EL.AN. e Tema Impianti) */
.hub-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.hub-logo svg { width: 92px; height: auto; flex: none; }
.hdr.scrolled .hub-logo svg { width: 78px; }
.hub-logo .tg-ink { fill: var(--grafite); }
.hdr.dark .hub-logo .tg-ink { fill: #F5F2ED; }
.hub-sub { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muto); max-width: 120px; line-height: 1.4; }
.hub-tema .hub-sub { font-family: var(--mono); font-weight: 500; letter-spacing: .08em; color: #B9B4AD; }
@media (max-width: 640px) { .hub-logo svg { width: 64px; } .hub-sub { display: none; } }
/* Archivio a scorrimento */
.rail-nav { display: flex; gap: 10px; justify-content: flex-end; }
.rail-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--rame-chiaro); background: transparent; color: #E9E6E1; display: grid; place-items: center; cursor: pointer; transition: background .25s, color .25s; }
.rail-btn:hover { background: var(--cta); border-color: var(--cta); color: #fff; }
.rail-btn:disabled { opacity: .35; cursor: default; background: transparent; }
.opere.rail { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 10px; }
.opere.rail .opera { scroll-snap-align: start; }
.opere.rail:focus-visible { outline: 2px solid var(--rame-chiaro); outline-offset: 4px; }
@media (max-width: 1080px) { .opere.rail { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (max-width: 640px) { .opere.rail { grid-auto-columns: 82%; } }
/* Capitolato in cambio del contatto */
.cap-form { display: grid; gap: 10px; border-top: 1px solid var(--linea); padding-top: 16px; }
.cap-form .field input { min-height: 46px; }
.cap-form .btn { margin-top: 4px; }
/* Home: spazio per la foto */
.hero-photo { aspect-ratio: 4 / 5; background: linear-gradient(160deg, #EADBCB, #D9C1A9); }
.hero-photo .art { color: var(--rame-scuro); }
/* Notizie e stampa */
.newsgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.news { background: #fff; padding: 26px; display: grid; gap: 12px; align-content: start; border-top: 4px solid var(--rame); }
.news .h3 { font-size: 22px; line-height: 1.25; }
.news p { font-size: 15px; }
.news .link, .news .chip { justify-self: start; }
.press { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
@media (max-width: 960px) { .newsgrid { grid-template-columns: minmax(0, 1fr); } }
/* Barra per modificare i testi (visibile solo in claude.ai) */
.ed-bar { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 70; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; max-width: calc(100vw - 110px); background: var(--grafite); color: #F5F2ED; padding: 8px; border-radius: 12px; box-shadow: 0 14px 36px -12px rgba(0, 0, 0, .5); font: 600 14px/1.3 var(--sans); }
.ed-bar button { min-height: 42px; padding: 0 16px; border-radius: 8px; border: 1px solid #5A5F66; background: transparent; color: #F5F2ED; font: inherit; cursor: pointer; }
.ed-bar .ed-go, .ed-bar .ed-save { background: var(--cta); border-color: var(--cta); color: #fff; }
.ed-bar .ed-save:disabled { opacity: .6; }
.ed-msg { font-weight: 400; font-size: 13px; padding: 0 4px; }
.ed-msg:empty { display: none; }
body.editing main [contenteditable] { outline: 1px dashed rgba(166, 94, 48, .55); outline-offset: 3px; cursor: text; border-radius: 2px; }
body.editing main [contenteditable]:hover { outline-style: solid; background: rgba(166, 94, 48, .06); }
body.editing main [contenteditable]:focus { outline: 2px solid var(--cta); background: rgba(166, 94, 48, .08); }
body.editing .hub-tema main [contenteditable]:hover, .hub-tema.editing main [contenteditable]:hover { background: rgba(217, 162, 124, .1); }
body.editing [data-reveal] { opacity: 1 !important; transform: none !important; }

/* Selettore lingua */
.lang { display: inline-flex; align-items: center; gap: 2px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; }
.nav .lang a { padding: 6px 5px; opacity: .62; }
.nav .lang a::after { display: none; }
.nav .lang a:hover, .nav .lang a[aria-current="true"] { opacity: 1; }
.nav .lang a[aria-current="true"] { text-decoration: underline; text-decoration-color: var(--rame); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.mmenu .lang-m { display: flex; gap: 22px; padding-top: 18px; }
.mmenu .lang-m a { font-size: 20px; font-weight: 700; border: 0; letter-spacing: .08em; }
.mmenu .lang-m a[aria-current="true"] { color: var(--rame); }
.nav > a, .nav .dd > a, .nav .btn { white-space: nowrap; }
.nav { gap: 20px; }
html[lang="ru"] .nav { gap: 18px; }
/* Menu a scomparsa prima dei 960px quando le voci non stanno in una riga */
@media (max-width: 1240px) { .nav { display: none; } .burger { display: inline-flex; } }
@media (max-width: 1400px) { html[lang="ru"] .nav { display: none; } html[lang="ru"] .burger { display: inline-flex; } }

/* note interne: visibili solo a chi ha effettuato l'accesso (admin-bar) */
body:not(.admin-bar) .legal .dv{display:none}
