/* =================================================================
   Litogì — stylesheet
   Identità: mondo della stampa. Colori di processo CMYK come accenti,
   segni di registro (crop marks) come firma, carta come fondo.
   Font: Bricolage Grotesque (display) · Inter (testo) · Space Mono (dati)
   ================================================================= */

:root {
    --ink:      #16130F;
    --paper:    #F2F0E9;
    --paper-2:  #E9E6DC;
    --brand:    #007373;
    --cyan:     #00A7E1;
    --magenta:  #E5007E;
    --yellow:   #F4C400;
    --muted:    #6E675C;
    --line:     rgba(22, 19, 15, 0.14);
    --line-2:   rgba(22, 19, 15, 0.28);

    --wrap:     1160px;
    --gap:      clamp(1.5rem, 4vw, 3rem);
    --radius:   2px;

    --font-display: "Bricolage Grotesque", Georgia, serif;
    --font-body:    "Inter", system-ui, sans-serif;
    --font-mono:    "Space Mono", ui-monospace, monospace;
}

/* --- Reset essenziale ------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* Anchor con offset per header sticky */
:target { scroll-margin-top: 90px; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.mono { font-family: var(--font-mono); }

.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1rem;
}

/* =================================================================
   Barra CMYK (firma) + header
   ================================================================= */
.cmyk-bar {
    display: flex;
    height: 6px;
    position: sticky;
    top: 0;
    z-index: 60;
}
.cmyk-bar span { flex: 1; background: var(--c); }

.site-header {
    position: sticky;
    top: 6px;
    z-index: 50;
    background: color-mix(in srgb, var(--paper) 86%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 74px;
}

.brand { text-decoration: none; display: grid; line-height: 1; }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-sub {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 5px;
}

/* Navigazione */
.primary-nav { display: flex; align-items: center; gap: 1.75rem; }
.primary-nav ul {
    display: flex;
    gap: 1.4rem;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
}
.primary-nav a {
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.18s;
    white-space: nowrap;
}
.primary-nav a:hover { border-color: var(--magenta); }

.lang-switch {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--muted);
    padding-left: 1.25rem;
    border-left: 1px solid var(--line);
}
.lang-switch a { text-decoration: none; }
.lang-switch a.is-active { color: var(--ink); font-weight: 700; }

/* Toggle mobile */
.nav-toggle {
    display: none;
    align-items: center;
    gap: 0.55rem;
    background: none;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    padding: 0.5rem 0.8rem;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after  { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* =================================================================
   Sezioni — base
   ================================================================= */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section-head { max-width: 46ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

/* Bottoni */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.85rem 1.4rem;
    border-radius: var(--radius);
    border: 1.5px solid var(--ink);
    transition: transform 0.15s, background 0.15s, color 0.15s;
    cursor: pointer;
}
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--magenta); border-color: var(--magenta); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }

/* =================================================================
   HERO — logotipo fuori registro CMYK (firma)
   ================================================================= */
.hero {
    min-height: min(88vh, 780px);
    display: flex;
    align-items: center;
    padding-block: clamp(3rem, 8vw, 6rem);
}
.hero-inner { position: relative; z-index: 2; max-width: 60ch; }
.hero-lead {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: var(--ink);
    max-width: 46ch;
    margin-top: 1.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.5rem; }
.hero-reg {
    margin-top: 3rem;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}
.reg-cross { color: var(--magenta); }

.hero-title { margin: 0; line-height: 0.9; }
.hero-logo {
    width: min(520px, 84%);
    height: auto;
    display: block;
    margin: 0 0 0.5rem;
    animation: logo-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes logo-in {
    0%   { opacity: 0; transform: translateY(16px); }
    100% { opacity: 1; transform: none; }
}
.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}
.wordmark {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(4.5rem, 17vw, 12rem);
    letter-spacing: -0.03em;
    color: var(--ink);
    /* Offset di riposo: leggera "mancata registrazione" tricromia */
    text-shadow:
         0.028em  0.02em 0 var(--cyan),
        -0.022em -0.014em 0 var(--magenta),
         0.014em -0.024em 0 var(--yellow);
    animation: register 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}
/* Da forte disallineamento → registro di riposo */
@keyframes register {
    0% {
        text-shadow:
             0.14em  0.10em 0 var(--cyan),
            -0.12em -0.08em 0 var(--magenta),
             0.08em -0.13em 0 var(--yellow);
        opacity: 0;
    }
    60% { opacity: 1; }
    100% {
        text-shadow:
             0.028em  0.02em 0 var(--cyan),
            -0.022em -0.014em 0 var(--magenta),
             0.014em -0.024em 0 var(--yellow);
    }
}

/* Crop marks (segni di taglio) agli angoli dell'hero */
.crop { position: absolute; width: 26px; height: 26px; z-index: 1; opacity: 0.6; }
.crop::before, .crop::after { content: ""; position: absolute; background: var(--ink); }
.crop::before { width: 100%; height: 1.5px; }
.crop::after  { height: 100%; width: 1.5px; }
.crop-tl { top: 26px; left: 20px; }
.crop-tr { top: 26px; right: 20px; }
.crop-tr::before { right: 0; } .crop-tr::after { right: 0; }
.crop-bl { bottom: 26px; left: 20px; }
.crop-bl::before { bottom: 0; } .crop-bl::after { bottom: 0; }
.crop-br { bottom: 26px; right: 20px; }
.crop-br::before { bottom: 0; right: 0; } .crop-br::after { bottom: 0; right: 0; }

/* =================================================================
   PERCHÉ
   ================================================================= */
.section-perche { border-top: 1px solid var(--line); }
.perche-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}
.perche-card { background: var(--paper); padding: 2rem 1.75rem; }
.perche-num {
    font-size: 0.8rem;
    color: var(--magenta);
    letter-spacing: 0.1em;
}
.perche-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0.8rem 0 0.6rem;
    letter-spacing: -0.01em;
}
.perche-card p { color: var(--muted); font-size: 0.96rem; }

/* =================================================================
   SERVIZI — righe con indice
   ================================================================= */
.section-servizi { background: var(--ink); color: var(--paper); }
.section-servizi .eyebrow { color: color-mix(in srgb, var(--paper) 60%, transparent); }
.section-servizi .section-title { color: var(--paper); }

.servizi-list { border-top: 1px solid rgba(242,240,233,0.18); }
.servizio {
    display: grid;
    grid-template-columns: 3.5rem 1fr;
    gap: 0.4rem 1.5rem;
    align-items: baseline;
    padding: 1.75rem 0;
    border-bottom: 1px solid rgba(242,240,233,0.18);
    transition: padding-left 0.2s;
}
.servizio:hover { padding-left: 0.6rem; }
.servizio-index { grid-row: span 2; font-size: 0.85rem; color: var(--yellow); }
.servizio-cat {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.2rem, 2.4vw, 1.7rem);
    letter-spacing: -0.01em;
}
.servizio-items { color: color-mix(in srgb, var(--paper) 72%, transparent); max-width: 62ch; }

/* =================================================================
   CONSULENZA
   ================================================================= */
.consulenza-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
    align-items: start;
}
.consulenza-points { list-style: none; padding: 0; display: grid; gap: 0.2rem; }
.consulenza-points li {
    display: flex;
    gap: 0.9rem;
    align-items: baseline;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
}
.consulenza-points .tick { color: var(--cyan); font-size: 0.9rem; }

/* =================================================================
   AIUTO — FAQ
   ================================================================= */
.section-aiuto { background: var(--paper-2); }
.faq { display: grid; gap: 0; }
.faq-row {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) 2.4fr;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--line-2);
}
.faq-row:last-child { border-bottom: 1px solid var(--line-2); }
.faq dt {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}
.faq dd { margin: 0; color: var(--muted); }

/* =================================================================
   CHI SIAMO
   ================================================================= */
.chi-inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: var(--gap);
    align-items: center;
}
.chi-timeline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}
.chi-timeline .arrow { color: var(--cyan); }
.chi-timeline .now { color: var(--ink); font-weight: 700; }
.chi-text .section-title {
    font-size: clamp(4rem, 12vw, 8rem);
    line-height: 0.9;
    color: var(--magenta);
}
.chi-years {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}
.chi-body { font-size: 1.1rem; max-width: 52ch; }

/* =================================================================
   LAVORAZIONI SPECIALI
   ================================================================= */
.lav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.lav-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    background: var(--paper);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s, box-shadow 0.18s;
}
.lav-card:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--ink); }
.lav-thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.lav-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.lav-card:hover .lav-thumb img { transform: scale(1.04); }
.lav-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.lav-swatch {
    height: 8px;
    width: 64px;
    margin-bottom: 1.1rem;
    background: linear-gradient(90deg,
        var(--cyan) 0 25%, var(--magenta) 25% 50%,
        var(--yellow) 50% 75%, var(--ink) 75% 100%);
}
.lav-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.01em;
    margin-bottom: 0.6rem;
}
.lav-card p { color: var(--muted); font-size: 0.96rem; flex: 1; }
.lav-more {
    margin-top: 1rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--magenta);
}

/* --- Pagina dettaglio lavorazione ------------------------------ */
.lav-detail { padding-top: clamp(2.5rem, 6vw, 4rem); }
.back-link { display: inline-block; text-decoration: none; color: var(--muted); font-size: 0.82rem; }
.back-link:hover { color: var(--magenta); }
.lav-detail-title { margin: 0.6rem 0 2rem; font-size: clamp(2.2rem, 6vw, 4rem); }
.lav-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--gap);
    align-items: start;
}
.lav-detail-figure { margin: 0; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.lav-detail-figure img { width: 100%; height: auto; display: block; }
.lav-detail-desc { font-size: 1.2rem; line-height: 1.55; margin-bottom: 1rem; }
.lav-detail-tech { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem; color: var(--muted); margin-bottom: 2rem; }
.lav-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}
.lav-nav a {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-decoration: none;
    padding: 0.55rem 1rem;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    transition: background 0.15s, color 0.15s;
}
.lav-nav a:hover { background: var(--ink); color: var(--paper); }

/* --- Galleria "Altre lavorazioni" ------------------------------ */
.lav-others { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.lav-others-title {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.25rem;
    font-weight: 400;
}
.lav-others-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}
.lav-mini {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--paper);
    transition: transform 0.15s, box-shadow 0.15s;
}
.lav-mini:hover { transform: translateY(-3px); box-shadow: 4px 4px 0 var(--ink); }
.lav-mini img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--paper-2); }
.lav-mini span {
    display: block;
    padding: 0.6rem 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* =================================================================
   CONTATTI
   ================================================================= */
.section-contatti { background: var(--ink); color: var(--paper); }
.section-contatti .eyebrow { color: color-mix(in srgb, var(--paper) 60%, transparent); }
.section-contatti .section-title { color: var(--paper); }
.contatti-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--gap);
    align-items: start;
}
.contatti-info { list-style: none; padding: 0; margin-top: 2rem; display: grid; gap: 0.9rem; }
.contatti-info li {
    display: grid;
    grid-template-columns: 5rem 1fr;
    gap: 1rem;
    font-size: 0.9rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(242,240,233,0.2);
}
.contatti-info li span { color: var(--yellow); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; }
.contatti-info a { text-decoration: none; }
.contatti-info a:hover { color: var(--cyan); }

/* Form */
.contatti-form { background: var(--paper); color: var(--ink); padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius); }
.field { display: grid; gap: 0.4rem; margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}
.field input, .field textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
    background: var(--paper-2);
    border: 1.5px solid transparent;
    border-radius: var(--radius);
    padding: 0.75rem 0.85rem;
    width: 100%;
    transition: border-color 0.15s, background 0.15s;
}
.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--cyan);
    background: #fff;
}
.field.has-error input, .field.has-error textarea { border-color: var(--magenta); }
.field-err { font-size: 0.78rem; color: var(--magenta); }
.form-alert {
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
    font-size: 0.92rem;
}
.form-alert-ok  { background: color-mix(in srgb, var(--cyan) 18%, var(--paper)); border-left: 4px solid var(--cyan); }
.form-alert-err { background: color-mix(in srgb, var(--magenta) 14%, var(--paper)); border-left: 4px solid var(--magenta); }

/* Honeypot nascosto */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer { background: var(--paper); border-top: 6px solid var(--ink); padding-block: 2.5rem; }
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.footer-logo { height: 34px; width: auto; display: block; }
.footer-meta { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }
.footer-meta a { color: var(--ink); }
.footer-top { font-family: var(--font-mono); font-size: 0.78rem; text-decoration: none; color: var(--muted); }
.footer-top:hover { color: var(--magenta); }

/* =================================================================
   Pagina 404
   ================================================================= */
.nf { min-height: 60vh; display: flex; align-items: center; }
.nf-inner { max-width: 60ch; }
.nf-code { margin: 0 0 1rem; line-height: 0.9; }
.nf-code .wordmark { font-size: clamp(5rem, 20vw, 11rem); }
.nf-body { margin: 1rem 0 2rem; font-size: 1.1rem; color: var(--muted); }

/* Campo captcha */
.field-captcha label strong { color: var(--ink); font-size: 0.95rem; letter-spacing: 0.05em; }

/* =================================================================
   Barra cookie
   ================================================================= */
.cookie-bar {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    z-index: 90;
    width: min(680px, calc(100% - 2rem));
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--radius);
    padding: 0.9rem 1.1rem;
    box-shadow: 0 14px 40px rgba(0,0,0,0.28);
}
/* FIX: [hidden] deve prevalere sul display flex, altrimenti la barra non si chiude */
.cookie-bar[hidden] { display: none !important; }
.cookie-bar p { font-size: 0.85rem; line-height: 1.45; flex: 1; }
.cookie-bar a { color: var(--yellow); }
.cookie-bar .btn { border-color: var(--paper); background: var(--paper); color: var(--ink); white-space: nowrap; }
.cookie-bar .btn:hover { background: var(--magenta); border-color: var(--magenta); color: var(--paper); }
@media (max-width: 560px) {
    .cookie-bar { flex-direction: column; align-items: stretch; text-align: center; }
}

/* =================================================================
   Reveal on scroll
   ================================================================= */
.section { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in-view { opacity: 1; transform: none; }

/* =================================================================
   Responsive
   ================================================================= */
@media (max-width: 900px) {
    .consulenza-inner, .chi-inner, .contatti-inner, .lav-detail-grid { grid-template-columns: 1fr; }
    .chi-timeline { margin-bottom: 1.5rem; }
}

@media (max-width: 780px) {
    .nav-toggle { display: inline-flex; }
    .primary-nav {
        position: fixed;
        inset: 86px 0 auto 0;
        z-index: 96;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        padding: 1.5rem 1.75rem 2rem;
        transform: translateY(-120%);
        transition: transform 0.28s ease;
        box-shadow: 0 18px 40px rgba(0,0,0,0.12);
    }
    .primary-nav.is-open { transform: translateY(0); }
    .primary-nav ul { flex-direction: column; gap: 0.9rem; width: 100%; }
    .primary-nav a { font-size: 1rem; }
    .lang-switch { border-left: 0; padding-left: 0; padding-top: 0.75rem; border-top: 1px solid var(--line); width: 100%; }
}

@media (max-width: 560px) {
    .field-row { grid-template-columns: 1fr; }
    .faq-row { grid-template-columns: 1fr; gap: 0.4rem; }
    .servizio { grid-template-columns: 2.5rem 1fr; }
}

/* =================================================================
   Accessibilità: focus + motion ridotto
   ================================================================= */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2.5px solid var(--cyan);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
    .wordmark { animation: none; }
    .js .reveal { opacity: 1; transform: none; }
}

/* =================================================================
   Pulsante flottante "Novità"
   ================================================================= */
.novita-fab {
    position: fixed;
    top: 96px;
    right: 1.25rem;
    z-index: 95;
    display: flex;
    align-items: stretch;
    background: var(--magenta);
    color: var(--paper);
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(22,19,15,0.28);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}
.novita-fab.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.novita-fab-link {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: inherit;
    padding: 0.9rem 0.7rem 0.9rem 1.3rem;
    white-space: nowrap;
}
.novita-fab-close {
    appearance: none;
    background: transparent;
    border: 0;
    border-left: 1px solid rgba(242,240,233,0.35);
    color: inherit;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0.5rem 0.9rem 0.5rem 0.6rem;
    cursor: pointer;
}
.novita-fab-close:hover { color: var(--yellow); }
@media (max-width: 560px) {
    .novita-fab { top: auto; bottom: 5.5rem; right: 1rem; }
}

/* --- Sotto-servizi "Comunicazione & Marketing" (su sfondo chiaro) - */
.novita-sub-list { margin-top: 3.5rem; border-top: 1px solid var(--line); }
.novita-sub {
    display: grid;
    grid-template-columns: 3.5rem 1fr;
    gap: 0.4rem 1.5rem;
    align-items: baseline;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--line);
    transition: padding-left 0.2s;
}
.novita-sub:hover { padding-left: 0.6rem; }
.novita-sub-index { grid-row: span 2; font-size: 0.85rem; color: var(--magenta); }
.novita-sub-cat {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    letter-spacing: -0.01em;
}
.novita-sub-items { color: var(--muted); max-width: 62ch; }
@media (max-width: 560px) {
    .novita-sub { grid-template-columns: 2.5rem 1fr; }
}