/* ==========================================================================
   Namelaka — Pasticceria artigianale, Candiolo
   Restyle: palette latte/cioccolato/terracotta + pistacchio, Playfair Display + Karla
   ========================================================================== */

@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-vf.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-italic-vf.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Karla"; src: url("../fonts/karla-vf.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
  /* colore — latte, cioccolato, terracotta, pistacchio */
  --forest: #3B2A20;        /* cioccolato fondente (testi e sezioni scure) */
  --forest-2: #4C382B;
  --forest-3: #241812;      /* marrone quasi nero (piedi di pagina, azioni) */
  --ink: #3B2A20;
  --muted: #6E5D51;
  --cream: #F7F1E5;         /* base latte caldo */
  --paper: #FCFAF4;
  --sage: #EFE7D9;          /* neutro caldo (sfondi media) */
  --pist: #B7C9A4;          /* pistacchio morbido (secondario) */
  --pist-2: #CBD9BC;
  --pist-deep: #5C7A4B;
  --terra: #C4653D;         /* terracotta (accento principale) */
  --terra-2: #D9865F;
  --terra-deep: #9C4E2C;
  --berry: #A3293F;
  --wood: #9A6B3F;
  --line: rgba(59, 42, 32, .14);
  --line-light: rgba(247, 241, 229, .2);
  --on-dark: #F7F1E5;
  --on-dark-muted: rgba(247, 241, 229, .8);

  /* tipografia */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-hero: clamp(2.9rem, 1.6rem + 6vw, 6rem);
  --fs-h2: clamp(2.1rem, 1.4rem + 2.8vw, 3.5rem);
  --fs-h3: clamp(1.3rem, 1.1rem + .6vw, 1.6rem);
  --fs-lead: clamp(1.08rem, 1rem + .35vw, 1.24rem);

  /* spazi e forme */
  --gutter: clamp(1rem, .6rem + 2vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --radius: 26px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(36, 24, 18, .06), 0 4px 14px rgba(36, 24, 18, .06);
  --shadow: 0 2px 6px rgba(36, 24, 18, .06), 0 18px 40px -12px rgba(36, 24, 18, .22);
  --shadow-lg: 0 30px 80px -20px rgba(36, 24, 18, .45);

  /* movimento */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --dur: 240ms;

  /* z-index */
  --z-header: 40;
  --z-actionbar: 45;
  --z-nav: 50;
  --z-toast: 90;
  --z-cookie: 100;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body {
  margin: 0; overflow-x: clip;
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; font-weight: 400;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--forest); font-optical-sizing: auto; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.01em; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico-lg { width: 2.2rem; height: 2.2rem; }
:focus-visible { outline: 3px solid var(--terra-deep); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .process :focus-visible, .order :focus-visible, .visit :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--pist); }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--forest); color: var(--on-dark); padding: .7rem 1rem; border-radius: 10px; }
.skip-link:focus { top: 1rem; }

.section { padding: var(--section) 0; position: relative; }
.section-inner { width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head > p:last-child { color: var(--muted); font-size: var(--fs-lead); }
.section-head-split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--terra-deep); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.eyebrow .ico { display: none; }
.eyebrow-light { color: var(--pist); }

/* ---------- bottoni ---------- */
.btn {
  --bg: var(--terra); --fg: var(--on-dark);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.35rem; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; cursor: pointer; touch-action: manipulation;
  transition: transform var(--dur) var(--ease-out), background-color var(--dur), box-shadow var(--dur), color var(--dur), border-color var(--dur);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ico { transition: transform var(--dur) var(--ease-out); }
.btn:hover .ico:last-child:not(:first-child) { transform: translateX(3px); }
.btn-pist { --bg: var(--terra); --fg: var(--on-dark); }
.btn-pist:hover { --bg: var(--terra-2); }
.btn-dark { --bg: var(--forest); --fg: var(--on-dark); }
.btn-dark:hover { --bg: var(--forest-2); }
.btn-ghost-light { --bg: transparent; --fg: var(--on-dark); border-color: rgba(247, 241, 229, .45); }
.btn-ghost-light:hover { --bg: rgba(247, 241, 229, .1); border-color: var(--on-dark); }
.btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: .92rem; }
.btn-lg { min-height: 56px; padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--terra-deep); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; min-height: 44px; }
.link-arrow .ico { transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover .ico { transform: translateX(4px); }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); display: grid; place-items: center; color: var(--forest); transition: background-color var(--dur), border-color var(--dur), transform var(--dur); }
.icon-btn:hover { background: var(--terra); border-color: var(--terra); }
.icon-btn:active { transform: scale(.94); }

/* ---------- progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: calc(var(--z-header) + 1); pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--terra); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: var(--z-header); color: var(--on-dark); transition: background-color 300ms, color 300ms, box-shadow 300ms, transform 400ms var(--ease-out); }
.site-header.is-scrolled { background: rgba(252, 250, 244, .9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); color: var(--forest); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; color: inherit; }
.brand-kicker { font-size: .62rem; letter-spacing: .38em; text-transform: uppercase; font-weight: 600; margin-bottom: .28rem; padding-left: .12em; opacity: .85; }
.brand-name { font-family: var(--font-body); font-weight: 400; font-size: 1.55rem; letter-spacing: .16em; text-transform: uppercase; }
.main-nav { display: none; }
.main-nav ul { list-style: none; display: flex; gap: .3rem; margin: 0; padding: 0; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .9rem; text-decoration: none; font-weight: 500; font-size: .96rem; position: relative; border-radius: 999px; }
.main-nav a::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: 8px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.header-cta { display: none; }

.status-pill { display: none; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 500; padding: .35rem .75rem; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; opacity: .92; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa39a; flex: none; }
.is-open .dot { background: #6FCB6B; box-shadow: 0 0 0 0 rgba(111, 203, 107, .6); animation: pulse 2s infinite; }
.is-soon .dot { background: #F0B44C; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(111, 203, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 203, 107, 0); } }

.nav-toggle { width: 48px; height: 48px; border: 0; background: transparent; display: grid; place-content: center; gap: 6px; border-radius: 50%; color: inherit; }
.nav-toggle span { width: 24px; height: 1.8px; background: currentColor; border-radius: 2px; transition: transform var(--dur) var(--ease-out), opacity var(--dur); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.8px) rotate(-45deg); }
body.nav-open .site-header { color: var(--on-dark); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; z-index: calc(var(--z-nav) + 1); }

.mobile-nav { position: fixed; inset: 0; z-index: var(--z-nav); background: var(--forest-3); color: var(--on-dark); padding: 100px var(--gutter) 2rem; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; opacity: 0; transform: translateY(-12px); transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out); }
.mobile-nav[hidden] { display: none; }
.mobile-nav.is-open { opacity: 1; transform: none; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li a { display: block; font-family: var(--font-display); font-size: clamp(1.7rem, 7vw, 2.4rem); line-height: 1.25; padding: .35rem 0; text-decoration: none; border-bottom: 1px solid var(--line-light); }
.mobile-nav li a:hover { color: var(--pist); }
.mobile-nav-foot { margin-top: 2rem; display: grid; gap: .8rem; }
.mobile-nav-foot p { color: var(--on-dark-muted); margin: 0; }

@media (min-width: 640px) { .status-pill { display: inline-flex; } }
@media (min-width: 1080px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }
}

/* ---------- hero (banda full-bleed con copy sovrapposta) ---------- */
.hero { position: relative; min-height: 100svh; background: var(--forest-3); color: var(--on-dark); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.1); animation: heroZoom 18s var(--ease-out) forwards; }
.hero-media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(36, 24, 18, .62) 0%, rgba(36, 24, 18, .28) 38%, rgba(36, 24, 18, .55) 72%, rgba(36, 24, 18, .92) 100%); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-inner { width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; padding: 140px 0 100px; display: grid; justify-items: center; text-align: center; }
.hero-copy { max-width: 46rem; }
.hero-title { font-size: var(--fs-hero); font-weight: 400; line-height: 1.02; letter-spacing: -.025em; color: var(--on-dark); margin-bottom: 1.3rem; }
.hero-title em { color: var(--pist); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1s var(--ease-out) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes lineUp { to { transform: none; } }
.hero-lead { font-size: var(--fs-lead); color: var(--on-dark-muted); max-width: 36rem; margin-inline: auto; opacity: 0; animation: fadeUp .9s .45s var(--ease-out) forwards; }
.hero-lead strong { color: var(--on-dark); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin: 2rem 0 2.2rem; opacity: 0; animation: fadeUp .9s .6s var(--ease-out) forwards; }
.hero-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem; font-size: .95rem; color: var(--on-dark-muted); opacity: 0; animation: fadeUp .9s .75s var(--ease-out) forwards; }
.hero-facts li, .hero-facts a { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; min-height: 32px; }
.hero-facts strong { color: var(--on-dark); font-weight: 600; margin-left: .15rem; }
.hero-facts a:hover { color: var(--on-dark); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.stars { display: inline-flex; gap: 2px; color: var(--terra-2); }
.stars svg { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 28px; height: 46px; border: 1.5px solid rgba(247, 241, 229, .5); border-radius: 20px; display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--terra-2); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (min-width: 900px) {
  .scroll-cue { display: block; }
}

/* ---------- nome ---------- */
.name-section { background: var(--cream); overflow: clip; }
.name-grid { display: grid; gap: 2.5rem; align-items: center; }
.name-word { position: relative; text-align: center; }
.name-word .jp { display: block; font-size: clamp(5rem, 3rem + 12vw, 11rem); line-height: 1; color: var(--forest); font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif; letter-spacing: .05em; }
.name-word .romaji { display: inline-block; margin-top: 1rem; font-size: .9rem; letter-spacing: .4em; text-transform: uppercase; color: var(--terra-deep); padding: .4rem 1rem; border: 1px solid var(--line); border-radius: 999px; }
.name-copy p { color: var(--muted); font-size: var(--fs-lead); max-width: 38rem; }
.pill-list { list-style: none; margin: 1.8rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.pill-list li { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 500; font-size: .95rem; color: var(--forest); }
.pill-list .ico { color: var(--terra-deep); }
@media (min-width: 900px) { .name-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; } }

/* ---------- chi siamo ---------- */
.about { background: var(--paper); }
.about-grid { display: grid; gap: 3rem; align-items: center; }
.about-media { position: relative; padding-bottom: 3rem; }
.about-main { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); width: 86%; }
.about-main img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about-portrait { position: absolute; right: 0; bottom: 0; width: 44%; margin: 0; border-radius: 20px; overflow: hidden; background: var(--paper); padding: 8px; box-shadow: var(--shadow-lg); }
.about-portrait img { border-radius: 14px; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%; width: 100%; }
.about-portrait figcaption { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; text-align: center; padding: .55rem 0 .3rem; color: var(--terra-deep); font-weight: 600; }
.about-copy > p { color: var(--muted); }
.about-quote { margin: 2rem 0; padding: 1.4rem 1.6rem; border-left: 3px solid var(--terra); background: var(--cream); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.about-quote p { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; line-height: 1.45; color: var(--forest); margin-bottom: .6rem; }
.about-quote cite { font-style: normal; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.about-stats strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.3rem, 1.8rem + 2vw, 3.4rem); line-height: 1; color: var(--forest); font-variant-numeric: tabular-nums; }
.about-stats span { display: block; font-size: .88rem; line-height: 1.35; color: var(--muted); margin-top: .5rem; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }

/* ---------- 48 ore ---------- */
.process { background: var(--forest); color: var(--on-dark); overflow: clip; }
.process h2, .process h3 { color: var(--on-dark); }
.process h2 em { color: var(--pist); }
.process .section-head > p:last-child { color: var(--on-dark-muted); }
.process::before { content: ""; position: absolute; right: -180px; top: -120px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(183, 201, 164, .16), transparent 65%); pointer-events: none; }
.process-wrap { display: grid; gap: 2rem; }
.process-visual { display: grid; gap: 1.2rem; }
.process-timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); justify-items: center; }
.process-timeline::before { content: ""; position: absolute; left: 6%; right: 6%; top: 24px; height: 2px; background: rgba(247, 241, 229, .16); }
.timeline-node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.timeline-node .n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--on-dark-muted); border: 1.5px solid rgba(247, 241, 229, .35); background: var(--forest); transition: background-color 400ms, border-color 400ms, color 400ms, transform 400ms; }
.timeline-node small { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.timeline-node.is-active .n { background: var(--terra); border-color: var(--terra); color: var(--on-dark); transform: scale(1.08); }
.timeline-node.is-active small { color: var(--on-dark); }
.process-images { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.process-images img { aspect-ratio: 4 / 3.6; object-fit: cover; width: 100%; border-radius: var(--radius-sm); opacity: .4; transform: scale(.98); filter: grayscale(.35); transition: opacity 600ms var(--ease-out), transform 900ms var(--ease-out), filter 600ms; }
.process-images img.is-active { opacity: 1; transform: none; filter: none; }
.process-gauge { justify-self: center; display: inline-flex; align-items: baseline; gap: .6rem; padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid rgba(183, 201, 164, .4); background: rgba(247, 241, 229, .06); }
.process-gauge strong { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.process-gauge span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--pist); }
.process-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.process-step { position: relative; padding: 1.5rem; border-radius: var(--radius); background: rgba(247, 241, 229, .05); border: 1px solid var(--line-light); transition: background-color 400ms, border-color 400ms; }
.process-step .step-num { display: inline-block; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--terra-2); margin-bottom: .3rem; }
.process-step p { color: var(--on-dark-muted); margin: 0; }
.process-step h3 { margin-bottom: .4rem; }
.step-tag { display: inline-block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--forest-3); background: var(--pist); padding: .2rem .6rem; border-radius: 999px; margin-bottom: .7rem; }
.process-step.is-active { background: rgba(247, 241, 229, .1); border-color: rgba(201, 107, 61, .55); }
.process-note { margin-top: 2.5rem; display: grid; gap: 1.2rem; align-items: center; padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); border-radius: var(--radius); background: var(--cream); color: var(--ink); }
.process-note h3 { color: var(--forest); margin-bottom: .35rem; }
.process-note p { color: var(--muted); margin: 0; }
.process-note-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--terra); color: var(--on-dark); display: grid; place-items: center; }
.process-note-icon .ico { width: 26px; height: 26px; }
.process-note .btn { justify-self: start; }
@media (max-width: 719px) { .process-timeline { display: none; } }
@media (min-width: 720px) { .process-note { grid-template-columns: auto 1fr auto; } }
@media (min-width: 960px) {
  /* Sidebar: .process-visual (timeline + foto) e .process-gauge impilati in colonna 1;
     i passi .process-steps occupano l'intera colonna 2.
     Prima, l'auto-placement del grid metteva .process-gauge in riga 1 colonna 2
     e .process-steps in riga 2 colonna 1 (sotto le foto, stessa colonna del visual sticky):
     scorrendo, il testo dei passi finiva sopra la griglia foto. Con la disposizione
     esplicita i passi non condividono più la colonna del visual: nessuna sovrapposizione. */
  .process-wrap { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 2rem 4rem; align-items: start; }
  .process-visual { grid-column: 1; grid-row: 1; position: sticky; top: max(96px, calc(50vh - min(34vh, 300px))); }
  .process-gauge { grid-column: 1; grid-row: 2; }
  .process-images { grid-template-columns: repeat(2, 1fr); }
  .process-images img { aspect-ratio: 3 / 4; }
  .process-steps { grid-column: 2; grid-row: 1; gap: 0; padding: 4vh 0 10vh; }
  .process-step { min-height: 46vh; display: flex; flex-direction: column; justify-content: center; background: transparent; border: 0; border-left: 1px solid var(--line-light); border-radius: 0; padding: 1.5rem 0 1.5rem 2.2rem; opacity: .4; transition: opacity 400ms; }
  .process-step.is-active { opacity: 1; background: transparent; border-left-color: var(--terra-2); }
  .process-step h3 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); }
}

/* ---------- vetrina ---------- */
.showcase { background: var(--cream); }
.filter-bar { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding: .3rem .1rem 1rem; margin: 0 calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-snap-type: x proximity; }
.filter-bar::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .5rem 1.05rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); color: var(--forest); font-weight: 600; font-size: .95rem; scroll-snap-align: start; transition: background-color var(--dur), border-color var(--dur), color var(--dur), transform var(--dur); }
.chip:hover { border-color: var(--terra); color: var(--terra-deep); }
.chip.is-active { background: var(--terra); color: var(--on-dark); border-color: var(--terra); }
.chip.is-active .ico { color: var(--pist); }
.chip:active { transform: scale(.96); }
.filter-count { font-size: .9rem; color: var(--muted); margin: .3rem 0 1.4rem; min-height: 1.5em; }
.product-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(1rem, .6rem + 1vw, 1.6rem); }
.product { opacity: 1; transform: none; transition: opacity 380ms var(--ease-out), transform 380ms var(--ease-out); }
.product.is-entering { opacity: 0; transform: translateY(16px) scale(.98); }
.product button { all: unset; box-sizing: border-box; display: flex; flex-direction: column; width: 100%; height: 100%; cursor: pointer; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform 350ms var(--ease-out), box-shadow 350ms; }
.product button:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product button:focus-visible { outline: 3px solid var(--terra-deep); outline-offset: 3px; }
.product-media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--sage); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.product button:hover .product-media img { transform: scale(1.06); }
.tag-real { display: inline-flex; align-items: center; gap: .3rem; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; background: var(--pist); color: var(--forest-3); padding: .22rem .55rem; border-radius: 999px; }
.product-media .tag-real { position: absolute; left: 12px; top: 12px; }
.product-body { padding: 1.15rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.product-cat { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--terra-deep); font-weight: 600; }
.product-name { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; color: var(--forest); }
.product-desc { font-size: .95rem; color: var(--muted); line-height: 1.5; }
.product-more { margin-top: auto; padding-top: .6rem; display: inline-flex; align-items: center; gap: .35rem; font-size: .9rem; font-weight: 600; color: var(--terra-deep); }
.product-more .ico { transition: transform var(--dur) var(--ease-out); }
.product button:hover .product-more .ico { transform: translateX(4px); }
.showcase-note { margin-top: 2rem; font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }

/* dialog prodotto */
dialog { border: 0; padding: 0; color: var(--ink); }
dialog::backdrop { background: rgba(28, 18, 12, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.product-dialog { width: min(100% - 2rem, 880px); max-height: calc(100dvh - 2rem); border-radius: var(--radius); background: var(--paper); overflow: auto; box-shadow: var(--shadow-lg); }
.product-dialog[open] { display: grid; animation: dialogIn 320ms var(--ease-out); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.pd-media { margin: 0; background: var(--sage); }
.pd-media img { width: 100%; height: 100%; max-height: 46vh; object-fit: cover; }
.pd-body { padding: 1.6rem 1.6rem 1.8rem; }
.pd-body h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.pd-body p { color: var(--muted); }
.pd-tags { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.pd-tags li { font-size: .82rem; padding: .3rem .7rem; border-radius: 999px; background: var(--sage); color: var(--forest); font-weight: 500; }
.dialog-close { position: absolute; right: 12px; top: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(252, 250, 244, .92); color: var(--forest); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.dialog-close:hover { background: var(--terra); color: var(--on-dark); }
@media (min-width: 760px) { .product-dialog[open] { grid-template-columns: 1fr 1fr; } .pd-media img { max-height: none; min-height: 460px; } .pd-body { padding: 3rem 2.4rem; align-self: center; } }

/* ---------- giornata ---------- */
.day { background: var(--sage); }
.day-rail { position: relative; display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: none; background: var(--paper); border-radius: 18px; padding: .35rem; border: 1px solid var(--line); margin-bottom: 1.8rem; }
.day-rail::-webkit-scrollbar { display: none; }
.day-rail button { position: relative; z-index: 1; flex: 1 0 auto; min-height: 56px; border: 0; background: transparent; border-radius: 14px; padding: .4rem 1.1rem; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; color: var(--forest); transition: color var(--dur); }
.day-rail .t { font-family: var(--font-display); font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.day-rail .l { font-size: .78rem; letter-spacing: .06em; color: var(--muted); transition: color var(--dur); white-space: nowrap; }
.day-rail button[aria-selected="true"] { color: var(--on-dark); }
.day-rail button[aria-selected="true"] .l { color: var(--paper); }
.day-rail-indicator { position: absolute; z-index: 0; top: .35rem; bottom: .35rem; left: 0; width: 0; border-radius: 14px; background: var(--terra); transition: transform 420ms var(--ease-out), width 420ms var(--ease-out); }
.day-panel { display: grid; gap: 1.5rem; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.day-media { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream); }
.day-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity 350ms var(--ease-out), transform 700ms var(--ease-out); }
.day-media img.is-swapping { opacity: 0; transform: scale(1.04); }
.day-copy { padding: 0 1.5rem 1.8rem; }
.day-copy h3 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.6rem); }
.day-copy p { color: var(--muted); max-width: 34rem; }
.day-now { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--terra-deep); margin-bottom: .8rem; }
.day-now .dot { background: #4FA84B; }
@media (min-width: 820px) { .day-panel { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 0; } .day-media { aspect-ratio: auto; height: 100%; min-height: 380px; } .day-copy { padding: 2.5rem 3rem; } }

/* ---------- ordina ---------- */
.order { background: var(--forest); color: var(--on-dark); }
.order h2 { color: var(--on-dark); }
.order h2 em { color: var(--pist); }
.order-grid { display: grid; gap: 2.5rem; }
.order-intro > p { color: var(--on-dark-muted); font-size: var(--fs-lead); }
.order-points { list-style: none; margin: 1.8rem 0; padding: 0; display: grid; gap: .8rem; }
.order-points li { display: flex; gap: .7rem; align-items: flex-start; color: var(--on-dark); }
.order-points .ico { color: var(--terra-2); margin-top: .25rem; }
.order-alt { color: var(--on-dark-muted); }
.order-alt a { color: var(--pist); font-weight: 600; }
.order-form { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(1.3rem, 1rem + 1.5vw, 2.4rem); box-shadow: var(--shadow-lg); display: grid; gap: 1.2rem; }
.field { display: grid; gap: .45rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .95rem; color: var(--forest); padding: 0; }
.field legend { margin-bottom: .55rem; }
.req { color: var(--berry); }
.field-row { display: grid; gap: 1.2rem; }
.field-row[hidden] { display: none; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
input[type="text"], input[type="tel"], input[type="date"], input[type="number"], select, textarea {
  width: 100%; min-height: 50px; padding: .7rem .95rem; border-radius: var(--radius-sm); border: 1.5px solid rgba(59, 42, 32, .22); background: #fff; font-size: 1rem; color: var(--ink); transition: border-color var(--dur), box-shadow var(--dur);
}
textarea { resize: vertical; min-height: 92px; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 4px rgba(196, 101, 61, .28); }
select:disabled { background: var(--cream); color: var(--muted); cursor: not-allowed; }
.field.has-error input, .field.has-error select { border-color: var(--berry); }
.help { font-size: .86rem; color: var(--muted); margin: 0; }
.error { font-size: .88rem; color: var(--berry); font-weight: 600; margin: 0; }
.type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.type-card { position: relative; cursor: pointer; }
.type-card input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.type-card span { display: flex; align-items: center; gap: .55rem; min-height: 56px; padding: .7rem .9rem; border-radius: var(--radius-sm); border: 1.5px solid rgba(59, 42, 32, .2); background: #fff; font-weight: 500; font-size: .95rem; color: var(--forest); line-height: 1.2; transition: border-color var(--dur), background-color var(--dur), transform var(--dur); }
.type-card .ico { color: var(--terra-deep); width: 1.35em; height: 1.35em; }
.type-card:hover span { border-color: var(--terra); }
.type-card input:checked + span { border-color: var(--forest); background: var(--forest); color: var(--on-dark); }
.type-card input:checked + span .ico { color: var(--pist); }
.type-card input:focus-visible + span { outline: 3px solid var(--terra-deep); outline-offset: 2px; }
.stepper { display: flex; align-items: stretch; border: 1.5px solid rgba(59, 42, 32, .22); border-radius: var(--radius-sm); background: #fff; overflow: hidden; max-width: 220px; }
.stepper button { width: 50px; min-height: 50px; border: 0; background: transparent; color: var(--forest); display: grid; place-items: center; transition: background-color var(--dur); }
.stepper button:hover { background: var(--sage); }
.stepper input { border: 0; border-radius: 0; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; min-height: 50px; -moz-appearance: textfield; appearance: textfield; }
.stepper input:focus { box-shadow: inset 0 0 0 2px var(--terra-deep); }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.preview { background: var(--cream); border-radius: var(--radius-sm); padding: 1rem 1.1rem; border: 1px dashed rgba(59, 42, 32, .25); }
.preview-label { display: flex; align-items: center; gap: .45rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terra-deep); font-weight: 700; margin-bottom: .5rem; }
.preview-text { white-space: pre-line; font-size: .95rem; color: var(--ink); margin: 0; line-height: 1.55; }
.form-foot { font-size: .84rem; color: var(--muted); margin: 0; text-align: center; }
@media (min-width: 960px) { .order-grid { grid-template-columns: .85fr 1.15fr; gap: 5rem; align-items: start; } .order-intro { position: sticky; top: 120px; } }

/* ---------- galleria ---------- */
.gallery { background: var(--paper); }
.masonry { columns: 2 160px; column-gap: clamp(.7rem, .4rem + 1vw, 1.2rem); }
.m-item { all: unset; box-sizing: border-box; display: block; width: 100%; margin-bottom: clamp(.7rem, .4rem + 1vw, 1.2rem); break-inside: avoid; border-radius: 18px; overflow: hidden; cursor: zoom-in; position: relative; background: var(--sage); }
.m-item img { width: 100%; transition: transform 900ms var(--ease-out), filter 400ms; }
.m-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(36, 24, 18, .45)); opacity: 0; transition: opacity 400ms; }
.m-item:hover img { transform: scale(1.05); }
.m-item:hover::after { opacity: 1; }
.m-item:focus-visible { outline: 3px solid var(--terra-deep); outline-offset: 3px; }
@media (min-width: 760px) { .masonry { columns: 3; } }
@media (min-width: 1100px) { .masonry { columns: 4; } }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(24, 15, 10, .95); color: var(--on-dark); }
.lightbox[open] { display: grid; place-items: center; animation: fadeIn 250ms ease-out; }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox figure { margin: 0; max-width: min(92vw, 1100px); display: grid; gap: .8rem; justify-items: center; }
.lightbox img { max-height: 80dvh; width: auto; border-radius: 14px; box-shadow: var(--shadow-lg); }
.lightbox figcaption { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; text-align: center; color: var(--on-dark); }
.lb-nav { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(247, 241, 229, .3); background: rgba(247, 241, 229, .08); color: var(--on-dark); display: grid; place-items: center; }
.lb-nav:hover { background: var(--terra); color: var(--on-dark); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lightbox .dialog-close { background: rgba(247, 241, 229, .12); color: var(--on-dark); }

/* ---------- recensioni ---------- */
.reviews { background: var(--cream); overflow: clip; }
.reviews-grid { display: grid; gap: 3rem; }
.score { display: flex; align-items: center; gap: 1rem; margin: 1rem 0 1.4rem; }
.score strong { font-family: var(--font-display); font-weight: 400; font-size: 4.6rem; line-height: .9; color: var(--forest); }
.score > div { display: grid; gap: .25rem; color: var(--muted); font-size: .95rem; }
.score .stars { color: var(--terra); }
.score .stars svg { width: 20px; height: 20px; }
.bars { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; gap: .4rem; max-width: 360px; }
.bars li { display: grid; grid-template-columns: 1rem 1fr 2rem; gap: .7rem; align-items: center; font-size: .88rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.bars li > span:last-child { text-align: right; }
.bar { height: 8px; border-radius: 99px; background: rgba(59, 42, 32, .1); overflow: hidden; }
.bar span { display: block; height: 100%; width: var(--w); background: var(--terra); border-radius: inherit; transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease-out); }
.is-visible .bar span { transform: scaleX(1); }
.mentions-label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terra-deep); font-weight: 700; margin-bottom: .6rem; }
.mentions { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.mentions li { font-size: .9rem; padding: .35rem .8rem; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); color: var(--forest); }
.mentions b { font-weight: 700; color: var(--terra-deep); margin-left: .2rem; }
.carousel { position: relative; min-width: 0; }
.carousel-track { display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: .5rem .2rem 1.5rem; }
.carousel-track::-webkit-scrollbar { display: none; }
.review-card { flex: 0 0 min(88%, 480px); scroll-snap-align: start; margin: 0; background: var(--paper); border-radius: var(--radius); padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.4rem); box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 1.2rem; }
.review-card .stars { color: var(--terra); }
.review-card blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.5; color: var(--forest); flex: 1; }
.review-card figcaption { display: flex; align-items: center; gap: .8rem; }
.review-card figcaption strong { display: block; font-weight: 600; color: var(--ink); }
.review-card figcaption small { color: var(--muted); font-size: .84rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--terra); color: var(--on-dark); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.2rem; flex: none; }
.carousel-controls { display: flex; align-items: center; gap: 1rem; }
.dots { display: flex; gap: .25rem; flex: 1; justify-content: center; }
.dots button { width: 28px; height: 44px; border: 0; background: transparent; display: grid; place-items: center; padding: 0; }
.dots button::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: rgba(59, 42, 32, .25); transition: width 300ms var(--ease-out), background-color 300ms; }
.dots button[aria-current="true"]::before { width: 22px; background: var(--terra); }
@media (min-width: 960px) { .reviews-grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: center; } }

/* ---------- faq ---------- */
.faq { background: var(--paper); }
.faq-grid { display: grid; gap: 2.5rem; }
.faq-grid header p { color: var(--muted); }
.faq-grid header a { color: var(--terra-deep); font-weight: 600; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 64px; padding: 1.1rem 0; cursor: pointer; font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); color: var(--forest); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .ico { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--sage); flex: none; transition: transform 350ms var(--ease-out), background-color var(--dur); }
.accordion details[open] summary .ico { transform: rotate(45deg); background: var(--terra); color: var(--on-dark); }
.accordion summary:hover .ico { background: var(--terra); color: var(--on-dark); }
.accordion details > div { padding: 0 3rem 1.4rem 0; color: var(--muted); }
.accordion details > div a { color: var(--terra-deep); }
.accordion details[open] > div { animation: fadeUp 380ms var(--ease-out); }
@media (min-width: 900px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; } }

/* ---------- orari ---------- */
.visit { background: var(--forest-3); color: var(--on-dark); }
.visit h2 { color: var(--on-dark); }
.visit h2 em { color: var(--pist); }
.visit-grid { display: grid; gap: 2.5rem; }
.visit-status { display: flex; align-items: center; gap: .6rem; font-weight: 500; color: var(--on-dark); min-height: 1.6em; }
.hours { width: 100%; border-collapse: collapse; margin: 1.2rem 0 1.8rem; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: .75rem 0; border-bottom: 1px solid var(--line-light); font-weight: 400; }
.hours th { color: var(--on-dark); font-weight: 500; padding-right: 1rem; }
.hours td { color: var(--on-dark-muted); text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--terra-2); }
.hours tr.is-today th::after { content: "oggi"; margin-left: .6rem; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 99px; background: var(--pist); color: var(--forest-3); vertical-align: middle; font-weight: 700; }
.contact-list { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; gap: .7rem; }
.contact-list li { display: flex; align-items: center; gap: .7rem; color: var(--on-dark); }
.contact-list .ico { color: var(--terra-2); }
.contact-list a { color: var(--on-dark); min-height: 32px; display: inline-flex; align-items: center; }
.contact-list a:hover { color: var(--pist); }
.visit-ctas { display: flex; flex-wrap: wrap; gap: .7rem; }
.map-wrap { border-radius: var(--radius); overflow: hidden; min-height: 380px; background: var(--forest-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M0 40h80M40 0v80' stroke='%23F7F1E5' stroke-opacity='.06'/%3E%3C/svg%3E"); position: relative; }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: .6rem; padding: 2rem; color: var(--on-dark); }
.map-placeholder .ico { color: var(--terra-2); }
.map-placeholder p { margin: 0; }
.map-placeholder .small { font-size: .88rem; color: var(--on-dark-muted); max-width: 22rem; margin-bottom: .6rem; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: stretch; } .map-wrap { min-height: 100%; } }

/* ---------- instagram ---------- */
.insta { background: var(--pist); color: var(--forest-3); overflow: clip; }
.insta h2 { color: var(--forest); }
.insta h2 em { color: var(--forest); }
.insta .eyebrow { color: var(--forest); }
.insta-grid { display: grid; gap: 2.5rem; align-items: center; }
.insta-copy p { font-size: var(--fs-lead); }
.insta-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.insta-tiles img { border-radius: 18px; aspect-ratio: 3 / 4.4; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.insta-tiles img:nth-child(2) { transform: translateY(-1.5rem); }
@media (min-width: 900px) { .insta-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* ---------- footer ---------- */
.site-footer { background: var(--forest-3); color: var(--on-dark-muted); padding: 4rem 0 7rem; font-size: .96rem; border-top: 1px solid var(--line-light); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.brand-footer { color: var(--on-dark); margin-bottom: 1rem; }
.footer-title { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--pist); font-weight: 700; margin-bottom: .7rem; }
.site-footer a, .site-footer .link-btn { color: var(--on-dark); text-decoration: none; display: inline-block; padding: .2rem 0; }
.site-footer a:hover, .site-footer .link-btn:hover { color: var(--pist); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid var(--line-light); margin-top: 3rem; padding-top: 1.5rem; font-size: .88rem; }
.footer-bottom p { margin: 0; }
@media (min-width: 900px) { .site-footer { padding-bottom: 3rem; } }

/* ---------- action bar mobile ---------- */
.action-bar { position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: var(--z-actionbar); display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(36, 24, 18, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 999px; padding: .3rem; box-shadow: var(--shadow-lg); transform: translateY(160%); transition: transform 450ms var(--ease-out); }
.action-bar.is-visible { transform: none; }
.action-bar a { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 50px; color: var(--on-dark); text-decoration: none; font-weight: 500; font-size: .92rem; border-radius: 999px; }
.action-bar a:nth-child(2) { background: var(--terra); color: var(--on-dark); }
@media (min-width: 900px) { .action-bar { display: none; } }

/* ---------- toast & cookie ---------- */
.toast { position: fixed; left: 50%; bottom: 6rem; translate: -50% 0; z-index: var(--z-toast); background: var(--forest-3); color: var(--on-dark); padding: .85rem 1.2rem; border-radius: 14px; box-shadow: var(--shadow-lg); max-width: calc(100% - 2rem); font-size: .95rem; animation: fadeUp 300ms var(--ease-out); }
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: var(--z-cookie); max-width: 560px; background: var(--forest-3); color: var(--on-dark); border-radius: 18px; padding: 1.2rem 1.3rem; box-shadow: var(--shadow-lg); border: 1px solid var(--line-light); }
.cookie-banner p { font-size: .92rem; color: var(--on-dark-muted); margin-bottom: .9rem; }
.cookie-banner a { color: var(--pist); }
.cookie-actions { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: flex-end; }
@media (min-width: 640px) { .cookie-banner { left: auto; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- pagine legali ---------- */
.legal-page { background: var(--paper); }
.legal-header { background: var(--forest); color: var(--on-dark); padding: 3.5rem 0 3rem; }
.legal-header h1 { color: var(--on-dark); font-size: clamp(2.2rem, 1.6rem + 3vw, 3.6rem); }
.legal-header p { color: var(--on-dark-muted); max-width: 40rem; }
.legal-header .eyebrow { color: var(--pist); }
.back-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--terra-2); text-decoration: none; margin-bottom: 1.2rem; font-weight: 600; }
.legal-page main { width: min(100% - 2 * var(--gutter), 760px); margin: 0 auto; padding: 3rem 0 5rem; }
.legal-page main h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.legal-page main a { color: var(--terra-deep); }
.legal-page main li { margin-bottom: .5rem; }
.draft-note { display: inline-block; margin: 0 0 1rem; padding: .45rem .9rem; border-radius: 12px; background: rgba(196, 101, 61, .12); border: 1px dashed var(--terra); color: var(--terra-deep); font-weight: 600; font-size: .88rem; }

/* ---------- movimento ridotto ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .hero-media img { transform: none; }
  .hero-title .line > span, .hero-lead, .hero-ctas, .hero-facts { transform: none; opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}