/* ==========================================================================
   Besa Tattoo Artist — style.css
   Mobile-first · nessun framework · font self-hosted
   Indice: 1 Font · 2 Token · 3 Reset/base · 4 Layout · 5 Tipografia · 6 Bottoni
           7 Header/nav · 8 Hero · 9 Sezioni · 10 Portfolio/lightbox · 11 Chi sono
           12 Tappe · 13 Guest · 14 Processo · 15 FAQ · 16 Form · 17 Contatti
           18 Footer · 19 WhatsApp float · 20 Cookie banner · 21 Pagine interne
           22 Animazioni · 23 Utility
   ========================================================================== */

/* 1. FONT ---------------------------------------------------------------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal; font-weight: 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal; font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic; font-weight: 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic; font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal; font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
}
/* Fallback metrici per ridurre il layout shift durante lo swap */
@font-face {
  font-family: "Serif Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 88%; ascent-override: 92%; descent-override: 28%;
}
@font-face {
  font-family: "Sans Fallback";
  src: local("Arial"), local("Helvetica");
  size-adjust: 100%; ascent-override: 94%; descent-override: 29%;
}

/* 2. TOKEN --------------------------------------------------------------- */
:root {
  --c-black: #0A0A0A;
  --c-ink-1: #141414;
  --c-ink-2: #1F1F1F;
  --c-ink-3: #2A2A2A;
  --c-line: rgba(242, 237, 228, .12);
  --c-line-strong: rgba(242, 237, 228, .28);
  --c-grey: #9A948B;      /* testo secondario: contrasto 6.6:1 su #0A0A0A */
  --c-grey-light: #BDB7AD;
  --c-ivory: #F2EDE4;
  --c-white: #FFFFFF;
  --c-gold: #C9A961;
  --c-gold-soft: rgba(201, 169, 97, .35);
  --c-success: #9CC79A;
  --c-error: #F0A39A;

  --f-serif: "Cormorant Garamond", "Serif Fallback", Georgia, serif;
  --f-sans: "DM Sans", "Sans Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --fs-xl: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --fs-2xl: clamp(2.5rem, 1.8rem + 3.4vw, 4.5rem);
  --fs-hero: clamp(4.5rem, 2rem + 13vw, 12rem);

  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem; --sp-5: 1.5rem;
  --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem;
  --section-y: clamp(5rem, 3.5rem + 7vw, 10rem);
  --gutter: clamp(1.25rem, .8rem + 2.4vw, 3rem);
  --container: 1240px;
  --radius: 2px;
  --header-h: 72px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: .2s;
  --t: .45s;
  --t-slow: .9s;

  color-scheme: dark;
}

/* 3. RESET / BASE -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  min-height: 100vh;
  background: var(--c-black);
  color: var(--c-ivory);
  font-family: var(--f-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
p, li, dd { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }
::selection { background: var(--c-gold); color: var(--c-black); }
:focus-visible {
  outline: 1px solid var(--c-gold);
  outline-offset: 4px;
}
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: var(--sp-4); top: -100px; z-index: 1000;
  background: var(--c-ivory); color: var(--c-black);
  padding: var(--sp-3) var(--sp-4); font-weight: 500;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: var(--sp-4); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* 4. LAYOUT -------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(760px + var(--gutter) * 2); }
.section { padding-block: var(--section-y); position: relative; }
.section--ink { background: var(--c-ink-1); }
.section + .section:not(.section--ink)::before {
  content: ""; position: absolute; top: 0; left: 50%; translate: -50% 0;
  width: min(var(--container), calc(100% - var(--gutter) * 2)); height: 1px;
  background: var(--c-line);
}
.section--ink + .section::before, .section--ink::before { display: none; }

.grid-2 { display: grid; gap: var(--sp-7); }
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: start; }
  .grid-2--wide-left { grid-template-columns: 1.1fr .9fr; }
  .grid-2--wide-right { grid-template-columns: .85fr 1.15fr; }
}

/* 5. TIPOGRAFIA ---------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  font-family: var(--f-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--sp-5);
}
.eyebrow::before {
  content: ""; width: 2.5rem; height: 1px; background: currentColor; opacity: .8;
}
.eyebrow__num { font-variant-numeric: tabular-nums; color: var(--c-grey-light); }

.h-display, .section-title, .h-2, .h-3 {
  font-family: var(--f-serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.01em;
  color: var(--c-ivory);
}
.section-title { font-size: var(--fs-2xl); margin-bottom: var(--sp-5); max-width: 18ch; }
.section-title em, .h-display em, .h-2 em { font-style: italic; font-weight: 400; color: var(--c-gold); }
.h-2 { font-size: var(--fs-xl); margin-bottom: var(--sp-4); }
.h-3 { font-size: var(--fs-lg); line-height: 1.2; margin-bottom: var(--sp-3); }
.lead {
  font-size: var(--fs-md);
  color: var(--c-grey-light);
  max-width: 60ch;
  line-height: 1.75;
}
.lead + .lead { margin-top: var(--sp-4); }
.muted { color: var(--c-grey); }
.section-head { margin-bottom: clamp(2.5rem, 2rem + 3vw, 5rem); }
.section-head--split { display: grid; gap: var(--sp-5); }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1fr 1fr; align-items: end; gap: var(--sp-8); }
  .section-head--split .lead { justify-self: end; }
}

/* risposta breve "citabile" (GEO) */
.answer {
  border-left: 1px solid var(--c-gold);
  padding: var(--sp-2) 0 var(--sp-2) var(--sp-5);
  font-size: var(--fs-md);
  color: var(--c-ivory);
  max-width: 62ch;
}

/* 6. BOTTONI ------------------------------------------------------------- */
.btn {
  --btn-bg: var(--c-ivory);
  --btn-fg: var(--c-black);
  --btn-bd: var(--c-ivory);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-3);
  min-height: 52px;
  padding: .9rem 1.75rem;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f-sans);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t-fast) var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--c-gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--t) var(--ease-out);
}
.btn:hover::after, .btn:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.btn:hover, .btn:focus-visible { border-color: var(--c-gold); color: var(--c-black); }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .btn__arrow { transition: transform var(--t) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--c-ivory); --btn-bd: var(--c-line-strong);
}
.btn--ghost::after { background: var(--c-ivory); }
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: var(--c-ivory); color: var(--c-black); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; pointer-events: none; }
.btn .spinner {
  width: 16px; height: 16px; border: 1.5px solid currentColor; border-right-color: transparent;
  border-radius: 50%; display: none; animation: spin .8s linear infinite;
}
.btn[aria-busy="true"] .spinner { display: inline-block; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  color: var(--c-ivory);
  text-decoration: none;
  font-size: var(--fs-sm);
  letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
  background: linear-gradient(var(--c-gold), var(--c-gold)) left bottom / 0 1px no-repeat;
  padding-bottom: 4px;
  transition: background-size var(--t) var(--ease-out), color var(--t-fast);
}
.link-arrow:hover, .link-arrow:focus-visible { background-size: 100% 1px; color: var(--c-gold); }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(3px); }

/* 7. HEADER / NAV -------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(10, 10, 10, .86);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--c-line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); }

.brand {
  display: inline-flex; align-items: baseline; gap: var(--sp-3);
  text-decoration: none; color: var(--c-ivory);
  min-height: 44px; align-items: center;
}
.brand__name { font-family: var(--f-serif); font-size: 1.75rem; font-weight: 500; line-height: 1; letter-spacing: .01em; }
.brand__tag {
  font-size: .625rem; letter-spacing: .3em; text-transform: uppercase; color: var(--c-grey-light);
  padding-left: var(--sp-3); border-left: 1px solid var(--c-gold-soft);
}

.nav { display: none; }
.nav__list { display: flex; gap: clamp(1rem, 2vw, 2.25rem); list-style: none; padding: 0; }
.nav__link {
  position: relative; display: inline-block; padding-block: var(--sp-2);
  font-size: var(--fs-xs); letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  text-decoration: none; color: var(--c-grey-light);
  transition: color var(--t-fast) var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--c-gold); transform: scaleX(0); transform-origin: right;
  transition: transform var(--t) var(--ease-out);
}
.nav__link:hover, .nav__link[aria-current="true"], .nav__link[aria-current="page"] { color: var(--c-ivory); }
.nav__link:hover::after, .nav__link[aria-current="true"]::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: none; min-height: 44px; padding: .6rem 1.2rem; font-size: var(--fs-xs); }

.menu-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 7px;
  width: 48px; height: 48px; margin-right: -12px; padding: 12px;
}
.menu-toggle span {
  display: block; height: 1px; width: 100%; background: var(--c-ivory);
  transition: transform var(--t) var(--ease-out), opacity var(--t-fast);
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--c-black);
  padding: calc(var(--header-h) + var(--sp-6)) var(--gutter) var(--sp-7);
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden;
  transition: opacity var(--t) var(--ease), visibility 0s linear var(--t);
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity var(--t) var(--ease), visibility 0s; }
.mobile-menu__list { list-style: none; padding: 0; display: grid; gap: var(--sp-2); }
.mobile-menu__list a {
  display: flex; align-items: baseline; gap: var(--sp-4);
  font-family: var(--f-serif); font-size: clamp(2rem, 8vw, 3rem); line-height: 1.15;
  text-decoration: none; color: var(--c-ivory);
  padding-block: var(--sp-1);
}
.mobile-menu__list a span { font-family: var(--f-sans); font-size: var(--fs-xs); color: var(--c-gold); letter-spacing: .1em; }
.mobile-menu__foot { display: grid; gap: var(--sp-4); margin-top: var(--sp-7); }
.mobile-menu__social { display: flex; gap: var(--sp-5); font-size: var(--fs-sm); color: var(--c-grey-light); }
.mobile-menu__social a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

@media (min-width: 1080px) {
  .nav { display: block; }
  .menu-toggle, .mobile-menu { display: none; }
  .header-cta { display: inline-flex; }
}

/* 8. HERO ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + var(--sp-7)) 0 clamp(3rem, 2rem + 4vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture { width: 100%; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.15) 35%, rgba(10,10,10,.65) 72%, var(--c-black) 100%),
    linear-gradient(90deg, rgba(10,10,10,.6) 0%, rgba(10,10,10,0) 60%);
}
.hero__inner { width: 100%; }
.hero__eyebrow { margin-bottom: var(--sp-4); }
.hero__title {
  font-family: var(--f-serif);
  font-size: var(--fs-hero);
  font-weight: 400;
  font-style: italic;
  line-height: .86;
  letter-spacing: -.02em;
  margin-left: -.04em;
}
.hero__title-sub {
  display: block;
  font-family: var(--f-sans);
  font-style: normal;
  font-size: clamp(.8rem, .7rem + .4vw, 1rem);
  font-weight: 500;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--c-ivory);
  margin-top: clamp(1rem, .6rem + 1.5vw, 2rem);
  margin-left: .2em;
}
.hero__claim {
  margin-top: var(--sp-6);
  max-width: 34rem;
  font-size: var(--fs-md);
  color: var(--c-grey-light);
  line-height: 1.7;
}
.hero__ctas { margin-top: var(--sp-6); }
.hero__meta {
  display: none;
  position: absolute; right: var(--gutter); bottom: clamp(3rem, 2rem + 4vw, 6rem);
  writing-mode: vertical-rl;
  font-size: var(--fs-xs); letter-spacing: .3em; text-transform: uppercase; color: var(--c-grey-light);
}
.hero__meta::after { content: ""; display: inline-block; width: 1px; height: 64px; background: var(--c-gold); margin-top: var(--sp-4); vertical-align: top; }
@media (min-width: 900px) {
  .hero__meta { display: block; }
}

/* page-hero (landing e pagine interne) */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + clamp(4rem, 3rem + 6vw, 9rem)) 0 clamp(3rem, 2rem + 4vw, 6rem);
  min-height: 70vh; min-height: 70svh;
  display: flex; align-items: flex-end;
}
.page-hero--plain { min-height: 0; padding-bottom: var(--sp-7); border-bottom: 1px solid var(--c-line); }
.page-hero .hero__media img { object-position: center; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,10,10,.6) 0%, rgba(10,10,10,.45) 45%, var(--c-black) 100%);
}
.page-hero--plain::before { display: none; }
.page-hero__title { font-family: var(--f-serif); font-weight: 500; font-size: clamp(2.75rem, 1.8rem + 4.6vw, 5.5rem); line-height: 1; letter-spacing: -.015em; max-width: 16ch; }
.page-hero__title em { font-style: italic; font-weight: 400; color: var(--c-gold); }
.page-hero .lead { margin-top: var(--sp-5); }
.page-hero .btn-row { margin-top: var(--sp-6); }

.breadcrumb { margin-bottom: var(--sp-5); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; padding: 0; font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--c-grey); }
.breadcrumb li + li::before { content: "/"; margin-right: var(--sp-2); color: var(--c-gold); }
.breadcrumb a { color: var(--c-grey-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-ivory); text-decoration: underline; }

/* 10. PORTFOLIO / LIGHTBOX ------------------------------------------------ */
.filters {
  display: flex; gap: var(--sp-2); flex-wrap: nowrap; overflow-x: auto;
  margin: 0 calc(var(--gutter) * -1) var(--sp-6); padding: 0 var(--gutter) var(--sp-2);
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .filters { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; } }
.filter {
  flex: none;
  min-height: 44px;
  padding: .55rem 1.15rem;
  border: 1px solid var(--c-line);
  border-radius: 100px;
  font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  color: var(--c-grey-light);
  transition: color var(--t-fast), border-color var(--t-fast), background-color var(--t-fast);
}
.filter:hover { color: var(--c-ivory); border-color: var(--c-line-strong); }
.filter[aria-pressed="true"] { color: var(--c-black); background: var(--c-ivory); border-color: var(--c-ivory); }
.filter__count { color: inherit; opacity: .6; margin-left: .35em; font-variant-numeric: tabular-nums; }

.gallery {
  display: grid; gap: clamp(.5rem, .3rem + .8vw, 1rem);
  grid-template-columns: repeat(2, 1fr);
  list-style: none; padding: 0;
}
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery__item.is-filtered-out { display: none; }
.gallery__item.is-entering { animation: fade-up .6s var(--ease-out) both; }
.gallery__btn {
  position: relative; display: block; width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden; background: var(--c-ink-1);
  border-radius: var(--radius);
}
.gallery__btn img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter var(--t) var(--ease);
  filter: grayscale(.15) brightness(.92);
}
.gallery__btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,10,10,.75));
  opacity: 0; transition: opacity var(--t) var(--ease);
}
.gallery__btn::before {
  content: ""; position: absolute; inset: 10px; z-index: 2;
  border: 1px solid var(--c-gold-soft);
  opacity: 0; transform: scale(1.03);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease-out);
  pointer-events: none;
}
.gallery__cap {
  position: absolute; left: 1.25rem; bottom: 1rem; z-index: 2;
  font-size: var(--fs-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--c-ivory);
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease-out);
}
@media (hover: hover) {
  .gallery__btn:hover img { transform: scale(1.05); filter: none; }
  .gallery__btn:hover::after, .gallery__btn:hover::before, .gallery__btn:hover .gallery__cap { opacity: 1; transform: none; }
}
.gallery__btn:focus-visible { outline-offset: 2px; }
.gallery__btn:focus-visible::after, .gallery__btn:focus-visible .gallery__cap { opacity: 1; transform: none; }
.gallery-foot { margin-top: var(--sp-7); display: flex; flex-wrap: wrap; gap: var(--sp-5); align-items: center; justify-content: space-between; }

.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(10, 10, 10, .97);
  color: var(--c-ivory);
}
.lightbox::backdrop { background: rgba(0, 0, 0, .8); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: fade-in .3s var(--ease); }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: var(--sp-4) var(--gutter); }
.lightbox__count { font-size: var(--fs-xs); letter-spacing: .2em; color: var(--c-grey-light); font-variant-numeric: tabular-nums; }
.lightbox__stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; overflow: hidden; padding: 0 var(--gutter); }
.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 10rem);
  max-height: calc(100dvh - 10rem);
  width: auto; height: auto;
  object-fit: contain;
  transition: opacity .25s var(--ease);
}
.lightbox__img.is-loading { opacity: .2; }
.lightbox__caption { padding: var(--sp-4) var(--gutter) var(--sp-5); text-align: center; color: var(--c-grey-light); font-family: var(--f-serif); font-style: italic; font-size: var(--fs-lg); }
.icon-btn {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  border: 1px solid var(--c-line); border-radius: 50%;
  color: var(--c-ivory);
  transition: border-color var(--t-fast), color var(--t-fast), background-color var(--t-fast);
}
.icon-btn:hover { border-color: var(--c-gold); color: var(--c-gold); }
.icon-btn svg { width: 20px; height: 20px; }
.lightbox__nav { position: absolute; top: 50%; translate: 0 -50%; background: rgba(10,10,10,.6); }
.lightbox__nav--prev { left: var(--sp-3); }
.lightbox__nav--next { right: var(--sp-3); }
@media (min-width: 900px) {
  .lightbox__nav--prev { left: var(--gutter); }
  .lightbox__nav--next { right: var(--gutter); }
}

/* 11. CHI SONO ----------------------------------------------------------- */
.about__media { position: relative; max-width: 520px; }
.about__media picture { position: relative; z-index: 1; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__media::before {
  content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1px solid var(--c-gold-soft);
}
.about__sign {
  margin-top: var(--sp-7);
  font-family: var(--f-serif); font-style: italic; font-size: 2.5rem; color: var(--c-gold); line-height: 1;
}
.values { display: grid; gap: var(--sp-5); margin-top: var(--sp-7); list-style: none; padding: 0; }
.values li { display: grid; grid-template-columns: 2.5rem 1fr; gap: var(--sp-4); padding-top: var(--sp-5); border-top: 1px solid var(--c-line); }
.values__num { font-family: var(--f-serif); font-style: italic; color: var(--c-gold); font-size: var(--fs-lg); line-height: 1.3; }
.values h3 { font-family: var(--f-sans); font-size: var(--fs-base); font-weight: 500; margin-bottom: var(--sp-1); letter-spacing: .02em; }
.values p { color: var(--c-grey-light); font-size: var(--fs-sm); }
.about__text .lead { color: var(--c-grey-light); }

/* 12. TAPPE ------------------------------------------------------------- */
.stops { display: grid; gap: 1px; background: var(--c-line); border-block: 1px solid var(--c-line); list-style: none; padding: 0; }
.stop {
  background: var(--c-black);
  display: grid; gap: var(--sp-3);
  padding: var(--sp-6) 0;
  transition: background-color var(--t) var(--ease);
}
@media (min-width: 760px) {
  .stop { grid-template-columns: 1.1fr 1.2fr 1fr auto; align-items: center; gap: var(--sp-6); padding: var(--sp-6) var(--sp-4); }
  .stop:hover { background: var(--c-ink-1); }
}
.stop__city { font-family: var(--f-serif); font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); line-height: 1; font-weight: 500; }
.stop__region { display: block; font-family: var(--f-sans); font-size: var(--fs-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--c-grey); margin-top: var(--sp-2); }
.stop__studio { color: var(--c-ivory); }
.stop__studio small { display: block; color: var(--c-grey); font-size: var(--fs-sm); }
.stop__dates { font-variant-numeric: tabular-nums; color: var(--c-grey-light); }
.stop__dates strong { display: block; color: var(--c-ivory); font-weight: 500; }
.pill {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .35rem .8rem; border: 1px solid var(--c-line-strong); border-radius: 100px;
  font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; color: var(--c-grey-light);
  justify-self: start;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--live { color: var(--c-gold); border-color: var(--c-gold-soft); }
.pill--live::before { animation: pulse 2s var(--ease) infinite; }
.pill--next { color: var(--c-ivory); }
.stops-note { margin-top: var(--sp-6); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-4); align-items: center; color: var(--c-grey-light); }
.stops-note p { max-width: 52ch; }

/* 13. GUEST ------------------------------------------------------------- */
.perks { list-style: none; padding: 0; display: grid; gap: var(--sp-4); margin-top: var(--sp-6); }
.perks li { display: flex; gap: var(--sp-4); align-items: baseline; color: var(--c-grey-light); }
.perks li::before { content: ""; flex: none; width: 1.25rem; height: 1px; background: var(--c-gold); translate: 0 -.3em; }
.panel {
  background: var(--c-black);
  border: 1px solid var(--c-line);
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  border-radius: var(--radius);
}
.section--ink .panel { background: var(--c-black); }

/* 14. PROCESSO ----------------------------------------------------------- */
.steps { display: grid; gap: var(--sp-6); counter-reset: step; list-style: none; padding: 0; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); } }
.step {
  position: relative;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--c-line);
}
.step::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--c-gold);
  transition: width 1.2s var(--ease-out);
}
.step.is-visible::before { width: 100%; }
.step__num {
  display: block;
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  font-size: clamp(3.5rem, 3rem + 2vw, 5rem); line-height: .9;
  color: transparent;
  -webkit-text-stroke: 1px var(--c-gold);
  margin-bottom: var(--sp-5);
}
.step h3 { font-family: var(--f-serif); font-size: var(--fs-lg); font-weight: 500; margin-bottom: var(--sp-2); }
.step p { color: var(--c-grey-light); font-size: var(--fs-sm); }

/* 15. FAQ --------------------------------------------------------------- */
.faq-groups { display: grid; gap: var(--sp-8); }
@media (min-width: 900px) { .faq-groups { grid-template-columns: .7fr 1.3fr; gap: var(--sp-8); } }
.faq-group + .faq-group { margin-top: var(--sp-7); }
.faq-group__title { font-size: var(--fs-xs); letter-spacing: .24em; text-transform: uppercase; color: var(--c-gold); font-weight: 500; margin-bottom: var(--sp-4); font-family: var(--f-sans); }
.faq { border-top: 1px solid var(--c-line); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: var(--sp-5); align-items: center;
  padding: var(--sp-5) 0;
  font-family: var(--f-serif); font-size: var(--fs-lg); line-height: 1.25; font-weight: 500;
  transition: color var(--t-fast);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--c-gold); }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
  transition: transform var(--t) var(--ease-out);
  color: var(--c-gold);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 0 var(--sp-5); color: var(--c-grey-light); max-width: 64ch; }
.faq__body p + p, .faq__body p + ul, .faq__body ul + p { margin-top: var(--sp-3); }
.faq__body ul { padding-left: 1.1rem; display: grid; gap: var(--sp-1); }
.faq__body li::marker { color: var(--c-gold); }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .faq__body { animation: fade-up .45s var(--ease-out); }
}
.aside-note { color: var(--c-grey); font-size: var(--fs-sm); margin-top: var(--sp-5); }

/* 16. FORM --------------------------------------------------------------- */
.form { display: grid; gap: var(--sp-5); }
.form__row { display: grid; gap: var(--sp-5); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--sp-2); min-width: 0; }
.field__label {
  font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  color: var(--c-grey-light);
}
.field__label .req { color: var(--c-gold); }
.field__label .opt { color: var(--c-grey); text-transform: none; letter-spacing: .02em; font-weight: 400; }
.field__hint { font-size: var(--fs-xs); color: var(--c-grey); }
.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: .85rem 1rem;
  background: var(--c-ink-1);
  border: 1px solid var(--c-ink-3);
  border-radius: var(--radius);
  color: var(--c-ivory);
  font-size: 1rem; /* evita lo zoom su iOS */
  transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast);
  appearance: none;
}
.section--ink .input, .section--ink .select, .section--ink .textarea { background: var(--c-ink-2); }
.input::placeholder, .textarea::placeholder { color: #77726B; }
.input:hover, .select:hover, .textarea:hover { border-color: #3A3A3A; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--c-gold); box-shadow: 0 0 0 3px rgba(201,169,97,.15); }
.textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.select {
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C9A961' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px 8px;
}
.select option { background: var(--c-ink-1); color: var(--c-ivory); }
.input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.8) sepia(.3); cursor: pointer; }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea, .field.is-invalid .dropzone { border-color: var(--c-error); }
.field__error { font-size: var(--fs-sm); color: var(--c-error); min-height: 0; }
.field__error:empty { display: none; }

.dropzone {
  position: relative;
  display: grid; place-items: center; text-align: center; gap: var(--sp-2);
  padding: var(--sp-6) var(--sp-4);
  border: 1px dashed var(--c-line-strong);
  border-radius: var(--radius);
  background: var(--c-ink-1);
  color: var(--c-grey-light);
  transition: border-color var(--t-fast), background-color var(--t-fast);
  cursor: pointer;
}
.dropzone:hover, .dropzone.is-dragover { border-color: var(--c-gold); background: var(--c-ink-2); }
.dropzone:focus-within { border-color: var(--c-gold); box-shadow: 0 0 0 3px rgba(201,169,97,.15); }
.dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone svg { width: 28px; height: 28px; color: var(--c-gold); }
.dropzone strong { color: var(--c-ivory); font-weight: 500; }
.dropzone__hint { font-size: var(--fs-xs); color: var(--c-grey); }
.previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: var(--sp-3); list-style: none; padding: 0; }
.previews:empty { display: none; }
.preview { position: relative; aspect-ratio: 1; border: 1px solid var(--c-line); overflow: hidden; border-radius: var(--radius); background: var(--c-ink-2); }
.preview img { width: 100%; height: 100%; object-fit: cover; }
.preview__size { position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 6px; font-size: .625rem; background: rgba(10,10,10,.75); color: var(--c-grey-light); }
.preview__remove {
  position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(10,10,10,.85); color: var(--c-ivory);
  border: 1px solid var(--c-line-strong);
}
.preview__remove:hover { border-color: var(--c-gold); color: var(--c-gold); }
.preview__remove svg { width: 14px; height: 14px; }

.check { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-3); align-items: start; font-size: var(--fs-sm); color: var(--c-grey-light); cursor: pointer; }
.check input {
  appearance: none; width: 22px; height: 22px; margin: 1px 0 0;
  border: 1px solid var(--c-line-strong); border-radius: var(--radius); background: var(--c-ink-1);
  display: grid; place-items: center; cursor: pointer;
  transition: border-color var(--t-fast), background-color var(--t-fast);
}
.check input::after {
  content: ""; width: 10px; height: 6px; border: solid var(--c-black); border-width: 0 0 1.5px 1.5px;
  transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform var(--t-fast) var(--ease-out);
}
.check input:checked { background: var(--c-gold); border-color: var(--c-gold); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check input:focus-visible { outline: 1px solid var(--c-gold); outline-offset: 3px; }
.check a { color: var(--c-ivory); }

.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  display: none;
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid; border-radius: var(--radius);
  font-size: var(--fs-sm);
}
.form-status.is-success { display: block; color: var(--c-success); border-color: rgba(156,199,154,.4); background: rgba(156,199,154,.06); }
.form-status.is-error { display: block; color: var(--c-error); border-color: rgba(240,163,154,.4); background: rgba(240,163,154,.06); }
.form-status strong { display: block; color: var(--c-ivory); font-weight: 500; margin-bottom: 2px; }
.form__foot { display: grid; gap: var(--sp-4); }
.form__note { font-size: var(--fs-xs); color: var(--c-grey); }

/* 17. CONTATTI ---------------------------------------------------------- */
.contact-list { list-style: none; padding: 0; display: grid; gap: 0; margin-top: var(--sp-6); border-top: 1px solid var(--c-line); }
.contact-list a {
  display: grid; grid-template-columns: 2.75rem 1fr auto; align-items: center; gap: var(--sp-4);
  padding: var(--sp-5) 0; border-bottom: 1px solid var(--c-line);
  text-decoration: none; color: var(--c-ivory);
  transition: color var(--t-fast), padding var(--t) var(--ease-out);
}
.contact-list a:hover { color: var(--c-gold); padding-left: var(--sp-2); }
.contact-list svg { width: 22px; height: 22px; color: var(--c-gold); }
.contact-list small { display: block; font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--c-grey); }
.contact-list span { overflow-wrap: anywhere; }
.contact-list .arrow { width: 18px; height: 18px; color: var(--c-grey); }

/* 18. FOOTER ------------------------------------------------------------- */
.site-footer {
  padding: var(--sp-9) 0 var(--sp-6);
  background: var(--c-black);
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-sm);
  color: var(--c-grey-light);
}
.footer-top { display: grid; gap: var(--sp-7); padding-bottom: var(--sp-7); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--sp-6); } }
.footer-brand .brand__name { font-size: 3rem; display: block; margin-bottom: var(--sp-3); }
.footer-brand p { max-width: 32ch; }
.footer-title { font-size: var(--fs-xs); letter-spacing: .22em; text-transform: uppercase; color: var(--c-gold); margin-bottom: var(--sp-4); font-weight: 500; font-family: var(--f-sans); }
.footer-links { list-style: none; padding: 0; display: grid; gap: var(--sp-1); }
.footer-links a, .footer-links button { text-decoration: none; color: var(--c-grey-light); transition: color var(--t-fast); display: inline-flex; min-height: 32px; align-items: center; text-align: left; font-size: var(--fs-sm); }
.footer-links a:hover, .footer-links button:hover { color: var(--c-ivory); text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-4);
  padding-top: var(--sp-6); border-top: 1px solid var(--c-line);
  font-size: var(--fs-xs); color: var(--c-grey);
}
.footer-bottom address { font-style: normal; }

/* 19. WHATSAPP FLOAT ----------------------------------------------------- */
.wa-float {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 80;
  display: inline-flex; align-items: center; gap: var(--sp-3);
  height: 56px; padding: 0 1.1rem 0 1rem;
  background: var(--c-ivory); color: var(--c-black);
  border-radius: 100px;
  text-decoration: none;
  font-size: var(--fs-xs); font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  transition: transform var(--t) var(--ease-out), background-color var(--t-fast), bottom var(--t) var(--ease), opacity var(--t);
}
.wa-float svg { width: 24px; height: 24px; }
.wa-float:hover { background: var(--c-gold); transform: translateY(-3px); }
.wa-float__label { display: none; }
@media (min-width: 900px) { .wa-float__label { display: inline; } .wa-float { right: 1.5rem; bottom: 1.5rem; } }
@media (max-width: 899px) { .wa-float { width: 56px; padding: 0; justify-content: center; } }
body.has-cookie-banner .wa-float { opacity: 0; pointer-events: none; }
/* Con JS il bottone compare dopo l'hero, per non sovrapporsi alle CTA principali */
@media (scripting: enabled) {
  body:not(.show-wa) .wa-float { opacity: 0; transform: translateY(16px); pointer-events: none; }
}

/* 20. COOKIE BANNER ------------------------------------------------------ */
.cookie {
  position: fixed; z-index: 200;
  left: max(.75rem, env(safe-area-inset-left)); right: max(.75rem, env(safe-area-inset-right)); bottom: max(.75rem, env(safe-area-inset-bottom));
  max-width: 560px;
  max-height: calc(100vh - 1.5rem); max-height: calc(100svh - 1.5rem); overflow-y: auto;
  background: var(--c-ink-1);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius);
  padding: var(--sp-5);
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
  font-size: var(--fs-sm);
  color: var(--c-grey-light);
  animation: fade-up .5s var(--ease-out) both;
}
@media (min-width: 640px) { .cookie { left: auto; right: 1.5rem; bottom: 1.5rem; max-width: 460px; padding: var(--sp-6); } }
.cookie__title { font-family: var(--f-serif); font-size: 1.6rem; color: var(--c-ivory); font-weight: 500; line-height: 1.1; margin-bottom: var(--sp-3); }
.cookie p a { color: var(--c-ivory); }
.cookie__actions { display: grid; gap: var(--sp-3); margin-top: var(--sp-5); }
@media (min-width: 480px) { .cookie__actions { grid-template-columns: 1fr 1fr; } .cookie__actions .btn--wide { grid-column: 1 / -1; } }
.cookie .btn { min-height: 46px; padding: .7rem 1rem; font-size: .7rem; }
.cookie__prefs { margin-top: var(--sp-5); display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.toggle-row { display: grid; grid-template-columns: 1fr auto; gap: var(--sp-4); align-items: center; padding: var(--sp-4) 0; border-bottom: 1px solid var(--c-line); }
.toggle-row strong { display: block; color: var(--c-ivory); font-weight: 500; }
.toggle-row span { font-size: var(--fs-xs); }
.switch { position: relative; width: 48px; height: 28px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch__track { position: absolute; inset: 0; border-radius: 100px; background: var(--c-ink-3); border: 1px solid var(--c-line-strong); transition: background-color var(--t-fast); }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--c-grey-light); transition: transform var(--t) var(--ease-out), background-color var(--t-fast); }
.switch input:checked + .switch__track { background: var(--c-gold-soft); border-color: var(--c-gold); }
.switch input:checked + .switch__track::after { transform: translateX(20px); background: var(--c-gold); }
.switch input:disabled + .switch__track { opacity: .6; }
.switch input:focus-visible + .switch__track { outline: 1px solid var(--c-gold); outline-offset: 3px; }

/* 21. PAGINE INTERNE ----------------------------------------------------- */
.prose { max-width: 72ch; color: var(--c-grey-light); }
.prose > * + * { margin-top: var(--sp-4); }
.prose h2 { font-family: var(--f-serif); font-weight: 500; font-size: var(--fs-xl); color: var(--c-ivory); margin-top: var(--sp-7); line-height: 1.15; }
.prose h3 { font-family: var(--f-sans); font-weight: 500; font-size: var(--fs-md); color: var(--c-ivory); margin-top: var(--sp-6); }
.prose ul, .prose ol { padding-left: 1.2rem; display: grid; gap: var(--sp-2); }
.prose li::marker { color: var(--c-gold); }
.prose a { color: var(--c-ivory); }
.prose a:hover { color: var(--c-gold); }
.prose strong { color: var(--c-ivory); font-weight: 500; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: var(--sp-3); border-bottom: 1px solid var(--c-line); vertical-align: top; }
.prose th { color: var(--c-ivory); font-weight: 500; white-space: nowrap; }
.prose .placeholder, .placeholder { color: var(--c-gold); background: rgba(201,169,97,.08); padding: 0 .25em; border-radius: 2px; }
.updated { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--c-grey); }

.cards { display: grid; gap: var(--sp-4); list-style: none; padding: 0; }
@media (min-width: 760px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--2 { grid-template-columns: repeat(2, 1fr); } }
.card {
  padding: var(--sp-6);
  border: 1px solid var(--c-line);
  background: var(--c-ink-1);
  border-radius: var(--radius);
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease-out);
}
.card:hover { border-color: var(--c-gold-soft); transform: translateY(-3px); }
.card h3 { font-family: var(--f-serif); font-weight: 500; font-size: var(--fs-lg); margin-bottom: var(--sp-2); line-height: 1.2; }
.card p { color: var(--c-grey-light); font-size: var(--fs-sm); }
.card a { color: var(--c-ivory); }

.media-frame { position: relative; }
.media-frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.cta-band { text-align: center; }
.cta-band .section-title { margin-inline: auto; max-width: 20ch; }
.cta-band .lead { margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: var(--sp-6); }

.mini-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); list-style: none; padding: 0; }
@media (min-width: 760px) { .mini-gallery { grid-template-columns: repeat(4, 1fr); } }
.mini-gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.error-page { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--sp-9) var(--gutter); }
.error-page__code { font-family: var(--f-serif); font-style: italic; font-size: clamp(7rem, 5rem + 12vw, 14rem); line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--c-gold); }
.error-page .btn-row { justify-content: center; margin-top: var(--sp-6); }

/* 22. ANIMAZIONI --------------------------------------------------------- */
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* Il contenuto è sempre visibile senza JS; le animazioni partono solo con JS attivo
   e movimento consentito. */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); transition-delay: var(--d, 0s); }
  .reveal.is-visible { opacity: 1; transform: none; }
  .no-reveal .reveal { opacity: 1; transform: none; }
  .hero__media img { animation: hero-zoom 2.4s var(--ease-out) both; }
  .hero__eyebrow, .hero__title-sub, .hero__claim, .hero__ctas { animation: rise 1s var(--ease-out) both; }
  .hero__title-sub { animation-delay: .15s; }
  .hero__claim { animation-delay: .3s; }
  .hero__ctas { animation-delay: .45s; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 23. UTILITY ------------------------------------------------------------ */
.mt-4 { margin-top: var(--sp-4); } .mt-5 { margin-top: var(--sp-5); } .mt-6 { margin-top: var(--sp-6); } .mt-7 { margin-top: var(--sp-7); }
.text-gold { color: var(--c-gold); }
.nowrap { white-space: nowrap; }

@media print {
  .site-header, .wa-float, .cookie, .mobile-menu, .hero__media { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Ritardi animazione (niente stili inline: compatibile con la CSP) */
[data-d="1"] { --d: .06s; } [data-d="2"] { --d: .12s; } [data-d="3"] { --d: .18s; }
[data-stack] { grid-template-columns: 1fr !important; }
[data-center] { margin-inline: auto; }
.footer-bottom .footer-links { display: flex; flex-wrap: wrap; gap: var(--sp-5); }
