/* =========================================
   FRANCESCO ZACCARELLI
   Design: Editorial Luxury
   Fonts: Playfair Display · Libre Baskerville · Lato
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;500;700&display=swap');

/* ─── Reset ────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── Variables ────────────────────────── */
:root {
  --text:          #1C1C1C;
  --text-muted:    #6B6B6B;
  --bg-cream:      #F7F3EE;
  --bg-dark:       #161616;
  --accent:        #8B6E45;
  --accent-light:  #C4A47C;
  --btn-dark:      #2A2A2A;
  --btn-grey:      #A7A7A7;
  --border:        rgba(0,0,0,0.12);
  --font-serif:    'Playfair Display', Georgia, serif;
  --font-bask:     'Libre Baskerville', Georgia, serif;
  --font-sans:     'Lato', sans-serif;
  --max:           1180px;
  --radius:        2px;
}

/* ─── Container ───────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
}

/* ─── Ornament line ───────────────────── */
.ornament {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 20px;
}
.ornament--center { margin-left: auto; margin-right: auto; }
.ornament--white  { background: rgba(255,255,255,0.6); }

/* ─── Section tag ─────────────────────── */
.section-tag {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-tag--white { color: rgba(255,255,255,0.7); }

/* ─── Buttons ─────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-dark {
  background: var(--btn-dark);
  color: #fff;
  border: 1.5px solid var(--btn-dark);
}
.btn-dark:hover { background: #000; border-color: #000; }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
}
.btn-outline-dark:hover { background: var(--text); color: #fff; }

.btn-accent {
  background: var(--accent);
  color: #fff;
  border: 1.5px solid var(--accent);
}
.btn-accent:hover { background: #7a5f38; border-color: #7a5f38; }

/* Arrow icon */
.btn-arrow::after {
  content: '→';
  font-size: 14px;
  transition: transform 0.2s;
}
.btn-arrow:hover::after { transform: translateX(4px); }


/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background 0.35s, box-shadow 0.35s, border-color 0.35s;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.navbar.scrolled {
  background: rgba(38,38,38,0.96);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
  border-bottom-color: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-logo img {
  height: 38px;
  width: auto;
  transition: filter 0.35s;
}

/* Logo bianco su hero, normale dopo scroll */
.navbar:not(.scrolled) .navbar-logo img {
  filter: brightness(0) invert(1);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-menu > li > a {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s;
}

.navbar-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.25s;
}
.navbar-menu > li > a:hover { color: #fff; }
.navbar-menu > li > a:hover::after { width: 100%; }

/* Dopo scroll — testo chiaro su sfondo scuro */
.navbar.scrolled .navbar-menu > li > a {
  color: rgba(255,255,255,0.85);
}
.navbar.scrolled .navbar-menu > li > a:hover { color: var(--accent-light); }

.navbar-menu .btn {
  padding: 9px 22px;
  font-size: 11px;
}
.navbar:not(.scrolled) .navbar-menu .btn-dark {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.navbar:not(.scrolled) .navbar-menu .btn-dark:hover {
  background: rgba(255,255,255,0.28);
  border-color: #fff;
}

/* Hamburger */
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
}
.navbar-toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: #fff;
  transition: all 0.3s;
}
.navbar.scrolled .navbar-toggle span { background: #fff; }


/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background-image: url('images/hero-bg.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 0 0 100px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.52) 60%,
    rgba(0,0,0,0.72) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 1;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 80px;
  padding-right: 80px;
}

.hero-content { max-width: 660px; }

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 12px;
}

.hero-author {
  font-family: var(--font-bask);
  font-size: 20px;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 76px;
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.hero-divider {
  width: 56px;
  height: 1px;
  background: var(--accent-light);
  margin-bottom: 24px;
}

.hero-text {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 1;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.35);
}


/* =========================================
   SECTION IL LIBRO
   ========================================= */
.section-libro {
  background: var(--bg-cream);
  padding: 100px 0;
}

.libro-inner {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

.libro-cover {
  flex: 0 0 auto;
  width: 44%;
  position: relative;
}

.libro-cover img {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  box-shadow:
    0 8px 24px rgba(0,0,0,0.10),
    0 32px 80px rgba(0,0,0,0.22);
}

.libro-info { flex: 1; padding-top: 8px; }

.libro-overline {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.libro-title {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 6px;
}

.libro-intro {
  font-family: var(--font-bask);
  font-size: 15px;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.libro-text {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: #3A3A3A;
  line-height: 1.85;
  margin-bottom: 22px;
}
.libro-text strong { font-weight: 700; color: var(--text); }
.libro-text em { font-style: italic; }

.libro-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 32px 0;
}

.libro-pullquote {
  border-left: 2px solid var(--accent);
  padding: 12px 0 12px 24px;
  margin: 32px 0;
}
.libro-pullquote p {
  font-family: var(--font-serif);
  font-size: 19px;
  font-style: italic;
  color: var(--text);
  line-height: 1.55;
}


/* =========================================
   SECTION AUTORE
   ========================================= */
.section-autore {
  display: flex;
  align-items: stretch;
  min-height: 600px;
}

.autore-foto {
  flex: 0 0 50%;
  max-width: 50%;
  overflow: hidden;
  position: relative;
}

.autore-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(15%);
  transition: filter 0.5s;
}
.autore-foto:hover img { filter: grayscale(0%); }

.autore-testo {
  flex: 0 0 50%;
  max-width: 50%;
  background: var(--bg-dark);
  padding: 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.autore-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
}

.autore-title {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 32px;
  line-height: 1.25;
}

.autore-bio {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: 1.85;
  margin-bottom: 16px;
}
.autore-bio:last-of-type { margin-bottom: 0; }
.autore-bio em { color: rgba(255,255,255,0.9); font-style: italic; }

.autore-divider {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 28px 0;
}


/* =========================================
   SECTION INTERVISTA
   ========================================= */
.section-intervista {
  position: relative;
  background-image: url('images/intervista-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 100px 0;
}

.section-intervista::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.78) 0%,
    rgba(0,0,0,0.55) 50%,
    rgba(0,0,0,0.30) 100%
  );
}

.intervista-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 80px;
}

.intervista-testo { flex: 0 0 45%; max-width: 45%; }

.intervista-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 14px;
}

.intervista-title {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 24px;
}

.intervista-text {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
}

.intervista-video { flex: 1; }

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}


/* =========================================
   SECTION EVENTO
   ========================================= */
.section-evento {
  background: #fff;
  padding: 80px 0 100px;
}

.evento-header {
  text-align: center;
  margin-bottom: 56px;
}

.evento-header h2 {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.evento-header p {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text-muted);
}

.evento-card {
  background: var(--bg-cream);
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,0.1);
  padding: 64px 80px;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  overflow: hidden;
}

.evento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
}

.evento-data-block { flex: 0 0 auto; text-align: center; }

.evento-giorno {
  font-family: var(--font-serif);
  font-size: 72px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.evento-mese {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 4px;
}

.evento-sep {
  width: 1px;
  height: 80px;
  background: var(--border);
  flex: 0 0 auto;
}

.evento-info { flex: 1; }

.evento-ora {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.evento-titolo {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.evento-luogo {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}


/* =========================================
   NAVBAR PAGES (area stampa, eventi)
   ========================================= */
.page-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center center;
  padding: 0 0 72px;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.68) 100%
  );
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero-tag {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 14px;
  display: block;
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: 58px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}

.page-hero-text {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  line-height: 1.75;
}


/* =========================================
   GALLERY
   ========================================= */
.section-gallery {
  padding: 80px 0;
  background: #fff;
}

.section-header {
  margin-bottom: 56px;
}

.section-header--center {
  text-align: center;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-header p {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
}
.section-header--center p {
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.4s, filter 0.4s;
  filter: grayscale(10%);
}
.gallery-grid img:hover { transform: scale(1.02); filter: grayscale(0%); }


/* =========================================
   DOWNLOAD
   ========================================= */
.section-download {
  background: var(--bg-dark);
  padding: 72px 0;
  text-align: center;
}

.download-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.download-text {
  font-family: var(--font-sans);
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}


/* =========================================
   EVENTI PAGE
   ========================================= */
.eventi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  padding: 80px 0;
}

.evento-item {
  background: var(--bg-cream);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.07);
  transition: box-shadow 0.3s, transform 0.3s;
}
.evento-item:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.evento-item-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s;
}
.evento-item:hover .evento-item-img { transform: scale(1.03); }

.evento-item-body { padding: 32px 36px 36px; }

.evento-item-data {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.evento-item-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.3;
}

.evento-item-text {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.section-foto-evento {
  padding: 80px 0;
  background: var(--bg-cream);
}

.foto-evento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.foto-evento-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s, filter 0.4s;
  filter: grayscale(10%);
}
.foto-evento-grid img:hover { transform: scale(1.03); filter: grayscale(0%); }


/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--bg-dark);
  padding: 72px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo img {
  height: 36px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  margin-bottom: 18px;
}

.footer-logo p {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }

.footer-mail-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-mail-link svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.footer-bottom {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
}


/* =========================================
   SECTION VOCI SUL LIBRO
   ========================================= */
.section-voci {
  background: var(--bg-cream);
  padding: 80px 0 100px;
}

.voci-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.voce-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s;
}
.voce-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.09);
  transform: translateY(-4px);
}

.voce-foto {
  width: 100%;
  height: 260px;
  overflow: hidden;
}
.voce-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(15%);
  transition: filter 0.4s, transform 0.4s;
}
.voce-card:hover .voce-foto img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.voce-body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.voce-quote {
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}
.voce-quote::before { content: '"'; }
.voce-quote::after  { content: '"'; }

.voce-nome {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.voce-ruolo {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.5;
}
.voce-ruolo em { color: var(--accent); font-style: normal; }


/* =========================================
   SECTION CITAZIONE
   ========================================= */
.section-citazione {
  background-image: url('images/atmosfera-candele.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  padding: 100px 0;
}
.section-citazione::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
}

.citazione-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.citazione-mark {
  display: block;
  font-family: var(--font-serif);
  font-size: 120px;
  line-height: 0.6;
  color: var(--accent);
  margin-bottom: 24px;
  opacity: 0.7;
}

.citazione-testo {
  font-family: var(--font-serif);
  font-size: 38px;
  font-style: italic;
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 28px;
}

.citazione-fonte {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
}


/* =========================================
   SECTION RASSEGNA STAMPA
   ========================================= */
.section-stampa {
  background: #fff;
  padding: 80px 0 100px;
}

.stampa-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.stampa-card {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 3px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.stampa-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.stampa-img-wrap {
  width: 100%;
  height: 320px;
  overflow: hidden;
}
.stampa-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s;
}
.stampa-card:hover .stampa-img-wrap img { transform: scale(1.03); }

.stampa-body {
  padding: 28px 32px 36px;
  background: var(--bg-cream);
}

.stampa-testata {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.stampa-titolo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 12px;
}

.stampa-testo {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
}


/* =========================================
   SECTION ISTITUZIONI
   ========================================= */
.section-istituzioni {
  background: var(--bg-dark);
  padding: 72px 0;
}

.istituzioni-header { margin-bottom: 48px; }

.istituzioni-label {
  font-family: var(--font-bask);
  font-size: 16px;
  font-style: italic;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

.istituzioni-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.istituzione-item {
  opacity: 0.55;
  transition: opacity 0.3s;
  filter: brightness(0) invert(1);
}
.istituzione-item:hover { opacity: 1; }

.istituzione-item img {
  height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}


/* ─── Fade-in on scroll ───────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}


/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .autore-testo { padding: 60px 48px; }
  .evento-card { padding: 48px 52px; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-logo { grid-column: 1 / -1; }
  .voci-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .container { padding: 0 20px; }

  /* Navbar */
  .navbar-menu {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(38,38,38,0.97);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 0 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-bottom: 1px solid var(--border);
  }
  .navbar-menu.open { display: flex; }
  .navbar-menu > li { width: 100%; }
  .navbar-menu > li > a {
    display: block;
    padding: 13px 24px;
    color: rgba(255,255,255,0.85) !important;
    font-size: 13px;
  }
  .navbar-menu > li > a::after { display: none; }
  .navbar-menu .btn {
    margin: 8px 20px 0;
    width: calc(100% - 40px);
    justify-content: center;
    background: var(--btn-dark) !important;
    border-color: var(--btn-dark) !important;
    color: #fff !important;
  }
  .navbar-toggle { display: flex; }
  .navbar:not(.scrolled) .navbar-toggle span { background: #fff; }
  .navbar.scrolled .navbar-toggle span { background: #fff; }

  /* Hero */
  .hero { padding: 0 0 80px; min-height: calc(var(--vh, 1vh) * 100); background-attachment: scroll; }
  .hero .container { padding-left: 24px; padding-right: 24px; }
  .hero-title { font-size: 46px; }
  .hero-scroll { display: none; }

  /* Libro */
  .section-libro { padding: 64px 0; }
  .libro-inner { flex-direction: column; gap: 48px; }
  .libro-cover { width: 100%; }
  .libro-cover img { max-width: 320px; }
  .libro-title { font-size: 28px; }

  /* Autore */
  .section-autore { flex-direction: column; }
  .autore-foto { flex: none; max-width: 100%; width: 100%; height: 400px; }
  .autore-testo { flex: none; max-width: 100%; padding: 52px 24px; }
  .autore-title { font-size: 26px; }

  /* Intervista */
  .section-intervista { padding: 72px 0; background-attachment: scroll; }
  .intervista-inner { flex-direction: column; gap: 40px; }
  .intervista-testo { flex: none; max-width: 100%; }
  .intervista-video { flex: none; width: 100%; }
  .intervista-title { font-size: 28px; }

  /* Evento */
  .section-evento { padding: 64px 0; }
  .evento-card { flex-direction: column; text-align: center; padding: 48px 28px; gap: 28px; }
  .evento-sep { width: 60px; height: 1px; }
  .evento-giorno { font-size: 56px; }

  /* Pages */
  .page-hero-title { font-size: 38px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .eventi-grid { grid-template-columns: 1fr; }
  .foto-evento-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-logo { grid-column: auto; }

  /* Voci */
  .voci-grid { grid-template-columns: 1fr; }

  /* Citazione */
  .citazione-testo { font-size: 26px; }
  .citazione-mark { font-size: 80px; }
  .section-citazione { background-attachment: scroll; }

  /* Stampa */
  .stampa-grid { grid-template-columns: 1fr; }

  /* Istituzioni */
  .istituzioni-grid { gap: 32px; }
  .istituzione-item img { height: 44px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 38px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .foto-evento-grid { grid-template-columns: 1fr; }
  .video-grid-2col { grid-template-columns: 1fr !important; }
  .video-grid-2col > div[style*="grid-column"] { grid-column: auto !important; max-width: 100% !important; }
}
