/* ============================================================
   Pasta e Sfizi Renewal — design system v1.1 (DESIGN-SYSTEM.md web-designer
   + direzione visiva art-director, valori ⟡ confermati 21/10/2026).
   Subsite /pastaesfizi-new/ — anteprima, live intatto.
   ============================================================ */

/* Font self-hosted (rubrica: zero richieste esterne). Cormorant Garamond 600
   + Jost variabile. Fallback dichiarato: Georgia / system sans. */
@font-face {
	font-family: 'Cormorant Garamond';
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url('assets/fonts/cormorant-600.woff2') format('woff2');
}
@font-face {
	font-family: 'Jost';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('assets/fonts/jost-latin.woff2') format('woff2');
}

:root {
	/* Palette (v1.1, confermata art-director) */
	--nero: #141311;            /* dark section hero/attive — MAI #000000 */
	--nero-intermedio: #242220; /* dark section lunghe, card su scuro */
	--oro: #C8A460;             /* accento unico: CTA, linee, parole chiave */
	--oro-lume: #E3C88A;        /* SOLO su fondo nero: testo oro, hover */
	--oro-scuro: #B08D4E;       /* bordi su crema */
	--oro-ink: #8C6F3F;         /* oro su crema SOLO decorativo; testo citazioni 4.6:1 */
	--crema: #F5EBDD;           /* canvas chiaro */
	--crema-carta: #FBF7EF;     /* card su chiaro */
	--testo-chiaro: #1A1A1A;
	--testo-scuro: #F5EBDD;
	--testo-sec-chiaro: #5C554B;
	--testo-sec-scuro: #B8B0A4;

	/* Tipografia v1.1 — Cormorant Garamond (titoli) + Jost (corpo).
	   Fallback di sistema dichiarato (kit signature non ancora montato,
	   fault install_kit aperta con AI-Fi): Georgia serif / system sans. */
	--font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--font-body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

	/* Scala tipografica */
	--fs-display: clamp(2.75rem, 7vw, 4.5rem);       /* H1 hero 44–72px, 36–40 mobile */
	--fs-h2: clamp(1.625rem, 4vw, 2.625rem);         /* 26–42px */
	--fs-h3: clamp(1.25rem, 2vw, 1.625rem);          /* 20–26px */
	--fs-lead: clamp(1.25rem, 2.4vw, 1.5rem);
	--fs-body: clamp(1.0625rem, 1.4vw, 1.1875rem);   /* 17–19px */
	--fs-label: 0.8125rem;                            /* 13px overline */
	--fs-micro: 0.75rem;

	/* Griglia e ritmo */
	--container: 1200px;
	--measure: 720px;
	--space-section: clamp(4rem, 10vw, 7rem);
	--gutter: clamp(1.5rem, 4vw, 2.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: 1.65;
	color: var(--testo-chiaro);
	background: var(--crema);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- Tipografia ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-display); line-height: 1.05; }
h2 { font-size: var(--fs-h2); line-height: 1.15; }
h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.3; }
p { margin: 0 0 1em; }
.lead { font-size: var(--fs-lead); line-height: 1.5; }

.overline {
	font-family: var(--font-body);
	font-weight: 500;
	font-size: var(--fs-label);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--oro-ink);
	margin: 0 0 1rem;
}
.dark .overline { color: var(--oro-lume); }

/* Linea oro sotto ogni H2 — firma visiva costante */
.h2-line { width: 48px; height: 2px; background: var(--oro); border: 0; margin: 0 0 1.6rem; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: var(--measure); margin-inline: auto; }
section { padding-block: var(--space-section); }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }

.light { background: var(--crema); color: var(--testo-chiaro); }
.light-alt { background: var(--crema-carta); color: var(--testo-chiaro); }
.dark { background: var(--nero); color: var(--testo-scuro); }
.dark-inter { background: var(--nero-intermedio); color: var(--testo-scuro); }
.dark p, .dark-inter p, .dark li { color: var(--testo-sec-scuro); }
.dark h2, .dark h3, .dark-inter h2, .dark-inter h3 { color: var(--testo-scuro); }
.dark .lead, .dark-inter .lead { color: var(--testo-scuro); }
.dark a:not(.btn), .dark-inter a:not(.btn) { color: var(--oro-lume); }
.light a:not(.btn) { color: var(--oro-ink); }

/* Citazioni — Cormorant/Georgia Italic, oro-ink su crema o crema su nero */
.credo-quote {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 500;
	font-size: var(--fs-lead);
	line-height: 1.5;
	color: var(--oro-ink);
	border-left: 2px solid var(--oro);
	padding-left: 1.5rem;
	max-width: var(--measure);
	margin: 0 auto 2.5rem;
}

/* ---------- Componenti ---------- */
.btn {
	display: inline-block;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: var(--fs-label);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 16px 32px;
	border-radius: 999px;
	border: 1px solid transparent;
	min-height: 44px;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
	cursor: pointer;
}
.btn-primary { background: var(--oro); color: var(--nero); }
.btn-primary:hover { background: var(--oro-lume); }
.dark .btn-primary:hover { background: var(--oro-lume); }
.btn-ghost { background: transparent; color: inherit; border-color: var(--oro); }
.btn-ghost:hover { border-color: var(--oro-lume); color: var(--oro-lume); }
.light .btn-ghost { color: var(--oro-ink); border-color: var(--oro-scuro); }
.light .btn-ghost:hover { border-color: var(--oro-ink); color: var(--oro-ink); }

/* CTA underline che si estende da sinistra (motion plan #3) */
.link-under {
	position: relative;
	text-decoration: none;
}
.link-under::after {
	content: '';
	position: absolute;
	left: 0; bottom: -3px;
	width: 0; height: 1.5px;
	background: var(--oro);
	transition: width 0.3s ease;
}
.link-under:hover::after, .link-under:focus-visible::after { width: 100%; }

.card {
	border-radius: 12px;
	background: var(--crema-carta);
	box-shadow: 0 8px 24px rgba(26, 26, 26, 0.08);
	padding: clamp(1.5rem, 3vw, 2.5rem);
}
.dark .card, .dark-inter .card { background: var(--nero-intermedio); box-shadow: none; }

/* Foto: cornici con margine generoso (min 64px su desktop), hover 1.02/300ms */
.photo-frame { overflow: hidden; border-radius: 12px; background: var(--nero-intermedio); }
.photo-frame img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform 0.3s ease-out;
}
.photo-frame:hover img { transform: scale(1.02); }
.photo-caption {
	font-family: var(--font-body);
	font-size: var(--fs-label);
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--oro-ink);
	margin-top: 0.75rem;
}
.dark .photo-caption { color: var(--oro-lume); }

/* ---------- Header ---------- */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 50;
	padding: 24px 0;
	background: transparent;
	transition: padding 0.25s ease, background 0.25s ease;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-header.scrolled { padding: 12px 0; background: rgba(20, 19, 17, 0.88); backdrop-filter: blur(6px); }
.site-brand { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; color: var(--testo-scuro); text-decoration: none; }
.site-brand small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.625rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--oro-lume); }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
.site-nav a {
	font-family: var(--font-body); font-weight: 500; font-size: 0.8125rem;
	letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--testo-scuro); text-decoration: none;
	position: relative;
}
.site-nav a::after { content:''; position:absolute; left:0; bottom:-4px; width:0; height:1.5px; background: var(--oro); transition: width .3s ease; }
.site-nav a:hover::after { width: 100%; }
.site-nav .nav-cta {
	background: var(--oro); color: var(--nero);
	padding: 10px 20px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center;
}
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover { background: var(--oro-lume); }
.nav-toggle { display: none; background: none; border: 0; color: var(--testo-scuro); font-size: 1.5rem; cursor: pointer; padding: 8px; min-height: 44px; min-width: 44px; }

@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.site-nav {
		display: none;
		position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; align-items: flex-start;
		background: var(--nero); padding: 1.5rem var(--gutter) 2rem; gap: 1.25rem;
	}
	.site-nav.open { display: flex; }
}

/* Pagina chiara: header resta scuro — le sezioni iniziano sotto */
.page-wrap { padding-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--nero); color: var(--testo-sec-scuro); padding: clamp(3rem, 8vw, 5rem) 0 2rem; }
.site-footer .footer-brand { font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; color: var(--testo-scuro); margin-bottom: 0.5rem; }
.site-footer .credo-tag { font-family: var(--font-display); font-style: italic; color: var(--oro-lume); font-size: 1.0625rem; max-width: 420px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-grid h3 { font-family: var(--font-body); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--oro-lume); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-grid a { color: var(--testo-sec-scuro); text-decoration: none; }
.footer-grid a:hover { color: var(--oro-lume); }
.footer-micro { border-top: 1px solid rgba(200, 164, 96, 0.25); padding-top: 1.5rem; font-size: var(--fs-micro); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- HERO .sig-film ---------- */
.sig-film {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: flex-end;
	background: var(--nero);
	padding-bottom: clamp(3rem, 8vw, 6rem);
	overflow: hidden;
}
.sig-film .hero-photo {
	position: absolute; inset: 0;
	background-size: cover; background-position: center 30%;
	transform: scale(1.06);
	animation: heroPhoto 1.4s ease-out forwards;
}
.sig-film .hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,19,17,0.55) 0%, rgba(20,19,17,0.25) 45%, rgba(20,19,17,0.82) 100%); }
@keyframes heroPhoto { to { transform: scale(1); } }

.sig-film .hero-content { position: relative; z-index: 2; }
.sig-film h1 { color: var(--testo-scuro); max-width: 14ch; }
.sig-film h1 .oro { color: var(--oro-lume); }
.sig-film .lead { color: var(--testo-sec-scuro); max-width: 42ch; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* Ingresso hero: titolo → lead → CTA, 200ms di scarto, tot ~900ms */
.hero-enter { opacity: 0; transform: translateY(24px); animation: heroIn 0.9s ease-out forwards; }
.hero-enter.d1 { animation-delay: 0.15s; }
.hero-enter.d2 { animation-delay: 0.35s; }
.hero-enter.d3 { animation-delay: 0.55s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.hero-line { width: 48px; height: 2px; background: var(--oro); margin: 0 0 1.5rem; transform-origin: left; transform: scaleX(0); animation: lineDraw 0.8s ease-out 0.2s forwards; }
@keyframes lineDraw { to { transform: scaleX(1); } }

/* ---------- Reveal allo scroll (fade-up once, 0.6s, stagger 60ms) ---------- */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.6s ease-out, transform 0.6s ease-out; transition-delay: var(--stagger, 0ms); }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
	.hero-enter { opacity: 1 !important; transform: none !important; animation: none !important; }
	.hero-line { transform: scaleX(1) !important; animation: none !important; }
	.sig-film .hero-photo { transform: none !important; animation: none !important; }
	html { scroll-behavior: auto; }
}

/* ---------- .sig-sequence (La Carte / piatti) ---------- */
.sig-sequence { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.sig-sequence .dish { position: relative; }
.sig-sequence .dish img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; width: 100%; }
.sig-sequence .dish h3 { margin: 0.75rem 0 0.15rem; font-size: 1.125rem; }
.sig-sequence .dish p { font-size: 0.9375rem; color: var(--testo-sec-scuro); margin: 0; }
@media (max-width: 960px) { .sig-sequence { grid-template-columns: repeat(2, 1fr); } }

/* ---------- .sig-hoverlist (Teatro della Follia) ---------- */
.sig-hoverlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(200,164,96,0.3); }
.sig-hoverlist li { border-bottom: 1px solid rgba(200,164,96,0.3); }
.sig-hoverlist .soiree-row {
	display: grid; grid-template-columns: 110px 1fr auto; gap: 1.5rem; align-items: baseline;
	padding: 1.5rem 0.5rem; cursor: pointer; transition: background 0.3s ease;
}
.sig-hoverlist .soiree-row:hover, .sig-hoverlist li.active .soiree-row { background: rgba(200,164,96,0.07); }
.sig-hoverlist .soiree-date { font-family: var(--font-body); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--oro-lume); }
.sig-hoverlist .soiree-title h3 { margin: 0 0 0.25rem; }
.sig-hoverlist .soiree-title p { margin: 0; }
.sig-hoverlist .soiree-state { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--testo-sec-scuro); }
.sig-hoverlist .soiree-state[data-state="complet"] { color: var(--oro-lume); }
.sig-hoverlist .soiree-photo { display: none; }
.sig-hoverlist li.active .soiree-photo { display: block; animation: heroIn 0.4s ease-out; }
.sig-hoverlist .soiree-photo img { border-radius: 12px; aspect-ratio: 16/9; object-fit: cover; width: 100%; margin-top: 0.5rem; }
@media (min-width: 961px) {
	.sig-hoverlist { grid-template-columns: 1fr; }
	.sig-hoverlist li.active .soiree-photo { display: none; }
	.hoverlist-panel { position: relative; }
	.hoverlist-panel .panel-img { position: sticky; top: 100px; }
	.hoverlist-panel img { border-radius: 12px; aspect-ratio: 3/4; object-fit: cover; width: 100%; opacity: 0; transition: opacity 0.3s ease; }
	.hoverlist-panel img.visible { opacity: 1; }
}
@media (max-width: 960px) {
	.sig-hoverlist .soiree-row { grid-template-columns: 1fr auto; }
	.sig-hoverlist .soiree-date { grid-column: 1 / -1; }
}

/* ---------- Credò 5 pilastri: lista orizzontale con separatore a punto oro ---------- */
.pilastri { display: flex; flex-wrap: wrap; gap: 0.25rem 0; max-width: var(--measure); margin: 0 auto; }
.pilastri li { list-style: none; display: flex; flex-direction: column; flex: 1 1 200px; padding: 0 1.5rem 1.5rem; position: relative; }
.pilastri li::before { content: '·'; color: var(--oro); font-size: 1.6rem; line-height: 1; position: absolute; left: 0.25rem; top: 0.1rem; }
.pilastri li h3 { font-size: 1.25rem; margin-bottom: 0.35rem; }
.pilastri li p { font-size: 0.9375rem; color: var(--testo-sec-chiaro); margin: 0; }

/* Fatti / count-up */
.fatti { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.fatti .fatto-num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.25rem, 5vw, 3.25rem); color: var(--oro-lume); line-height: 1; }
.fatti .fatto-num sup { font-size: 0.45em; }
.fatti p { margin: 0.35rem 0 0; }
@media (max-width: 720px) { .fatti { grid-template-columns: 1fr; } }

/* Griglie asimmetriche */
.asym-7-5 { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.asym-8-4 { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (max-width: 860px) { .asym-7-5, .asym-8-4 { grid-template-columns: 1fr; } }

/* Menu — 2 colonne desktop, numerazione a punto oro */
.menu-cols { columns: 2; column-gap: 4rem; }
@media (max-width: 860px) { .menu-cols { columns: 1; } }
.menu-section { break-inside: avoid; margin-bottom: 2.5rem; }
.menu-section h3 { color: var(--oro-ink); font-size: 1.25rem; margin-bottom: 1rem; }
.menu-item { display: flex; justify-content: space-between; gap: 1rem; padding: 0.65rem 0 0.65rem 1.25rem; position: relative; border-bottom: 1px solid rgba(26,26,26,0.06); }
.menu-item::before { content: '·'; color: var(--oro); position: absolute; left: 0; font-weight: 700; }
.menu-item .item-name { font-weight: 500; }
.menu-item .item-desc { display: block; font-size: 0.875rem; color: var(--testo-sec-chiaro); font-weight: 400; }
.menu-item .item-price { font-family: var(--font-display); font-weight: 600; white-space: nowrap; }

/* Contact */
.info-card { font-size: 1rem; }
.info-card dl { margin: 0; }
.info-card dt { font-family: var(--font-body); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--oro-ink); margin-top: 1.25rem; }
.info-card dd { margin: 0.25rem 0 0; }
.map-embed { width: 100%; border: 0; border-radius: 12px; min-height: 380px; filter: grayscale(0.35) sepia(0.12); }

/* Accessibilità */
:focus-visible { outline: 2px solid var(--oro); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { * { scroll-margin-top: 90px; } }

/* ===== FLOATING ACTION WIDGET — variables scopped per subsite pes-renewal ===== */
.pes-fab { --pes-fab-bg:#141311; --pes-fab-gold:#C8A460; --pes-fab-cream:#F5EBDD; }

/* ===== FLOATING ACTION WIDGET — Prenota / Ordina / LovelyCustomer ===== */
/* Ported 1:1 from live pasta-esfizi/style.css (parity TASK-1793378314299-Z1WAR). */
.pes-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.pes-fab__toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--pes-fab-bg);
  border: 2px solid var(--pes-fab-gold);
  color: var(--pes-fab-gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35), 0 0 0 0 rgba(200,164,96,0.4);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.2s ease;
  position: relative;
  z-index: 2;
}
.pes-fab__toggle:hover {
  background: #2a2a2a;
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(0,0,0,0.4), 0 0 0 4px rgba(200,164,96,0.15);
}
.pes-fab__toggle:focus-visible {
  outline: 3px solid var(--pes-fab-gold);
  outline-offset: 3px;
}
.pes-fab__toggle-icon { width: 28px; height: 28px; display: block; transition: transform 0.3s ease; }
.pes-fab.is-open .pes-fab__toggle-icon { transform: rotate(45deg); }
.pes-fab__toggle::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--pes-fab-gold);
  opacity: 0;
  animation: pes-fab-pulse 3s ease-out infinite;
  pointer-events: none;
}
@keyframes pes-fab-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pes-fab__toggle::before { animation: none; }
  .pes-fab__toggle { transition: background 0.2s ease; }
  .pes-fab__toggle:hover { transform: none; }
}
.pes-fab__panel {
  position: absolute;
  bottom: 72px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.92);
  transform-origin: bottom right;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.25s;
  pointer-events: none;
}
.pes-fab.is-open .pes-fab__panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: auto; }
.pes-fab:not(.pes-fab--animated) .pes-fab__panel { transition: none; }
.pes-fab:not(.pes-fab--animated).is-open .pes-fab__panel { transition: none; }
.pes-fab__action {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  padding: 14px 20px;
  background: var(--pes-fab-bg);
  color: var(--pes-fab-cream);
  border: 1px solid rgba(200,164,96,0.3);
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  position: relative;
  overflow: hidden;
}
.pes-fab__action::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--pes-fab-gold);
  transition: width 0.2s ease;
}
.pes-fab__action:hover {
  background: #2a2a2a;
  border-color: var(--pes-fab-gold);
  transform: translateX(-4px);
  color: var(--pes-fab-cream);
}
.pes-fab__action:hover::before { width: 6px; }
.pes-fab__action:focus-visible { outline: 3px solid var(--pes-fab-gold); outline-offset: 2px; }
.pes-fab__action-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(200,164,96,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.pes-fab__action-text { display: flex; flex-direction: column; gap: 2px; }
.pes-fab__action-label { font-size: 0.95rem; font-weight: 700; color: var(--pes-fab-cream); line-height: 1.2; }
.pes-fab__action-sub { font-size: 0.75rem; color: var(--pes-fab-gold); font-weight: 400; letter-spacing: 0.03em; }
.pes-fab.is-open .pes-fab__action:nth-child(1) { animation: pes-fab-action-in 0.3s ease-out 0.05s both; }
.pes-fab.is-open .pes-fab__action:nth-child(2) { animation: pes-fab-action-in 0.3s ease-out 0.12s both; }
.pes-fab.is-open .pes-fab__action:nth-child(3) { animation: pes-fab-action-in 0.3s ease-out 0.19s both; }
@keyframes pes-fab-action-in {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .pes-fab.is-open .pes-fab__action:nth-child(1),
  .pes-fab.is-open .pes-fab__action:nth-child(2),
  .pes-fab.is-open .pes-fab__action:nth-child(3) { animation: none; }
  .pes-fab__panel { transition: opacity 0.15s ease, visibility 0.15s; transform: none; }
  .pes-fab.is-open .pes-fab__panel { transform: none; }
}
@media (max-width: 768px) {
  .pes-fab { bottom: 16px; right: 16px; }
  .pes-fab__toggle { width: 52px; height: 52px; }
  .pes-fab__toggle-icon { width: 24px; height: 24px; }
  .pes-fab__panel { bottom: 62px; right: -4px; }
  .pes-fab__action { min-width: 200px; padding: 12px 16px; font-size: 0.9rem; }
  .pes-fab__action-icon { width: 32px; height: 32px; font-size: 1.05rem; }
  .pes-fab__action-label { font-size: 0.9rem; }
  .pes-fab__action-sub { font-size: 0.7rem; }
}
@media (max-width: 380px) {
  .pes-fab__action { min-width: 180px; padding: 10px 14px; }
}
@media (max-height: 500px) {
  .pes-fab__panel { bottom: 62px; }
}

/* ===== Archivio News (/news/) ===== */
.news-archive { max-width: var(--measure); margin-top: 1rem; }
.news-item { padding: 2rem 0; border-bottom: 1px solid rgba(200,164,96,0.3); }
.news-item .news-date { font-family: var(--font-body); font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--oro-ink); display: block; margin-bottom: 0.5rem; }
.news-item .news-title { margin-bottom: 0.5rem; }
.news-item .news-title a { color: var(--testo-chiaro); text-decoration: none; }
.news-item .news-title a:hover { color: var(--oro-ink); }
.news-item .news-excerpt p { color: var(--testo-sec-chiaro); font-size: 0.9375rem; margin-bottom: 0.75rem; }