@charset "UTF-8";
/* =====================================================================
   Geraci & Vargas — foglio di stile
   ---------------------------------------------------------------------
   Direzione: il linguaggio della tavola di perizia. Griglia di quota,
   codici di scheda, traiettorie vettoriali. Il rosso segnaletico marca
   solo i punti critici — è l'unico colore che non viene dal logo, e
   compare dove un rilievo metterebbe una croce di riferimento.

   Palette derivata dal logo: ardesia #4F6078 e nero #0D1117.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Token
   --------------------------------------------------------------------- */
:root {
    /* Colore — scala ardesia dal logo */
    --ink:          #0D1117;
    --ink-soft:     #1A2028;
    --slate-900:    #2B3545;
    --slate-700:    #3D4A5E;
    --slate:        #4F6078;   /* colore identitario del logo */
    --slate-400:    #8492A8;
    --slate-200:    #B9C2D0;
    --line:         #DCE1E9;
    --line-soft:    #E9ECF1;
    --paper:        #F7F8FA;
    --paper-warm:   #FDFDFE;
    --white:        #FFFFFF;

    /* Marcatore di rilievo — usato solo sui punti di riferimento */
    --mark:         #C0453B;
    --mark-soft:    rgba(192, 69, 59, 0.10);

    /* Verde WhatsApp: identità del canale, non del brand */
    --whatsapp:     #1FA855;

    /* Tipografia */
    --font-display: "Bodoni Moda", "Didot", Georgia, serif;
    --font-body:    "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

    /* Scala tipografica — fluida, ancorata a 16px minimi sul corpo */
    --t-display: clamp(2.4rem, 1.7rem + 3.1vw, 4.3rem);
    --t-h1:      clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem);
    --t-h2:      clamp(1.75rem, 1.35rem + 1.7vw, 2.7rem);
    --t-h3:      clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
    --t-lead:    clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
    --t-body:    1rem;
    --t-small:   0.9375rem;
    --t-label:   0.75rem;

    /* Spazio */
    --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;
    --sp-4: 1rem;     --sp-5: 1.5rem;   --sp-6: 2rem;
    --sp-7: 3rem;     --sp-8: 4rem;     --sp-9: 6rem;
    --sp-10: 8rem;

    /* Struttura */
    --wrap:       76rem;
    --wrap-text:  44rem;
    --gutter:     clamp(1.25rem, 4vw, 3rem);
    --rail:       clamp(0rem, 6vw, 5.5rem);  /* colonna di quota a sinistra */
    --header-h:   clamp(92px, 11vw, 148px);

    --radius:     2px;   /* la tavola tecnica non ha angoli morbidi */
    --radius-lg:  3px;

    --ease:       cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
    --dur:        420ms;

    --shadow-sm:  0 1px 2px rgba(13, 17, 23, 0.05);
    --shadow:     0 8px 30px -12px rgba(43, 53, 69, 0.22);
    --shadow-lg:  0 24px 60px -24px rgba(43, 53, 69, 0.35);
}

/* ---------------------------------------------------------------------
   2. Reset e base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);

    /* Rete di sicurezza contro lo scorrimento laterale, ma con «clip» e
       non «hidden», e la differenza non è cosmetica: hidden trasforma
       l'elemento in un contenitore di scorrimento, e un'intestazione
       position:sticky agganciata a quel contenitore scorre via con la
       pagina invece di restare in alto. clip taglia allo stesso modo
       senza creare il contenitore.
       I browser che non conoscono clip tengono hidden dalla riga sopra:
       niente scorrimento laterale, intestazione non fissa — come prima. */
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    font-size: var(--t-body);
    line-height: 1.65;
    color: var(--slate-900);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

button { background: none; border: none; cursor: pointer; }

ul, ol { list-style: none; }

/* I componenti con display esplicito vincerebbero sull'attributo hidden */
[hidden] { display: none !important; }

::selection { background: var(--slate); color: var(--white); }

:focus-visible {
    outline: 2px solid var(--mark);
    outline-offset: 3px;
    border-radius: var(--radius);
}

/* Salto al contenuto per chi naviga da tastiera */
.skip-link {
    position: absolute;
    top: -100px; left: var(--sp-4);
    z-index: 200;
    padding: var(--sp-3) var(--sp-5);
    background: var(--ink); color: var(--white);
    font-size: var(--t-small); font-weight: 600;
    transition: top 180ms var(--ease);
}
.skip-link:focus { top: var(--sp-4); }

/* ---------------------------------------------------------------------
   3. Tipografia
   --------------------------------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.015em;
    color: var(--ink);
    text-wrap: balance;
}

h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.2; }

p { text-wrap: pretty; }
p + p { margin-top: var(--sp-4); }

strong { font-weight: 600; color: var(--ink); }

.lead {
    font-size: var(--t-lead);
    line-height: 1.6;
    color: var(--slate-700);
}

/* Etichetta tecnica: il registro monospaziato delle tavole di rilievo */
.label {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-family: var(--font-mono);
    font-size: var(--t-label);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--slate);
}
.label::before {
    content: "";
    width: 1.75rem; height: 1px;
    background: currentColor;
    opacity: 0.55;
}
.label--bare::before { display: none; }

/* Codice di scheda (A1, B5…): dato reale, non ornamento */
.code {
    font-family: var(--font-mono);
    font-size: var(--t-label);
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--mark);
}

.link-inline {
    color: var(--slate);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
    text-decoration-color: var(--slate-200);
    transition: color 180ms var(--ease), text-decoration-color 180ms var(--ease);
}
.link-inline:hover { color: var(--mark); text-decoration-color: var(--mark); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-weight: 600;
    font-size: var(--t-small);
    color: var(--ink);
}
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform 260ms var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------------------------------------------------------------------
   4. Impianto
   --------------------------------------------------------------------- */
.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.wrap--text { max-width: calc(var(--wrap-text) + var(--gutter) * 2); }

.section { padding-block: clamp(var(--sp-8), 9vw, var(--sp-10)); }
.section--tight { padding-block: clamp(var(--sp-7), 6vw, var(--sp-8)); }
.section--paper { background: var(--paper-warm); }
.section--ink { background: var(--ink); color: var(--slate-200); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink .label { color: var(--slate-400); }
.section--ink .section-head__note { color: var(--slate-200); }

/* Testata di sezione con la colonna di quota a sinistra */
.section-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-4);
    margin-bottom: clamp(var(--sp-6), 5vw, var(--sp-8));
}
.section-head__title { max-width: 24ch; }
.section-head__note {
    max-width: 46ch;
    color: var(--slate-700);
    font-size: var(--t-lead);
}

@media (min-width: 62rem) {
    .section-head {
        grid-template-columns: var(--rail) minmax(0, 1fr) minmax(0, 22rem);
        align-items: end;
        gap: var(--sp-6);
    }
    .section-head__rail { padding-bottom: 0.4rem; }
}

/* Linea di quota che scorre lungo il bordo della pagina */
.rule {
    height: 1px;
    background: var(--line);
    border: 0;
}

/* ---------------------------------------------------------------------
   5. Pulsanti
   --------------------------------------------------------------------- */
.btn {
    --btn-bg: var(--ink);
    --btn-fg: var(--white);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    min-height: 3rem;
    padding: 0.85rem 1.6rem;
    background: var(--btn-bg);
    color: var(--btn-fg);
    border: 1px solid var(--btn-bg);
    border-radius: var(--radius);
    font-size: var(--t-small);
    font-weight: 600;
    letter-spacing: 0.01em;
    text-align: center;
    overflow: hidden;
    transition: transform 200ms var(--ease), box-shadow 260ms var(--ease),
                background-color 200ms var(--ease), color 200ms var(--ease),
                border-color 200ms var(--ease);
}
.btn .icon { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

/* Il riempimento che sale al passaggio del mouse richiama il tratto di una matita tecnica */
.btn::after {
    content: "";
    position: absolute; inset: 0;
    background: var(--slate);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 320ms var(--ease-out);
    z-index: 0;
}
.btn:hover::after { transform: scaleY(1); }
.btn > * { position: relative; z-index: 1; }

.btn--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--ink);
    border-color: var(--slate-200);
}
.btn--ghost::after { background: var(--ink); }
.btn--ghost:hover { --btn-fg: var(--white); border-color: var(--ink); }

.btn--light {
    --btn-bg: var(--white);
    --btn-fg: var(--ink);
}
.btn--light::after { background: var(--slate-200); }
.btn--light:hover { --btn-fg: var(--ink); }

.btn--wa { --btn-bg: var(--whatsapp); --btn-fg: var(--white); }
.btn--wa::after { background: #16853F; }

.btn--block { width: 100%; }

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
}

/* ---------------------------------------------------------------------
   6. Intestazione
   --------------------------------------------------------------------- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(247, 248, 250, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 280ms var(--ease), background-color 280ms var(--ease),
                box-shadow 280ms var(--ease);
}
.header.is-stuck {
    border-bottom-color: var(--line);
    box-shadow: 0 1px 20px -8px rgba(43, 53, 69, 0.18);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-5);
    min-height: var(--header-h);
}

.brand { display: flex; align-items: center; flex: none; }
.brand img {
    height: clamp(64px, 10vw, 120px);
    width: auto;
    transition: opacity 200ms var(--ease);
}
.brand:hover img { opacity: 0.78; }

.nav { display: none; }

@media (min-width: 62rem) {
    .nav {
        display: flex;
        align-items: center;
        gap: clamp(var(--sp-4), 2vw, var(--sp-6));
    }
}

.nav__link {
    position: relative;
    padding-block: var(--sp-2);
    font-size: var(--t-small);
    font-weight: 500;
    color: var(--slate-700);
    transition: color 200ms var(--ease);
}
.nav__link::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 1.5px;
    background: var(--mark);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 300ms var(--ease-out);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active { color: var(--ink); font-weight: 600; }

/* Menu a tendina dei servizi */
.nav__group { position: relative; }
.nav__toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
}
.nav__toggle .icon { width: 0.9em; height: 0.9em; transition: transform 260ms var(--ease); }
.nav__group.is-open .nav__toggle .icon { transform: rotate(180deg); }

.nav__panel {
    position: absolute;
    top: calc(100% + 0.9rem);
    left: 50%;
    width: min(30rem, 80vw);
    padding: var(--sp-3);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -8px);
    transition: opacity 240ms var(--ease), transform 240ms var(--ease-out),
                visibility 0s linear 240ms;
}
.nav__group.is-open .nav__panel {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition-delay: 0s;
}
.nav__panel-item {
    display: grid;
    grid-template-columns: 2.25rem 1fr;
    align-items: baseline;
    gap: var(--sp-2);
    padding: var(--sp-3);
    border-radius: var(--radius);
    font-size: var(--t-small);
    transition: background-color 180ms var(--ease);
}
.nav__panel-item:hover { background: var(--paper); }
.nav__panel-item strong { display: block; font-weight: 600; }

.header__cta { display: none; }
@media (min-width: 48rem) { .header__cta { display: inline-flex; } }

/* Apertura menu su mobile */
.burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    color: var(--ink);
}
.burger .icon { width: 26px; height: 26px; }
@media (min-width: 62rem) { .burger { display: none; } }

.drawer {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: flex;
    flex-direction: column;
    padding: var(--sp-5) var(--gutter) var(--sp-8);
    background: var(--paper);
    transform: translateY(-100%);
    visibility: hidden;
    overflow-y: auto;
    transition: transform 460ms var(--ease-out), visibility 0s linear 460ms;
}
.drawer.is-open { transform: translateY(0); visibility: visible; transition-delay: 0s; }

.drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    margin-bottom: var(--sp-5);
}
.drawer__list { display: flex; flex-direction: column; }
.drawer__list a {
    display: flex;
    align-items: baseline;
    gap: var(--sp-3);
    padding-block: var(--sp-4);
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--ink);
}
.drawer__list .code { font-size: 0.7rem; }
.drawer__actions { margin-top: var(--sp-6); display: grid; gap: var(--sp-3); }

/* ---------------------------------------------------------------------
   7. Hero — la tavola di rilievo
   --------------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

/* Reticolo millimetrato di fondo: sfuma verso il basso per non competere col testo */
.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
        linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
    background-size: 3.5rem 3.5rem;
    mask-image: radial-gradient(ellipse 110% 85% at 72% 35%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 110% 85% at 72% 35%, #000 20%, transparent 75%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    display: grid;
    gap: clamp(var(--sp-6), 5vw, var(--sp-8));
    padding-block: clamp(var(--sp-8), 11vw, calc(var(--sp-10) + 2rem));
}
/* Senza questo, la larghezza intrinseca dell'SVG (560px) diventa la
   larghezza minima della colonna e sfonda il viewport su mobile. */
.hero__inner > * { min-width: 0; }
@media (min-width: 62rem) {
    .hero__inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        align-items: center;
        gap: var(--sp-8);
    }
}

.hero__title {
    font-size: var(--t-display);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.025em;
    margin-block: var(--sp-5) var(--sp-5);
}
.hero__title strong { font-weight: 500; }

.hero__text { max-width: 40ch; font-size: var(--t-lead); color: var(--slate-700); }

.hero__actions { margin-top: var(--sp-6); }

/* Riga di condizioni sotto le CTA: sostituisce i numeri che non possiamo dichiarare */
.hero__terms {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3) var(--sp-5);
    margin-top: var(--sp-6);
    padding-top: var(--sp-5);
    border-top: 1px solid var(--line);
}
.hero__term {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-family: var(--font-mono);
    font-size: var(--t-label);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate);
}
.hero__term .icon { width: 1rem; height: 1rem; color: var(--mark); }

/* ---------------------------------------------------------------------
   Testata con la fotografia a tutta pagina
   ---------------------------------------------------------------------
   La fotografia riempie la sezione e il testo le sta sopra. Perché
   funzioni servono tre cose insieme, e la terza è quella che si
   dimentica:

    · l'immagine ritagliata al centro-basso, così l'orizzonte resta
      visibile a ogni proporzione di schermo;
    · un velo scuro più denso in basso a sinistra, dove sta il testo, e
      quasi trasparente in alto a destra, dove sta il cielo;
    · un colore di fondo scuro sotto tutto. Nel mezzo secondo prima che
      l'immagine arrivi, il testo bianco è già in pagina: senza quel
      fondo resterebbe illeggibile su bianco.
   --------------------------------------------------------------------- */
.hero--pieno {
    background: var(--ink);
    border-bottom: 0;
    display: grid;
    align-items: end;
    /* Il pavimento, non il tetto: se il testo è più alto la sezione
       cresce. svh e non vh, perché su iPhone vh conta anche la barra
       degli indirizzi che poi scompare, e la testata resterebbe tagliata. */
    min-height: min(46rem, 88svh);
}

.hero__sfondo {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
/* La figura qui non è un francobollo con la sua cornice: è il fondo. */
.hero__sfondo .figura {
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: none;
}
.hero__sfondo .figura::after { display: none; }
.hero__sfondo .figura img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 58%;
}
.hero__sfondo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top,
            rgba(13, 17, 23, 0.94) 0%,
            rgba(13, 17, 23, 0.78) 30%,
            rgba(13, 17, 23, 0.34) 62%,
            rgba(13, 17, 23, 0.14) 100%),
        linear-gradient(to right,
            rgba(13, 17, 23, 0.66) 0%,
            rgba(13, 17, 23, 0.40) 45%,
            rgba(13, 17, 23, 0.10) 78%,
            transparent 100%);
}

.hero--pieno .hero__inner { padding-block: clamp(var(--sp-8), 9vw, var(--sp-10)); }
@media (min-width: 62rem) {
    /* Una colonna sola: il testo non divide più lo spazio con l'immagine,
       ma non per questo deve attraversare tutto lo schermo. */
    .hero--pieno .hero__inner { grid-template-columns: minmax(0, 1fr); }
    .hero--pieno .hero__testo { max-width: 46rem; }
}

.hero--pieno .label { color: rgba(255, 255, 255, 0.72); }
.hero--pieno .hero__title {
    color: var(--white);
    /* Non è un effetto: il titolo è lungo e arriva dove il cielo si
       schiarisce. L'ombra larga e leggera tiene il contrasto anche là,
       e non si vede come ombra. */
    text-shadow: 0 1px 30px rgba(13, 17, 23, 0.45);
}
.hero--pieno .hero__text {
    color: rgba(255, 255, 255, 0.86);
    max-width: 44ch;
}
.hero--pieno .hero__terms { border-top-color: rgba(255, 255, 255, 0.22); }
.hero--pieno .hero__term { color: rgba(255, 255, 255, 0.82); }
.hero--pieno .hero__term .icon { color: var(--white); }

/* I pulsanti lavorano già a variabili, e sul fondo scuro vanno rovesciati
   entrambi: quello pieno era ardesia su chiaro e qui sarebbe scuro su
   scuro — cioè il pulsante principale della home, invisibile. */
/* Solo il pulsante pieno: i modificatori — vuoto, WhatsApp, chiaro —
   hanno già i loro colori, e rovesciarli qui li cancellerebbe. */
.hero--pieno .btn:not(.btn--ghost):not(.btn--wa):not(.btn--light) {
    --btn-bg: var(--white);
    --btn-fg: var(--ink);
}
.hero--pieno .btn:not(.btn--ghost):not(.btn--wa):not(.btn--light)::after {
    background: var(--paper);
}
.hero--pieno .btn:not(.btn--ghost):not(.btn--wa):not(.btn--light):hover {
    --btn-fg: var(--ink);
}

.hero--pieno .btn--ghost {
    --btn-fg: var(--white);
    border-color: rgba(255, 255, 255, 0.38);
}
.hero--pieno .btn--ghost:hover {
    --btn-fg: var(--ink);
    border-color: var(--white);
}
.hero--pieno .btn--ghost::after { background: var(--white); }

/* Il disegno: due traiettorie che convergono su un punto di rilievo */
.hero__figure { position: relative; min-width: 0; }
.hero__figure svg { width: 100%; height: auto; }

.trace { stroke: var(--slate); stroke-width: 1.25; fill: none; }
.trace--ghost { stroke: var(--slate-200); stroke-dasharray: 4 5; stroke-width: 1; }
.trace--mark { stroke: var(--mark); stroke-width: 1.5; }
.grid-line { stroke: var(--line); stroke-width: 1; }
.node { fill: var(--white); stroke: var(--slate); stroke-width: 1.25; }
.node--impact { fill: var(--mark); stroke: none; }
.plate { fill: var(--white); stroke: var(--line); }
.dim-text {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.1em;
    fill: var(--slate-400);
    text-transform: uppercase;
}
.dim-text--mark { fill: var(--mark); }

/* ---------------------------------------------------------------------
   8. Elenco servizi — righe di registro, non riquadri
   --------------------------------------------------------------------- */
.services { border-top: 1px solid var(--line); }

.service-row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-2) var(--sp-5);
    padding-block: clamp(var(--sp-5), 3.5vw, var(--sp-6));
    border-bottom: 1px solid var(--line);
    transition: background-color 300ms var(--ease);
}
.service-row:hover { background: var(--paper-warm); }

/* Il tratto che si estende in hover cita la linea di quota di un disegno tecnico */
.service-row::before {
    content: "";
    position: absolute;
    left: 0; top: -1px;
    height: 1px; width: 0;
    background: var(--mark);
    transition: width 520ms var(--ease-out);
}
.service-row:hover::before { width: 100%; }

.service-row__code { display: flex; align-items: baseline; gap: var(--sp-3); }
.service-row__title {
    font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.9rem);
    transition: color 220ms var(--ease);
}
.service-row:hover .service-row__title { color: var(--slate); }
.service-row__text { color: var(--slate-700); max-width: 52ch; }
.service-row__go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem; height: 2.75rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    flex: none;
    transition: background-color 260ms var(--ease), color 260ms var(--ease),
                border-color 260ms var(--ease), transform 260ms var(--ease-out);
}
.service-row__go .icon { width: 1.1rem; height: 1.1rem; }
.service-row:hover .service-row__go {
    background: var(--ink); color: var(--white);
    border-color: var(--ink); transform: rotate(-45deg);
}

@media (min-width: 48rem) {
    .service-row {
        grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.1fr) 2.75rem;
        align-items: center;
        gap: var(--sp-5);
    }
    .service-row__code { justify-content: flex-start; }
}

/* Il link copre la riga senza intrappolare il resto del contenuto */
.service-row__link::after { content: ""; position: absolute; inset: 0; }

/* Griglia di schede, usata dove le righe sarebbero troppo dense */
.card-grid {
    display: grid;
    gap: var(--sp-4);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    padding: clamp(var(--sp-5), 3vw, var(--sp-6));
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease),
                border-color 320ms var(--ease);
}
.card:hover {
    transform: translateY(-4px);
    border-color: var(--slate-200);
    box-shadow: var(--shadow);
}
.card__icon {
    display: inline-flex;
    width: 2.75rem; height: 2.75rem;
    align-items: center; justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--slate);
    background: var(--paper);
}
.card__icon .icon { width: 1.4rem; height: 1.4rem; }
.card h3 { font-size: 1.2rem; }
.card p { font-size: var(--t-small); color: var(--slate-700); }
.card__link::after { content: ""; position: absolute; inset: 0; }

/* ---------------------------------------------------------------------
   9. Metodo — sequenza numerata (l'ordine qui è informazione)
   --------------------------------------------------------------------- */
.steps { display: grid; gap: 0; counter-reset: step; }

.step {
    position: relative;
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: var(--sp-4);
    padding-block: var(--sp-5);
    border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }

.step__num {
    font-family: var(--font-mono);
    font-size: var(--t-label);
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--mark);
    padding-top: 0.35rem;
}
.step h3 { font-size: 1.2rem; margin-bottom: var(--sp-2); }
.step p { color: var(--slate-700); font-size: var(--t-small); }

.section--ink .step { border-color: rgba(255, 255, 255, 0.12); }
.section--ink .step p { color: var(--slate-200); }
.section--ink .step__num { color: var(--white); }

@media (min-width: 62rem) {
    .steps--row {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--sp-5);
    }
    .steps--row .step {
        grid-template-columns: 1fr;
        border-top: 1px solid var(--line);
        border-bottom: 0;
        padding-top: var(--sp-4);
    }
    .steps--row .step:last-child { border-bottom: 0; }
    .section--ink .steps--row .step { border-color: rgba(255, 255, 255, 0.18); }
}

/* ---------------------------------------------------------------------
   10. Elenchi puntati
   --------------------------------------------------------------------- */
.ticks { display: grid; gap: var(--sp-3); }
.ticks li {
    display: grid;
    grid-template-columns: 1.4rem 1fr;
    gap: var(--sp-3);
    align-items: start;
    font-size: var(--t-small);
    color: var(--slate-700);
}
.ticks .icon { width: 1.05rem; height: 1.05rem; color: var(--mark); margin-top: 0.28rem; }

/* "A chi si rivolge": situazioni riconoscibili, con il segno di spunta di un verbale */
.cases { display: grid; gap: var(--sp-3); }
.cases li {
    padding: var(--sp-4) var(--sp-5);
    background: var(--paper);
    border-left: 2px solid var(--mark);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: var(--t-small);
    color: var(--slate-900);
}

/* ---------------------------------------------------------------------
   11. Domande frequenti
   --------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }

.faq__item { border-bottom: 1px solid var(--line); }

.faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    width: 100%;
    padding-block: var(--sp-5);
    text-align: left;
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 1rem + 0.35vw, 1.3rem);
    font-weight: 500;
    color: var(--ink);
    transition: color 200ms var(--ease);
}
.faq__q:hover { color: var(--slate); }
.faq__q .icon {
    flex: none;
    width: 1.25rem; height: 1.25rem;
    color: var(--slate);
    transition: transform 320ms var(--ease-out);
}
.faq__item.is-open .faq__q .icon { transform: rotate(180deg); color: var(--mark); }

.faq__a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 380ms var(--ease-out);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
    padding-bottom: var(--sp-5);
    max-width: 62ch;
    color: var(--slate-700);
    font-size: var(--t-small);
}

/* ---------------------------------------------------------------------
   12. Pagina servizio
   --------------------------------------------------------------------- */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-2);
    font-family: var(--font-mono);
    font-size: var(--t-label);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-400);
}
.breadcrumb a { color: var(--slate); }
.breadcrumb a:hover { color: var(--mark); }

.page-head {
    position: relative;
    padding-block: clamp(var(--sp-7), 7vw, var(--sp-9));
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}
.page-head__inner { display: grid; gap: var(--sp-5); }
@media (min-width: 62rem) {
    .page-head__inner {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        gap: var(--sp-8);
        align-items: end;
    }
}
.page-head h1 { margin-block: var(--sp-4) var(--sp-4); }

.service-layout { display: grid; gap: var(--sp-7); }
@media (min-width: 62rem) {
    .service-layout {
        grid-template-columns: minmax(0, 1fr) 19rem;
        gap: clamp(var(--sp-7), 5vw, var(--sp-9));
        align-items: start;
    }
}

.prose { max-width: 66ch; }
.prose p { margin-bottom: var(--sp-4); color: var(--slate-700); font-size: 1.0625rem; }
.prose p:last-child { margin-bottom: 0; }
.prose h2 { margin-block: var(--sp-7) var(--sp-4); }

.block { margin-top: clamp(var(--sp-6), 4vw, var(--sp-8)); }
.block__title {
    display: flex;
    align-items: baseline;
    gap: var(--sp-3);
    margin-bottom: var(--sp-5);
    font-size: 1.4rem;
}

/* Colonna laterale che resta a portata mentre si legge */
.aside { display: grid; gap: var(--sp-4); }
@media (min-width: 62rem) {
    .aside { position: sticky; top: calc(var(--header-h) + var(--sp-5)); }
}
.aside__box {
    padding: var(--sp-5);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.aside__box--ink { background: var(--ink); color: var(--slate-200); border-color: var(--ink); }
.aside__box--ink h3 { color: var(--white); }
.aside__box h3 { font-size: 1.15rem; margin-bottom: var(--sp-3); }
.aside__box p { font-size: var(--t-small); color: inherit; margin-bottom: var(--sp-4); }

.aside__links { display: grid; gap: var(--sp-1); }
.aside__links a {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-3) 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: var(--t-small);
    color: var(--slate-900);
    transition: color 200ms var(--ease), padding-left 240ms var(--ease-out);
}
.aside__links a:last-child { border-bottom: 0; }
.aside__links a:hover { color: var(--mark); padding-left: var(--sp-2); }
.aside__links .icon { width: 1rem; height: 1rem; color: var(--slate-400); flex: none; }

/* Barra di avanzamento della lettura */
.progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--mark);
    z-index: 120;
    will-change: transform;
}

/* ---------------------------------------------------------------------
   13. Modulo
   --------------------------------------------------------------------- */
.form { display: grid; gap: var(--sp-4); }

.field { display: grid; gap: var(--sp-2); }
.field label {
    font-family: var(--font-mono);
    font-size: var(--t-label);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate);
}
.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 0.95rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: 1rem;   /* 16px: evita lo zoom automatico su iOS */
    color: var(--ink);
    transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.field textarea { min-height: 7rem; resize: vertical; line-height: 1.6; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--slate);
    box-shadow: 0 0 0 3px rgba(79, 96, 120, 0.12);
}
.field--error input,
.field--error select,
.field--error textarea { border-color: var(--mark); }

.field__error {
    font-size: var(--t-small);
    color: var(--mark);
}
.field__hint { font-size: var(--t-small); color: var(--slate-400); }

/* start: senza questo i campi si stirano all'altezza della cella vicina */
.form__row { display: grid; gap: var(--sp-4); align-items: start; }
@media (min-width: 34rem) { .form__row--2 { grid-template-columns: 1fr 1fr; } }

/* Il consenso è testo da leggere, non un'etichetta tecnica:
   eredita il corpo del testo, non il registro monospaziato delle label. */
.consent {
    display: grid;
    grid-template-columns: 1.35rem 1fr;
    gap: var(--sp-3);
    align-items: start;
    font-family: var(--font-body);
    font-size: var(--t-small);
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    color: var(--slate-700);
    line-height: 1.55;
}
.consent input[type="checkbox"] {
    width: 1.15rem; height: 1.15rem;
    min-height: 0;
    margin-top: 0.2rem;
    accent-color: var(--slate);
    padding: 0;
}
.consent a { text-decoration: underline; text-underline-offset: 0.15em; }

/* Campo esca contro i bot: fuori dal flusso e fuori dal focus */
.trap {
    position: absolute;
    left: -9999px;
    width: 1px; height: 1px;
    overflow: hidden;
}

.alert {
    display: grid;
    gap: var(--sp-2);
    padding: var(--sp-5);
    border-radius: var(--radius-lg);
    font-size: var(--t-small);
}
.alert--ok {
    background: rgba(31, 168, 85, 0.08);
    border: 1px solid rgba(31, 168, 85, 0.35);
    color: #14532d;
}
.alert--error {
    background: var(--mark-soft);
    border: 1px solid rgba(192, 69, 59, 0.35);
    color: #7f1d1d;
}
.alert strong { display: block; font-size: 1rem; }

/* ---------------------------------------------------------------------
   14. Contatti
   --------------------------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(var(--sp-6), 5vw, var(--sp-8)); }
@media (min-width: 62rem) {
    .contact-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
}

.contact-list { display: grid; gap: var(--sp-4); margin-top: var(--sp-6); }
.contact-item {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    gap: var(--sp-4);
    align-items: start;
    padding-block: var(--sp-4);
    border-top: 1px solid var(--line);
}
.contact-item .icon { width: 1.35rem; height: 1.35rem; color: var(--slate); margin-top: 0.2rem; }
.contact-item__label {
    font-family: var(--font-mono);
    font-size: var(--t-label);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-400);
}
.contact-item__value { font-size: 1.1rem; color: var(--ink); font-weight: 500; }
a.contact-item__value:hover { color: var(--mark); }

/* Il ruolo di chi risponde, sotto il recapito: serve a scegliere chi
   chiamare, quindi sta vicino al numero e non sopra il nome. */
.contact-item__nota {
    margin-top: 0.15rem;
    font-size: 0.9rem;
    color: var(--slate-700);
}

/* ---------------------------------------------------------------------
   15. Piè di pagina
   --------------------------------------------------------------------- */
.footer {
    background: var(--ink);
    color: var(--slate-200);
    padding-block: clamp(var(--sp-7), 6vw, var(--sp-9)) var(--sp-6);
    font-size: var(--t-small);
}
.footer a { color: var(--slate-200); transition: color 200ms var(--ease); }
.footer a:hover { color: var(--white); }

.footer__top {
    display: grid;
    gap: var(--sp-6);
    padding-bottom: var(--sp-7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
@media (min-width: 48rem) {
    .footer__top { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: var(--sp-7); }

    /* Con i recapiti diretti la colonna del marchio cede spazio: quattro
       colonne strette leggono peggio di tre più il logo un po' più corto. */
    .footer__top--quattro {
        grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
        gap: var(--sp-6);
    }
}
.footer__brand img { height: 46px; width: auto; filter: invert(1) brightness(1.9) contrast(0.85); }
.footer__brand p { margin-top: var(--sp-4); max-width: 34ch; color: var(--slate-400); }

.footer h3 {
    font-family: var(--font-mono);
    font-size: var(--t-label);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: var(--sp-4);
}
.footer__list { display: grid; gap: var(--sp-3); }

/* Il nome sta sopra il recapito, più piccolo: la riga cliccabile resta il
   numero, che è quello che serve. */
.footer__nome {
    display: block;
    font-family: var(--font-mono);
    font-size: var(--t-label);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-400);
}
.footer a:hover .footer__nome { color: var(--slate-200); }

.footer__legal {
    margin-top: var(--sp-6);
    display: grid;
    gap: var(--sp-4);
    color: var(--slate-400);
    font-size: 0.8125rem;
    line-height: 1.6;
}
.footer__legal p { max-width: 88ch; }
.footer__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2) var(--sp-5);
    align-items: center;
    justify-content: space-between;
}
.footer__meta ul { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

/* ---------------------------------------------------------------------
   16. Barra di contatto su mobile
   --------------------------------------------------------------------- */
.dock {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 1px;
    background: var(--line);
    border-top: 1px solid var(--line);
    transform: translateY(110%);
    transition: transform 380ms var(--ease-out);
    padding-bottom: env(safe-area-inset-bottom);
}
.dock.is-visible { transform: translateY(0); }
@media (min-width: 62rem) { .dock { display: none; } }

.dock a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-height: 3.75rem;
    padding: var(--sp-2);
    background: var(--white);
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
}
.dock a .icon { width: 1.25rem; height: 1.25rem; }
.dock a.dock--wa { color: var(--whatsapp); }
.dock a.dock--cta { background: var(--ink); color: var(--white); }

/* Lo spazio in fondo evita che la barra copra il piè di pagina */
@media (max-width: 61.99rem) {
    body.has-dock { padding-bottom: 3.75rem; }
}

/* ---------------------------------------------------------------------
   17. Nota deontologica ricorrente
   --------------------------------------------------------------------- */
.disclaimer {
    display: grid;
    grid-template-columns: 1.5rem 1fr;
    gap: var(--sp-3);
    padding: var(--sp-5);
    background: var(--paper);
    border: 1px dashed var(--line);
    border-radius: var(--radius-lg);
    font-size: var(--t-small);
    color: var(--slate-700);
    line-height: 1.6;
}
.disclaimer .icon { width: 1.2rem; height: 1.2rem; color: var(--slate); margin-top: 0.15rem; }

/* ---------------------------------------------------------------------
   17b. Immagini
   Il rapporto d'aspetto è dichiarato prima del caricamento: la pagina
   non salta quando l'immagine arriva.
   --------------------------------------------------------------------- */
.figura {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: var(--line-soft);
    border-radius: var(--radius-lg);
}
.figura img {
    width: 100%;
    height: 100%;
    aspect-ratio: var(--ratio, 16 / 9);
    object-fit: cover;
    display: block;
}

/* Filo di riferimento sul bordo: lega la fotografia al registro tecnico
   del resto della pagina invece di lasciarla lì come un francobollo. */
.figura::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(13, 17, 23, 0.10);
    border-radius: inherit;
    pointer-events: none;
}

/* PROVA: foto a colori nell'hero della home, al posto dello schema tecnico */
.figura--hero-prova { box-shadow: var(--shadow-lg); }

/* Immagine di testata della scheda servizio */
.figura--hero {
    margin-bottom: clamp(var(--sp-6), 4vw, var(--sp-7));
    border-radius: var(--radius-lg);
}

/* Immagine a piena larghezza fra due sezioni */
.figura--larga {
    border-radius: 0;
    max-height: 32rem;
}
.figura--larga img { aspect-ratio: 21 / 9; }
@media (max-width: 47.99rem) {
    .figura--larga img { aspect-ratio: 4 / 3; }
}

/* La didascalia dice cosa si sta guardando, non ripete il titolo */
.figura-nota {
    display: flex;
    align-items: baseline;
    gap: var(--sp-3);
    margin-top: var(--sp-3);
    font-family: var(--font-mono);
    font-size: var(--t-label);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-400);
}
.figura-nota .code { flex: none; }

/* Immagine dentro una scheda: si avvicina appena al passaggio del mouse */
.card--foto { padding: 0; overflow: hidden; }
.card--foto .figura { border-radius: 0; }
.card--foto .figura::after { border: 0; }
.card--foto .figura img { transition: transform 700ms var(--ease-out); }
.card--foto:hover .figura img { transform: scale(1.04); }
.card--foto__corpo {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    padding: var(--sp-5);
}

/* Riquadro al posto della foto, finché non è stata caricata */
.figura-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: var(--ratio, 1 / 1);
    background: var(--paper);
    border: 1px dashed var(--line);
    color: var(--slate-400);
}
.figura-placeholder .icon { width: 2.2rem; height: 2.2rem; }
.card--foto .figura-placeholder { border-radius: 0; }

/* Coppia immagine + testo, alternata */
.duo { display: grid; gap: clamp(var(--sp-5), 4vw, var(--sp-7)); align-items: center; }
@media (min-width: 62rem) {
    .duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .duo--invertito .duo__testo { order: 2; }
}

/* ---------------------------------------------------------------------
   18. Animazioni
   --------------------------------------------------------------------- */
@keyframes rise {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: none; }
}
@keyframes fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes draw {
    from { stroke-dashoffset: var(--len, 400); }
    to   { stroke-dashoffset: 0; }
}
@keyframes ping {
    0%   { transform: scale(0.6); opacity: 0; }
    35%  { opacity: 0.55; }
    100% { transform: scale(2.6); opacity: 0; }
}

/* Comparsa allo scroll: lo stato di partenza si applica solo se il JS è attivo,
   così senza JavaScript il contenuto resta visibile. */
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.is-in {
    animation: rise 720ms var(--ease-out) forwards;
    animation-delay: var(--delay, 0ms);
}

/* Sequenza di apertura dell'hero */
.js .hero-seq { opacity: 0; animation: rise 800ms var(--ease-out) forwards; }
.js .hero-seq--1 { animation-delay: 120ms; }
.js .hero-seq--2 { animation-delay: 240ms; }
.js .hero-seq--3 { animation-delay: 380ms; }
.js .hero-seq--4 { animation-delay: 520ms; }
.js .hero-seq--5 { animation-delay: 660ms; }

/* Tracciato che si disegna: la lunghezza arriva dal JS */
.js .draw { stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); }
.js .draw.is-in { animation: draw var(--draw-dur, 1400ms) var(--ease-out) forwards; animation-delay: var(--delay, 0ms); }

.js .pop { opacity: 0; }
.js .pop.is-in { animation: fade 500ms var(--ease) forwards; animation-delay: var(--delay, 0ms); }

.pulse { transform-origin: center; transform-box: fill-box; animation: ping 2.8s ease-out infinite; }

/* Le immagini non compaiono in dissolvenza come tutto il resto: si
   scoprono dall'alto, come un foglio che viene fatto scorrere. */
@keyframes unveil {
    from { clip-path: inset(0 0 100% 0); }
    to   { clip-path: inset(0 0 0 0); }
}
.js .figura.reveal {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 100% 0);
}
.js .figura.reveal img {
    transform: scale(1.06);
    transition: transform 1400ms var(--ease-out);
}
.js .figura.reveal.is-in {
    animation: unveil 900ms var(--ease-out) forwards;
    animation-delay: var(--delay, 0ms);
}
.js .figura.reveal.is-in img { transform: scale(1); }

/* ---------------------------------------------------------------------
   19. Preferenze di sistema
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .js .reveal,
    .js .hero-seq,
    .js .pop { opacity: 1; transform: none; }
    .js .figura.reveal { clip-path: none; }
    .js .figura.reveal img { transform: none; }
    .card--foto:hover .figura img { transform: none; }
    .js .draw { stroke-dashoffset: 0; }
    .btn:hover { transform: none; }
    .card:hover { transform: none; }
}

@media (prefers-contrast: more) {
    :root { --line: #9AA4B4; --slate-700: #2B3545; }
}

/* ---------------------------------------------------------------------
   20. Stampa
   --------------------------------------------------------------------- */
@media print {
    .header, .dock, .hero__figure, .footer__top, .btn { display: none !important; }
    body { background: #fff; color: #000; font-size: 11pt; }
    a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
