/* Associazione Arma Aeronautica – Sezione di Piacenza
   Foglio di stile del sito statico (2026) */

@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-italic.woff2") format("woff2"); font-style: italic; font-weight: 300 700; font-display: swap; }

:root {
  --navy-900: #06142b;
  --navy-800: #0a1f3f;
  --navy-700: #12305e;
  --blue-600: #1d4fa3;
  --blue-500: #2a66c9;
  --blue-100: #e6eefb;
  --gold-500: #e8b923;
  --gold-600: #c99a0c;
  --gold-100: #fbf3d6;
  --red-600: #b3192b;
  --ink-900: #111a2b;
  --ink-700: #36425a;
  --ink-500: #5f6b82;
  --line: #dfe5ef;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 31, 63, .06), 0 1px 3px rgba(10, 31, 63, .08);
  --shadow: 0 6px 24px -8px rgba(10, 31, 63, .18), 0 2px 6px rgba(10, 31, 63, .06);
  --shadow-lg: 0 24px 60px -20px rgba(6, 20, 43, .35);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", "Inter", sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
  --container: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-700);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-800);
  line-height: 1.1;
  letter-spacing: .01em;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); text-transform: uppercase; }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1.1em; }
strong { color: var(--ink-900); font-weight: 650; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold-500); color: var(--navy-900); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 820px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--blue-600);
  margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold-500); }
.eyebrow--light { color: var(--gold-500); }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-700); line-height: 1.65; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--gold { background: var(--gold-500); color: var(--navy-900); box-shadow: 0 8px 20px -10px rgba(232, 185, 35, .8); }
.btn--gold:hover { background: #f3c93c; color: var(--navy-900); transform: translateY(-1px); }
.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--blue-600); color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--navy-800); background: transparent; }
.btn--ghost:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--navy-800); border-color: #fff; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .95rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--blue-600);
}
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 20, 43, .98);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .55); }
.site-header::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-500) 0 33%, var(--gold-500) 33% 66%, var(--blue-500) 66%);
  opacity: .9;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; min-width: 0; }
.brand img { width: 50px; height: auto; flex: none; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.brand-sub { font-size: .78rem; color: rgba(255, 255, 255, .7); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }

.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a, .main-nav button.nav-parent {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px; border: 0; background: none; cursor: pointer;
  color: rgba(255, 255, 255, .88); text-decoration: none;
  font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  transition: background-color .2s, color .2s;
}
.main-nav a:hover, .main-nav button.nav-parent:hover, .main-nav .is-active > a, .main-nav .is-active > button { color: #fff; background: rgba(255, 255, 255, .08); }
.main-nav .is-active > a, .main-nav .is-active > button { box-shadow: inset 0 -2px 0 var(--gold-500); border-radius: 999px 999px 999px 999px; }
.nav-parent svg { width: 12px; height: 12px; transition: transform .2s; }
.has-sub { position: relative; }
.sub-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  min-width: 250px; list-style: none; margin: 0; padding: 8px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
}
.sub-menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.has-sub:hover > .sub-menu, .has-sub.is-open > .sub-menu, .has-sub:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-sub:hover .nav-parent svg, .has-sub.is-open .nav-parent svg { transform: rotate(180deg); }
.sub-menu a {
  display: block; padding: 10px 14px; border-radius: var(--radius-sm);
  color: var(--navy-800); font-family: var(--font-sans); font-size: .98rem; font-weight: 500; letter-spacing: 0; text-transform: none;
}
.sub-menu a:hover, .sub-menu .is-active a { background: var(--blue-100); color: var(--blue-600); box-shadow: none; }
.nav-cta { margin-left: 10px; }
.main-nav .nav-cta a { background: var(--gold-500); color: var(--navy-900); padding-inline: 20px; }
.main-nav .nav-cta a:hover { background: #f3c93c; color: var(--navy-900); }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; border-radius: 12px; cursor: pointer;
  background: rgba(255, 255, 255, .08); color: #fff; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, background-color .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--navy-900);
    overflow-y: auto; padding: 16px 24px 40px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a, .main-nav button.nav-parent { width: 100%; justify-content: space-between; padding: 14px 16px; font-size: 1.3rem; border-radius: var(--radius-sm); }
  .main-nav .is-active > a, .main-nav .is-active > button { box-shadow: inset 3px 0 0 var(--gold-500); }
  .sub-menu { position: static; transform: none; opacity: 1; visibility: visible; display: none; background: rgba(255, 255, 255, .04); box-shadow: none; margin: 2px 0 8px; min-width: 0; }
  .has-sub:hover > .sub-menu { transform: none; }
  .has-sub.is-open > .sub-menu { display: block; transform: none; }
  .has-sub:focus-within > .sub-menu { transform: none; }
  .sub-menu a { color: rgba(255, 255, 255, .85); font-size: 1.05rem; padding: 12px 16px; }
  .sub-menu a:hover, .sub-menu .is-active a { background: rgba(255, 255, 255, .08); color: #fff; }
  .nav-cta { margin: 16px 0 0; }
  .main-nav .nav-cta a { justify-content: center; }
}
@media (max-width: 480px) {
  .brand-title { font-size: 1.05rem; }
  .brand-sub { font-size: .68rem; letter-spacing: .08em; }
  .brand img { width: 42px; }
}

/* ---------- Hero home ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, #040d1f 0%, #081a37 45%, #0d2a55 100%);
  padding: clamp(56px, 7vw, 96px) 0 clamp(130px, 13vw, 210px);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: max(100%, 1100px); max-width: none; height: auto;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 45%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 45%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(4, 13, 31, .9) 0%, rgba(4, 13, 31, .55) 40%, rgba(4, 13, 31, 0) 65%);
}
.hero-content { max-width: 660px; }
.hero h1 { color: #fff; margin-bottom: .3em; text-shadow: 0 2px 20px rgba(0, 0, 0, .35); }
.hero h1 .accent { color: var(--gold-500); display: block; }
.hero p { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: rgba(255, 255, 255, .86); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .15); }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong { color: var(--gold-500); font-family: var(--font-display); font-size: 2.2rem; line-height: 1; font-weight: 700; }
.hero-meta span { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-top: 6px; }

/* ---------- Hero pagine interne ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: var(--navy-900); padding: 64px 0 56px;
}
.page-hero .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 85% 30%; opacity: .55; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(6, 20, 43, .97) 0%, rgba(6, 20, 43, .85) 45%, rgba(6, 20, 43, .35) 100%);
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: .2em; }
.page-hero .subtitle { color: rgba(255, 255, 255, .82); font-size: 1.15rem; margin: 0; max-width: 720px; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.breadcrumb li { color: rgba(255, 255, 255, .6); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: rgba(255, 255, 255, .35); }
.breadcrumb a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-500); }

/* ---------- Sezioni ---------- */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy-800); color: rgba(255, 255, 255, .85); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { color: var(--ink-500); }

.overlap { margin-top: clamp(-72px, -5vw, -40px); position: relative; z-index: 2; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split--reverse > :first-child { order: 0; } }

/* ---------- Card ---------- */
.card {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid rgba(10, 31, 63, .05);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-100); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 28px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { margin: 0; color: var(--ink-500); font-size: 1rem; }
.card-body .link-arrow { margin-top: auto; padding-top: 8px; }
.card-tag { font-family: var(--font-display); font-size: .85rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); }
.card a.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* Sezioni territoriali */
.sections-grid .card-media { aspect-ratio: 4 / 3; }
.section-card { color: inherit; text-decoration: none; }
.section-card .card-body { gap: 6px; }
.section-card .dedication { font-size: .95rem; color: var(--ink-500); }

/* ---------- Testo ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--gold-600); }
.prose a { word-break: break-word; }
.prose--legal { font-size: 1rem; }
.prose--legal p strong:only-child { display: block; font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .04em; color: var(--navy-800); margin-top: 1.6em; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 40px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c99a0c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* ---------- Figure ---------- */
.figure { margin: 0; position: relative; }
.figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.figure--frame::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--gold-500);
  border-radius: var(--radius-lg); z-index: -1;
}
.figure figcaption { margin-top: 14px; font-size: .92rem; color: var(--ink-500); text-align: center; }

/* ---------- Direttivo ---------- */
.people { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 20px; }
.person { flex: 0 1 220px; }
.person { text-align: center; flex: 0 1 220px; }
.person-photo {
  display: block; width: 180px; height: 180px; margin: 0 auto 18px; border-radius: 50%; overflow: hidden;
  border: 4px solid #fff; box-shadow: 0 0 0 3px var(--gold-500), var(--shadow);
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.person-role { font-family: var(--font-display); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); font-size: .95rem; }
.person-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--navy-800); margin: 2px 0 0; text-transform: uppercase; }
.person-tel { display: inline-flex; gap: 8px; align-items: center; margin-top: 8px; font-weight: 600; text-decoration: none; }

.contact-chip { display: inline-flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }

/* ---------- Eroi / medaglie ---------- */
.honour {
  display: grid; grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start;
}
.honour-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.honour-portrait { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-800); }
.honour-portrait img { width: 100%; }
.honour-portrait figcaption { padding: 14px 18px; color: rgba(255, 255, 255, .85); font-size: .95rem; text-align: center; font-family: var(--font-display); letter-spacing: .06em; }
.honour-title { margin-bottom: .2em; }
.honour-dates { font-family: var(--font-display); font-size: 1.25rem; color: var(--gold-600); letter-spacing: .06em; margin-bottom: 1.4em; }
.medals ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.medals {
  margin: 28px 0 0; padding: 22px 24px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); border-radius: var(--radius); color: rgba(255, 255, 255, .9);
}
.medals h3 { color: var(--gold-500); font-size: 1.3rem; margin: 0 0 14px; text-transform: uppercase; letter-spacing: .1em; }
.medals li { position: relative; padding-left: 34px; font-size: .98rem; line-height: 1.5; }
.medals li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 22'%3E%3Cpath d='M5 0h10l-2 7H7z' fill='%231d4fa3'/%3E%3Ccircle cx='10' cy='14' r='6.5' fill='%23e8b923' stroke='%23fff3c4' stroke-width='1'/%3E%3Cpath d='M10 10.2l1.1 2.3 2.5.3-1.8 1.7.5 2.5-2.3-1.2-2.3 1.2.5-2.5-1.8-1.7 2.5-.3z' fill='%23fff8dc'/%3E%3C/svg%3E") center / contain no-repeat;
}
.medals li.gold::before { filter: drop-shadow(0 0 4px rgba(232, 185, 35, .8)); }
.biblio { font-size: .9rem; color: var(--ink-500); border-left: 3px solid var(--gold-500); padding-left: 14px; margin-top: 24px; }
@media (max-width: 900px) { .honour { grid-template-columns: minmax(0, 1fr); } .honour-aside { position: static; max-width: 420px; } }

.poem {
  margin: 32px 0; padding: 32px 36px; border-radius: var(--radius-lg);
  background: var(--gold-100); position: relative; overflow: hidden;
}
.poem::before { content: "“"; position: absolute; top: -30px; right: 18px; font-family: var(--font-serif); font-size: 12rem; color: rgba(201, 154, 12, .18); line-height: 1; }
.poem h3 { text-transform: uppercase; letter-spacing: .1em; color: var(--gold-600); font-size: 1.15rem; }
.poem-text { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; line-height: 1.75; color: var(--ink-900); columns: 2 240px; column-gap: 40px; }
.poem-text p { break-inside: avoid; margin-bottom: 1em; }
.poem-author { margin: 8px 0 0; font-family: var(--font-display); letter-spacing: .14em; color: var(--gold-600); font-weight: 600; }

/* ---------- Pill / attività ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--navy-800); text-decoration: none;
  font-family: var(--font-display); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 1.05rem;
  transition: border-color .2s, background-color .2s, color .2s;
}
.pill:hover { border-color: var(--blue-600); background: var(--blue-100); color: var(--blue-600); }
.pill svg { width: 18px; height: 18px; color: var(--gold-600); }

/* ---------- Gallerie ---------- */
.album-card .card-media { aspect-ratio: 4 / 3; }
.album-meta { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-500); }
.album-meta svg { width: 16px; height: 16px; color: var(--gold-600); }
.album-card h3 { font-size: 1.35rem; text-transform: none; }

.cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.cat-tabs a { padding: 10px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink-700); font-family: var(--font-display); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.cat-tabs a:hover { border-color: var(--blue-600); color: var(--blue-600); }
.cat-tabs a[aria-current="page"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.photo-grid a { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--blue-100); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; }
.photo-grid a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 20, 43, .45), transparent 50%); opacity: 0; transition: opacity .3s; }
.photo-grid a:hover img { transform: scale(1.06); }
.photo-grid a:hover::after { opacity: 1; }
@media (max-width: 560px) { .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } }
@media (max-width: 380px) { .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.album-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center;
  background: rgba(4, 12, 26, .95); padding: 60px 70px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); user-select: none; }
.lightbox button {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .1); color: #fff; display: flex; align-items: center; justify-content: center; transition: background-color .2s;
}
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lightbox button svg { width: 24px; height: 24px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-counter { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .75); font-size: .9rem; letter-spacing: .1em; }
@media (max-width: 640px) { .lightbox { padding: 64px 8px; } .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; } }

/* ---------- Newsletter ---------- */
.newsletter {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--navy-800) 0%, var(--blue-600) 100%);
  color: rgba(255, 255, 255, .88); padding: clamp(32px, 5vw, 56px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center;
}
.newsletter::after {
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 320px; height: 320px; opacity: .08;
  background: url("../img/logo.png") center / contain no-repeat; pointer-events: none;
}
.newsletter h2 { color: #fff; margin-bottom: .3em; }
.newsletter p { margin: 0; }
@media (max-width: 860px) { .newsletter { grid-template-columns: minmax(0, 1fr); } }

.nl-form { position: relative; z-index: 1; display: grid; gap: 12px; }
.nl-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .nl-form .row { grid-template-columns: 1fr; } }
.nl-form input[type="text"], .nl-form input[type="email"] {
  width: 100%; min-height: 52px; padding: 12px 18px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .1); color: #fff; font: inherit; font-size: 1rem;
}
.nl-form input::placeholder { color: rgba(255, 255, 255, .6); }
.nl-form input:focus { outline: none; border-color: var(--gold-500); background: rgba(255, 255, 255, .16); }
.nl-form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: rgba(255, 255, 255, .78); line-height: 1.5; }
.nl-form .consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--gold-500); flex: none; }
.nl-form .consent a { color: var(--gold-500); }
.form-status { min-height: 1.5em; font-size: .95rem; margin: 0; }
.form-status.is-ok { color: #9be4b4; }
.form-status.is-error { color: #ffb4b4; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Contatti ---------- */
.info-list { display: grid; gap: 16px; }
.info-item { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.info-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-100); color: var(--blue-600); display: flex; align-items: center; justify-content: center; }
.info-icon svg { width: 24px; height: 24px; }
.info-item h3 { font-size: 1.2rem; margin: 2px 0 4px; text-transform: uppercase; letter-spacing: .06em; }
.info-item p { margin: 0; }
.info-item a { font-weight: 600; text-decoration: none; }

.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink-900); margin-bottom: 6px; }
.field label .req { color: var(--red-600); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 10px; border: 1px solid #cdd6e4;
  font: inherit; font-size: 1rem; color: var(--ink-900); background: #fbfcfe; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(42, 102, 201, .15); background: #fff; }
.form-card .consent { display: flex; gap: 10px; font-size: .9rem; line-height: 1.5; }
.form-card .consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue-600); flex: none; }
.form-card .form-status.is-ok { color: #1c7c3e; }
.form-card .form-status.is-error { color: var(--red-600); }

.map-embed { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--navy-800); aspect-ratio: 16 / 7; min-height: 320px; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; color: rgba(255, 255, 255, .85);
  background: linear-gradient(rgba(6, 20, 43, .82), rgba(6, 20, 43, .9)), repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px); }
.map-consent p { margin: 0; max-width: 520px; font-size: .95rem; }
.map-consent strong { color: #fff; font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Esposizioni ---------- */
.event-banner { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.event-facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.event-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--blue-100); color: var(--navy-800); border-radius: 999px; font-weight: 600; font-size: .95rem; }
.event-facts svg { width: 18px; height: 18px; color: var(--blue-600); }
.partner-logo { max-width: 200px; margin: 0 auto; }

/* ---------- Banda CTA ---------- */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; }

/* ---------- Download ---------- */
.download {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: var(--radius); text-decoration: none;
  background: var(--navy-800); color: #fff; box-shadow: var(--shadow); transition: transform .2s, background-color .2s;
}
.download:hover { background: var(--blue-600); color: #fff; transform: translateY(-2px); }
.download-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--gold-500); color: var(--navy-900); display: flex; align-items: center; justify-content: center; flex: none; }
.download-icon svg { width: 24px; height: 24px; }
.download strong { color: #fff; display: block; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .05em; text-transform: uppercase; }
.download span { font-size: .9rem; color: rgba(255, 255, 255, .75); }

.fee { display: inline-flex; align-items: baseline; gap: 10px; padding: 14px 22px; border-radius: var(--radius); background: var(--gold-100); border: 1px solid #f0dd9c; }
.fee strong { font-family: var(--font-display); font-size: 2rem; color: var(--navy-800); }

.member-types { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.member-type { padding: 20px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); border-top: 4px solid var(--blue-600); }
.member-type:nth-child(2) { border-top-color: var(--gold-500); }
.member-type h4 { text-transform: uppercase; letter-spacing: .08em; margin-bottom: .3em; }
.member-type p { margin: 0; font-size: .98rem; }
@media (max-width: 560px) { .member-types { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .72); padding: 72px 0 0; font-size: .97rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--gold-500); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand img { width: 64px; flex: none; }
.footer-brand strong { color: #fff; font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .05em; text-transform: uppercase; display: block; line-height: 1.15; margin-bottom: 8px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-contacts li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contacts svg { width: 18px; height: 18px; color: var(--gold-500); flex: none; margin-top: 4px; }
.footer-bottom { margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .87rem; color: rgba(255, 255, 255, .5); }

/* ---------- Pagine di servizio (newsletter) ---------- */
.notice-page { min-height: 55vh; display: flex; align-items: center; }
.notice { max-width: 640px; margin: 0 auto; text-align: center; }
.notice-icon { width: 84px; height: 84px; margin: 0 auto 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--blue-100); color: var(--blue-600); }
.notice-icon svg { width: 40px; height: 40px; }
.notice--ok .notice-icon { background: #e3f6ea; color: #1c7c3e; }
.notice--error .notice-icon { background: #fde8ea; color: var(--red-600); }

/* ---------- Animazioni ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

@media print {
  .site-header, .site-footer, .newsletter, .hero-actions, .lightbox { display: none !important; }
  .page-hero, .hero { background: none; color: #000; padding: 0; }
  .page-hero h1, .hero h1 { color: #000; }
}

/* ---------- Rifiniture ---------- */
.sections-grid .card-media img, .section-card .card-media img { object-position: 50% 18%; }
.split > .figure { justify-self: center; width: 100%; max-width: 460px; }
.split > .figure img { height: auto; }
.card h3 a { color: var(--navy-800); text-decoration: none; }
.card:hover h3 a { color: var(--blue-600); }
.map-consent svg { width: 44px; height: 44px; color: var(--gold-500); }
@media (max-width: 520px) {
  .hide-sm { display: none; }
  .hero-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 36px; }
  .hero-meta strong { font-size: 1.8rem; }
  .hero-meta span { font-size: .7rem; letter-spacing: .06em; }
  .hero-actions .btn { flex: 1 1 100%; }
  .eyebrow { letter-spacing: .12em; font-size: .85rem; }
}
.sitemap-cols h2 { font-size: 1.5rem; }
.sitemap-cols ul ul { list-style: none; padding: 8px 0 0 0; margin: 0; display: grid; gap: 6px; font-size: .95rem; }
.sitemap-cols ul ul li { padding-left: 0; }
.sitemap-cols ul ul li::before { display: none; }
