
:root {
  --bg: #0b1320;
  --bg-soft: #111c2e;
  --card: #ffffff;
  --text: #172033;
  --muted: #576176;
  --gold: #c8a24d;
  --gold-dark: #9a7628;
  --line: #d9e0ea;
  --white: #ffffff;
  --accent: #f7f1e2;
  --success: #0f766e;
  --shadow: 0 16px 40px rgba(10, 18, 34, 0.12);
  --radius: 18px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(200,162,77,.08), transparent 18%),
    radial-gradient(circle at bottom right, rgba(11,19,32,.07), transparent 24%),
    linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; border-radius: 16px; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.section { padding: 72px 0; }
.section.alt { background: #fff; }
.eyebrow {
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 12px;
}
h1,h2,h3,h4 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.15;
  margin: 0 0 18px;
}
h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 16px; color: var(--muted); }
.lead { font-size: 1.08rem; color: #e6edf8; max-width: 760px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--gold), #f2d188); color: #10182a; }
.btn-secondary { background: rgba(255,255,255,.08); color: var(--white); border: 1px solid rgba(255,255,255,.18); }
.btn-light { background: #fff; color: #0f172a; }
.btn-outline { background: transparent; color: var(--gold-dark); border: 1px solid rgba(154,118,40,.35); }
.site-nav {
  position: sticky; top: 0; z-index: 40; backdrop-filter: blur(10px);
  background: rgba(8,16,30,.90); border-bottom: 1px solid rgba(255,255,255,.08); display:flex; align-items:center; justify-content:space-between; gap: 16px; padding: 10px 22px;
}
.brand {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  color: #fff;
  font-weight: 700;
}
.brand span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a { color: rgba(255,255,255,.88); font-weight: 600; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.btn-nav { background: var(--gold); color: #111827 !important; padding: 10px 16px; }
.nav-toggle { display: none; background: transparent; color: #fff; border: 0; font-size: 1.5rem; }
.hero {
  background:
    linear-gradient(135deg, rgba(6,11,20,.98), rgba(13,22,38,.96)),
    radial-gradient(circle at top right, rgba(200,162,77,.28), transparent 30%);
  color: #fff;
  padding: 92px 0 84px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(242,209,136,.18), transparent 14%),
    radial-gradient(circle at 20% 85%, rgba(200,162,77,.12), transparent 18%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 38px; align-items: center; position: relative; z-index: 1; }
.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
}
.hero-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 24px; }
.stat {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 18px;
}
.stat strong { display: block; font-size: 1.35rem; color: var(--gold); margin-bottom: 6px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.trustbar {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 24px;
}
.trust-item {
  background: #fff; border-radius: 18px; padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.cards-3, .cards-2, .cards-4 { display: grid; gap: 22px; }
.cards-3 { grid-template-columns: repeat(3,1fr); }
.cards-2 { grid-template-columns: repeat(2,1fr); }
.cards-4 { grid-template-columns: repeat(4,1fr); }
.card {
  background: rgba(255,255,255,.96); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid rgba(217,224,234,.85); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(10,18,34,.14); border-color: rgba(182,138,47,.38); }
.card.dark {
  background: linear-gradient(180deg, var(--bg), var(--bg-soft)); color: #fff; border-color: rgba(255,255,255,.08);
}
.card.dark p, .card.dark li { color: rgba(255,255,255,.82); }
.icon-badge {
  width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--gold-dark); font-weight: 900; margin-bottom: 14px;
}
.list-clean { list-style: none; padding: 0; margin: 0; }
.list-clean li { margin: 10px 0; color: var(--muted); position: relative; padding-left: 24px; }
.list-clean li::before { content: '•'; color: var(--gold-dark); position: absolute; left: 8px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.banner {
  background: linear-gradient(135deg, #fff9ea, #fffdf7);
  border: 1px solid #ead39b;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 18px 45px rgba(182,138,47,.12);
}
.banner p strong { color: var(--text); }
.city-card img { margin-bottom: 18px; aspect-ratio: 4 / 3; object-fit: cover; }
.cta-strip {
  background: linear-gradient(135deg, #0a1322, #15233d 58%, #1f3154 100%);
  color: #fff;
  border-radius: 30px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 24px 60px rgba(8,17,30,.26);
  border: 1px solid rgba(255,255,255,.08);
}
.cta-strip p { color: rgba(255,255,255,.8); }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 14px; box-shadow: var(--shadow);
}
.faq summary { cursor: pointer; font-weight: 700; color: var(--text); }
.site-footer {
  background: #08111e;
  color: #fff;
  padding-top: 46px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 24px;
}
.site-footer p, .site-footer li, .site-footer a { color: rgba(255,255,255,.78); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 26px; padding: 18px 0; }
.breadcrumbs { color: rgba(255,255,255,.72); font-size: .95rem; margin-bottom: 12px; }
.breadcrumbs a { color: rgba(255,255,255,.72); }
.page-hero { padding: 86px 0 58px; background: linear-gradient(135deg, rgba(8,13,24,.98), rgba(15,25,43,.95)); color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content:''; position:absolute; width:420px; height:420px; border-radius:50%; background: radial-gradient(circle, rgba(200,162,77,.18), transparent 60%); top:-120px; right:-120px; pointer-events:none; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 780px; }
.info-grid { display: grid; grid-template-columns: 1fr .95fr; gap: 26px; }
.contact-box { background: #fff; border-radius: 18px; padding: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact-box strong { color: var(--text); }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: 10px; }
.map-frame { width: 100%; min-height: 360px; border: 0; border-radius: 18px; }
.kicker { font-size: .92rem; color: var(--gold-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
small.note { display: block; margin-top: 12px; color: var(--muted); }
.premium-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 30px;
  padding: 18px;
  box-shadow: 0 30px 70px rgba(0,0,0,.24);
}
.premium-panel img { border-radius: 22px; }
.premium-panel::after {
  content:'';
  position:absolute;
  inset: 12px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.08);
  pointer-events:none;
}
.feature-ribbon {
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color:#fff;
  font-weight:600;
  margin-bottom:18px;
}
.premium-grid {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  margin-top:16px;
}
.premium-mini {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 16px;
}
.premium-mini strong { color: #f2d188; display:block; margin-bottom:6px; }
.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}
@media (max-width: 980px) {
  .hero-grid, .split, .info-grid, .footer-grid, .cards-4, .cards-3, .cards-2, .trustbar { grid-template-columns: 1fr; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 840px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; right: 16px; top: 82px; background: #0c1525; border: 1px solid rgba(255,255,255,.08); padding: 18px; border-radius: 18px; flex-direction: column; align-items: flex-start; width: min(280px, calc(100% - 32px)); }
  .nav-links.open { display: flex; }
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand-logo img {
  height: 138px;
  max-width: 620px;
  width: auto;
  display: block;
  object-fit: contain;
}
@media (max-width: 1080px) {
  .brand-logo img {
    height: 100px;
    max-width: 340px;
  }
}
@media (max-width: 840px) {
  .brand-logo img {
    height: 76px;
    max-width: 270px;
  }
}

.hero-slider {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 360px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .7s ease;
  border-radius: 22px;
}
.hero-slide.active {
  opacity: 1;
}
@media (max-width: 840px) {
  .hero-slider {
    min-height: 280px;
  }
}


/* Layout legale */
.page-hero { padding: 54px 0 18px; background: linear-gradient(180deg, rgba(11,19,32,.98), rgba(17,29,49,.95)); color:#fff; }
.narrow { max-width: 860px; }
.legal-page h2 { margin-top: 28px; }
.legal-page ul { padding-left: 20px; }

/* Logo più grande e più pulito */
.brand-logo { display:inline-flex; align-items:center; line-height:0; }
.site-nav { gap: 16px; }
.nav-links { gap: 16px; }
.brand-logo img { height: 138px; max-width: 620px; width:auto; }
@media (max-width: 1080px) {
  .brand-logo img { height: 116px; max-width: 520px; }
  .site-nav { padding: 8px 18px; }
}
@media (max-width: 840px) {
  .brand-logo img { height: 86px; max-width: 360px; }
  .site-nav { padding: 8px 14px; }
}

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 120;
  background: rgba(9,17,30,.98); color: #fff; border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px; box-shadow: 0 22px 55px rgba(0,0,0,.28);
}
.cookie-banner__content {
  max-width: 1280px; margin: 0 auto; padding: 18px 20px; display: flex; gap: 18px; align-items: center; justify-content: space-between;
}
.cookie-banner__content p { margin: 6px 0 0; color: rgba(255,255,255,.82); max-width: 760px; }
.cookie-banner__actions { display:flex; flex-wrap:wrap; gap:10px; }
.btn-light { background:#fff; color:#0b1320; border:1px solid #fff; }
.btn-light:hover { background:#f5f5f5; }

.cookie-modal-overlay {
  position: fixed; inset: 0; background: rgba(4,10,20,.62); z-index: 130; display: none; align-items: center; justify-content: center; padding: 18px;
}
.cookie-modal-overlay.open { display:flex; }
.cookie-modal {
  width: min(680px, 100%); background:#fff; color:#152033; border-radius: 20px; box-shadow: 0 28px 70px rgba(0,0,0,.25); padding: 24px;
}
.cookie-modal__header { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom: 14px; }
.cookie-modal__header h3 { margin:0; }
.cookie-close { border:0; background:transparent; font-size:32px; line-height:1; cursor:pointer; color:#1d2940; }
.cookie-option {
  display:flex; align-items:center; justify-content:space-between; gap: 16px; border:1px solid rgba(11,19,32,.08); border-radius:16px; padding:16px 18px; margin-top:14px;
}
.cookie-option p { margin:6px 0 0; color:#4a566d; }
.cookie-modal__actions { display:flex; justify-content:flex-end; gap:10px; margin-top:18px; flex-wrap:wrap; }
.switch { position:relative; width:56px; height:32px; display:inline-block; }
.switch input { opacity:0; width:0; height:0; }
.switch span { position:absolute; inset:0; background:#ccd3df; border-radius:50px; transition:.2s; }
.switch span:before { content:''; position:absolute; width:24px; height:24px; left:4px; top:4px; background:#fff; border-radius:50%; transition:.2s; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.switch input:checked + span { background:#0b1320; }
.switch input:checked + span:before { transform: translateX(24px); }
.switch.disabled { opacity:.65; }

.map-consent, .map-placeholder { min-height: 340px; border-radius: var(--radius); overflow: hidden; }
.map-placeholder {
  background: linear-gradient(135deg, #f6f8fb, #eef2f8); border: 1px solid rgba(13,21,35,.08); display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:28px;
}
.map-placeholder p { max-width: 560px; }
.actions.compact { gap: 10px; }

@media (max-width: 840px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
  .cookie-banner__content { flex-direction: column; align-items: flex-start; padding: 16px; }
  .cookie-banner__actions { width:100%; }
  .cookie-banner__actions .btn { flex:1 1 auto; text-align:center; justify-content:center; }
  .cookie-option { align-items:flex-start; }
}


/* ===== Premium institutional refresh ===== */
:root {
  --bg-deep: #08111d;
  --bg-deeper: #050b14;
  --ink-soft: #536077;
  --gold-premium: #d7b56d;
  --gold-premium-2: #f0ddb0;
  --panel-premium: rgba(255,255,255,.82);
}
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(circle at top left, rgba(215,181,109,.10), transparent 28%),
    radial-gradient(circle at top right, rgba(255,255,255,.05), transparent 24%),
    linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
  color: #142033;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300; background: #0b1320; color: #fff;
  padding: 12px 16px; border-radius: 12px; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.24);
}
.skip-link:focus { top: 16px; }

.site-nav {
  background: linear-gradient(180deg, rgba(5,11,20,.95), rgba(10,18,32,.92));
  border-bottom: 1px solid rgba(215,181,109,.22);
  box-shadow: 0 14px 42px rgba(7,14,26,.18);
}
.nav-links a { font-weight: 600; letter-spacing: .01em; }
.nav-links a:not(.btn) { color: rgba(255,255,255,.88); }
.nav-links a:not(.btn):hover { color: #fff; }
.brand-logo img { height: 154px; max-width: 700px; filter: drop-shadow(0 8px 20px rgba(0,0,0,.18)); }
@media (max-width: 1080px) { .brand-logo img { height: 124px; max-width: 560px; } }
@media (max-width: 840px) { .brand-logo img { height: 90px; max-width: 390px; } }

.hero {
  padding-top: 36px;
  background:
    radial-gradient(circle at 18% 12%, rgba(215,181,109,.20), transparent 22%),
    radial-gradient(circle at 78% 18%, rgba(255,255,255,.09), transparent 20%),
    linear-gradient(135deg, var(--bg-deeper) 0%, var(--bg-deep) 42%, #111f35 100%);
}
.hero:before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent 30%);
}
.hero-grid { align-items: center; gap: 38px; }
.feature-ribbon {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(215,181,109,.26);
  color: #f2deb1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.eyebrow { color: #d7b56d; }
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1.05; letter-spacing: -.03em; max-width: 14ch; }
.lead { font-size: 1.12rem; color: rgba(255,255,255,.84); max-width: 60ch; }
.premium-panel {
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.90));
  border: 1px solid rgba(215,181,109,.25);
  box-shadow: 0 30px 80px rgba(3,10,18,.30);
}
.hero-slider { border-radius: 20px; min-height: 410px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.hero-slide { transform: scale(1.02); }
.premium-mini, .stat {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,248,251,.92));
  border: 1px solid rgba(13,21,35,.08);
}
.stat strong { color: #0d1627; }
.stat span { color: #5b6780; }

.section { position: relative; }
.section.alt {
  background: linear-gradient(180deg, rgba(255,255,255,.54), rgba(250,251,253,.92));
}
.card, .banner, .trust-item, .city-card, .premium-mini, .stat {
  border-radius: 22px;
}
.card, .banner, .trust-item, .city-card {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,249,252,.96));
  border: 1px solid rgba(13,21,35,.08);
  box-shadow: 0 16px 40px rgba(15,24,38,.08);
}
.card:hover, .city-card:hover { transform: translateY(-5px); box-shadow: 0 26px 60px rgba(8,16,28,.14); }
.banner {
  background: linear-gradient(180deg, #111d31, #0d1627);
  color: #fff;
  border: 1px solid rgba(215,181,109,.22);
  box-shadow: 0 24px 70px rgba(3,10,18,.22);
}
.banner .eyebrow { color: #f2deb1; }
.banner p { color: rgba(255,255,255,.88); }
.trustbar { gap: 18px; }
.trust-item strong { display: inline-block; margin-bottom: 8px; }

.site-footer {
  background:
    radial-gradient(circle at top left, rgba(215,181,109,.10), transparent 18%),
    linear-gradient(135deg, #08111d 0%, #0d1729 100%);
  border-top: 1px solid rgba(215,181,109,.22);
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }

/* Focus states */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid #d7b56d;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(215,181,109,.18);
}

/* ===== Accessibility tools ===== */
.accessibility-fab {
  position: fixed; right: 18px; bottom: 98px; z-index: 160;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px; padding: 14px 18px;
  background: linear-gradient(135deg, #0b1320, #14233c);
  color: #fff; box-shadow: 0 20px 45px rgba(4,10,20,.28);
  cursor: pointer; font-weight: 700;
}
.accessibility-fab svg { width: 20px; height: 20px; }
.accessibility-panel {
  position: fixed; right: 18px; bottom: 162px; z-index: 165; width: min(380px, calc(100vw - 24px));
  background: rgba(255,255,255,.98); color: #162234; border-radius: 22px; border: 1px solid rgba(13,21,35,.10);
  box-shadow: 0 28px 70px rgba(0,0,0,.24); padding: 18px; display: none;
}
.accessibility-panel.open { display: block; }
.accessibility-panel h3 { margin: 0 0 8px; }
.accessibility-panel p { color: #566177; font-size: .96rem; margin-top: 0; }
.accessibility-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.accessibility-btn {
  border: 1px solid rgba(13,21,35,.10); background: #fff; color: #162234; border-radius: 14px; padding: 12px 12px; text-align: left; font-weight: 700; cursor: pointer;
}
.accessibility-btn small { display: block; font-weight: 500; color: #667288; margin-top: 4px; }
.accessibility-btn:hover { background: #f6f8fb; }
.accessibility-note { margin-top: 12px; font-size: .88rem; color: #647188; }

body.acc-font-large { font-size: 118%; }
body.acc-font-larger { font-size: 128%; }
body.acc-readable-font, body.acc-readable-font * { font-family: Arial, Helvetica, sans-serif !important; letter-spacing: normal !important; }
body.acc-high-contrast {
  background: #fff !important; color: #000 !important;
}
body.acc-high-contrast .hero,
body.acc-high-contrast .site-footer,
body.acc-high-contrast .banner,
body.acc-high-contrast .site-nav {
  background: #000 !important; color: #fff !important;
}
body.acc-high-contrast .card,
body.acc-high-contrast .trust-item,
body.acc-high-contrast .city-card,
body.acc-high-contrast .premium-panel,
body.acc-high-contrast .premium-mini,
body.acc-high-contrast .stat,
body.acc-high-contrast .cookie-modal,
body.acc-high-contrast .accessibility-panel,
body.acc-high-contrast .map-placeholder {
  background: #fff !important; color: #000 !important; border-color: #000 !important; box-shadow: none !important;
}
body.acc-high-contrast a { color: #0037ff !important; }
body.acc-underline-links a { text-decoration: underline !important; text-underline-offset: 3px; }
body.acc-stop-animations *, body.acc-stop-animations *::before, body.acc-stop-animations *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important;
}
body.acc-highlight-focus a:focus-visible, body.acc-highlight-focus button:focus-visible, body.acc-highlight-focus input:focus-visible {
  outline: 4px solid #ff8c00 !important; box-shadow: 0 0 0 8px rgba(255,140,0,.24) !important;
}

@media (max-width: 840px) {
  .accessibility-fab { bottom: 86px; right: 12px; padding: 13px 15px; }
  .accessibility-panel { right: 12px; bottom: 146px; width: calc(100vw - 24px); }
  .accessibility-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
}


/* ===== Ultra final institutional luxury layer ===== */
.hero {
  padding-top: 44px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 18%),
    radial-gradient(circle at 18% 10%, rgba(215,181,109,.24), transparent 22%),
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.12), transparent 18%),
    linear-gradient(140deg, #060d17 0%, #0c1728 44%, #13243e 100%);
}
.hero-grid { gap: 44px; }
.hero h1 {
  font-size: clamp(2.9rem, 5vw, 4.8rem);
  max-width: 12ch;
  text-wrap: balance;
}
.lead { font-size: 1.14rem; line-height: 1.75; }
.premium-panel {
  border-radius: 28px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(250,251,253,.93));
}
.hero-slider { min-height: 450px; border-radius: 24px; }
.hero-slide { object-position: center; }
.feature-ribbon { font-weight: 700; letter-spacing: .07em; }
.premium-mini strong, .stat strong { letter-spacing: -.01em; }
.banner, .card, .trust-item, .city-card, .premium-panel, .premium-mini, .stat { backdrop-filter: blur(8px); }
.executive-cards { align-self: stretch; }
.executive-card { min-height: 100%; }
.soft-banner {
  background: linear-gradient(180deg, #101b2d, #16263f);
  margin-bottom: 26px;
}
.page-hero {
  background:
    radial-gradient(circle at top left, rgba(215,181,109,.18), transparent 18%),
    linear-gradient(180deg, rgba(8,17,29,.98), rgba(16,28,46,.96));
}
.site-footer h3 { color: #fff; }
.site-footer a { color: rgba(255,255,255,.86); }
.site-footer a:hover { color: #fff; }
.accessibility-fab {
  background: linear-gradient(135deg, #0b1320, #1a2a44);
  border: 1px solid rgba(215,181,109,.28);
}
.accessibility-panel {
  border: 1px solid rgba(215,181,109,.22);
}
@media (max-width: 840px) {
  .hero-slider { min-height: 320px; }
  .hero h1 { max-width: none; }
}


/* ===== Definitiva compliance layer ===== */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.visually-hidden-anchor { position: relative; top: -120px; }
main:focus { outline: none; }
.nav-toggle {
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 12px;
  padding: 10px 12px;
}
.nav-toggle[aria-expanded="true"] { background: rgba(255,255,255,.08); }
.cookie-banner { padding-right: 56px; }
.cookie-dismiss {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: transparent;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}
.cookie-banner__content strong a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cookie-policy-link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


.article-layout{display:grid;grid-template-columns:minmax(0,1.1fr) 320px;gap:28px;align-items:start}
.article-body{background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);padding:34px}
.article-body h2{margin-top:28px}
.article-body h3{margin-top:22px}
.article-body table{width:100%;border-collapse:collapse;margin:18px 0;background:#fff}
.article-body th,.article-body td{border:1px solid var(--line);padding:12px 10px;text-align:left;vertical-align:top}
.article-body th{background:#f7f1e2;color:#2b2414}
.article-body ul,.article-body ol{padding-left:22px;color:var(--muted)}
.toc-card,.source-card{position:sticky;top:96px;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);padding:24px}
.toc-card ul,.source-card ul{padding-left:18px;margin:10px 0 0}
.note-box,.warning-box{border-radius:18px;padding:18px 20px;margin:18px 0}
.note-box{background:#eef4ff;border:1px solid #cfe0ff}
.warning-box{background:#fff4e6;border:1px solid #f2c88c}
.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.guide-grid .card h3{min-height:56px}
.guide-list{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.pill-list{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
.pill-list span{display:inline-flex;padding:8px 14px;border-radius:999px;background:#f7f1e2;border:1px solid rgba(154,118,40,.18);font-weight:700;color:#5a4517}
.cta-panel{background:linear-gradient(135deg,#0b1320,#152238);color:#fff;border-radius:26px;padding:28px;border:1px solid rgba(255,255,255,.08);box-shadow:0 28px 70px rgba(0,0,0,.18)}
.cta-panel p{color:#dbe6f8}
@media (max-width:980px){.article-layout{grid-template-columns:1fr}.toc-card,.source-card{position:static}.guide-grid,.guide-list{grid-template-columns:1fr}}

/* ===== Compact layout rebalance ===== */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-size: 16px;
}
p, li {
  font-size: 0.98rem;
}
h1 { font-size: clamp(2rem, 4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
h3 { font-size: 1.22rem; }
.section { padding: 56px 0; }
.site-nav {
  padding: 8px 18px;
  gap: 14px;
}
.nav-links {
  gap: 14px;
}
.nav-links a {
  font-size: 0.95rem;
}
.brand-logo img {
  height: 76px;
  max-width: 320px;
  width: auto;
}
.btn {
  padding: 12px 18px;
  font-size: 0.95rem;
}
.btn-nav {
  padding: 9px 14px;
}
.hero {
  padding: 28px 0 54px;
}
.hero-grid {
  gap: 30px;
}
.feature-ribbon {
  padding: 8px 14px;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.1vw, 3.6rem);
  line-height: 1.08;
  max-width: 13ch;
}
.lead {
  font-size: 1rem;
  line-height: 1.68;
  max-width: 58ch;
}
.actions {
  gap: 12px;
  margin-top: 22px;
}
.hero-stats,
.trustbar,
.cards-3,
.cards-2,
.cards-4,
.premium-grid {
  gap: 14px;
}
.hero-card,
.card,
.banner,
.trust-item,
.city-card,
.premium-mini,
.stat,
.contact-box,
.article-body,
.toc-card,
.source-card,
.cta-panel {
  border-radius: 18px;
}
.hero-card,
.card,
.banner,
.contact-box,
.article-body,
.toc-card,
.source-card,
.cta-panel {
  padding: 22px;
}
.trust-item,
.premium-mini,
.stat {
  padding: 16px;
}
.hero-slider {
  min-height: 340px;
  border-radius: 18px;
}
.page-hero {
  padding: 58px 0 34px;
}
.breadcrumbs {
  font-size: 0.9rem;
}
.cookie-banner {
  left: 14px;
  right: 14px;
  bottom: 14px;
}
.cookie-banner__content {
  padding: 14px 16px;
}
.cookie-banner__content p {
  font-size: 0.94rem;
}
.accessibility-fab {
  padding: 12px 16px;
}
.accessibility-panel {
  width: min(360px, calc(100vw - 24px));
}
.article-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
}
.article-body table th,
.article-body table td {
  padding: 10px 8px;
}
@media (max-width: 1080px) {
  .brand-logo img {
    height: 64px;
    max-width: 280px;
  }
  .hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    max-width: 14ch;
  }
  .hero-slider {
    min-height: 300px;
  }
}
@media (max-width: 840px) {
  .site-nav {
    padding: 8px 14px;
  }
  .brand-logo img {
    height: 50px;
    max-width: 210px;
  }
  .nav-links {
    top: 66px;
  }
  .hero {
    padding: 24px 0 42px;
  }
  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    max-width: none;
  }
  .lead,
  p,
  li {
    font-size: 0.96rem;
  }
  .hero-slider {
    min-height: 250px;
  }
  .section {
    padding: 44px 0;
  }
}


/* ===== Contrast and wording cleanup ===== */
.premium-panel {
  color: #162234;
}
.premium-mini strong,
.premium-mini b {
  color: #0f172a !important;
}
.premium-mini span,
.premium-mini p {
  color: #556277 !important;
}
.banner p,
.banner li {
  color: rgba(255,255,255,.92) !important;
}
.banner p strong,
.banner li strong,
.banner strong {
  color: #ffffff !important;
}
.feature-ribbon {
  color: #fff5d9;
}
.cookie-banner__content strong,
.cookie-banner__content p,
.cookie-policy-link {
  color: #ffffff !important;
}
.site-footer a {
  color: rgba(255,255,255,.88);
}
.site-footer a:hover {
  color: #ffffff;
}

/* ===== Final mobile + logo refinements ===== */
.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 10px 20px;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0,0,0,.14);
}
.brand-logo img {
  height: 58px !important;
  max-width: 250px !important;
  width: auto;
  display: block;
  filter: none !important;
}
.site-nav {
  gap: 18px;
}
.nav-links {
  gap: 14px;
}
img {
  max-width: 100%;
  height: auto;
}
.article-body table {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.article-body table th,
.article-body table td {
  white-space: nowrap;
}
@media (max-width: 1080px) {
  .brand-logo {
    padding: 9px 18px;
    border-radius: 16px;
  }
  .brand-logo img {
    height: 52px !important;
    max-width: 220px !important;
  }
}
@media (max-width: 840px) {
  html, body {
    overflow-x: hidden;
  }
  .container {
    width: min(var(--max), calc(100% - 24px));
  }
  .site-nav {
    padding: 10px 12px;
    gap: 12px;
  }
  .brand-logo {
    padding: 8px 14px;
    border-radius: 14px;
  }
  .brand-logo img {
    height: 42px !important;
    max-width: 176px !important;
  }
  .nav-links {
    top: 74px;
    right: 12px;
    width: min(320px, calc(100vw - 24px));
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }
  .hero,
  .page-hero {
    padding-top: 28px;
  }
  .hero-grid,
  .split,
  .info-grid,
  .footer-grid,
  .cards-4,
  .cards-3,
  .cards-2,
  .trustbar,
  .article-layout,
  .guide-grid,
  .guide-list {
    grid-template-columns: 1fr !important;
  }
  .hero-slider {
    min-height: 220px !important;
  }
  .premium-panel,
  .hero-card,
  .card,
  .trust-item,
  .city-card,
  .banner,
  .cta-panel,
  .toc-card,
  .article-body {
    padding: 18px;
  }
  .actions {
    gap: 10px;
  }
  .actions .btn {
    width: 100%;
    justify-content: center;
  }
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  .cookie-banner__actions,
  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .accessibility-panel {
    width: calc(100vw - 20px);
    right: 10px;
    bottom: 86px;
  }
}
@media (max-width: 560px) {
  .brand-logo {
    padding: 7px 12px;
    border-radius: 12px;
  }
  .brand-logo img {
    height: 36px !important;
    max-width: 150px !important;
  }
  .hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.2rem) !important;
  }
  .lead,
  p,
  li {
    font-size: 0.98rem;
  }
  .section {
    padding: 36px 0;
  }
}


/* ===== Final 2026 responsive + glossary overlay patch ===== */
* , *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body { overflow-wrap: break-word; }
main, section, article, aside, .container, .hero-grid, .split, .info-grid, .footer-grid, .cards-4, .cards-3, .cards-2, .trustbar, .article-layout, .guide-grid, .guide-list, .premium-grid, .hero-stats { min-width: 0; }
.card, .banner, .trust-item, .premium-mini, .stat, .cta-panel, .article-body, .toc-card, .source-card, .contact-box, .city-card { min-width: 0; overflow-wrap: anywhere; }
.hero-slider, .hero-slide, .gallery-track, .gallery-card { min-width: 0; }
iframe, video, canvas, svg { max-width: 100%; }
.article-body table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.article-body table th, .article-body table td { word-break: normal; }

.gallery-section { padding-top: 10px; }
.gallery-shell { background: linear-gradient(180deg, #ffffff, #f8fafc); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 24px; overflow: hidden; }
.gallery-intro { margin-bottom: 18px; }
.gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.gallery-track::-webkit-scrollbar { height: 10px; }
.gallery-track::-webkit-scrollbar-thumb { background: rgba(11,19,32,.18); border-radius: 999px; }
.gallery-card { position: relative; min-height: 280px; border-radius: 22px; overflow: hidden; scroll-snap-align: start; background: #0b1320; color: #fff; box-shadow: 0 16px 40px rgba(11,19,32,.16); }
.gallery-card img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; display: block; }
.gallery-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,19,32,.08), rgba(11,19,32,.78)); }
.gallery-card__content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 20px; }
.gallery-card__content h3 { margin: 0 0 6px; color: #fff; }
.gallery-card__content p { margin: 0; color: rgba(255,255,255,.92); }

.glossary-fab { position: fixed; right: 18px; bottom: 150px; z-index: 60; border: 0; border-radius: 999px; background: linear-gradient(135deg, #c9a24b, #e7cc86); color: #0b1320; font-weight: 800; box-shadow: 0 16px 36px rgba(11,19,32,.24); padding: 14px 18px; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.glossary-fab:hover { transform: translateY(-1px); }
.glossary-fab svg { width: 18px; height: 18px; }
.glossary-overlay { position: fixed; inset: 0; z-index: 75; background: rgba(7,12,21,.62); padding: 18px; display: none; align-items: center; justify-content: center; }
.glossary-overlay.open { display: flex; }
.glossary-panel { width: min(860px, 100%); max-height: min(82vh, 860px); overflow: auto; border-radius: 24px; background: #ffffff; color: #0b1320; box-shadow: 0 30px 80px rgba(0,0,0,.28); padding: 24px 24px 20px; position: relative; }
.glossary-panel h2 { margin-top: 0; }
.glossary-panel ul { padding-left: 20px; }
.glossary-panel li + li { margin-top: 10px; }
.glossary-close { position: sticky; top: 0; float: right; border: 0; border-radius: 999px; width: 42px; height: 42px; font-size: 1.4rem; background: #0b1320; color: #fff; cursor: pointer; }
.glossary-launch { margin-top: 16px; }
.glossary-source { scroll-margin-top: 110px; }
body.glossary-open { overflow: hidden; }

@media (max-width: 840px) {
  .gallery-shell { padding: 18px; border-radius: 18px; }
  .gallery-track { grid-auto-columns: 86%; gap: 14px; }
  .gallery-card { min-height: 240px; }
  .gallery-card img { min-height: 240px; }
  .glossary-fab { right: 10px; bottom: 86px; padding: 12px 14px; }
  .glossary-panel { width: 100%; max-height: 84vh; border-radius: 18px; padding: 18px 18px 16px; }
}
@media (max-width: 560px) {
  .gallery-track { grid-auto-columns: 92%; }
  .glossary-fab { font-size: .94rem; }
}



/* ===== Final 2026 manual summary + slider cleanup ===== */
.hero-slider { min-height: 410px; }
.hero-slide { object-fit: cover; }
.manual-page .toc-card,
body:has(#glossario) .toc-card,
body:has(#capitolo-1) .toc-card {
  position: static !important;
  top: auto !important;
}
.article-body [id],
#faq,
#glossario,
#appendice {
  scroll-margin-top: 110px;
}
