.header-inner { column-gap: 20px; padding-right: 98px; }
.header-inner > .brand { flex-shrink: 0; }
.brand .brand-wordmark { display: flex; flex-direction: column; gap: 3px; font-size: 30px; line-height: 1; }
.brand .brand-subtitle { font-family: var(--sans); font-size: 10px; font-weight: 500; line-height: 1.3; letter-spacing: 1.5px; text-transform: uppercase; }
.header-inner > #main-nav { margin-left: auto; gap: clamp(10px, 1.3vw, 18px); }
.language-toggle { position: absolute; right: clamp(12px, 2vw, 28px); top: 50%; transform: translateY(-50%); z-index: 30; display: grid; place-items: center; width: 88px; min-height: 48px; border-radius: 999px; }
.language-track { position: relative; display: flex; width: 80px; height: 38px; overflow: hidden; border: 1px solid #796587; border-radius: 999px; box-shadow: 0 2px 7px #422a5418; }
.language-flag { width: 50%; height: 100%; background-position: center; background-size: cover; }
.language-flag-it { background-image: url('../images/flag-it.svg'); }
.language-flag-en { background-image: url('../images/flag-en.svg'); }
.language-thumb { position: absolute; top: 3px; left: 3px; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #e5dce9; border-radius: 50%; background: #fff; color: #422a54; box-shadow: 0 1px 5px #21152950; font: 700 11px/1 sans-serif; letter-spacing: .3px; }
.language-toggle[data-language="en"] .language-thumb { transform: translateX(41px); }
.language-toggle:hover .language-track { box-shadow: 0 2px 10px #422a5438; }
.language-toggle:focus-visible { outline: 3px solid #8050a3; outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .language-thumb { transition: transform .2s ease; }
  .motion-paused .language-thumb { transition: none; }
}
.privacy-layout { max-width: 900px; }
.privacy-layout .privacy-summary { background: var(--sage-soft); border: 1px solid #c5d8c2; border-radius: 12px; padding: 25px; margin-block: 28px; }
.privacy-layout .privacy-summary p:last-child { margin-bottom: 0; }
.privacy-layout p, .privacy-layout li { font-size: 16px; }
.privacy-layout a:not(.button) { text-decoration: underline; text-underline-offset: 3px; }
.privacy-layout .privacy-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-block: 25px 35px; font-size: 15px; }
.privacy-layout .privacy-nav a { min-height: 40px; display: inline-flex; align-items: center; }
.privacy-layout section { scroll-margin-top: 35px; }
.privacy-layout h2 { font-size: 30px; }
.privacy-layout ul { padding-left: 23px; }
@media (max-width: 1000px) {
  .header-inner { min-height: 82px; column-gap: 14px; }
  .header-inner > .brand { margin-right: auto; }
  .header-inner .menu-toggle { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); padding: 8px 12px; background: transparent; border-radius: 4px; font-size: 15px; color: var(--plum); min-height: 48px; }
  .header-inner .menu-lines { display: block; width: 15px; height: 8px; border-block: 1px solid currentColor; }
  .header-inner > #main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin-left: 0; padding: 24px 22px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 16px; font-size: 16px; box-shadow: 0 20px 30px #422a540b; }
  .header-inner > #main-nav.is-open { display: flex; }
  .header-inner > #main-nav > a:not(.button) { padding: 9px 0; }
}
@media (max-width: 560px) {
  .header-inner { column-gap: 8px; }
  .header-inner .brand { gap: 6px; }
  .header-inner .brand-wordmark { font-size: 26px; }
  .header-inner .brand-subtitle { font-size: 9px; letter-spacing: 1px; }
  .header-inner .brand img { width: 28px; height: 28px; }
  .header-inner .menu-toggle { position: relative; justify-content: center; min-width: 44px; padding: 10px; gap: 0; }
  .header-inner .menu-toggle > span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .privacy-layout h1 { font-size: 43px; }
  .privacy-layout .privacy-summary { padding: 20px; }
  .privacy-layout .privacy-nav { gap: 8px 18px; }
}

@media (max-width: 360px) {
  .header-inner { padding-right: 88px; }
  .header-inner .brand { gap: 5px; }
  .header-inner .brand img { width: 25px; height: 25px; }
  .header-inner .brand-subtitle { font-size: 8px; letter-spacing: .5px; }
  .footer-main > p { width: 100%; padding-top: 0; text-align: left; }
}
