/* ALMERO — showroom digitale
   Layout: fondo nero da showroom; fotografie e scena 3D a tutta larghezza, testi in colonne strette,
   il giallo del marchio solo su azioni, selezioni e linee di luce. */
:root {
  color-scheme: dark;
  --ink: #050505;          /* nero del logo */
  --graphite: #111214;     /* antracite profonda */
  --graphite-2: #1a1c1f;   /* antracite superfici */
  --steel: #8d9298;        /* grigio alluminio */
  --text: #f3f2ec;         /* bianco caldo */
  --muted: #a7a8a3;
  --line: rgba(243, 242, 236, .12);
  --line-strong: rgba(243, 242, 236, .24);
  --brand: #cfae6a;        /* oro campionato dal logo ufficiale (luce) */
  --brand-hi: #e3c98d;     /* oro chiaro, hover */
  --brand-deep: #9c7a3e;   /* oro in ombra del logo */
  --brand-ink: #15110a;    /* testo su oro */
  --review: #ff9d4d;       /* solo note interne di revisione */

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --s-1: clamp(2.5rem, 6.4vw, 5.6rem);
  --s-2: clamp(1.9rem, 4.2vw, 3.4rem);
  --s-3: clamp(1.25rem, 2vw, 1.6rem);
  --s-body: 1.0625rem;
  --s-small: .875rem;
  --s-label: .75rem;

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --wrap: 1240px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 var(--s-body)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: var(--brand-ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 16px; }

/* Tipografia */
.label { font: 600 var(--s-label)/1.2 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.label--brand { color: var(--brand); }
h1, h2, h3 { font-family: var(--f-display); font-stretch: 118%; margin: 0; text-wrap: balance; letter-spacing: .01em; word-spacing: .06em; }
h1 { font-size: var(--s-1); line-height: .98; font-weight: 700; }
h2 { font-size: var(--s-2); line-height: 1.02; font-weight: 650; }
h3 { font-size: var(--s-3); line-height: 1.15; font-weight: 600; }
p { margin: 0; max-width: 62ch; }
.lead { font-size: 1.2rem; color: var(--muted); }
.muted { color: var(--muted); }
.tabnum { font-variant-numeric: tabular-nums; }

/* Pulsanti */
.btn { display: inline-flex; align-items: center; gap: .6em; min-height: 48px; padding: .75em 1.3em; border-radius: var(--radius);
  font: 600 .95rem/1 var(--f-body); text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.btn--primary { background: var(--brand); color: var(--brand-ink); }
.btn--primary:hover { background: var(--brand-hi); }
.btn--ghost { border-color: rgba(243,242,236,.75); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--small { min-height: 40px; padding: .55em 1em; font-size: .875rem; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Note di revisione (nascoste con CONFIG.SHOW_REVIEW_NOTES=false) */
.review { display: inline-flex; gap: .5em; align-items: flex-start; font: 500 .8rem/1.4 var(--f-body); color: var(--review);
  border: 1px dashed color-mix(in srgb, var(--review) 60%, transparent); padding: .45em .7em; border-radius: var(--radius); margin-top: 12px; max-width: 60ch; }
.review::before { content: "Da confermare"; font-weight: 700; white-space: nowrap; }
.hide-review .review { display: none !important; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--ink) 86%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .9rem; color: var(--muted); padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--brand); }
.header-call { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); width: 44px; height: 44px; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 1.5px; background: var(--text); margin: 0 auto; position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: -6px; } .menu-btn span::after { position: absolute; top: 6px; }
@media (max-width: 960px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--ink); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter-r) 20px var(--gutter); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .menu-btn { display: block; }
  .header-call { margin-left: auto; }
  .header-call .btn-text { display: none; }
  .brand img { height: 44px; }
}

/* Ingresso: portafinestra che si apre seguendo lo scorrimento.
   Coordinate della scena = pixel dell'immagine (1924 × 1076); JS applica solo traslazione e scala. */
.intro { position: relative; margin-top: -72px; background: linear-gradient(#34302a, #2f2c27 55%, #3a352f); }
.intro__sticky { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: grid; }
.intro__scene { position: absolute; left: 0; top: 0; width: 1924px; height: 1076px; transform-origin: 0 0; pointer-events: none; }
.intro__varco { position: absolute; inset: 0; background: url(../assets/intro/varco.jpg) 0 0 / 1924px 1076px no-repeat; }
.intro__veil { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(5,5,5,.94) 0%, rgba(5,5,5,.55) 45%, rgba(5,5,5,.35) 100%); }
.intro__hero { position: relative; z-index: 2; display: grid; align-items: center; justify-items: center; text-align: center;
  padding: 120px max(16px, env(safe-area-inset-right, 0px)) 110px max(16px, env(safe-area-inset-left, 0px)); }
.intro__copy { max-width: 640px; display: grid; gap: 18px; justify-items: center; }
.intro__copy .actions, .intro__copy .hero__contacts { justify-content: center; }
.intro__logo { width: 84px; height: auto; }
.intro h1 { margin: 0; font-size: clamp(2rem, 4.4vw, 3.6rem); }
.intro h1 em { font-style: normal; color: var(--brand); }
.intro__scene--front { z-index: 3; perspective: 2800px; perspective-origin: 962px 520px; }
.intro__wall, .intro__varco { -webkit-mask-image: linear-gradient(transparent 0, #000 3%, #000 89%, transparent 100%); mask-image: linear-gradient(transparent 0, #000 3%, #000 89%, transparent 100%); }
.intro__floor { position: absolute; left: 920px; top: 938px; width: 92px; height: 138px; background: url(../assets/intro/pavimento.jpg) 0 0 / 92px 138px; opacity: var(--glass, 0);
  -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.intro__wall { position: absolute; inset: 0; background: url(../assets/intro/porta.jpg) 0 0 / 1924px 1076px no-repeat;
  clip-path: polygon(evenodd, 0 0, 1924px 0, 1924px 1076px, 0 1076px, 0 0, 606px 58px, 1316px 58px, 1316px 938px, 606px 938px, 606px 58px); }
.leaf { position: absolute; top: 56px; height: 884px; transform-style: preserve-3d; will-change: transform; }
.leaf--l { left: 604px; width: 362px; transform-origin: 0 50%; }
.leaf--r { left: 966px; width: 352px; transform-origin: 100% 50%; }
.leaf__bar { position: absolute; left: calc(var(--x) * 1px); top: calc(var(--y) * 1px); width: calc(var(--w) * 1px); height: calc(var(--h) * 1px);
  background: url(../assets/intro/porta.jpg) no-repeat; background-size: 1924px 1076px; }
.leaf--l .leaf__bar { background-position: calc(-604px - var(--x) * 1px) calc(-56px - var(--y) * 1px); }
.leaf--r .leaf__bar { background-position: calc(-966px - var(--x) * 1px) calc(-56px - var(--y) * 1px); }
.leaf__lever { position: absolute; left: 31px; top: 472px; width: 52px; height: 44px; background: url(../assets/intro/leva.png) 0 0 / 52px 44px no-repeat; }
.leaf__bar::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--shade, 0); }
/* vetro: invisibile da chiuso (l'immagine dietro è la stessa), poi riflesso e tinta man mano che l'anta ruota */
.leaf__glass { position: absolute; left: 30px; right: 28px; top: 34px; bottom: 32px; opacity: var(--glass, 0);
  background: linear-gradient(115deg, rgba(255,246,225,.0) 20%, rgba(255,246,225,.22) 46%, rgba(255,246,225,.04) 60%), rgba(30,34,36,.2);
  box-shadow: inset 0 0 0 2px rgba(255,236,200,.28), inset 0 0 26px rgba(0,0,0,.25); }
/* spessore dell'anta sul lato libero */
.leaf__edge { position: absolute; top: 0; width: 30px; height: 100%; background: linear-gradient(90deg, #1c1d1f, #2c2d30 45%, #141516);
  opacity: var(--edge, 1); }
.leaf--l .leaf__edge { left: 362px; transform-origin: 0 50%; transform: rotateY(90deg); }
.leaf--r .leaf__edge { left: -30px; transform-origin: 100% 50%; transform: rotateY(-90deg); }
.intro__hint { position: absolute; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 4; display: grid; justify-items: center; gap: 10px;
  font: 600 .7rem/1 var(--f-body); letter-spacing: .28em; text-transform: uppercase; color: rgba(243,242,236,.82); pointer-events: none; }
.intro__hint span { width: 1px; height: 38px; background: linear-gradient(var(--brand), transparent); animation: hint 2.2s var(--ease) infinite; }
@keyframes hint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
/* senza JS o con movimento ridotto: la pagina è subito visibile, nessuna porta */
.intro:not(.is-live) .intro__scene--front, .intro:not(.is-live) .intro__hint { display: none; }
.intro:not(.is-live) .intro__scene--back { width: 100%; height: 100%; }
.intro:not(.is-live) .intro__varco { background: url(../assets/intro/varco.jpg) 50% 45% / cover no-repeat; }
.intro.is-live { height: calc(100vh + 115vh); height: calc(100svh + 115svh); }
.intro.is-live .intro__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; }
.intro.is-live .intro__hero { opacity: 0; visibility: hidden; }
.intro.is-live .intro__veil { opacity: 0; }
/* durante l'ingresso si vede solo la portafinestra */
.site-header { transition: transform .45s var(--ease), opacity .45s var(--ease); }
.intro-on .site-header { transform: translateY(-110%); opacity: 0; pointer-events: none; }
.intro-on .mobile-cta { transform: translateY(110%); opacity: 0; pointer-events: none; }
.mobile-cta { transition: transform .45s var(--ease), opacity .45s var(--ease); }
@media (prefers-reduced-motion: reduce) { .intro__hint span { animation: none; } }
@media (max-width: 760px) {
  .intro.is-live { height: calc(100svh + 100svh); }
  .intro__hero { padding-top: 96px; padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)); }
  .intro h1 { font-size: clamp(1.9rem, 8.4vw, 2.5rem); }
  .intro__logo { width: 60px; }
}
.clip__credit { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); top: 14px; font-size: .68rem; letter-spacing: .08em; color: rgba(243,242,236,.55); }
.hero__contacts { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .9rem; color: var(--muted); }
.hero__contacts a { text-decoration: none; color: var(--text); }

/* Clip di atmosfera dentro una sezione (parapetti) */
.clip { position: relative; margin-top: clamp(40px, 6vw, 72px); border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; max-width: 100%; background: #000; }
.clip__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clip__text { position: absolute; left: 0; bottom: 0; right: 0; padding: clamp(18px, 3vw, 36px); display: grid; gap: 10px; justify-items: start; background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,0)); }
.clip__text p { max-width: 46ch; color: var(--text); }
@media (max-width: 760px) { .clip { aspect-ratio: 4 / 5; } }

/* Mappa */
.map__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; font-size: .9rem; color: var(--muted); }

/* Footer */
.footer__brand img { height: 96px; width: auto; }
.footer__col { display: grid; gap: 6px; align-content: start; }
.footer__col strong { color: var(--text); font-family: var(--f-display); font-stretch: 112%; margin-bottom: 4px; }
.footer__col a { text-decoration: none; } .footer__col a:hover { color: var(--brand); }
.footer__legal { display: flex !important; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .78rem; }

/* Sezioni */
.section { padding-block: clamp(72px, 10vw, 136px); border-bottom: 1px solid var(--line); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--graphite { background: var(--graphite); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin-top: 14px; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }

/* Showroom */
.section--showroom { padding-block: clamp(56px, 8vw, 112px); }
.sr-head { display: grid; gap: 10px; margin-bottom: clamp(20px, 3vw, 32px); max-width: 720px; }
.sr-head h2 { margin: 0; }
.sr-head .lead { margin: 0; }
.stage { position: relative; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--graphite); overflow: hidden; }
.sr-picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.sr-pick { position: relative; min-width: 0; min-height: 64px; padding: 12px 16px; border: 0; border-right: 1px solid var(--line); background: none; cursor: pointer;
  display: grid; gap: 2px; align-content: center; text-align: left; color: var(--text); }
.sr-pick:last-child { border-right: 0; }
.sr-pick strong { font: 600 1rem/1.2 var(--f-display); font-stretch: 112%; letter-spacing: .01em; }
.sr-pick span { font-size: .8rem; color: var(--muted); }
.sr-pick[aria-selected="true"] { background: var(--graphite-2); }
.sr-pick[aria-selected="true"] strong { color: var(--brand); }
.sr-pick[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--brand); }
.sr-pick:hover strong { color: var(--brand-hi); }
.sr-pick:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.sr-panel { min-width: 0; }
.sr-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 16px 20px 0; }
.sr-title h3 { margin: 0; font-size: clamp(1.15rem, 2.2vw, 1.5rem); }
.stage__view { position: relative; height: clamp(440px, 66vh, 720px); margin-top: 8px; outline: none; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 15%, #2f2a21 0%, #17171a 55%, #0a0a0b 100%); }
.stage__view canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; touch-action: none; z-index: 1; }
.stage__view:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.stage__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 18px; z-index: 0; }
.stage__fallback[hidden] { display: none; }
.stage__state { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 4; display: grid; justify-items: center; pointer-events: none; padding-inline: 16px; }
.stage__loading, .stage__msg { pointer-events: auto; display: grid; justify-items: center; gap: 10px; text-align: center; max-width: 420px;
  background: rgba(8,8,9,.86); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 14px 18px; font-size: .9rem; }
.stage__loading { grid-auto-flow: column; align-items: center; gap: 12px; }
.stage__bar-progress { width: 90px; height: 3px; background: var(--line-strong); border-radius: 9px; overflow: hidden; }
.stage__bar-progress i { display: block; height: 100%; width: 0; background: var(--brand); transition: width .2s; }
.spin { width: 22px; height: 22px; border-radius: 99px; border: 2px solid var(--line-strong); border-top-color: var(--brand); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.stage__hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 3; font-size: .82rem; color: var(--text); max-width: calc(100% - 32px);
  background: rgba(5,5,5,.62); border: 1px solid var(--line); padding: 7px 14px; border-radius: 99px; text-align: center; transition: opacity .6s; pointer-events: none; }
.stage:not(.is-live) .stage__hint, .stage.was-touched .stage__hint { opacity: 0; }
.stage[data-phase="loading"] .stage__hint { display: none; }
.stage__close { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: calc(12px + env(safe-area-inset-right, 0px)); z-index: 6;
  min-height: 48px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--brand); background: rgba(5,5,5,.8); color: var(--text); font-weight: 600; cursor: pointer; }
.stage__bar { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); background: var(--graphite-2); }
.stage__bar .seg { display: flex; gap: 6px; }
.stage__bar #btn-expand { margin-left: auto; }
.stage:not(.is-live) .needs-3d { visibility: hidden; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; font-size: .88rem; color: var(--text); }
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.chip--brand { border-color: var(--brand); color: var(--brand-hi); }
.chip:disabled { opacity: .35; cursor: default; }
.icon-btn { width: 44px; height: 44px; border-radius: 99px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; display: inline-grid; place-items: center; font-size: 1.1rem; color: var(--text); }
.icon-btn:hover { border-color: var(--text); }
.stage__info { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 28px; align-items: center; padding: 16px 20px 20px; border-top: 1px solid var(--line); }
.stage__info p { color: #c4c4be; font-size: .95rem; margin: 0; max-width: 62ch; }
.stage.expanded { position: fixed; inset: 0; z-index: 90; border: 0; border-radius: 0; background: var(--ink); display: flex; flex-direction: column;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); }
.stage.expanded .sr-panel { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.stage.expanded .stage__view { flex: 1; height: auto; margin: 0; }
.stage.expanded .stage__info, .stage.expanded .sr-picker { display: none; }
.viewer-open, .viewer-open body { overflow: hidden; }
@media (max-width: 760px) {
  .sr-head { gap: 8px; }
  .stage { margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); border-radius: 0; border-inline: 0; }
  .sr-picker { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 10px 16px; border-bottom: 0; scroll-snap-type: x proximity; scroll-padding-inline: 16px; }
  .sr-picker::-webkit-scrollbar { display: none; }
  .sr-pick { flex: 0 0 auto; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 99px; scroll-snap-align: start; }
  .sr-pick span { display: none; }
  .sr-pick strong { font-size: .92rem; }
  .sr-pick[aria-selected="true"] { background: var(--brand); border-color: var(--brand); }
  .sr-pick[aria-selected="true"] strong { color: var(--brand-ink); }
  .sr-pick[aria-selected="true"]::after { display: none; }
  .sr-title { padding: 4px 16px 0; }
  .stage__view { height: clamp(320px, 56svh, 500px); }
  .stage__bar { padding: 10px 16px; gap: 8px; }
  .stage__bar .seg[aria-label="Viste"] { order: 1; width: 100%; }
  .stage__bar .seg[aria-label="Viste"] .chip { flex: 1; padding: 0 10px; }
  .stage__bar .seg[aria-label="Zoom"] { order: 2; }
  .stage__bar #btn-open { order: 3; }
  .stage__bar #btn-expand { order: 4; }
  .stage__info { grid-template-columns: 1fr; padding: 14px 16px 18px; }
  .stage__info .btn { justify-self: stretch; justify-content: center; }
  .stage__hint { font-size: .8rem; bottom: 10px; }
}

/* Soluzioni */
.solutions { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sol { background: var(--ink); padding: 28px; display: flex; flex-direction: column; gap: 12px; grid-column: span 4; min-height: 260px; position: relative; overflow: hidden; }
.sol--feature { grid-column: span 6; min-height: 420px; justify-content: flex-end; }
.sol--feature .sol__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .5s, transform 1.2s var(--ease); }
.sol--feature:hover .sol__img { opacity: .7; transform: scale(1.03); }
.sol--feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,5,0) 30%, rgba(5,5,5,.92)); }
.sol--feature > :not(img) { position: relative; z-index: 1; }
.sol h3 { margin-top: 2px; }
.sol p { color: var(--muted); font-size: .95rem; }
.sol a.more { margin-top: auto; font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--brand); padding-top: 8px; }
.sol a.more:hover { text-decoration: underline; }
.sol--material { background: var(--graphite); }
.sol:not(.sol--feature):nth-last-child(-n+2) { grid-column: span 6; }
.sol__art { position: absolute; right: -6%; top: 8%; width: 70%; opacity: .5; pointer-events: none; }
.sol__art svg { width: 100%; height: auto; }
@media (max-width: 960px) { .sol, .sol--feature, .sol:not(.sol--feature):nth-last-child(-n+2) { grid-column: span 6; } }
@media (max-width: 620px) { .sol, .sol--feature, .sol:not(.sol--feature):nth-last-child(-n+2) { grid-column: span 12; min-height: 0; } .sol--feature { min-height: 340px; } }

/* Parapetti */
.feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 4vw, 64px); align-items: end; }
.feature__media { position: relative; aspect-ratio: 4 / 3; max-width: 100%; background: var(--graphite-2); border-radius: var(--radius); overflow: hidden; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__media .missing { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); font-size: .9rem; }
.feature__media .missing svg { width: min(70%, 420px); margin: 0 auto 14px; }
.feature__caption { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 14px; }
.feature__text { display: grid; gap: 20px; }
.feature__text h3 { font-size: var(--s-2); line-height: 1.02; }
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.points li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; color: var(--muted); font-size: .95rem; }
.points li b { color: var(--text); font-weight: 600; min-width: 8.5em; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } }

/* Video portoncini */
.video-block { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.player { position: relative; background: #000; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); max-width: 100%; }
.player video { width: 100%; height: auto; max-height: 78vh; background: #000; margin: 0 auto; }
.player--portrait { justify-self: center; width: min(100%, 420px, calc(78svh * 0.5625)); }
.player--portrait video { max-height: none; }
.door-fallback { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.door-fallback figure { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--graphite-2); }
.door-fallback img { width: 100%; height: 100%; object-fit: cover; }
.door-fallback figure.is-art { background: var(--graphite-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 160'%3E%3Cg fill='none' stroke='%23c9ccd0' stroke-width='1.4'%3E%3Crect x='30' y='20' width='60' height='125'/%3E%3Crect x='38' y='28' width='44' height='40'/%3E%3C/g%3E%3Crect x='80' y='88' width='3' height='16' fill='%23f6ee2a'/%3E%3C/svg%3E") center/60% no-repeat; }
@media (max-width: 900px) { .video-block { grid-template-columns: 1fr; } }

/* Galleria */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.gallery { columns: 3 300px; column-gap: 12px; }
.gallery figure { margin: 0 0 12px; break-inside: avoid; position: relative; background: var(--graphite-2); border-radius: var(--radius); overflow: hidden; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery img { width: 100%; height: auto; transition: transform .8s var(--ease), opacity .4s; }
.gallery figure:hover img { transform: scale(1.025); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: .82rem; line-height: 1.35;
  background: linear-gradient(transparent, rgba(0,0,0,.82)); pointer-events: none; }
.gallery .tag { position: absolute; top: 10px; left: 10px; font: 600 .66rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
  background: rgba(5,5,5,.72); border: 1px solid var(--line-strong); padding: 6px 8px; border-radius: 2px; pointer-events: none; }
.gallery .tag--work { color: var(--brand); border-color: rgba(207,174,106,.5); }
.gallery figure.is-missing { aspect-ratio: var(--ar, 4/3); display: grid; place-items: center; }
.gallery figure.is-missing img { opacity: 0; position: absolute; }
.gallery figure.is-missing::before { content: "Foto non caricata in questa anteprima"; font-size: .78rem; color: var(--steel); padding: 16px; text-align: center; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .82rem; color: var(--muted); margin-top: 20px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(0,0,0,.94); display: grid; grid-template-rows: auto 1fr auto;
  padding: calc(12px + env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lightbox__img { min-height: 0; display: grid; place-items: center; }
.lightbox__img img { max-height: 100%; max-width: 100%; object-fit: contain; }
.lightbox__cap { text-align: center; color: var(--muted); font-size: .9rem; padding-top: 10px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: max(12px, env(safe-area-inset-left, 0px)); } .lightbox__nav--next { right: max(12px, env(safe-area-inset-right, 0px)); }

/* Servizio */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.step { padding: 26px 24px 0 0; display: grid; gap: 10px; align-content: start; }
.step .n { font: 600 .8rem/1 var(--f-body); color: var(--brand); letter-spacing: .1em; }
.step p { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; gap: 0 24px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .step { border-bottom: 1px solid var(--line); padding-bottom: 22px; } }

/* Produzione e azienda */
.sedi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sede { background: var(--ink); padding: 24px; display: grid; gap: 6px; align-content: start; }
.sede address { font-style: normal; color: var(--text); }
.sede .muted { font-size: .9rem; }
@media (max-width: 860px) { .sedi { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.fact { border-top: 1px solid var(--line-strong); padding-top: 16px; display: grid; gap: 6px; }
.fact b { font-family: var(--f-display); font-stretch: 115%; font-size: 1.15rem; }
.fact span { color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } }

/* Contatti */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); }
.contact-groups { display: grid; gap: 28px; margin-top: 32px; }
.cgroup { display: grid; gap: 8px; }
.cline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cline a.big { font: 600 clamp(1.3rem, 2.4vw, 1.8rem)/1.2 var(--f-display); font-stretch: 112%; text-decoration: none; }
.cline a.big:hover { color: var(--brand); }
.copy { font-size: .75rem; padding: 4px 9px; border-radius: 99px; border: 1px solid var(--line-strong); background: none; cursor: pointer; color: var(--muted); }
.form { display: grid; gap: 16px; background: var(--graphite); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: .85rem; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; background: var(--ink); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 13px 14px; font: inherit; font-size: 1rem; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; }
.field .err { font-size: .8rem; color: #ff8f8f; min-height: 0; }
.form__status { font-size: .92rem; border-left: 3px solid var(--brand); padding: 10px 14px; background: var(--ink); }
.form__status[data-kind="error"] { border-left-color: #ff8f8f; }
.form__privacy { font-size: .8rem; color: var(--steel); }
.map { position: relative; margin-top: 48px; aspect-ratio: 16 / 7; max-width: 100%; background: var(--graphite-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.6) contrast(.95); }
.map__placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; gap: 10px; padding: 20px; }
.map__grid { position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .map { aspect-ratio: 4 / 3; } }

/* Footer */
.footer { padding-block: 48px calc(48px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: .88rem; }
.footer .wrap { display: grid; grid-template-columns: auto 1.4fr 1fr 1fr; gap: 24px 40px; align-items: start; }
.footer img { height: 64px; width: auto; }
.footer address { font-style: normal; }
@media (max-width: 900px) { .footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer .wrap { grid-template-columns: 1fr; } }

/* Barra contatti mobile */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: rgba(5,5,5,.94); border-top: 1px solid var(--line); }
  .mobile-cta .btn { justify-content: center; }
  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
}

/* Comparsa contenuti: stato di riposo visibile, movimento solo come rifinitura */
.reveal { transition: transform .9s var(--ease), opacity .9s var(--ease); }
.js .reveal.pre { transform: translateY(18px); opacity: .001; }
@media (prefers-reduced-motion: reduce) { .js .reveal.pre { transform: none; opacity: 1; } }

/* Pagina realizzazioni */
.page-hero { padding-block: clamp(56px, 8vw, 100px) clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 5rem); margin-top: 14px; }
.sol a.more--ext { margin-top: 0; padding-top: 0; color: var(--text); font-weight: 500; }


/* ---------- v8: scheda indirizzo, ritmo su telefono, menu, ancore ---------- */
.place { margin-top: 40px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px 24px; align-items: center;
  padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: radial-gradient(140% 120% at 0% 0%, rgba(207,174,106,.10), transparent 60%), var(--graphite-2); }
.place__pin { width: 56px; height: 56px; border-radius: 99px; display: grid; place-items: center; color: var(--brand); border: 1px solid rgba(207,174,106,.45); }
.place address { font-style: normal; font-size: 1.1rem; line-height: 1.45; margin-top: 6px; color: var(--text); }
.place__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) {
  .place { grid-template-columns: auto minmax(0, 1fr); padding: 18px; }
  .place__actions { grid-column: 1 / -1; }
  .place__actions .btn { flex: 1 1 100%; justify-content: center; }
}
section[id], [id].sol { scroll-margin-top: 84px; }
.linkish { background: none; border: 0; padding: 0 0 2px; color: var(--brand-hi); border-bottom: 1px solid currentColor; cursor: pointer; font: inherit; }
.gallery__empty { grid-column: 1 / -1; padding: 24px 0; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 960px) {
  .nav { max-height: calc(100svh - 72px); overflow-y: auto; padding-bottom: 12px; box-shadow: 0 24px 40px rgba(0,0,0,.45); }
  .nav a { min-height: 48px; display: flex; align-items: center; }
}
@media (max-width: 760px) {
  .section { padding-block: 56px; }
  .section--tight { padding-block: 44px; }
  .section-head { gap: 12px; margin-bottom: 24px; }
  .btn--small { min-height: 44px; }
  .site-header .btn--small { min-height: 40px; }
  .copy { min-height: 44px; min-width: 44px; }
}
h1.h2 { font-size: var(--s-2); line-height: 1.02; font-weight: 650; }

.clip__credit { font-size: .75rem; }
.copy { min-height: 36px; }
@media (max-width: 760px) { .copy { min-height: 44px; } }

.cta-hide .mobile-cta { transform: translateY(110%); opacity: 0; pointer-events: none; }
@media (max-width: 760px) {
  .sol--feature { min-height: 0; padding-top: 150px; }
  .sol--material .sol__art { width: 46%; right: 4%; top: 12px; opacity: .4; }
}

/* ---------- v9: mappa nella pagina, video nella scheda Portoncini ---------- */
.place__map { grid-column: 1 / -1; position: relative; height: clamp(240px, 38vw, 380px); margin: -4px -6px 4px; border-radius: calc(var(--radius) - 4px);
  overflow: hidden; background: #11100e; border: 1px solid var(--line); color: var(--brand); }
.place__map > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.place__map > svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.place__map .m-r1 { stroke: #4a4232; stroke-width: 15; } .place__map .m-r2 { stroke: #3a3428; stroke-width: 11; }
.place__map .m-r3 { stroke: #2c2822; stroke-width: 8; } .place__map .m-r4 { stroke: #24211c; stroke-width: 5; }
.place__map .m-r5 { stroke: #2a2620; stroke-width: 2; stroke-dasharray: 6 6; } .place__map .m-rw { stroke: #5a5242; stroke-width: 3; stroke-dasharray: 14 10; }
.place__map .m-wt { stroke: #1d2b2f; stroke-width: 16; } .place__map .m-wd { stroke: #1a2629; stroke-width: 3; }
.place__map text { fill: #9d917a; font: 500 17px var(--font-body, Inter), system-ui, sans-serif; text-anchor: middle; dominant-baseline: central; paint-order: stroke; stroke: #11100e; stroke-width: 5px; }
.place__map .m-lbl--here { fill: var(--brand); }
.place__map-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); z-index: 2; filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }
.place__map-credit { position: absolute; right: 8px; bottom: 6px; z-index: 2; font-size: .75rem; color: #7d7464; }
.place__iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; opacity: 0; transition: opacity .4s; filter: grayscale(.25) contrast(.95); }
.place__map.has-iframe .place__iframe { opacity: 1; }
@media (max-width: 760px) { .place__map { height: 240px; margin: -4px -4px 4px; } }
.sol__video { pointer-events: none; }
/* testo leggibile sopra foto e video: velatura anche in alto, dove stanno titolo e descrizione */
.sol--feature::after { background: linear-gradient(180deg, rgba(5,5,5,.9) 0%, rgba(5,5,5,.62) 38%, rgba(5,5,5,.35) 62%, rgba(5,5,5,.88) 100%); }

/* ---------- v10: marchio con trasparenza reale (simbolo + scritta), barra e scena iniziale ---------- */
.brand { gap: 12px; min-height: 44px; border-radius: 6px; }
.brand img, .brand .brand__mark { height: 46px; width: auto; }
.brand .brand__name { height: 14px; width: auto; }
@media (max-width: 1180px) and (min-width: 961px) { .brand { gap: 10px; } .brand .brand__name { height: 12px; } .nav { gap: 18px; } }
@media (max-width: 960px) {
  .site-header .wrap { gap: 12px; }
  .brand { gap: 9px; } .brand .brand__mark { height: 40px; } .brand .brand__name { height: 11px; }
}
@media (max-width: 380px) { .brand { gap: 8px; } .brand .brand__mark { height: 38px; } .brand .brand__name { height: 10px; } }
.intro__brand { display: grid; justify-items: center; gap: 14px; }
.intro__logo { width: 104px; height: auto; filter: drop-shadow(0 10px 18px rgba(0,0,0,.45)); }
.intro__name { width: 196px; height: auto; margin-top: 2px; }
.intro__tag { font: 500 .66rem/1 var(--f-body); letter-spacing: .26em; text-transform: uppercase; color: var(--brand); opacity: .9; white-space: nowrap; margin-right: -.26em; }
.intro__tag i { font-style: normal; opacity: .7; margin: 0 .2em; }
@media (max-width: 760px) {
  .intro__brand { gap: 10px; }
  .intro__logo { width: 72px; } .intro__name { width: 150px; } .intro__tag { font-size: .56rem; letter-spacing: .22em; margin-right: -.22em; }
}
@media (max-width: 760px) and (max-height: 700px) { .intro__logo { width: 56px; } .intro__copy { gap: 14px; } }
/* la scena dietro è chiara e dorata: scritta e motto restano leggibili con un'ombra appena accennata, senza fondali */
.intro__logo { width: 112px; filter: drop-shadow(0 8px 16px rgba(0,0,0,.4)); }
.intro__name { filter: drop-shadow(0 1px 5px rgba(0,0,0,.5)); }
.intro__tag { color: var(--text); opacity: .9; text-shadow: 0 1px 6px rgba(0,0,0,.6), 0 0 14px rgba(0,0,0,.35); font-size: .68rem; }
@media (max-width: 760px) { .intro__logo { width: 76px; } .intro__tag { font-size: .6rem; } }
@media (max-width: 760px) and (max-height: 700px) { .intro__logo { width: 58px; } }
.intro__name { width: 236px; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.55)) drop-shadow(0 2px 8px rgba(0,0,0,.4)); }
.intro__tag { font-size: .62rem; letter-spacing: .2em; margin-right: -.2em; }
.intro__copy > .label--brand { text-shadow: 0 1px 2px rgba(0,0,0,.6), 0 0 12px rgba(0,0,0,.45); }
@media (max-width: 760px) { .intro__name { width: 208px; } .intro__tag { font-size: .56rem; letter-spacing: .15em; margin-right: -.15em; } }

/* ---------- v11: marchio Area Ponzio nella scheda alluminio ---------- */
.ponzio { display: block; width: min(232px, 72%); margin-bottom: 4px; filter: drop-shadow(0 1px 6px rgba(0,0,0,.55)); }
.ponzio__row { display: block; position: relative; }
.ponzio__logo { display: block; width: 100%; height: auto; }
.ponzio__shine { position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, var(--brand) 50%, transparent 58%) 130% 0 / 260% 100% no-repeat;
  -webkit-mask: url(../assets/brand/area-ponzio.webp) center / 100% 100% no-repeat; mask: url(../assets/brand/area-ponzio.webp) center / 100% 100% no-repeat; }
.ponzio__motto { display: block; position: relative; aspect-ratio: 1336 / 78; margin-top: 7px; opacity: .92; }
.ponzio__motto i { position: absolute; inset: 0; background: url(../assets/brand/area-ponzio-motto.webp) center / 100% 100% no-repeat; }
.ponzio__motto i:nth-child(1) { clip-path: inset(0 62.3% 0 0); }
.ponzio__motto i:nth-child(2) { clip-path: inset(0 30.6% 0 37.7%); }
.ponzio__motto i:nth-child(3) { clip-path: inset(0 0 0 69.4%); }
@media (prefers-reduced-motion: no-preference) {
  /* il logo si scopre da sinistra, un riflesso dorato lo attraversa una volta, poi arrivano le tre parole */
  .ponzio__logo { clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease) .35s; }
  .ponzio__motto i { transition: opacity .7s ease, translate .7s var(--ease); }
  .ponzio__motto i:nth-child(1) { transition-delay: 1.15s; } .ponzio__motto i:nth-child(2) { transition-delay: 1.4s; } .ponzio__motto i:nth-child(3) { transition-delay: 1.65s; }
  .js .sol.pre .ponzio__logo { clip-path: inset(0 100% 0 0); transition: none; }
  .js .sol.pre .ponzio__motto i { opacity: 0; translate: 0 5px; transition: none; }
  .js .sol:not(.pre) .ponzio__shine { animation: ponzio-shine 1.5s ease-in-out 1.5s 1 both; }
  .sol:hover .ponzio__shine { animation: ponzio-shine-h 1.3s ease-in-out 1 both; }
}
@keyframes ponzio-shine { 0% { opacity: 0; background-position: 130% 0; } 15% { opacity: .95; } 85% { opacity: .95; } 100% { opacity: 0; background-position: -30% 0; } }
@keyframes ponzio-shine-h { 0% { opacity: 0; background-position: 130% 0; } 15% { opacity: .95; } 85% { opacity: .95; } 100% { opacity: 0; background-position: -30% 0; } }

/* ---------- v12: Soluzioni su quattro righe (2 + 2 + 2 in evidenza, poi 3 schede) ---------- */
.sol:not(.sol--feature):nth-last-child(-n+2) { grid-column: span 4; }
@media (max-width: 960px) { .sol:not(.sol--feature):nth-last-child(-n+2) { grid-column: span 6; } #sol-controtelai { grid-column: span 12; } }
@media (max-width: 620px) { .sol:not(.sol--feature):nth-last-child(-n+2), #sol-controtelai { grid-column: span 12; } }
#az-title { font-size: clamp(1.6rem, 3.1vw, 2.5rem); line-height: 1.12; max-width: 22ch; }
.footer__col span a { color: var(--brand); white-space: nowrap; }
.sol--feature > .sol__art { position: absolute; z-index: 0; }
#sol-scorrevoli .sol__art { right: 5%; top: 30%; width: 46%; opacity: .75; }
#sol-avvolgibili .sol__img { object-position: 50% 22%; }

/* ---------- v13: sfondi delle schede Soluzioni più luminosi e contrastati; nota sul portoncino ---------- */
.sol--feature .sol__img { opacity: .9; filter: contrast(1.1) saturate(1.06); }
.sol--feature:hover .sol__img { opacity: 1; }
.sol--feature::after { background: linear-gradient(180deg, rgba(5,5,5,.8) 0%, rgba(5,5,5,.5) 26%, rgba(5,5,5,.12) 52%, rgba(5,5,5,.3) 74%, rgba(5,5,5,.82) 100%); }
.sol--feature h3, .sol--feature p, .sol--feature .label, .sol--feature a.more, .sol--feature .link { text-shadow: 0 1px 3px rgba(0,0,0,.75), 0 0 16px rgba(0,0,0,.45); }
.sol--feature p { color: #d9d6cf; }
.door-note { color: var(--muted); max-width: 52ch; }
/* video chiaro (tapparelle bianche): un po' più di velatura per tenere leggibili testo e link */
#sol-avvolgibili .sol__img { opacity: .66; }
#sol-avvolgibili:hover .sol__img { opacity: .8; }

/* ---------- v15: link iubenda (Privacy Policy e Cookie Policy) nel piè di pagina ---------- */
.footer__policy { display: inline-flex; flex-wrap: wrap; gap: 4px 18px; }
.footer__policy a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(207,174,106,.5); padding-block: 12px; margin-block: -12px; }
.footer__policy a:hover, .footer__policy a:focus-visible { color: var(--brand); }
.form__privacy a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
