/* altanasrl.it — immagine coordinata altana: tanto scuro, poca luce, un colore caldo (il sole Terra).
   Tenor Sans per marchio e titoli, Jost per i testi. Niente foto: il sole del marchio fa da immagine.
   CNC Help e Raggio tengono ciascuno il proprio stile. */

@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 500; font-display: swap; src: url(font/jost-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 500; font-display: swap; src: url(font/jost-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Tenor Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(font/tenor-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Tenor Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(font/tenor-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url(font/barlow-cond-700.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url(font/barlow-cond-600.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url(font/barlow-400.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url(font/barlow-600.woff2) format('woff2'); }

:root {
  --inchiostro: #1D1C1A;
  --inchiostro-fondo: #171614;
  --pannello: #242320;
  --osso: #F3F0EA;
  --osso-2: rgba(243, 240, 234, .72);
  --osso-3: rgba(243, 240, 234, .45);
  --fumo: #8B847A;
  --terra: #B3664C;
  --sole: #D88A6E;
  --linea: rgba(243, 240, 234, .1);
  --arancio: #FF8000;
  --nero-cnc: #0D0D0D;
  --titoli: 'Tenor Sans', 'Optima', 'Avenir Next', sans-serif;
  --testo: 'Jost', 'Avenir Next', 'Helvetica Neue', sans-serif;
  --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --barlow: 'Barlow', 'Helvetica Neue', sans-serif;
  --angolo: 26px;
  --lato: max(22px, env(safe-area-inset-left));
  --largo: 1200px;
  --morbido: cubic-bezier(.22, .61, .36, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0; background: var(--inchiostro); color: var(--osso);
  font: 300 17px/1.55 var(--testo); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
b { font-weight: 500; }
.nw { white-space: nowrap; }
::selection { background: rgba(216, 138, 110, .4); color: var(--osso); }
.salta { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--osso); color: var(--inchiostro); padding: 10px 16px; border-radius: 10px; }
.salta:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--sole); outline-offset: 3px; border-radius: 6px; }
.contenitore { width: min(var(--largo), 100% - 2 * var(--lato)); margin-inline: auto; }

.sole-disco { fill: var(--sole); }
.sole-linea { fill: var(--osso); }

/* ------------------------------------------------------------ testi */
.occhiello { font: 500 15px/1.4 var(--testo); letter-spacing: .01em; color: var(--sole); margin-bottom: 16px; }
.titolo { font: 400 clamp(36px, 5.8vw, 76px)/1.1 var(--titoli); letter-spacing: -.005em; color: var(--osso); text-wrap: balance; }
.lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; color: var(--osso-2); text-wrap: balance; }

/* ------------------------------------------------------------ bottoni */
.bottone {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 28px;
  border-radius: 999px; background: var(--osso); color: var(--inchiostro); font: 400 16px var(--testo); letter-spacing: .02em;
  transition: transform .15s var(--morbido), background .2s, box-shadow .2s;
}
.bottone:hover { background: #FFFFFF; }
.bottone:active, .cnc-bottone:active { transform: scale(.97); }
.bottone.vuoto { background: transparent; color: var(--osso); box-shadow: inset 0 0 0 1.5px rgba(243, 240, 234, .45); }
.bottone.vuoto:hover { box-shadow: inset 0 0 0 1.5px var(--osso); }
.bottone.scuro { background: var(--inchiostro); color: var(--osso); }
.bottone.scuro:hover { background: var(--terra); box-shadow: none; }
.bottone.piccolo { height: 36px; padding: 0 18px; font-size: 14px; }

/* ------------------------------------------------------------ barra */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: 60px; padding-top: env(safe-area-inset-top); border-bottom: 1px solid transparent; transition: background .35s, border-color .35s; }
.nav.giu { background: rgba(23, 22, 20, .86); -webkit-backdrop-filter: saturate(150%) blur(20px); backdrop-filter: saturate(150%) blur(20px); border-bottom-color: var(--linea); }
.nav-dentro { height: 60px; width: min(var(--largo), 100% - 2 * var(--lato)); margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.marchio { display: inline-flex; align-items: center; gap: 11px; font: 400 21px/1 var(--titoli); letter-spacing: .06em; color: var(--osso); }
.marchio-sole { width: 34px; height: 13px; }
.marchio.grande { font-size: 26px; gap: 13px; }
.marchio.grande .marchio-sole { width: 42px; height: 16px; }
.nav-voci { display: flex; gap: 30px; margin-left: auto; font-size: 14.5px; color: var(--osso-2); }
.nav-voci a:hover { color: var(--osso); }

/* ------------------------------------------------------------ apertura: il sole che sorge */
.apertura {
  position: relative; min-height: max(100vh, 780px); min-height: max(100svh, 780px); overflow: hidden;
  background: linear-gradient(180deg, var(--inchiostro-fondo) 0%, var(--inchiostro) 55%, #241D19 100%);
}
.apertura-testo { position: relative; z-index: 2; width: min(var(--largo), 100% - 2 * var(--lato)); margin: 0 auto; padding-top: clamp(150px, 26vh, 260px); text-align: left; }
.apertura-testo > * { max-width: 560px; }
.apertura h1 { font: 400 clamp(58px, 7vw, 108px)/1 var(--titoli); letter-spacing: -.01em; color: var(--osso); }
.apertura .lead { max-width: 480px; margin: 28px 0 0; text-wrap: initial; }
.apertura .azioni { justify-content: flex-start; }
.azioni { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.anima .apertura-testo > * { opacity: 0; }

.orizzonte { --largo-sole: clamp(300px, 40vw, 600px); position: absolute; left: 0; right: 0; top: 0; bottom: 8vh; overflow: hidden; pointer-events: none; }
.orizzonte .linea { position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: linear-gradient(90deg, rgba(243, 240, 234, 0), rgba(243, 240, 234, .6) 18%, rgba(243, 240, 234, .6) 82%, rgba(243, 240, 234, 0)); transform: scaleX(.3); opacity: 0; transition: transform 1.6s var(--morbido), opacity 1s; }
.orizzonte .disco { position: absolute; left: var(--sole-x, 72%); bottom: 0; width: var(--largo-sole); height: calc(var(--largo-sole) / 2); margin-left: calc(var(--largo-sole) / -2); border-radius: 999px 999px 0 0; background: linear-gradient(180deg, #E8A287 0%, var(--sole) 45%, #C97559 100%); transform: translateY(100%); transition: transform 3.2s cubic-bezier(.2, .7, .1, 1) .4s; }
.orizzonte .bagliore { position: absolute; left: var(--sole-x, 72%); bottom: -60px; width: calc(var(--largo-sole) * 3.2); height: calc(var(--largo-sole) * 1.4); margin-left: calc(var(--largo-sole) * -1.6); border-radius: 50%; background: radial-gradient(closest-side, rgba(216, 138, 110, .26), rgba(216, 138, 110, 0)); opacity: 0; transition: opacity 3s ease 1s; }
.pronta .orizzonte .linea { transform: none; opacity: 1; }
.pronta .orizzonte .disco { transform: none; }
.pronta .orizzonte .bagliore { opacity: 1; }

/* ------------------------------------------------------------ frase */
.frase { padding: clamp(110px, 16vw, 220px) var(--lato); background: var(--inchiostro); }
.si-accende { max-width: 1060px; margin: 0 auto; text-align: center; text-wrap: balance; font: 400 clamp(29px, 4.4vw, 58px)/1.22 var(--titoli); }
.si-accende .p { color: rgba(243, 240, 234, .15); transition: color .5s ease; }
.si-accende .p.on { color: var(--osso); }
.si-accende .finale .p.on { color: var(--sole); }

/* ------------------------------------------------------------ le due app */
.coppia { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: clamp(90px, 12vw, 150px); }
.app-cnc, .app-raggio {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 440px; padding: 48px 44px 42px;
  border-radius: var(--angolo); overflow: hidden; transition: box-shadow .2s, background .2s;
}
.app-cnc { background: var(--nero-cnc); color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255, 128, 0, .25); }
.app-cnc:hover { box-shadow: inset 0 0 0 1px rgba(255, 128, 0, .6); }
.cnc-barretta { display: block; width: 46px; height: 7px; background: var(--arancio); }
.cnc-nome { margin-top: 22px; font: 700 26px/1 var(--cond); letter-spacing: .05em; }
.cnc-frase { margin-top: auto; font: 700 clamp(38px, 4vw, 56px)/.98 var(--cond); text-transform: uppercase; text-wrap: balance; }
.cnc-stato { margin-top: 18px; font: 400 16px var(--barlow); color: rgba(255, 255, 255, .62); }
.cnc-link { margin-top: 22px; display: inline-flex; align-items: center; gap: 4px; font: 700 18px var(--cond); letter-spacing: .06em; text-transform: uppercase; color: var(--arancio); }
.cnc-link svg, .raggio-link svg { width: 16px; height: 16px; transition: transform .25s; }
.app-cnc:hover .cnc-link svg, .app-raggio:hover .raggio-link svg { transform: translateX(3px); }

.app-raggio { --fondo-raggio: var(--osso); background: var(--osso); color: var(--inchiostro); }
.app-raggio:hover { box-shadow: 0 30px 80px -30px rgba(216, 138, 110, .5); }
.raggio-marchio { display: inline-flex; align-items: flex-end; gap: 12px; font: 400 34px/1 var(--titoli); letter-spacing: .02em; color: var(--inchiostro); }
.raggio-marchio svg { width: 62px; height: 36px; color: var(--inchiostro); }
.raggio-frase { margin-top: auto; font: 400 clamp(32px, 3.4vw, 46px)/1.08 var(--titoli); text-wrap: balance; }
.raggio-stato { margin-top: 18px; font-size: 16px; color: #6F685F; }
.raggio-link { margin-top: 22px; display: inline-flex; align-items: center; gap: 4px; color: var(--terra); }

/* ------------------------------------------------------------ CNC Help */
.cnc { position: relative; padding: clamp(100px, 13vw, 170px) 0; background: var(--nero-cnc); color: #FFFFFF; overflow: hidden; }
.cnc-testa { text-align: center; max-width: 1000px; margin: 0 auto; }
.cnc-testa .cnc-barretta { margin: 0 auto 28px; }
.cnc-occhiello { font: 600 16px var(--cond); letter-spacing: .16em; color: var(--arancio); margin-bottom: 18px; }
.cnc-titolo { font: 700 clamp(46px, 7.6vw, 108px)/.94 var(--cond); text-transform: uppercase; text-wrap: balance; }
.cnc-sotto { margin-top: 14px; font: 700 clamp(40px, 6vw, 86px)/.95 var(--cond); text-transform: uppercase; color: var(--arancio); text-wrap: balance; }
.cnc-lead { margin: 30px auto 0; max-width: 700px; font: 400 clamp(17px, 1.6vw, 20px)/1.55 var(--barlow); color: rgba(255, 255, 255, .7); text-wrap: balance; }

.telefoni { position: relative; display: flex; justify-content: center; gap: clamp(24px, 4vw, 56px); margin: clamp(60px, 8vw, 100px) auto 0; padding-bottom: 60px; }
.telefoni::before { display: none; }
.telefono {
  position: relative; width: min(330px, 44vw); aspect-ratio: 330 / 680; padding: 10px; border-radius: 52px; background: #1C1C1E; container-type: inline-size;
  box-shadow: 0 0 0 1.5px #3A3A3C, inset 0 0 0 1px #000, 0 50px 100px -30px rgba(0, 0, 0, .8);
}
.telefono.secondo { margin-top: 64px; }
.schermo { position: relative; height: 100%; border-radius: 42px; overflow: hidden; font-family: var(--barlow); }
.isola { position: absolute; top: 3.4cqi; left: 50%; width: 30cqi; height: 8.6cqi; margin-left: -15cqi; border-radius: 99px; background: #000; z-index: 2; }

.chat { background: #121212; padding: 17cqi 5cqi 0; display: flex; flex-direction: column; }
.t-testa { display: flex; gap: 4cqi; align-items: center; padding-bottom: 4cqi; border-bottom: 1px solid #262626; }
.t-indietro { font-size: 6cqi; color: #FFFFFF; }
.t-testa b { display: block; font: 700 6.4cqi/1 var(--cond); }
.t-testa small { display: block; margin-top: 1cqi; font-size: 3.6cqi; color: #9A9A9A; }
.t-domanda { align-self: flex-end; max-width: 84%; margin-top: 5cqi; padding: 3cqi 4cqi; background: var(--arancio); color: #000; font: 600 3.9cqi/1.3 var(--barlow); }
.t-risposta { margin-top: 4cqi; padding: 3.6cqi 4cqi; background: #1B1B1B; border-left: 1cqi solid var(--arancio); font-size: 3.9cqi; line-height: 1.38; color: #EDEDED; }
.t-risposta b { font-weight: 600; color: #FFFFFF; }
.t-risposta ol { margin: 2cqi 0 0; padding-left: 4.4cqi; list-style: decimal; }
.t-risposta li { margin-top: 1.2cqi; }
.t-fonti { margin-top: 3cqi; font: 700 3.4cqi var(--cond); letter-spacing: .12em; color: var(--arancio); }
.t-fonte { display: block; margin-top: 1.6cqi; padding: 1.4cqi 2.4cqi; border: 1px solid #3A3A3A; font-size: 3.2cqi; color: #CFCFCF; width: max-content; }
.t-esito { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 2cqi; padding: 4cqi 0 8cqi; font-size: 3.4cqi; color: #CFCFCF; }
.t-esito span { width: 100%; }
.t-esito i { font: 700 3.6cqi var(--cond); font-style: normal; letter-spacing: .06em; padding: 1.8cqi 3cqi; }
.t-esito .si { border: 1px solid #2E9E5B; color: #4CD07D; }
.t-esito .no { border: 1px solid #C2453B; color: #F06A5F; }

.casa { background: var(--arancio); color: #000; padding: 17cqi 6cqi 0; display: flex; flex-direction: column; }
.c-barretta { display: block; width: 13cqi; height: 2cqi; background: #000; }
.c-ditta { margin-top: 3.4cqi; font: 700 8.4cqi/1 var(--cond); }
.c-ciao { margin-top: 1.4cqi; font: 600 3.4cqi var(--cond); letter-spacing: .12em; }
.c-avviso { margin-top: 5cqi; padding: 3.2cqi 4cqi; background: #000; color: #FFFFFF; font-size: 3.7cqi; }
.c-tocca { margin-top: 5cqi; font-size: 3.9cqi; }
.c-mac { position: relative; margin-top: 3cqi; padding: 4cqi 4.4cqi; background: #000; color: #FFFFFF; border-left: 1.2cqi solid var(--arancio); }
.c-mac b { display: block; font: 700 5.6cqi/1 var(--cond); }
.c-mac small { display: block; margin-top: 1.4cqi; font-size: 3.6cqi; color: #BDBDBD; }
.c-mac i { position: absolute; right: 4cqi; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 6cqi; color: var(--arancio); }
.c-link { display: flex; justify-content: flex-end; gap: 5cqi; margin-top: 2cqi; font-size: 3.4cqi; text-decoration: underline; }
.c-esci { margin-top: auto; margin-bottom: 9cqi; padding: 3.4cqi; border: 2px solid #000; text-align: center; font: 700 4.4cqi var(--cond); letter-spacing: .08em; }

.cnc-griglia { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(70px, 9vw, 110px); }
.cnc-griglia article { padding: 30px 26px 32px; background: #161616; border-left: 4px solid var(--arancio); }
.cnc-griglia .n { font: 700 18px var(--cond); color: var(--arancio); letter-spacing: .06em; }
.cnc-griglia h3 { margin-top: 14px; font: 700 26px/1.02 var(--cond); }
.cnc-griglia p { margin-top: 12px; font: 400 16px/1.5 var(--barlow); color: rgba(255, 255, 255, .66); text-wrap: balance; }
.cnc-fondo { margin-top: clamp(60px, 7vw, 90px); display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.cnc-fondo p { font: 400 17px/1.55 var(--barlow); color: rgba(255, 255, 255, .7); text-wrap: balance; }
.cnc-bottone {
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 30px; background: var(--arancio); color: #000;
  font: 700 21px var(--cond); letter-spacing: .07em; transition: background .25s, transform .25s var(--morbido);
}
.cnc-bottone svg { width: 18px; height: 18px; }
.cnc-bottone:hover { background: #FF9426; transform: translateY(-1px); }

/* ------------------------------------------------------------ Raggio */
.raggio { --fondo-raggio: var(--osso); padding: clamp(100px, 13vw, 170px) 0; background: var(--osso); color: var(--inchiostro); color-scheme: light; }
.testa { text-align: center; max-width: 920px; margin: 0 auto; }
.raggio .titolo { color: var(--inchiostro); }
.raggio .lead { margin-top: 26px; color: rgba(29, 28, 26, .68); }
.raggio .occhiello { color: var(--terra); }
.raggio-marchio.grande { font-size: 54px; gap: 18px; margin-bottom: 40px; }
.raggio-marchio.grande svg { width: 104px; height: 61px; }

.mappa { max-width: 860px; margin: clamp(50px, 6vw, 80px) auto 0; }
.mappa svg { width: 100%; height: auto; overflow: visible; }
.m-cerchio { fill: #FBF9F5; stroke: var(--terra); stroke-width: 1.6; stroke-dasharray: 6 5; transform-box: fill-box; transform-origin: center; transform: scale(.4); opacity: 0; transition: transform 1.4s var(--morbido), opacity .8s; }
.m-raggio { stroke: var(--inchiostro); stroke-width: 1.2; stroke-dasharray: 128; stroke-dashoffset: 128; transition: stroke-dashoffset 1s var(--morbido) .9s; }
.m-km { font: 400 15px var(--testo); fill: var(--inchiostro); opacity: 0; transition: opacity .6s 1.6s; }
.m-grigi circle { fill: #FFFFFF; stroke: var(--fumo); stroke-width: 1.6; }
.m-fuori circle { fill: #CFC7BA; }
.m-scelte circle { fill: var(--terra); transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s var(--morbido) calc(1.3s + var(--i) * .1s); }
.m-tu { fill: var(--inchiostro); }
.m-etich { font: 400 15px var(--testo); fill: var(--inchiostro); }
.mappa.vista .m-cerchio { transform: none; opacity: 1; }
.mappa.vista .m-raggio { stroke-dashoffset: 0; }
.mappa.vista .m-km { opacity: 1; }
.mappa.vista .m-scelte circle { transform: none; }
.mappa figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 26px; font-size: 15px; color: rgba(29, 28, 26, .72); }
.mappa figcaption span { display: inline-flex; align-items: center; gap: 9px; }
.mappa figcaption i { width: 12px; height: 12px; border-radius: 50%; }
.l-scelte { background: var(--terra); }
.l-grigi { background: #FFFFFF; box-shadow: inset 0 0 0 1.6px var(--fumo); }
.l-fuori { background: #CFC7BA; }

.due { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(60px, 8vw, 100px); }
.due > div { padding: 44px 40px; border-radius: var(--angolo); background: #FFFFFF; }
.due .occhiello { margin-bottom: 16px; }
.due h3 { font: 400 clamp(26px, 2.6vw, 34px)/1.12 var(--titoli); color: var(--inchiostro); text-wrap: balance; }
.due p:last-child { margin-top: 14px; color: rgba(29, 28, 26, .68); text-wrap: balance; }
.raggio-fondo { margin-top: clamp(50px, 6vw, 80px); display: flex; flex-direction: column; align-items: center; gap: 22px; }
.stato { font: 400 24px var(--titoli); color: var(--inchiostro); }

/* ------------------------------------------------------------ metodo */
.metodo { padding: clamp(100px, 13vw, 170px) 0; background: var(--inchiostro); }
.percorso { position: relative; margin-top: clamp(56px, 7vw, 90px); }
.binario { position: relative; height: 2px; background: var(--linea); margin-bottom: 46px; }
.binario::after { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: calc(var(--t, 0) * 100%); background: var(--sole); }
.sole-mobile { position: absolute; bottom: 1px; left: calc(var(--t, 0) * 100%); width: 34px; height: 17px; margin-left: -17px; border-radius: 34px 34px 0 0; background: var(--sole); }
.passi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.passi li { opacity: .3; transition: opacity .6s ease; }
.passi li.on { opacity: 1; }
.passo-n { display: block; font: 400 64px/1 var(--titoli); color: var(--sole); }
.passo-o { margin-top: 20px; font: 500 14px var(--testo); color: var(--fumo); }
.passi h3 { margin-top: 12px; font: 400 25px/1.18 var(--titoli); color: var(--osso); text-wrap: balance; }
.passi h3 + p { margin-top: 14px; font-size: 16px; color: var(--osso-2); text-wrap: balance; }

/* ------------------------------------------------------------ contatti */
.contatti { position: relative; padding: clamp(110px, 14vw, 180px) 0; background: var(--inchiostro-fondo); overflow: hidden; text-align: center; }
.contatti::before { display: none; }
.contatti-dentro { position: relative; z-index: 2; max-width: 900px; }
.contatti-sole { width: 72px; height: 27px; margin: 0 auto 34px; }
.contatti .lead { margin-top: 24px; }
.mail-grande {
  display: inline-block; margin-top: 40px; font: 400 clamp(28px, 3.6vw, 48px) var(--titoli); color: var(--osso);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--morbido), color .3s;
}
.mail-grande:hover { color: var(--sole); background-size: 100% 1px; }

/* ------------------------------------------------------------ in arrivo e «resta informato» */
.cnc-arrivo { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 24px; margin-top: 30px; }
.cnc-badge { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 2px solid var(--arancio); font: 700 17px var(--cond); letter-spacing: .08em; color: var(--arancio); }
.cnc-informati { display: inline-flex; align-items: center; gap: 4px; font: 700 18px var(--cond); letter-spacing: .07em; color: #FFFFFF; }
.cnc-informati svg { width: 16px; height: 16px; color: var(--arancio); transition: transform .25s; }
.cnc-informati:hover svg { transform: translateX(3px); }
.cnc-tasti { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cnc-bottone.vuoto { background: transparent; color: #FFFFFF; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .4); }
.cnc-bottone.vuoto:hover { background: transparent; box-shadow: inset 0 0 0 2px #FFFFFF; }

.informato { padding: clamp(100px, 13vw, 170px) 0 clamp(70px, 9vw, 110px); background: var(--inchiostro); text-align: center; }
.informato-dentro { max-width: 900px; }
.informato .lead { margin-top: 22px; }
.modulo { position: relative; max-width: 640px; margin: 44px auto 0; padding: clamp(28px, 4vw, 44px); border-radius: var(--angolo); background: var(--pannello); box-shadow: inset 0 0 0 1px var(--linea); text-align: left; scroll-margin-top: 90px; }
.nascosto { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.scelte { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.scelte legend { width: 100%; margin-bottom: 8px; font: 500 15px var(--testo); color: var(--sole); }
.scelta { position: relative; cursor: pointer; }
.scelta input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.scelta span { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 18px 0 14px; border-radius: 999px; font-size: 15.5px; font-weight: 400; color: var(--osso-2); box-shadow: inset 0 0 0 1.5px rgba(243, 240, 234, .2); transition: color .2s, box-shadow .2s, background .2s; }
.scelta span::before { content: ''; width: 14px; height: 7px; border-radius: 14px 14px 0 0; background: #4A4640; transition: background .2s; }
.scelta input:checked + span { color: var(--osso); background: rgba(216, 138, 110, .12); box-shadow: inset 0 0 0 1.5px rgba(216, 138, 110, .7); }
.scelta input:checked + span::before { background: var(--sole); }
.scelta input:focus-visible + span { outline: 2px solid var(--sole); outline-offset: 3px; }
.campi { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.campo { display: flex; flex-direction: column; gap: 7px; }
.campo.intero { grid-column: 1 / -1; }
.campo span { font-size: 14.5px; font-weight: 400; color: var(--osso-2); }
.campo input { height: 52px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--inchiostro-fondo); color: var(--osso); font: 400 17px var(--testo); box-shadow: inset 0 0 0 1px rgba(243, 240, 234, .14); transition: box-shadow .2s; -webkit-appearance: none; appearance: none; }
.campo input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--sole); }
.campo input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #E0806B; }
.consenso { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; font-size: 15px; line-height: 1.5; color: var(--osso-2); cursor: pointer; }
.consenso input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 6px; -webkit-appearance: none; appearance: none; box-shadow: inset 0 0 0 1.5px rgba(243, 240, 234, .35); background: var(--inchiostro-fondo); cursor: pointer; display: grid; place-items: center; }
.consenso input:checked { background: var(--sole); box-shadow: none; }
.consenso input:checked::after { content: ''; width: 6px; height: 11px; margin-top: -2px; border: solid var(--inchiostro); border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }
.consenso input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #E0806B; }
.consenso a { color: var(--sole); text-decoration: underline; text-underline-offset: 3px; }
.errore { min-height: 22px; margin-top: 14px; font-size: 14.5px; color: #F0A28F; }
.errore:empty { min-height: 0; margin-top: 0; }
.invia { margin-top: 20px; border: 0; cursor: pointer; }
.invia[disabled] { opacity: .6; cursor: progress; }
.grazie { display: none; text-align: center; padding: 26px 0 10px; }
.grazie-sole { width: 72px; height: 27px; margin: 0 auto 22px; }
.grazie-titolo { font: 400 34px var(--titoli); color: var(--osso); }
.grazie p:last-child { margin-top: 8px; color: var(--osso-2); }
.modulo.inviato .modulo-dentro { display: none; }
.modulo.inviato .grazie { display: block; }

/* ------------------------------------------------------------ pagina privacy */
.legale { max-width: 760px; margin: 0 auto; padding: 130px var(--lato) 100px; }
.legale h1 { font: 400 clamp(36px, 5vw, 54px)/1.1 var(--titoli); color: var(--osso); }
.legale .data { margin-top: 12px; color: var(--osso-3); font-size: 14px; }
.legale h2 { margin-top: 40px; font: 400 22px var(--titoli); color: var(--osso); }
.legale p { margin-top: 12px; color: var(--osso-2); line-height: 1.7; }
.legale a { color: var(--sole); text-decoration: underline; text-underline-offset: 3px; }
.torna { display: inline-flex; margin-top: 44px; }

/* ------------------------------------------------------------ piede */
.piede { background: var(--inchiostro-fondo); border-top: 1px solid var(--linea); padding: 56px 0 calc(40px + env(safe-area-inset-bottom)); }
.piede-griglia { display: flex; justify-content: space-between; gap: 40px; align-items: flex-start; }
.motto { margin-top: 14px; font: 400 20px var(--titoli); color: var(--osso-2); }
.piede-voci { display: grid; grid-template-columns: auto auto; gap: 12px 40px; font-size: 15px; color: var(--osso-2); }
.piede-voci a { display: inline-flex; align-items: center; gap: 4px; }
.piede-voci a:hover { color: var(--osso); }
.piede-voci svg { width: 14px; height: 14px; }
.piede-fondo { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--linea); font-size: 13px; color: var(--osso-3); }

/* ------------------------------------------------------------ comparse */
/* le comparse le fa Anime.js (sito.js): qui solo lo stato di partenza; senza Anime.js si vede tutto */
.anima .rivela { opacity: 0; }

/* ------------------------------------------------------------ tablet */
@media (max-width: 960px) {
  .nav-voci { display: none; }
  .nav-dentro { justify-content: space-between; }
  .cnc-griglia { grid-template-columns: 1fr 1fr; }
  .passi { grid-template-columns: 1fr 1fr; gap: 48px 32px; }
}

/* ------------------------------------------------------------ telefono */
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav, .nav-dentro { height: 54px; }
  .marchio { font-size: 19px; }
  .apertura { min-height: max(100svh, 640px); }
  .apertura-testo { padding-top: 120px; }
  .apertura h1 { font-size: clamp(54px, 16vw, 72px); }
  .orizzonte { --sole-x: 50%; --largo-sole: 300px; }
  .apertura { min-height: max(100svh, 640px); }
  .apertura .lead { text-wrap: balance; }
  .apertura h1 .nw { display: block; }
  .orizzonte { bottom: 8vh; }
  .titolo { font-size: 33px; }
  .coppia { grid-template-columns: 1fr; gap: 14px; }
  .app-cnc, .app-raggio { min-height: 360px; padding: 38px 28px 34px; }
  .cnc-titolo { font-size: 46px; }
  .cnc-sotto { font-size: 40px; }
  .telefoni { gap: 12px; padding-bottom: 30px; }
  .telefono { width: calc(50% - 6px); padding: 6px; border-radius: 30px; }
  .schermo { border-radius: 25px; }
  .telefono.secondo { margin-top: 40px; }
  .cnc-griglia { grid-template-columns: 1fr; gap: 12px; }
  .cnc-griglia article { padding: 24px 22px; }
  .raggio-marchio.grande { font-size: 44px; }
  .raggio-marchio.grande svg { width: 84px; height: 49px; }
  .mappa figcaption { flex-direction: column; align-items: flex-start; width: max-content; max-width: 100%; margin-inline: auto; }
  .m-km, .m-etich { font-size: 22px; }
  .due { grid-template-columns: 1fr; gap: 14px; }
  .due > div { padding: 34px 26px; }
  .binario { display: none; }
  .passi { grid-template-columns: 1fr; gap: 52px; }
  .passi li { opacity: 1; }
  .passo-n { font-size: 52px; }
  .campi { grid-template-columns: 1fr; }
  .cnc-tasti .cnc-bottone { width: 100%; justify-content: center; }
  .piede-griglia { flex-direction: column; }
  .piede-voci { grid-template-columns: 1fr; }
  .piede-fondo { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anima .rivela, .anima .apertura-testo > * { opacity: 1; }
  .orizzonte .disco, .orizzonte .linea, .orizzonte .bagliore, .m-cerchio, .m-scelte circle { transform: none; opacity: 1; transition: none; }
  .m-raggio { stroke-dashoffset: 0; transition: none; }
  .m-km { opacity: 1; transition: none; }
  .si-accende .p { color: var(--osso); transition: none; }
  .si-accende .finale .p { color: var(--sole); }
  .passi li { opacity: 1; }
}
