:root {
    --violet-900: #302230;
    --violet-800: #3b2a3b;
    --violet-700: #4c374c;
    --violet-500: #675167;
    --violet-400: #a68da6;
    --violet-300: #cfc2cf;
    --white-100: #f2ede8;
    --white-200: #ede7e1;
    --pink: #e5007e;
    --orange: #e95a0c;
    --page-gutter: clamp(24px, 8.47vw, 122px);
    --content-width: 1200px;
    --column-width: 589px;
    --shadow: 0 8px 18px var(--violet-800);
    --site-header-height: 178px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--white-200);
    background: var(--violet-700);
    font-family: "Geologica", sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.625;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 16px; padding: 10px 16px; color: var(--violet-800); background: var(--white-100); }
.skip-link:focus { top: 16px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header {
    position: fixed;
    z-index: 10;
    inset: 0 0 auto;
    display: flex;
    min-height: var(--site-header-height);
    align-items: flex-start;
    justify-content: space-between;
    padding: 22px 56px 32px;
    pointer-events: none;
}
.site-header-backdrop { position: fixed; z-index: 3; inset: 0 0 auto; height: var(--site-header-height); background: linear-gradient(180deg, var(--violet-700) 0%, var(--violet-700) 34.578%, rgba(76, 55, 76, 0) 91.645%); pointer-events: none; }
.site-header-backdrop::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: rgba(76, 55, 76, .01);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .85) 34.578%, transparent 91.645%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .85) 34.578%, transparent 91.645%);
    content: "";
    pointer-events: none;
}
.site-logo, .main-navigation, .menu-toggle { position: relative; z-index: 1; pointer-events: auto; }
.site-logo { width: 316px; height: 102px; margin: -10px 0 0 -18px; }
.site-logo picture, .site-logo img { display: block; width: 100%; }
.menu-list { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; }
/* Reserve the bold label's width so changing the active page cannot move the menu. */
.menu-label { display: inline-grid; }
.menu-label__text, .menu-label::after { grid-area: 1 / 1; }
.menu-label::after { content: attr(data-label); font-weight: 700; visibility: hidden; }
.menu-list a, .main-navigation > div > ul > li > a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 40px;
    background: rgba(166, 141, 166, .3);
    box-shadow: var(--shadow);
    color: var(--white-100);
    font-weight: 500;
    line-height: 24px;
    text-decoration: none;
}
.current-menu-item > a, .home .menu-list li:first-child > a { color: var(--violet-700) !important; background: var(--white-100) !important; font-weight: 700 !important; }
.menu-toggle, .main-navigation .main-navigation__phone { display: none; }

/* Layer della scena: fisso dietro al contenuto, senza intercettare click. */
#scena, .segnaposto, .riserva { position: fixed; z-index: 0; inset: 0; width: 100vw; height: 100lvh; pointer-events: none; }
#scena { display: block; }
.segnaposto { z-index: 1; object-fit: cover; object-position: right center; }
.riserva img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; opacity: 0; transition: opacity 400ms; }
.riserva img.attiva { opacity: 1; }
/* 1.2 = ZOOM_DESKTOP di logo-gel/src/copione/camera.js: il logo statico segue la scala dell'animazione. */
.riserva .logo-svg { position: absolute; top: calc(50svh - 36svh / 1.2); right: 0; left: auto; width: auto; height: calc(72svh / 1.2); transform: translateX(calc(-23.5vw + 50%)); }
.pista, .network-page { width: min(var(--content-width), calc(100% - 2 * var(--page-gutter))); margin-inline: auto; }
.pista { position: relative; z-index: 2; }
/* Invito allo scroll, Figma 253:3062: tondo 44×44 in vetro, fermo in basso a destra, 24 px dentro il
   bordo del contenuto e a 85 px dal fondo (in Figma erano 112: scelta di Paolo del 02-10). Solo da 1024 px in su: Figma non
   ha la home in versione mobile. */
.scroll-hint { position: fixed; z-index: 3; right: calc(max(var(--page-gutter), (100% - var(--content-width)) / 2) + 24px); bottom: 85px; display: none; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 50%; background: rgba(166, 141, 166, .3); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(35px); backdrop-filter: blur(35px); cursor: pointer; transition: opacity 180ms ease, background-color 180ms ease; }
.scroll-hint__icon { display: block; width: 24px; height: 24px; background: var(--white-100); -webkit-mask: url('../img/interfaccia/freccia.svg') center / 24px no-repeat; mask: url('../img/interfaccia/freccia.svg') center / 24px no-repeat; transform: rotate(90deg); }
.scroll-hint.is-hidden { opacity: 0; pointer-events: none; visibility: hidden; transition: opacity 180ms ease, visibility 0s 180ms; }
.scroll-hint:focus-visible { outline: 2px solid var(--white-100); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .scroll-hint:hover, .menu-toggle:hover { background-color: rgba(166, 141, 166, .5); } }
@media (min-width: 1024px) { .scroll-hint { display: block; } }
.tappa { position: relative; display: block; padding: 24.3svh 0 8svh; }
.tappa .blocco { width: min(var(--column-width), 100%); opacity: var(--opacita-testo, 1); }
/* Le altezze delle tappe le calcola logo-gel e su mobile ogni blocco sporge di 45 px nella tappa dopo, che
   gli sta sopra e si prendeva i tocchi: il pulsante della sezione 3 non rispondeva (02-10). Le tappe lasciano
   passare il puntatore, lo ricevono solo i blocchi. */
.home-page .tappa { pointer-events: none; }
.home-page .tappa .blocco { pointer-events: auto; }
.tappa--hero { padding-top: 24.3svh; }
.tappa--final { pointer-events: none; }

.eyebrow { margin: 0 0 6px 12px; color: var(--violet-300); font-size: 20px; line-height: 28px; text-transform: uppercase; }
.section-heading { position: relative; width: 100%; margin-bottom: 40px; }
.section-heading h2, .section-heading .section-claim { position: relative; z-index: 1; }
.section-number {
    position: absolute;
    z-index: 0;
    top: -65px;
    left: -50px;
    height: 119px;
    margin: 0;
    color: transparent;
    font-size: 167px;
    font-weight: 600;
    line-height: 119px;
    letter-spacing: -3.34px;
    text-transform: uppercase;
    -webkit-text-stroke: 2px rgba(166, 141, 166, .3);
    paint-order: stroke fill;
    pointer-events: none;
}
@media (min-width: 641px) {
    .tappa[data-tappa="2"] .section-number { top: -63px; left: -38px; }
}
.section-heading h1, .section-heading h2 { margin: 0; text-transform: uppercase; }
.title-lines, .claim-lines { display: flex; flex-direction: column; }
.title-lines { color: var(--pink); font-weight: 900; font-size: 70px; line-height: .8; letter-spacing: -1.4px; }
.section-heading--hero .title-lines { font-size: 125px; line-height: .8; letter-spacing: -2.5px; font-weight: 900; white-space: nowrap; }
.section-heading--hero .hero-ampersand { color: var(--violet-500); }
.title-lines .tone-1 { color: var(--pink); }
.title-lines .tone-2 { color: var(--orange); }
.title-lines .tone-3 { color: var(--violet-400); }
.section-claim { display: flex; justify-content: flex-end; margin: 12px 0 0; text-align: right; text-transform: uppercase; }
.claim-lines { color: var(--violet-400); font-size: 24px; line-height: 1; letter-spacing: -.48px; }
.claim-lines .tone-1 { color: var(--pink); }
.claim-lines .tone-2 { color: var(--orange); }
.section-heading--hero { margin-bottom: 52px; }
.section-heading--hero h1 { margin-bottom: -53px; }
.section-heading--hero .section-claim { margin: 0; }
.section-heading--hero .claim-lines { font-size: 28px; line-height: 26px; letter-spacing: -.56px; }
.section-lead { width: 435px; max-width: 100%; margin: 0 0 19px; color: var(--white-100); font-size: 20px; font-weight: 700; line-height: 28px; letter-spacing: -.2px; }
.section-body { color: var(--white-200); font-size: 16px; line-height: 26px; }
.section-body p { margin: 0 0 12px; }
.section-body p:last-child { margin-bottom: 0; }
.section-body--hero { font-size: 18px; line-height: 28px; }
.section-body--hero p { margin-bottom: 12px; }

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    gap: 14px;
    margin-top: 40px;
    padding: 8px 8px 8px 24px;
    border: 0;
    border-radius: 40px;
    color: var(--white-100);
    background: linear-gradient(270deg, var(--orange), var(--pink));
    box-shadow: var(--shadow);
    font: inherit;
    font-weight: 700;
    line-height: 24px;
    text-decoration: none;
    cursor: pointer;
}
/* A capo che vale solo sotto 640 px (pulsante know-how della home). */
@media (min-width: 641px) { .a-capo-mobile { display: none; } }
.button__icon { width: 32px; height: 32px; border-radius: 50%; background: var(--white-100) url('../img/interfaccia/freccia.svg') center / 24px no-repeat; }
.button--muted { background: rgba(166, 141, 166, .3); }
.button--network {
    transition: gap 180ms ease, padding 180ms ease, box-shadow 180ms ease;
}
@media (hover: hover) and (pointer: fine) {
    .button--network:hover {
        gap: 12px;
        padding-right: 6px;
        padding-left: 28px;
        background: linear-gradient(270deg, var(--pink), var(--orange));
        box-shadow: none;
    }
}
.button--network:focus-visible {
    gap: 12px;
    padding-right: 6px;
    padding-left: 28px;
    outline: 2px solid var(--white-100);
    outline-offset: 4px;
    background: linear-gradient(270deg, var(--pink), var(--orange));
    box-shadow: none;
}

.knowhow-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 32px 0 52px; }
.knowhow-cards article { min-height: 144px; padding: 18px 14px; border: 1px solid rgba(242, 237, 232, .18); border-radius: 12px; background: rgba(166, 141, 166, .12); }
.knowhow-cards h3 { margin: 0 0 12px; color: var(--white-100); font-size: 16px; line-height: 22px; }
.knowhow-cards p { margin: 0; font-size: 13px; line-height: 20px; }
.advantages-title { margin: 0 0 16px; color: var(--white-100); font-size: 18px; font-weight: 700; }
.advantages-list { display: grid; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.advantages-list li { position: relative; padding-left: 22px; }
.advantages-list li::before { position: absolute; top: 8px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); content: ""; }
.sector-tabs { width: 100%; margin-top: 40px; }
.sector-tabs__list {
    position: relative;
    z-index: 1;
    display: inline-flex;
    margin: 0 0 -16px 24px;
    padding: 6px;
    border-radius: 40px;
    background: var(--violet-500);
    box-shadow: var(--shadow);
}
.sector-tabs__tab {
    width: 220px;
    height: 40px;
    padding: 8px 20px;
    border: 0;
    border-radius: 40px;
    color: var(--white-100);
    background: transparent;
    font: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    white-space: nowrap;
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease, font-weight 180ms ease;
}
.sector-tabs__tab:last-child { width: 184px; }
.sector-tabs__label--short { display: none; }
.sector-tabs__tab[aria-selected="true"] { color: var(--violet-700); background: var(--white-100); font-weight: 700; }
@media (hover: hover) and (pointer: fine) {
    .sector-tabs__tab[aria-selected="false"]:hover { background: rgba(166, 141, 166, .3); font-weight: 700; }
}
.sector-tabs__tab:focus-visible { outline: 2px solid var(--white-100); outline-offset: 2px; }
.sector-box { border-radius: 16px; background: var(--violet-500); box-shadow: 0 12px 60px #261826; }
.sector-box__panel { padding: 40px 24px 24px; }
.sector-box__columns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sector-box ul { margin: 0; padding: 0; list-style: disc; }
.sector-box li { margin-left: 24px; padding: 0; font-size: 16px; font-weight: 300; line-height: 26px; }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 52px; padding: 52px 40px; border-radius: 28px; background: rgba(110, 86, 110, .72); box-shadow: var(--shadow); backdrop-filter: blur(28px); }
.contact-form h2, .contact-form__message, .contact-form__privacy, .contact-form .form-message, .contact-form .button { grid-column: 1 / -1; }
.contact-form h2 { margin: 0 0 12px; color: var(--white-100); font-size: 20px; line-height: 28px; text-align: center; }
.contact-form label { display: grid; }
.contact-form label > span:first-child:not(.screen-reader-text) { font-size: 14px; }
.contact-form input, .contact-form textarea { width: 100%; border: 2px solid var(--white-100); border-radius: 5px; padding: 13px 14px; color: var(--white-100); background: transparent; font: inherit; }
.contact-form input { height: 52px; }
.contact-form textarea { min-height: 153px; resize: vertical; }
.contact-form__privacy { display: flex !important; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 22px; }
.contact-form__privacy input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; }
.contact-form__honeypot { position: absolute; left: -10000px; }
.contact-form .button { justify-self: center; margin-top: 0; padding-right: 24px; }
.contact-form__subtitle { grid-column: 1 / -1; margin: 0; color: var(--white-100); text-align: center; }
.contact-pictogram-track { --pictogram-scale: 1; position: absolute; z-index: 0; width: calc(520px * var(--pictogram-scale)); height: calc(520px * var(--pictogram-scale)); pointer-events: none; }
.contact-pictogram { position: absolute; inset: 0; width: 100%; height: 100%; }
.contact-pictogram.is-fixed { position: fixed; top: var(--pictogram-fixed-top); right: auto; bottom: auto; left: var(--pictogram-fixed-left); width: calc(520px * var(--pictogram-scale)); height: calc(520px * var(--pictogram-scale)); }
.contact-pictogram img { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; filter: drop-shadow(0 12px 44px rgba(35, 25, 33, .55)); }
/* Il pulsante del form è il «primario» di Figma (183:845): stesso hover di .button--network. Serve più
   specificità perché le regole del form fissano padding e gap, anche in network.css e contatti.css. */
@media (hover: hover) and (pointer: fine) {
    .contact-form .button.button--network:hover { gap: 12px; padding-right: 6px; padding-left: 28px; }
}
.contact-form .button.button--network:focus-visible { gap: 12px; padding-right: 6px; padding-left: 28px; }
/* Form della home, da Figma 266:3255: riquadro 589 px con 48/40 di margine interno, righe a 24 px. */
.tappa--contact .contact-form { gap: 24px 20px; margin-top: 100px; padding: 40px 48px; background: rgba(166, 141, 166, .3); box-shadow: 0 12px 60px #261826; -webkit-backdrop-filter: blur(35px); backdrop-filter: blur(35px); }
.tappa--contact .contact-form h2 { margin: 0; font-size: 24px; font-weight: 900; line-height: 30px; }
.tappa--contact .contact-form__subtitle { margin: -16px 0 16px; font-size: 16px; line-height: 26px; }
.tappa--contact .contact-form input:not([type=checkbox]), .tappa--contact .contact-form textarea { padding: 12px 16px; border-radius: 8px; font-size: 16px; line-height: 24px; }
.tappa--contact .contact-form textarea { display: block; height: 153px; min-height: 153px; }
.tappa--contact .contact-form ::placeholder { color: #d7dee5; opacity: 1; font-style: italic; }
.tappa--contact .contact-form :is(input, textarea):focus-visible { outline: 2px solid var(--white-100); outline-offset: 4px; }
.tappa--contact .contact-form__privacy { align-items: center; gap: 8px; min-height: 22px; }
.tappa--contact .contact-form__privacy a { text-decoration: none; }
.tappa--contact .contact-form__privacy input { appearance: none; margin: 0; padding: 0; border: 2px solid var(--white-100); border-radius: 4px; background: transparent; cursor: pointer; }
.tappa--contact .contact-form__privacy input:checked { background: var(--pink) url('../img/network/spunta.svg') center / 16px no-repeat; }
.tappa--contact .contact-form .button { justify-self: end; min-width: 209px; height: 48px; padding: 8px 8px 8px 24px; }
.form-message { margin: 0; padding: 12px; border-radius: 8px; }
.form-message--success { background: rgba(0, 130, 80, .3); }
.form-message--error { background: rgba(220, 30, 70, .3); }

/* Footer e pagine interne. */
.site-footer { position: relative; z-index: 2; display: flex; min-height: 800px; flex-direction: column; justify-content: flex-end; gap: 100px; padding: 100px max(clamp(24px, 8.333333vw, 120px), calc((100% - var(--content-width)) / 2)) 120px; background: linear-gradient(180deg, rgba(76, 55, 76, 0) 9.35%, rgba(76, 55, 76, .6) 100%); }
.site-footer::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: rgba(76, 55, 76, .01);
    -webkit-backdrop-filter: blur(28px);
    backdrop-filter: blur(28px);
    -webkit-mask-image: linear-gradient(180deg, transparent 4.85%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 4.85%, #000 100%);
    content: "";
    pointer-events: none;
}
.site-footer > * { position: relative; z-index: 1; }
.footer-logo { display: flex; width: min(100%, 396px); flex: 0 0 auto; flex-direction: column; align-items: center; gap: 35px; }
.footer-logo__main { display: flex; width: 100%; flex-direction: column; align-items: center; gap: 24px; }
.footer-logo .footer-logo__symbol { width: 52px; }
.footer-logo .footer-logo__wordmark { width: 396px; }
.footer-logo .footer-logo__payoff { width: 181px; }
.site-footer__content { display: grid; width: 100%; min-height: 228px; flex: 0 0 auto; grid-template-columns: minmax(0, 415fr) minmax(220px, 239fr) minmax(239px, 239fr); gap: clamp(32px, 6.944444vw, 100px); align-items: stretch; }
.site-footer__content > * { min-width: 0; }
.site-footer__brand { display: flex; flex-direction: column; justify-content: space-between; }
.site-footer__brand-copy { display: flex; flex-direction: column; gap: 12px; }
.site-footer__brand h2, .site-footer__brand p { margin: 0; }
.site-footer__brand h2 { margin-bottom: 8px; color: var(--white-200); font-size: 20px; line-height: 28px; letter-spacing: -.2px; }
.site-footer__brand p { max-width: 415px; font-size: 14px; line-height: 22px; }
.site-footer__company { font-size: 14px !important; line-height: 22px !important; }
.site-footer__column { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; }
.site-footer__column h2 { margin: 0 0 20px; color: var(--white-100); font-size: 20px; line-height: 28px; letter-spacing: -.2px; }
.site-footer__column p { margin: 0; font-size: 14px; line-height: 22px; }
.site-footer__column a { text-decoration: none; }
.footer-contact-list { display: flex; flex-direction: column; gap: 6px; }
.footer-contact { display: flex; min-height: 32px; align-items: center; gap: 8px; margin: 0; font-size: 14px; line-height: 22px; }
.footer-contact--email { margin-left: 21px; }
.footer-contact__icon { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border-radius: 50%; box-shadow: var(--shadow); }
.footer-contact__icon--orange { background: var(--orange); }
.footer-contact__icon--pink { background: var(--pink); }
.footer-contact__icon img { width: 20px; height: 20px; }
.footer-socials { display: flex; align-items: center; gap: 12px; }
.footer-social { position: relative; display: block; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; }
.footer-social--linkedin img { position: absolute; top: -10px; left: -18px; width: 76px; max-width: none; height: 76px; }
.footer-social--facebook { display: grid; place-items: center; background: rgba(166, 141, 166, .3); box-shadow: var(--shadow); }
.footer-social--facebook img { width: 20px; height: 20px; }
.site-footer__brochure > div { display: flex; flex-direction: column; gap: 0; }
.site-footer__brochure .button {
    height: 48px;
    margin-top: 0;
    white-space: nowrap;
    transition: color 180ms ease, background-color 180ms ease;
}
.site-footer__brochure .button__icon {
    position: relative;
    background-color: var(--white-100);
    background-image: none;
    transition: background-color 180ms ease;
}
.site-footer__brochure .button__icon::after {
    position: absolute;
    inset: 4px;
    background: var(--violet-700);
    content: "";
    -webkit-mask: url('../img/interfaccia/freccia.svg') center / 24px no-repeat;
    mask: url('../img/interfaccia/freccia.svg') center / 24px no-repeat;
    transition: background-color 180ms ease;
}
@media (hover: hover) {
    .site-footer__brochure .button:hover {
        color: var(--violet-700);
        background-color: var(--white-100);
    }
    .site-footer__brochure .button:hover .button__icon { background-color: var(--violet-700); }
    .site-footer__brochure .button:hover .button__icon::after { background-color: var(--white-100); }
}
.site-footer__brochure .button:focus-visible {
    outline: 2px solid var(--white-100);
    outline-offset: 4px;
}
.site-footer__legal { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; padding-top: 28px; border-top: 1px solid rgba(242, 237, 232, .12); font-size: 14px; line-height: 22px; }
.companies-page, .contact-page, .legal-page, .error-page { position: relative; z-index: 2; width: min(calc(100% - (2 * var(--page-gutter))), var(--content-width)); min-height: 100svh; margin-inline: auto; padding-top: 190px; padding-bottom: 120px; }
.hero--companies h1, .contact-page h1, .legal-page h1, .error-page h1 { font-size: clamp(56px, 7vw, 100px); font-weight: 900; line-height: .85; text-transform: uppercase; }
.companies-intro { min-height: 45vh; display: grid; place-items: center; text-align: center; }
.expertise { padding-block: 100px; }
.expertise-table-wrap { margin-top: 80px; overflow-x: auto; }
.expertise-table { width: 100%; min-width: 920px; border-collapse: collapse; font-size: 13px; }
.expertise-table td { padding: 12px 16px; border-bottom: 1px solid rgba(242, 237, 232, .11); }
.contact-page { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }
.contact-list { display: grid; gap: 12px; margin-top: 36px; font-style: normal; }
.contact-list > * { width: fit-content; padding: 10px 18px; border-radius: 999px; background: rgba(166, 141, 166, .35); text-decoration: none; }
.legal-page article { max-width: 800px; }

@media (max-width: 1023px) {
    :root { --page-gutter: 32px; --site-header-height: 150px; }
    .site-header { padding: 22px 24px; }
    /* Figma 367:12553: la pillola 173x47,13 e l'effetto Glass restano CSS, così Safari conserva il
       marchio come SVG vettoriale puro invece di rasterizzare logo, filtro e ombra insieme. */
    .site-logo { display: flex; width: 173px; height: 47.1279px; align-items: center; justify-content: center; margin: 0; border-radius: 23.564px; background: rgba(166, 141, 166, .3); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(35px); backdrop-filter: blur(35px); }
    .site-logo picture { display: flex; width: auto; align-items: center; justify-content: center; }
    .site-logo img { width: 117px; max-width: none; height: auto; }
    .menu-toggle { margin-top: 0; }
    /* Figma, home mobile 367:12568: tondo in vetro come .scroll-hint, icona «dehaze» 17x13. */
    .menu-toggle { display: inline-flex; width: 47px; height: 47px; flex: none; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: rgba(166, 141, 166, .3); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(35px); backdrop-filter: blur(35px); cursor: pointer; transition: background-color 180ms ease; }
    /* Icona «dehaze» di Figma (17x13, righe da 1,5 px con le punte tonde) fatta con tre righe vere, così al
       tocco si trasforma in X: aprendo, le righe esterne scendono al centro e poi ruotano, quella in mezzo
       sparisce; chiudendo, il contrario. Usa `translate` e `rotate` separati per poterli mettere in fila. */
    .menu-toggle__icon { position: relative; display: block; width: 17px; height: 13px; color: var(--white-100); transition: color 180ms ease; }
    .menu-toggle__icon > span { position: absolute; left: 0; width: 100%; height: 1.5px; border-radius: 1px; background: currentColor; transition: rotate 180ms ease, translate 180ms ease 180ms, opacity 0s 180ms; }
    .menu-toggle__icon > span:nth-child(1) { top: 0; }
    .menu-toggle__icon > span:nth-child(2) { top: 5.75px; }
    .menu-toggle__icon > span:nth-child(3) { top: 11.5px; }
    .menu-toggle:focus-visible { outline: 2px solid var(--white-100); outline-offset: 4px; }
    /* Menu aperto: pannello a tutto schermo che entra da destra. Logo e tondo restano sopra
       (stanno a z-index 1 nell'header), il tondo diventa bianco con la X. */
    .main-navigation { position: fixed; z-index: 0; inset: 0; display: flex; flex-direction: column; height: 100dvh; padding: 120px var(--page-gutter) calc(32px + env(safe-area-inset-bottom)); overflow-y: auto; background: var(--violet-700); transform: translateX(100%); visibility: hidden; transition: transform 400ms cubic-bezier(.22, .61, .36, 1), visibility 0s 400ms; }
    .main-navigation.is-open { transform: none; visibility: visible; transition: transform 400ms cubic-bezier(.22, .61, .36, 1), visibility 0s; }
    .menu-list { flex-direction: column; gap: 0; }
    .menu-list li { border-bottom: 1px solid var(--violet-500); }
    /* Tre sole voci nei colori dei titoli del sito: Home fucsia, Network arancio, Contatti lilla. */
    .main-navigation .menu-list a { display: flex; width: 100%; min-height: 0; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-radius: 0; background: none !important; box-shadow: none; font-size: clamp(36px, 10.5vw, 46px); font-weight: 700 !important; line-height: .9; letter-spacing: -1px; text-transform: uppercase; }
    .main-navigation .menu-list li:nth-child(3n+1) > a { color: var(--pink) !important; }
    .main-navigation .menu-list li:nth-child(3n+2) > a { color: var(--orange) !important; }
    .main-navigation .menu-list li:nth-child(3n) > a { color: var(--violet-400) !important; }
    .main-navigation .menu-label__text { display: none; }
    .main-navigation .menu-label::after { content: attr(data-mobile-label); visibility: visible; }
    /* La pillola bianca della voce attiva del desktop (`.home .menu-list li:first-child > a`) è più specifica: va spenta qui. */
    .main-navigation .current-menu-item > a, .home .main-navigation .menu-list li:first-child > a { background: none !important; }
    .main-navigation .menu-list a:focus-visible { outline: 2px solid var(--white-100); outline-offset: 4px; }
    .main-navigation .main-navigation__phone { display: inline-flex; width: 100%; justify-content: flex-start; margin-top: auto; padding: 8px 20px 8px 8px; color: var(--white-100); }
    .main-navigation__phone .footer-contact__icon { box-shadow: none; }
    .site-footer__brochure { display: none; }
    .menu-toggle[aria-expanded="true"] { background: var(--white-100); }
    .menu-toggle[aria-expanded="true"] .menu-toggle__icon { color: var(--violet-700); }
    .menu-toggle[aria-expanded="true"] .menu-toggle__icon > span { transition: translate 180ms ease, rotate 180ms ease 180ms, opacity 0s 180ms; }
    .menu-toggle[aria-expanded="true"] .menu-toggle__icon > span:nth-child(1) { translate: 0 5.75px; rotate: 45deg; }
    .menu-toggle[aria-expanded="true"] .menu-toggle__icon > span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] .menu-toggle__icon > span:nth-child(3) { translate: 0 -5.75px; rotate: -45deg; }
    html.menu-aperto, html.menu-aperto body { overflow: hidden; }
    .tappa .blocco { width: min(589px, 100%); }
    .riserva .logo-svg { top: -13.5svh; right: auto; left: 50%; height: 72svh; transform: translateX(-50%); }
    /* Figma 361:2565: on mobile the footer starts with a 25 px background blur, which grows to
       56 px from 4.85% to the bottom. Keep the 60% violet fill active from the first pixel so the
       completed pictogram is already diffused behind the Synerlab logo. */
    .site-footer { min-height: 0; gap: 64px; padding: 130px var(--page-gutter) 80px; background: transparent; }
    .site-footer::before {
        background: rgba(76, 55, 76, .6);
        -webkit-backdrop-filter: blur(25px);
        backdrop-filter: blur(25px);
        -webkit-mask-image: none;
        mask-image: none;
    }
    .site-footer::after {
        position: absolute;
        z-index: 0;
        inset: 0;
        background: rgba(76, 55, 76, .01);
        -webkit-backdrop-filter: blur(56px);
        backdrop-filter: blur(56px);
        -webkit-mask-image: linear-gradient(180deg, transparent 4.85%, #000 100%);
        mask-image: linear-gradient(180deg, transparent 4.85%, #000 100%);
        content: "";
        pointer-events: none;
    }
    /* Match the progressive Network blur and extend it over the 60 px home tail. */
    .home-page + .site-footer::before { display: none; }
    .home-page + .site-footer > .network-footer-blur { position: absolute; z-index: 0; top: -60px; right: 0; bottom: 0; left: 0; overflow: clip; pointer-events: none; }
    .home-page + .site-footer > .network-footer-blur > span { position: absolute; inset: 0; -webkit-backdrop-filter: blur(var(--blur-radius)); backdrop-filter: blur(var(--blur-radius)); -webkit-mask-image: linear-gradient(180deg, transparent calc((var(--blur-step) - 1) * 100% / 16), #000 calc(var(--blur-step) * 100% / 16)); mask-image: linear-gradient(180deg, transparent calc((var(--blur-step) - 1) * 100% / 16), #000 calc(var(--blur-step) * 100% / 16)); }
    .site-footer__content { width: 100%; flex: none; grid-template-columns: 1fr; gap: 48px; }
    .site-footer__brand, .site-footer__column { min-height: auto; gap: 36px; }
    .site-footer__legal { width: 100%; }
    .contact-page { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    :root { --page-gutter: 20px; }
    .tappa { padding-top: 52svh; }
    .tappa .blocco { opacity: var(--opacita-testo, 1); }
    .eyebrow { margin-left: 0; font-size: 14px; line-height: 22px; }
    .title-lines { font-size: clamp(38px, 11.5vw, 52px); line-height: .82; letter-spacing: -1.2px; white-space: normal; }
    .section-heading--hero .title-lines { font-size: clamp(48px, 16vw, 70px); }
    .section-heading--hero h1 { margin-bottom: -22px; }
    .claim-lines, .section-heading--hero .claim-lines { font-size: 18px; line-height: 18px; }
    .section-heading { margin-bottom: 30px; }
    .section-number { top: -38px; left: -12px; height: 76px; font-size: 104px; line-height: 76px; -webkit-text-stroke-width: 1.5px; }
    .section-heading--hero { margin-bottom: 42px; }
    .section-lead { font-size: 18px; line-height: 26px; }
    .section-body, .section-body--hero { font-size: 15px; line-height: 24px; }
    .knowhow-cards { grid-template-columns: 1fr; }
    /* Figma, home mobile 361:2647: niente scroll orizzontale. Barra larga quanto il contenuto con due
       linguette uguali, «Laboratori» al posto di «Tipologie di laboratori», una colonna sola, righe da 24. */
    .sector-tabs__list { display: flex; margin-left: 0; }
    .sector-tabs__tab, .sector-tabs__tab:last-child { flex: 1 1 0; width: auto; min-width: 0; padding-inline: 12px; }
    .sector-tabs__label--full { display: none; }
    .sector-tabs__label--short { display: inline; }
    .sector-box__columns { grid-template-columns: 1fr; gap: 0; }
    .sector-box li { line-height: 24px; }
    .contact-form { grid-template-columns: 1fr; padding: 32px 20px; }
    .contact-form > * { grid-column: 1 !important; }
    /* Figma non ha il form della home in versione mobile: restano i margini di prima. Il pulsante sta a destra
       come nel form della pagina contatti (Paolo, 02-10). */
    .tappa--contact .contact-form { margin-top: 52px; padding: 32px 20px; }
    .tappa--contact .contact-form h2 { font-size: 20px; line-height: 28px; }
}

/* Home mobile: velo del colore di fondo dietro ai testi, sopra l'animazione. Alessandra (02-10): «animazione
   sotto a tutto e sopra un layer un po' opacizzato con scritte»; scelta di Paolo fra tre prove (velo su tutto
   lo schermo: troppo scuro; vetro dietro ai blocchi: cambiava il design). Largo quanto lo schermo e sfumato per
   72 px sopra e sotto, così non si legge come un riquadro; dove non ci sono sfere non si vede. */
@media (max-width: 1023px) {
    .home-page .tappa:not(.tappa--final) .blocco { position: relative; isolation: isolate; }
    .home-page .tappa:not(.tappa--final) .blocco::before { position: absolute; z-index: -1; top: -72px; bottom: -72px; left: calc(-1 * var(--page-gutter)); width: 100vw; background: rgba(76, 55, 76, .75); -webkit-mask-image: linear-gradient(180deg, transparent, #000 72px, #000 calc(100% - 72px), transparent); mask-image: linear-gradient(180deg, transparent, #000 72px, #000 calc(100% - 72px), transparent); pointer-events: none; content: ""; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .riserva img { transition: none; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
