/* institutional */
:root {
  --bg: #faf8f5;
  --white: #ffffff;
  --ink: #1a1f2b;
  --muted: #5c6473;
  --line: #e6e1d8;
  --blue: #1b4f86;
  --blue-dark: #12365c;
  --rose: #8d2e33;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.7;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--rose); }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.build-banner {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
  background: var(--blue-dark);
  color: #fff;
  padding: 8px 16px;
}
.build-banner strong { letter-spacing: .12em; }
.site-header { background: var(--white); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; min-height: 72px;
}
.site-nav-bar { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.site-nav-bar .wrap {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 6px 26px; padding: 11px 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .78rem; letter-spacing: .05em; text-transform: uppercase;
}
.site-nav-bar .wrap a { color: var(--ink); padding: 4px 2px; white-space: nowrap; }
.site-nav-bar .wrap a:hover { color: var(--rose); }
.site-nav-bar .wrap a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); }
.site-nav-bar .wrap a.cta {
  background: var(--rose); color: #fff; padding: 7px 18px; border-radius: 999px;
  font-weight: 700; box-shadow: 0 2px 8px rgba(141,46,51,.25);
}
.site-nav-bar .wrap a.cta:hover { background: #6f232a; color: #fff; }
.brand { display: flex; align-items: center; gap: 14px; color: inherit; }
.brand img { width: 58px; height: 58px; border-radius: 50%; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name strong { font-weight: 600; font-size: 1.05rem; }
.brand-name span {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}

.hero { padding: 72px 0 56px; }
.hero-grid {
  display: grid; grid-template-columns: 1.25fr .75fr;
  gap: 56px; align-items: center;
}
.kicker {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--rose); margin: 0 0 16px;
}
h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.12; margin: 0 0 18px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 12px; }
h3 { font-size: 1.28rem; margin: 0 0 8px; }
.lede { color: var(--muted); font-size: 1.15rem; max-width: 36rem; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .9rem; font-weight: 600;
  display: inline-flex; align-items: center; padding: 11px 18px; border-radius: 2px;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { border: 1px solid var(--ink); color: var(--ink); }
.hero-mark { display: grid; place-items: center; }
.hero-mark img { width: min(280px, 70%); border-radius: 50%; }
.section { padding: 64px 0; }
.section-alt { background: var(--white); border-block: 1px solid var(--line); }
.muted { color: var(--muted); }
.grid-3, .grid-2, .catalog { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }
.catalog { grid-template-columns: repeat(3, 1fr); }
.card, .product { background: var(--white); border: 1px solid var(--line); padding: 24px; }
.quote {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-style: italic;
  line-height: 1.35; text-align: center; margin: 0 auto; max-width: 38rem;
}
.placeholder-field { border: 1px solid var(--line); background: var(--bg); min-height: 50px; padding: 12px 14px; }
.placeholder-field small {
  display: block; font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px;
}
.product-photo {
  aspect-ratio: 4/3; background: #efeae1; margin: -24px -24px 18px;
  display: grid; place-items: center; color: var(--muted);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .85rem;
}
.product .meta, .soon, .num { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .85rem; color: var(--muted); }
.soon.listen {
  font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: #fff; background: var(--blue); padding: 8px 14px; border-radius: 2px;
}
.price { margin-top: 10px; }
.badge {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .68rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--blue);
  display: inline-block; margin-bottom: 8px;
}
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0; }
.filters span {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .82rem;
  border: 1px solid var(--line); padding: 6px 10px; background: var(--white);
}
.site-footer {
  background: var(--blue-dark); color: #d7e2ee; padding: 32px 0 44px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .88rem;
}
.site-footer a { color: #fff; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.player-shell, .qr-card { background: var(--white); border: 1px solid var(--line); padding: 28px; }
.now { display: grid; grid-template-columns: 80px 1fr; gap: 16px; align-items: center; margin-bottom: 16px; }
.now-art { width: 80px; height: 80px; border-radius: 50%; background: #fff; overflow: hidden; }
.now-art img { width: 80px; height: 80px; object-fit: contain; }
.now h2 { margin: 0; font-size: 1.55rem; }
.controls { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ctrl { width: 46px; height: 46px; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-size: 1.05rem; }
.ctrl.play {
  width: 68px; height: 68px; background: var(--blue); color: #fff; border: 0;
  font-size: 1.35rem; border-radius: 50%; box-shadow: 0 4px 14px rgba(27, 79, 134, .28);
}
.ctrl.play:hover { background: var(--blue-dark); }
progress { flex: 1; height: 6px; accent-color: var(--blue); }
.track-list { list-style: none; margin: 22px 0 0; padding: 0; }
.track {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px;
  align-items: center; padding: 14px 8px;
  border-bottom: 1px solid var(--line);
}
.track.active { background: #f3f6fa; }
.track.empty { min-height: 64px; color: var(--muted); }
.track-title { line-height: 1.35; }
.track-credit { display: inline-block; margin-top: 4px; font-size: .9rem; }
.track-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.media-action {
  min-width: 82px; border: 1px solid var(--blue); background: var(--white); color: var(--blue);
  padding: 8px 11px; border-radius: 2px; cursor: pointer; font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .78rem; font-weight: 700; line-height: 1.2; text-align: center;
}
.media-action:hover { background: var(--blue); color: var(--white); }
.media-action.audio-action { background: var(--blue); color: var(--white); }
.media-action.audio-action:hover { background: var(--blue-dark); }
.media-action[disabled] {
  border-color: var(--line); background: #f4f1ec; color: #858b94; cursor: not-allowed;
}
.video-dialog {
  width: min(920px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 4px;
  background: #0b0d12; color: #fff; box-shadow: 0 20px 70px rgba(0, 0, 0, .45);
}
.video-dialog::backdrop { background: rgba(10, 16, 25, .78); }
.video-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; }
.video-dialog-head h2 { margin: 0; font-size: 1.25rem; }
.dialog-close { border: 0; background: transparent; color: #fff; cursor: pointer; font-size: 2rem; line-height: 1; }
.video-dialog video { display: block; width: 100%; max-height: 76vh; background: #000; }
.qr-card { text-align: center; margin-top: 28px; }
.qr-card img.qr { width: 200px; margin: 16px auto; }
@media (max-width: 820px) {
  .hero-grid, .grid-3, .grid-2, .catalog { grid-template-columns: 1fr; }
  .site-header .wrap { flex-wrap: wrap; min-height: auto; padding: 12px 0; }
  .site-nav-bar .wrap { gap: 8px 16px; font-size: .74rem; }
  .track { grid-template-columns: 34px 1fr; }
  .track-actions { grid-column: 2; justify-content: flex-start; }
  .media-action { min-width: 76px; }
}

.legal { max-width: 720px; }
.legal h1 { margin-top: 0; }
.legal h2 { margin-top: 2rem; font-size: 1.35rem; }
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: var(--blue-dark); color: #e8eef4;
  font-family: system-ui, sans-serif; font-size: .88rem;
  padding: 14px 18px;
}
.cookie-bar .wrap { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie-bar a { color: #fff; text-decoration: underline; }
.skip {
  position: absolute; left: -999px; top: 8px;
  background: #fff; padding: 8px;
}
.skip:focus { left: 8px; z-index: 100; }

/* --- Homepage: selected "Video manifesto" direction --- */
.home-header .home-header-wrap {
  width: min(1320px, calc(100% - 80px));
  min-height: 124px;
  justify-content: flex-start;
  gap: 40px;
}
.home-brand { gap: 18px; }
.home-brand img {
  width: 82px;
  height: 82px;
  border-radius: 50%;
}
.home-brand .brand-name {
  gap: 1px;
  line-height: .92;
}
.home-brand .brand-line {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(1.38rem, 2.1vw, 2.05rem);
  font-weight: 500;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.home-brand .brand-line-foundation,
.home-brand .brand-line-children { color: var(--blue); }
.home-brand .brand-line-rosanna { color: var(--rose); }
.home-hero {
  position: relative;
  height: clamp(560px, calc(100svh - 190px), 720px);
  min-height: 0;
  overflow: hidden;
  background: #0b0d12;
}
.home-video-frame {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #0b0d12;
}
.home-video-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0b0d12;
}
.home-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center center;
  background: #0b0d12;
}
@media (min-width: 761px) {
  .home-video-frame video { object-fit: contain; object-position: left center; }
  body:has(.cookie-bar) .home-hero { height: clamp(480px, calc(100svh - 291px), 720px); }
}
.home-hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 18, .2);
  pointer-events: none;
}
.home-hero-copy {
  position: absolute;
  top: 50%;
  right: max(6vw, 48px);
  width: min(39rem, 40vw);
  transform: translateY(-50%);
  color: #fff;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .2);
}
.home-hero-copy h1 {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(2.8rem, 5.6vw, 5.6rem);
  line-height: .94;
  letter-spacing: -.055em;
}
.home-hero-copy h1 span { font-size: .7em; letter-spacing: -.045em; }
.home-hero-copy p {
  max-width: 28rem;
  margin: 0 0 28px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.35;
}
.home-hero-copy .btn-primary {
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
  font-size: .96rem;
  box-shadow: 0 4px 14px rgba(141, 46, 51, .28);
}
.home-hero-copy .btn-primary:hover { background: #6f232a; color: #fff; }
.home-hero-copy .btn-primary span { margin-left: 12px; font-size: 1.25em; line-height: 0; }
.home-video-play {
  position: absolute;
  right: 20px;
  bottom: 56px;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0 0 0 2px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 50%;
  background: rgba(9, 12, 18, .7);
  color: #fff;
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
  transition: background .2s ease, transform .2s ease;
}
.home-video-play:hover { background: rgba(9, 12, 18, .92); transform: scale(1.05); }
.home-video-play:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.home-intro { text-align: center; }
.home-intro .wrap { width: min(900px, calc(100% - 40px)); }
.home-intro .kicker { margin-bottom: 12px; }
.home-intro h2 {
  color: var(--blue);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}
.home-intro .lede { max-width: 44rem; margin: 14px auto 0; }
.home-story { padding-top: 76px; }
.home-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, .9fr);
  gap: 64px;
  align-items: center;
}
.home-story-grid h2 { max-width: 42rem; }

@media (max-width: 980px) {
  .home-header .home-header-wrap { width: min(720px, calc(100% - 40px)); }
  .home-hero-copy { right: 40px; width: min(36rem, 43vw); }
}

@media (max-width: 760px) {
  .home-header .home-header-wrap {
    min-height: auto;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 16px 0 14px;
  }
  .home-brand img { width: 72px; height: 72px; }
  .home-brand .brand-line { font-size: 1.38rem; }
  .home-hero { height: auto; min-height: 0; overflow: visible; }
  .home-video-frame { height: auto; overflow: visible; }
  .home-video-media { position: relative; inset: auto; aspect-ratio: 1 / 1; }
  .home-video-frame video { object-fit: contain; object-position: center center; }
  .home-hero-copy {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto;
    transform: none;
    padding: 28px 24px 34px;
    background: #0b0d12;
    text-shadow: none;
  }
  .home-hero-copy h1 { font-size: clamp(2.7rem, 12vw, 4.3rem); }
  .home-hero-copy p { max-width: 22rem; }
  .home-video-play { right: 14px; bottom: 58px; width: 44px; height: 44px; font-size: .95rem; }
  .home-story-grid { grid-template-columns: 1fr; gap: 36px; }
  .home-story-grid .hero-mark { order: -1; }
  .home-story-grid .hero-mark img { width: min(220px, 60%); }
}

.hero-video { padding: 32px 0 0; }
.video-frame { position: relative; max-width: 420px; margin: 0 auto; background: #0b0d12; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 32px rgba(0,0,0,.16); }
.video-frame video { width: 100%; display: block; aspect-ratio: 1/1; background: #000; }
.video-frame .enable-sound {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  background: rgba(20,22,28,.55); color: #fff; border: 0;
  font-size: .74rem; padding: 6px 13px; border-radius: 999px; cursor: pointer;
}
.video-frame .enable-sound:hover { background: rgba(20,22,28,.78); }
.video-frame .enable-sound[hidden] { display: none; }
.video-caption { text-align: center; max-width: 420px; margin: 14px auto 0; font-style: italic; color: var(--muted); font-size: 1rem; }
@media (max-width: 480px) {
  .video-frame { max-width: 300px; }
  .video-caption { max-width: 300px; }
}

/* --- Accordion iniziative (sez. 8) --- */
.acc {
  background: var(--white);
  border: 1px solid var(--line);
  margin-bottom: 12px;
}
.acc + .acc { margin-top: 0; }
.acc > summary {
  display: flex; align-items: baseline; gap: 6px 16px; flex-wrap: wrap;
  justify-content: space-between;
  padding: 18px 52px 18px 22px;
  cursor: pointer; position: relative; list-style: none;
}
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after {
  content: "+";
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-family: system-ui, sans-serif; font-size: 1.5rem; line-height: 1;
  color: var(--blue);
}
.acc[open] > summary::after { content: "–"; }
.acc > summary:hover .acc-title { color: var(--rose); }
.acc > summary:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.acc[open] > summary { border-bottom: 1px solid var(--line); }
.acc-title { font-size: 1.2rem; font-weight: 600; color: var(--blue); }
.acc-place {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em;
}
.acc-body { padding: 6px 22px 26px; }
.acc-body h3 {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .82rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); margin: 22px 0 6px;
}
.acc-body > h3:first-child { margin-top: 12px; }
.acc-body p { margin: 0 0 8px; }
.todo { color: var(--muted); font-style: italic; }
.media-slot {
  border: 1px dashed var(--line); background: var(--bg);
  padding: 22px; text-align: center;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .85rem; color: var(--muted);
}
.gallery-intro { color: var(--muted); }
.initiative-gallery {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px; margin-top: 16px;
}
.initiative-gallery a {
  display: flex; align-items: center; justify-content: center;
  min-width: 0; background: var(--bg); border: 1px solid var(--line);
}
.initiative-gallery a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.initiative-gallery img {
  width: 100%; height: 170px; object-fit: contain; display: block;
}
.photo-viewer {
  width: min(calc(100vw - 32px), 1100px);
  max-width: 1100px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: 8px;
  background: #14202e; color: #fff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .45);
}
.photo-viewer::backdrop { background: rgba(8, 17, 27, .88); }
.photo-viewer-content { display: flex; flex-direction: column; min-height: 0; }
.photo-viewer-top, .photo-viewer-controls {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.photo-viewer-count { font-size: .9rem; }
.photo-viewer-image {
  display: block; max-width: 100%; max-height: calc(100vh - 160px);
  max-height: calc(100dvh - 160px); width: auto; height: auto;
  margin: auto; object-fit: contain;
}
.photo-viewer button {
  padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 4px; background: transparent; color: #fff;
  font: inherit; cursor: pointer;
}
.photo-viewer button:hover { background: rgba(255, 255, 255, .14); }
.photo-viewer button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 480px) {
  .photo-viewer { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .photo-viewer-top, .photo-viewer-controls { padding: 10px; }
  .photo-viewer button { padding: 9px; }
}
@media (max-width: 640px) {
  .initiative-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .initiative-gallery img { height: 145px; }
}
@media (max-width: 380px) {
  .initiative-gallery { grid-template-columns: 1fr; }
  .initiative-gallery img { height: 190px; }
}
.book-lead {
  display: grid; grid-template-columns: minmax(220px, 330px) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 64px); align-items: start;
  padding-bottom: 38px; border-bottom: 1px solid var(--line);
}
.book-cover { margin: 0; }
.book-cover img {
  width: 100%; border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(18, 54, 92, .14);
}
.book-cover figcaption {
  margin-top: 10px; color: var(--muted); text-align: center;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .82rem;
}
.book-opening p:first-child { margin-top: 0; }
.book-content { max-width: 800px; margin: 0 auto; padding-top: 18px; }
.book-content h2 { margin-top: 46px; font-size: clamp(1.55rem, 3vw, 2rem); }
.book-content p { margin: 0 0 14px; }
.emphasis { font-weight: 700; }
.book-quote, .initiative-quote {
  margin: 22px 0; padding-left: 20px; border-left: 3px solid var(--rose);
  color: var(--blue-dark); font-size: 1.15rem; font-weight: 600;
}
.book-meta { margin: 22px 0; padding: 20px 0; border-block: 1px solid var(--line); }
.book-meta div { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 4px 0; }
.book-meta dt { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 700; }
.book-meta dd { margin: 0; }
.initiative-heading { margin: 22px 0 4px; font-size: 1.55rem; }
.initiative-lede { margin: 0 0 24px !important; color: var(--muted); font-size: 1.08rem; }
.acc-body p + p { margin-top: 10px; }
.checklist { margin: 8px 0 0; padding-left: 1.1rem; }
.checklist li { margin-bottom: 6px; }
@media (max-width: 480px) {
  .acc > summary { padding: 16px 44px 16px 16px; }
  .acc-body { padding: 4px 16px 20px; }
  .book-meta div { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 720px) {
  .book-lead { grid-template-columns: 1fr; }
  .book-cover { width: min(100%, 360px); margin-inline: auto; }
}
.product .book-meta div { grid-template-columns: 1fr; gap: 0; padding: 5px 0; }
.product .book-meta dt { font-size: .85rem; color: var(--muted); }

/* ricette */
.recipe-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  margin: 36px 0 46px; padding: clamp(24px, 4vw, 38px);
  background: linear-gradient(135deg, #f1f5f9 0%, #fbf7f1 100%);
  border: 1px solid #d6e0ea; border-left: 4px solid var(--rose);
}
.recipe-cta .kicker { margin-bottom: 10px; }
.recipe-cta h2 { margin: 0 0 8px; font-size: clamp(1.55rem, 3vw, 2.1rem); }
.recipe-cta p:last-child { max-width: 39rem; margin: 0; color: var(--muted); }
.recipe-cta .btn { flex: 0 0 auto; text-align: center; }
.recipe-inline-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .88rem; font-weight: 700;
}
.recipe-inline-link::after { content: "→"; font-size: 1.1em; }

.recipe-page .hero { padding-bottom: 44px; }
.recipe-hero { background: linear-gradient(180deg, #f1f5f9 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.breadcrumbs {
  display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin: 0 0 24px;
  color: var(--muted); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .84rem;
}
.breadcrumbs a { color: var(--blue); }
.breadcrumbs [aria-current="page"] { color: var(--ink); }
.breadcrumb-separator { color: #8b919a; }
.recipe-intro { max-width: 49rem; }
.recipe-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.recipe-category {
  display: flex; flex-direction: column; min-height: 236px; padding: 24px;
  background: var(--white); border: 1px solid var(--line);
}
.recipe-category--available { border-top: 4px solid var(--rose); box-shadow: 0 10px 26px rgba(18, 54, 92, .08); }
.recipe-category--soon { background: #f4f1eb; color: var(--muted); }
.recipe-category-label, .recipe-status, .recipe-number {
  display: inline-flex; width: fit-content; align-items: center;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.recipe-category-label { color: var(--rose); margin-bottom: 13px; }
.recipe-category h3 { margin: 0 0 9px; font-size: 1.42rem; }
.recipe-category p { margin: 0 0 18px; line-height: 1.55; }
.recipe-status { margin-top: auto; padding: 6px 9px; background: #e8f0f8; color: var(--blue-dark); }
.recipe-category--soon .recipe-status { background: #e7e1d8; color: #5f665f; }
.recipe-category-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 17px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .88rem; font-weight: 700;
}
.recipe-category-link::after { content: "→"; font-size: 1.1em; }
.recipe-note {
  margin: 28px 0 0; padding: 18px 20px; background: var(--white); border: 1px solid var(--line);
  color: var(--muted);
}
.recipe-note p { margin: 0; }

.recipe-content { max-width: 900px; }
.recipe-jump {
  display: flex; gap: 8px; overflow-x: auto; margin: 0 0 32px; padding: 3px 0 10px;
  scrollbar-color: #b8c5d3 transparent;
}
.recipe-jump a {
  flex: 0 0 auto; padding: 7px 10px; background: var(--white); border: 1px solid var(--line);
  color: var(--blue-dark); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .78rem; font-weight: 700;
}
.recipe-jump a:hover { border-color: var(--blue); color: var(--blue); }
.recipe-list { display: grid; gap: 22px; }
.recipe-card { scroll-margin-top: 22px; padding: clamp(21px, 4vw, 34px); background: var(--white); border: 1px solid var(--line); }
.recipe-card h2 { margin: 0 0 9px; font-size: clamp(1.35rem, 3vw, 1.82rem); }
.recipe-number { margin-right: 8px; color: var(--rose); }
.recipe-description { margin: 0; color: var(--muted); }
.recipe-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; padding: 12px 0;
  border-block: 1px solid var(--line); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .82rem; color: var(--muted);
}
.recipe-meta strong { color: var(--ink); }
.recipe-card details { margin-top: 18px; }
.recipe-card summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer;
  color: var(--blue-dark); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .91rem; font-weight: 800;
}
.recipe-card summary::-webkit-details-marker { display: none; }
.recipe-card summary::after {
  content: "+"; flex: 0 0 auto; display: grid; width: 26px; height: 26px; place-items: center;
  background: #e8f0f8; color: var(--blue-dark); font-size: 1.25rem; line-height: 1;
}
.recipe-card details[open] summary::after { content: "−"; }
.recipe-card-body { padding-top: 24px; }
.recipe-detail-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 30px; }
.recipe-card h3 {
  margin: 0 0 10px; color: var(--blue-dark); font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .76rem; letter-spacing: .11em; text-transform: uppercase;
}
.recipe-card ul, .recipe-card ol { margin: 0; padding-left: 1.25rem; }
.recipe-card li { margin-bottom: 7px; }
.recipe-tip { margin-top: 26px; padding: 18px 20px; background: #f7f3ed; border-left: 3px solid var(--rose); }
.recipe-tip p { margin: 0; }
.recipe-tip h3 { color: var(--rose); }
.recipe-quote { margin: 22px 0 0; color: var(--blue-dark); font-size: 1.02rem; font-style: italic; }
.recipe-closing { max-width: 760px; margin: 0 auto; text-align: center; }
.recipe-closing p { color: var(--muted); }
.recipe-page a:focus-visible, .recipe-page summary:focus-visible { outline: 3px solid #e4a641; outline-offset: 3px; }

@media (max-width: 820px) {
  .recipe-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recipe-cta { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
  .recipe-category-grid { grid-template-columns: 1fr; }
  .recipe-category { min-height: auto; }
  .recipe-detail-grid { grid-template-columns: 1fr; gap: 24px; }
  .recipe-card summary { align-items: flex-start; }
}

/* Fotografie delle confezioni nel catalogo prodotti */
.product-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; margin-bottom: 22px; }
.product-image { margin: 0; min-width: 0; }
.product-image a { display: block; background: #fff; border: 1px solid var(--line); padding: 8px; }
.product-image a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.product-image img { display: block; width: 100%; height: 200px; object-fit: contain; }
.product-image figcaption { margin-top: 6px; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .82rem; line-height: 1.4; color: var(--blue); }
.product-gallery-single { grid-template-columns: 1fr; }
.product-gallery-single img { height: 340px; }
@media (max-width: 380px) { .product-gallery { grid-template-columns: 1fr; } }
