/* Menu, assistant alignment and footer composition from the owner's screenshots. */
.header-inner{max-width:none;padding-left:max(var(--gutter),calc((100vw - 1440px)/2 + var(--gutter)));padding-right:clamp(16px,2vw,32px);gap:30px}
.header-inner>.primary-nav{margin-left:auto}.header-controls{position:relative;display:flex;align-items:center;margin-left:4px;gap:0}
.header-controls>.menu-toggle{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:48px;height:48px;border:1px solid var(--border);border-radius:50%;padding:12px;background:var(--canvas);color:var(--foreground)}
.header-controls>.menu-toggle span{margin:0;width:20px;height:2px;flex-shrink:0;background:currentColor;transition:transform .25s,opacity .2s}
.header-controls>.menu-toggle[aria-expanded=true] span:first-child{transform:translateY(8px) rotate(45deg)}
.header-controls>.menu-toggle[aria-expanded=true] span:nth-child(2){opacity:0}
.header-controls>.menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-8px) rotate(-45deg)}
.site-settings{position:absolute;top:calc(100% + 18px);right:0;width:min(320px,calc(100vw - 32px));max-height:calc(100dvh - var(--header-height) - 30px);overflow:auto;padding:22px;background:var(--canvas);color:var(--foreground);border:1px solid var(--border);border-radius:24px;box-shadow:0 20px 60px #0a111a22;animation:settings-enter .2s ease-out;z-index:110}
.settings-heading{font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:var(--soft);margin:0 0 12px}
.site-settings .settings-row{display:flex;align-items:center;gap:12px;width:100%;height:auto;min-height:48px;padding:12px;border:0;border-radius:14px;background:var(--panel);color:var(--foreground);font:500 13px Sora,Arial,sans-serif;text-align:left}
.site-settings .settings-row svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;flex-shrink:0}
.settings-arrow,.settings-value{margin-left:auto}.settings-value{font-size:11px;color:var(--soft)}
.site-settings .theme-toggle .theme-sun,.site-settings .theme-toggle .theme-moon{position:static;transform:none}
html[data-theme=light] .site-settings .theme-moon,html[data-theme=dark] .site-settings .theme-sun{display:none}
html[data-theme=light] .site-settings .theme-sun,html[data-theme=dark] .site-settings .theme-moon{display:block}
.settings-navigation{display:none;gap:2px;margin-top:12px}.settings-navigation a{padding:10px 12px;font-size:13px;border-radius:12px}
.settings-group{margin-top:22px;padding-top:20px;border-top:1px solid var(--border)}
.settings-system{font-size:11px;background:none;color:var(--soft);padding:10px 12px;min-height:40px;text-align:left;width:100%;border-radius:12px}
.settings-system[aria-pressed=true]{color:var(--foreground)}
.settings-links{display:grid;gap:10px;padding:20px 12px 0;margin-top:12px;border-top:1px solid var(--border);font-size:12px}
.site-settings a:hover,.settings-system:hover{background:var(--panel)}
.site-settings :is(a,button):focus-visible,.menu-toggle:focus-visible{outline:2px solid var(--catalog-label-ink);outline-offset:3px}
.assistant-dock,body[data-page="servizi.html"] .assistant-dock{right:clamp(12px,1.3vw,24px)}
.footer-reach{display:flex;flex-direction:column;gap:0;align-items:flex-start;min-width:0}
.footer-reach>.section-label{margin:0 0 20px;font-size:10px;line-height:17px}
.footer-reach>.section-label::after{margin-top:18px;height:3px;width:38px}
.footer-reach>a:not(.exchange-attribution),.footer-location{display:block;line-height:24px;margin:0 0 18px;font-size:13px;max-width:100%;overflow-wrap:anywhere}
.footer-columns{padding-top:58px;align-self:start;align-items:start}
.footer-columns>div{display:flex;flex-direction:column;gap:18px}.footer-columns a{display:block;font-size:12px;line-height:24px}
.footer-socials{display:flex;gap:18px 20px;flex-wrap:wrap;margin-top:4px}.footer-socials a{display:inline-flex;gap:8px;align-items:center;line-height:24px;white-space:nowrap}
.footer-reach .exchange-attribution{display:block;margin-top:16px}.footer-reach .exchange-attribution[hidden]{display:none}
@keyframes settings-enter{from{transform:translateY(-6px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(max-width:900px){.footer-columns{padding-top:0}}
@media(max-width:899px){.header-inner>.primary-nav{display:none!important}.settings-navigation{display:grid}.header-controls{margin-left:auto}.header-inner{gap:12px;padding-left:var(--gutter)}.site-settings{top:calc(100% + 12px)}}
@media(max-width:620px){.header-controls>.menu-toggle{width:42px;height:42px}.site-settings{padding:18px;border-radius:20px}.footer-socials{gap:12px 18px}.footer-columns{gap:40px}.footer-reach>.section-label{margin-bottom:20px}}
@media(prefers-reduced-motion:reduce){.site-settings{animation:none}.header-controls>.menu-toggle span{transition:none}}
