/* ============================================================================
   DESIGN SYSTEM
   Riferimento estetico: magazine di interior, ecommerce d'arredo premium.
   Regole: carta calda, nero quasi puro, un solo accent, spazi larghi,
   immagini protagoniste. Niente box su box, niente ombre finte.
   ========================================================================== */

:root {
  /* ---- superfici ---- */
  --paper:      #F7F4EF;  /* off-white caldo, sfondo base */
  --paper-2:    #F0EBE3;  /* greige, sezioni alternate */
  --paper-3:    #E7E0D5;  /* sabbia, blocchi pieni */
  --ink:        #14120F;  /* quasi nero, testo e CTA */
  --ink-soft:   #57514A;  /* testo secondario */
  --ink-faint:  #8C857C;  /* label, meta */
  --line:       #DFD8CD;  /* filetti */
  --line-soft:  #EAE4DA;
  --accent:     #8A5A3C;  /* cuoio — usato col contagocce */
  --white:      #FFFFFF;

  /* ---- tipografia ---- */
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* scala fluida */
  --t-display: clamp(2.75rem, 6.6vw, 5.75rem);
  --t-h1:      clamp(2.5rem, 6vw, 5rem);
  --t-h2:      clamp(2rem, 4.6vw, 3.75rem);
  --t-h3:      clamp(1.375rem, 2.4vw, 1.875rem);
  --t-lead:    clamp(1.0625rem, 1.5vw, 1.3125rem);
  --t-body:    1.0625rem;
  --t-small:   0.9375rem;
  --t-label:   0.75rem;

  /* ---- spazi ---- */
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section: clamp(5.5rem, 11vw, 10.5rem);
  --max: 1320px;
  --max-narrow: 780px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --radius: 2px;
}

/* ------------------------------------------------------------------ reset */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.018em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.08; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

::selection { background: var(--ink); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 1px;
}

.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;
}

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 0.75rem 1.25rem;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ------------------------------------------------------------ primitives */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--max-narrow); }
.wrap--bleed { max-width: none; padding-inline: var(--gutter); }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--paper2 { background: var(--paper-2); }
.section--sand { background: var(--paper-3); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink h2, .section--ink h3 { color: var(--paper); }

.eyebrow {
  font-size: var(--t-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 500;
  margin: 0 0 1.5rem;
}
.section--ink .eyebrow { color: #9C948A; }

.lead {
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 46ch;
}
.section--ink .lead { color: #C4BCB1; }

.serif-em { font-family: var(--serif); font-style: italic; }

.meta {
  font-size: var(--t-small);
  color: var(--ink-faint);
}

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Header di sezione: titolo a sinistra, occhiello sopra */
.sec-head {
  display: grid;
  gap: clamp(1.5rem, 3vw, 3rem);
  grid-template-columns: 1fr;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
@media (min-width: 900px) {
  .sec-head--split { grid-template-columns: 1.4fr 1fr; }
}

/* ------------------------------------------------------------------ CTA */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.15rem 2.1rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 100px;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), box-shadow 0.35s var(--ease);
  will-change: transform;
}
.btn:hover { background: var(--accent); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1.4rem 2.75rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.section--ink .btn { background: var(--paper); color: var(--ink); }
.section--ink .btn:hover { background: var(--accent); color: var(--paper); }

.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* link con sottolineatura animata */
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  padding-bottom: 3px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.4s var(--ease);
}
.link:hover { background-size: 0 1px; }

.cta-note {
  font-size: var(--t-small);
  color: var(--ink-faint);
  margin: 0;
}

/* ---------------------------------------------------------------- header */

.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem var(--gutter);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
}
.site-head.is-stuck {
  background: rgba(247, 244, 239, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 0.85rem;
}
.brandmark {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  line-height: 1;
}
.brandmark sup {
  font-family: var(--sans);
  font-size: 0.5rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  vertical-align: super;
  color: var(--ink-faint);
  margin-left: 0.35rem;
}
.head-nav {
  display: none;
  gap: 2rem;
  font-size: 0.875rem;
}
.head-nav a { text-decoration: none; color: var(--ink-soft); transition: color 0.25s; }
.head-nav a:hover { color: var(--ink); }
@media (min-width: 960px) { .head-nav { display: flex; } }
.head-cta { padding: 0.7rem 1.4rem; font-size: 0.875rem; }
@media (max-width: 520px) { .head-cta { display: none; } }

/* ------------------------------------------------------------------ hero */

.hero {
  padding-top: clamp(6.25rem, 10vw, 8rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(3rem, 5vw, 5rem); }
}
.hero h1 {
  font-size: var(--t-display);
  margin-bottom: 1.35rem;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lead { margin-bottom: 1.85rem; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.9rem 1.4rem;
  margin-bottom: 1.85rem;
  padding-block: 1.15rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-facts .price {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1;
}
.hero-facts .sep { color: var(--line); }
.hero-facts .fact { font-size: var(--t-small); color: var(--ink-soft); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  margin-top: 1.9rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.8125rem;
  color: var(--ink-faint);
  list-style: none;
  padding-inline: 0;
}
.trust li { display: flex; align-items: center; gap: 0.5rem; }
.trust svg { flex: none; }

/* ------------------------------------------------- compare (before/after) */

.compare {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
  /* pan-y: lo scorrimento verticale resta al browser, l'orizzontale a noi */
  touch-action: pan-y;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}
.compare img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.compare__after {
  position: absolute;
  inset: 0;
  /* la porzione visibile è guidata da --pos (0–100) */
  clip-path: inset(0 0 0 var(--pos, 50%));
}
.compare__after img { position: absolute; inset: 0; }
.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: var(--paper);
  transform: translateX(-1px);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.compare__grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--paper);
  display: grid;
  place-items: center;
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(20, 18, 15, 0.18);
  transition: transform 0.3s var(--ease);
}
.compare:hover .compare__grip { transform: translate(-50%, -50%) scale(1.06); }
.compare__tag {
  position: absolute;
  top: 1rem;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(247, 244, 239, 0.9);
  color: var(--ink-soft);
  padding: 0.45rem 0.85rem;
  border-radius: 100px;
  pointer-events: none;
}
.compare__tag--before { left: 1rem; }
.compare__tag--after { right: 1rem; background: var(--ink); color: var(--paper); }
/* input range invisibile sopra: accessibilità da tastiera */
.compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  /* Il trascinamento lo gestisce il contenitore via pointer events: qui
     serve solo la focalizzazione da tastiera, quindi il campo non deve
     rubare il tocco. */
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
.compare__range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 100%; }
.compare__range::-moz-range-thumb { width: 44px; height: 100%; border: 0; }
.compare__range:focus-visible + .compare__handle .compare__grip {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.hero-compare { aspect-ratio: 4 / 3; }

/* Dicitura AI (AI Act art. 50): una sola volta, sotto il primo render della pagina */
.ai-note {
  margin: .75rem 0 0;
  font-size: .8125rem;
  line-height: 1.45;
  color: var(--ink-faint);
}
@media (min-width: 1000px) { .hero-compare { aspect-ratio: 3 / 2.35; } }

/* ------------------------------------------------------- transformations */

.projects { display: grid; gap: clamp(3rem, 6vw, 5.5rem); }
@media (min-width: 880px) {
  .projects { grid-template-columns: repeat(2, 1fr); }
  .project:first-child { grid-column: 1 / -1; }
}
.project__media { aspect-ratio: 3 / 2; }
.project:first-child .project__media { aspect-ratio: 16 / 9; }
.project__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 1.5rem;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.project__title { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; }
.project__title span { display: block; font-family: var(--sans); font-size: 0.8125rem; color: var(--ink-faint); letter-spacing: 0.02em; margin-top: 0.35rem; }
.project__budget { font-size: 0.9375rem; white-space: nowrap; }
.project__budget b { font-weight: 500; }

/* ------------------------------------------------------------- shoppable */

.shop {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (min-width: 980px) { .shop { grid-template-columns: 1.15fr 1fr; } }

.shop__scene { position: relative; }
@media (min-width: 980px) { .shop__scene { position: sticky; top: 96px; } }
.shop__scene img { width: 100%; }

.hotspot {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(247, 244, 239, 0.92);
  color: var(--ink);
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 18px rgba(20, 18, 15, 0.22);
  transition: transform 0.3s var(--ease), background 0.3s;
  font-size: 0.6875rem;
}
.hotspot::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--paper);
  opacity: 0.55;
  /* Pulsa qualche volta per farsi notare, poi si spegne: un'animazione
     infinita tiene il compositor sempre acceso e consuma batteria. */
  animation: pulse 2.8s var(--ease) 6 forwards;
}
@keyframes pulse {
  0%   { transform: scale(0.9); opacity: 0.55; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
.hotspot:hover, .hotspot.is-active { background: var(--ink); color: var(--paper); transform: translate(-50%, -50%) scale(1.15); }
.hotspot:hover::after, .hotspot.is-active::after { animation: none; opacity: 0; }

.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border-block: 1px solid var(--line-soft);
}
@media (min-width: 560px) and (max-width: 979px) { .products { grid-template-columns: repeat(3, 1fr); } }

.pcard {
  background: var(--paper);
  padding: 1.1rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-decoration: none;
  transition: background 0.3s var(--ease);
}
.pcard:hover, .pcard.is-active { background: var(--white); }
.pcard__img {
  aspect-ratio: 1;
  background: var(--paper-2);
  overflow: hidden;
}
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__name { font-size: 0.9375rem; line-height: 1.3; }
.pcard__shop { display: block; font-size: 0.75rem; color: var(--ink-faint); margin-top: 0.25rem; }
.pcard__price { margin-top: auto; font-size: 0.9375rem; font-weight: 500; }

.shop__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 1.4rem;
  margin-top: 1.4rem;
  border-top: 1px solid var(--ink);
}
.shop__total .label { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); }
.shop__total .value { font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1; }

/* --------------------------------------------------------------- contrast */

.contrast { display: grid; gap: 2rem; justify-items: start; }
@media (min-width: 900px) {
  .contrast { grid-template-columns: 1.55fr 1fr; align-items: end; gap: 3rem; }
  .contrast > p:last-child { justify-self: end; padding-bottom: 0.6rem; }
}
.contrast__line {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.018em;
  max-width: 20ch;
  margin: 0;
}
.contrast__big { white-space: nowrap; }
.contrast__big--accent { color: var(--accent); }

/* ---------------------------------------------------------------- problem */

.problems {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
  margin-block: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 820px) { .problems { grid-template-columns: repeat(3, 1fr); } }
.problem {
  background: var(--paper);
  padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1.25rem, 2.5vw, 2.25rem) clamp(2rem, 3.5vw, 3rem);
}
.section--paper2 .problem { background: var(--paper-2); }
.problem__n {
  font-family: var(--serif);
  font-size: 1.125rem;
  color: var(--ink-faint);
  display: block;
  margin-bottom: 1.75rem;
}
.problem h3 { margin-bottom: 0.75rem; }
.problem p { font-size: var(--t-small); color: var(--ink-soft); margin: 0; }

.transition-line {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  text-align: center;
  max-width: 22ch;
  margin-inline: auto;
}

/* ------------------------------------------------------------------ steps */

.steps { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 840px) { .steps { grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 4rem); } }
.step { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.section--ink .step { border-color: #34302B; }
.step__n {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  line-height: 0.85;
  display: block;
  margin-bottom: 1.5rem;
  color: var(--accent);
}
.section--ink .step__n { color: #B78A6C; }
.step h3 { margin-bottom: 0.6rem; }
.step p { font-size: var(--t-small); color: var(--ink-soft); margin: 0; }
.section--ink .step p { color: #9C948A; }

/* ---------------------------------------------------------------- deliver */

.deliver {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 960px) { .deliver { grid-template-columns: 1fr 1.05fr; } }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--line);
  font-size: var(--t-small);
}
.checklist li:first-child { border-top: 1px solid var(--line); }
.checklist svg { margin-top: 0.32em; color: var(--accent); flex: none; }
.checklist b { font-weight: 500; display: block; font-size: var(--t-body); }
.checklist span { color: var(--ink-soft); }

.docs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.6rem, 1.5vw, 1.25rem);
  align-items: start;
}
.docs img {
  width: 100%;
  box-shadow: 0 20px 50px -28px rgba(20, 18, 15, 0.45);
  transition: transform 0.6s var(--ease);
}
.docs img:nth-child(1) { transform: rotate(-1.6deg); }
.docs img:nth-child(2) { transform: translateY(-4%); }
.docs img:nth-child(3) { transform: rotate(1.6deg); }
.docs:hover img:nth-child(1) { transform: rotate(-2.4deg) translateY(-1.5%); }
.docs:hover img:nth-child(2) { transform: translateY(-7%); }
.docs:hover img:nth-child(3) { transform: rotate(2.4deg) translateY(-1.5%); }

/* ---------------------------------------------------------------- budget */

.budget-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.budget-tab {
  padding: 0.75rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  transition: all 0.3s var(--ease);
  background: transparent;
}
.budget-tab:hover { border-color: var(--ink); color: var(--ink); }
.budget-tab[aria-selected='true'] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.budget-panel { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 940px) { .budget-panel { grid-template-columns: 1.25fr 0.85fr; } }
.budget-panel[hidden] { display: none; }
.budget-panel__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.budget-panel__img img { width: 100%; height: 100%; object-fit: cover; }
.budget-list { list-style: none; margin: 0 0 1.75rem; padding: 0; font-size: var(--t-small); }
.budget-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--line);
}
.budget-list li span:last-child { color: var(--ink-faint); white-space: nowrap; }
.budget-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  border-top: 1px solid var(--ink);
  padding-top: 1rem;
  margin-bottom: 1.5rem;
}
.budget-total b { font-family: var(--serif); font-size: 1.75rem; font-weight: 400; }

/* ----------------------------------------------------------- social proof */

.quotes { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 820px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  background: var(--paper);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
  line-height: 1.25;
}
.quote figcaption { font-size: 0.8125rem; color: var(--ink-faint); margin-top: auto; }
.quote figcaption b { display: block; color: var(--ink); font-weight: 500; font-size: 0.875rem; }
.quote--empty { background: var(--paper-2); color: var(--ink-faint); }
.quote--empty blockquote { color: var(--ink-faint); }

.placeholder-note {
  display: block;
  margin-top: 1.5rem;
  padding: 0.9rem 1.1rem;
  border: 1px dashed var(--ink-faint);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.placeholder-note code {
  font-size: 0.9em;
  background: var(--paper-3);
  padding: 0.1em 0.35em;
}

/* ----------------------------------------------------------------- price */

.pricecard {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(2rem, 5vw, 4rem);
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
}
@media (min-width: 880px) { .pricecard { grid-template-columns: 1fr 1fr; align-items: center; } }
.pricecard__amount {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 11vw, 8rem);
  line-height: 0.85;
  display: block;
  margin-block: 0.6rem 1rem;
}
.pricecard__kicker { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
.pricecard .checklist li { border-color: var(--line-soft); }
.price-foot {
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--ink-soft);
  max-width: 34ch;
}

/* ------------------------------------------------------------------- FAQ */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  text-align: left;
  padding: 1.5rem 0;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  font-family: var(--serif);
  line-height: 1.25;
  transition: color 0.25s;
}
.faq__q:hover { color: var(--accent); }
.faq__icon { flex: none; width: 16px; height: 16px; position: relative; }
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute; background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.faq__icon::before { inset: 7.5px 0 7.5px 0; height: 1px; }
.faq__icon::after { inset: 0 7.5px 0 7.5px; width: 1px; }
.faq__q[aria-expanded='true'] .faq__icon::after { transform: scaleY(0); opacity: 0; }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  font-size: var(--t-small);
  color: var(--ink-soft);
  max-width: 62ch;
  padding-bottom: 1.75rem;
  margin: 0;
}

/* -------------------------------------------------------------- final CTA */

.finale {
  position: relative;
  min-height: clamp(520px, 82vh, 820px);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  color: var(--paper);
}
.finale__bg { position: absolute; inset: 0; }
.finale__bg img { width: 100%; height: 100%; object-fit: cover; }
.finale__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,18,15,0.28) 0%, rgba(20,18,15,0.62) 100%);
}
.finale__inner { position: relative; padding: var(--section) var(--gutter); max-width: 900px; }
.finale h2 { color: var(--paper); font-size: var(--t-display); margin-bottom: 2rem; }
.finale .cta-note { color: rgba(247, 244, 239, 0.85); margin-top: 1.25rem; }
.finale .btn { background: var(--paper); color: var(--ink); }
.finale .btn:hover { background: var(--accent); color: var(--paper); }

/* ---------------------------------------------------------------- footer */

.site-foot {
  padding: clamp(3rem, 6vw, 5rem) 0 3rem;
  font-size: 0.875rem;
  color: var(--ink-faint);
}
.foot-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }

/* ---------------------------------------------------------- sticky mobile */

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.85rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(247, 244, 239, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(120%);
  transition: transform 0.45s var(--ease);
}
.sticky-cta.is-on { transform: translateY(0); }
.sticky-cta__price { line-height: 1.15; padding-left: 0.5rem; }
.sticky-cta__price b { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; display: block; }
.sticky-cta__price span { font-size: 0.6875rem; color: var(--ink-faint); letter-spacing: 0.08em; text-transform: uppercase; }
.sticky-cta .btn { padding: 0.95rem 1.5rem; font-size: 0.9375rem; }
@media (min-width: 860px) { .sticky-cta { display: none; } }

/* ------------------------------------------------------------- reveal fx */

/* Tutto è nascosto SOLO se il JS è vivo (`.js` viene messo da uno script
   inline nell'head). Senza JS, o se lo script fallisce, la pagina resta
   perfettamente leggibile invece di restare bianca. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal][data-delay='1'] { transition-delay: 0.09s; }
.js [data-reveal][data-delay='2'] { transition-delay: 0.18s; }
.js [data-reveal][data-delay='3'] { transition-delay: 0.27s; }

/* L'hero non aspetta l'IntersectionObserver: entra da solo appena il CSS è
   applicato. Il titolo è la prima cosa che si deve leggere — conta per l'LCP
   e per chi arriva da un annuncio e decide in due secondi. */
.js .hero [data-reveal] {
  transition: none;
  animation: heroIn 0.6s var(--ease) both;
}
.js .hero [data-reveal][data-delay='1'] { animation-delay: 0.06s; }
.js .hero [data-reveal][data-delay='2'] { animation-delay: 0.12s; }
.js .hero [data-reveal][data-delay='3'] { animation-delay: 0.18s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ------------------------------------------------------ banner consenso */
.consent {
  position: fixed;
  left: var(--gutter);
  bottom: var(--gutter);
  z-index: 80;
  width: min(26rem, calc(100vw - 2 * var(--gutter)));
  background: var(--ink);
  color: var(--paper);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 16px 50px rgba(0, 0, 0, .28);
  font-size: var(--t-small);
  line-height: 1.55;
}
.consent__text { margin: 0 0 1.125rem; color: #D6CEC5; }
.consent__actions { display: flex; gap: .625rem; }
.consent__btn {
  flex: 1;
  border: 0;
  border-radius: 999px;
  padding: .75rem 1rem;
  font: 600 var(--t-small)/1 var(--sans);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: opacity .2s var(--ease);
}
.consent__btn:hover { opacity: .82; }
.consent__btn--ghost {
  background: transparent;
  color: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(247, 244, 239, .34);
}
.consent__link { margin: 1rem 0 0; font-size: var(--t-label); }
.consent__link a { color: #A9A199; }

/* ══════════════════════════════════════════════════════ TOCCO MOBILE ═══
   Il traffico arriva quasi tutto da Instagram, quindi da telefono.
   Gli elementi da toccare devono avere almeno ~44px di area utile, anche
   quando il tondo disegnato è più piccolo: si espande l'area, non la grafica.
   ====================================================================== */

/* gli hotspot restano dischi da 30px ma si toccano come fossero 44 */
.hotspot::before {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
}

/* link di navigazione e footer: area verticale piena */
@media (max-width: 860px) {
  .foot-links { gap: 0.25rem 1.5rem; }
  .foot-links a {
    display: inline-block;
    padding-block: 0.6875rem;
  }
  .brandmark { padding-block: 0.5rem; }
}

/* niente zoom involontario di iOS: sotto i 16px Safari ingrandisce il campo
   al focus e sposta tutto il layout */
@media (max-width: 860px) {
  input, textarea, select { font-size: 16px; }
}

/* ───────────────────────────────── CTA finale su schermo stretto ─────────
   "Progetta la mia stanza — € 79 →" andava a capo: il bottone diventava un
   blocco alto 100px con il testo spezzato a metà. Una riga sola, larghezza
   piena, tocco comodo. */
@media (max-width: 560px) {
  .finale .btn--lg,
  .hero .btn--lg {
    width: 100%;
    justify-content: center;
    white-space: nowrap;
    padding: 1.1rem 1rem;
    font-size: 0.9375rem;
  }
  .finale__inner { padding-inline: var(--gutter); }
}

/* su touch l'hover resta "incollato" dopo il tocco */
@media (hover: none) {
  .opt:hover { transform: none; }
  .pcard:hover .pcard__img img { transform: none; }
}

/* ============================================================================
   SEO — occhiello dentro l'h1 e pagine di approfondimento (guide per stanza).
   Stesso design system della landing: niente componenti nuovi se non servono.
   ========================================================================== */

.h1-kicker {
  display: block;
  font-family: var(--sans);
  line-height: 1.4;
  letter-spacing: 0.2em;
}

/* breadcrumb */
.crumbs { font-size: 0.8125rem; color: var(--ink-faint); margin: 0 0 1.75rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.crumbs li + li::before { content: '/'; margin-right: 0.4rem; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* hero delle pagine interne */
.page-hero { padding-top: clamp(6.5rem, 11vw, 9rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { font-size: var(--t-h1); margin-bottom: 1.35rem; max-width: 18ch; }
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero .lead { margin-bottom: 2rem; }
.page-hero__media { margin-top: clamp(2.5rem, 5vw, 4rem); }
.page-hero__media .compare { aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .page-hero__media .compare { aspect-ratio: 16 / 9; } }

/* testo lungo */
.prose { max-width: var(--max-narrow); margin-inline: auto; padding-inline: var(--gutter); }
.prose h2 { font-size: clamp(1.875rem, 3.6vw, 2.75rem); line-height: 1.05; margin: clamp(3rem, 6vw, 4.5rem) 0 1.25rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 2.25rem 0 0.75rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose strong { color: var(--ink); font-weight: 500; }
.prose ul, .prose ol { padding-left: 1.125rem; margin: 0 0 1.25em; }
.prose li { margin-bottom: 0.5rem; }
.prose a:not(.btn) { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose figure { margin: 2.5rem 0; }
.prose figure img { width: 100%; }
.prose figcaption { font-size: 0.8125rem; color: var(--ink-faint); margin-top: 0.75rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--t-small); margin: 1.5rem 0 2rem; }
.prose th, .prose td { text-align: left; padding: 0.85rem 0.75rem 0.85rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 500; color: var(--ink); }
.prose td { color: var(--ink-soft); }
.table-scroll { overflow-x: auto; }

.callout {
  background: var(--paper-2);
  border-left: 2px solid var(--accent);
  padding: 1.5rem 1.75rem;
  margin: 2.5rem 0;
}
.callout p { color: var(--ink); }
.callout .btn { margin-top: 0.5rem; }
/* "In breve" in cima alle guide (GEO): stesso box, attaccato all'inizio del testo */
.callout.tldr { margin-top: 0; }
.callout.tldr .eyebrow { margin-bottom: 0.75rem; }
.callout.tldr p:last-child { margin-bottom: 0; }

/* pagine collegate */
.related { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 760px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a {
  background: var(--paper);
  padding: 1.75rem 1.5rem;
  text-decoration: none;
  display: flex; flex-direction: column; gap: 0.5rem;
  transition: background 0.3s var(--ease);
}
.related a:hover { background: var(--white); }
.related b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.related span { font-size: var(--t-small); color: var(--ink-soft); }

/* link alle guide nel footer */
.foot-guides { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-bottom: 2rem; }
.foot-guides a { text-decoration: none; }
.foot-guides a:hover { color: var(--ink); }
@media (max-width: 520px) { .page-hero .btn--lg { padding-inline: 1.6rem; font-size: 1rem; white-space: nowrap; } }

/* ============================================================================
   CONVERSIONE — traffico freddo da Instagram/TikTok/Meta (ottobre 2026)
   Stesso design system: nessun colore o font nuovo. Obiettivo: capire
   l'offerta in una riga, vedere che si inizia gratis, toccare la CTA.
   ========================================================================== */

/* --- hero: rischio/beneficio + CTA con microcopy --------------------------- */
.hero .hero-stake {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 2.3vw, 1.75rem);
  line-height: 1.22;
  color: var(--ink);
  margin-bottom: 0.9rem;
  max-width: 30ch;
}
.hero-stake b { font-weight: 400; font-style: italic; color: var(--accent); }
.hero .hero-what { margin-bottom: 1.75rem; font-size: var(--t-body); }

.cta-stack { display: inline-flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.cta-free {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  text-align: center;
}
.cta-free b { font-weight: 500; color: var(--ink); }
.cta-free::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #6F7C63; /* salvia della palette stili: "via libera" senza un verde nuovo */
  margin-right: 0.5rem;
  vertical-align: 0.12em;
}
.cta-free--center { margin-top: 0.75rem; }
.finale .cta-note b { font-weight: 500; color: var(--paper); }

.hero-actions { align-items: flex-start; gap: 1.1rem 2rem; }
.demo-link { font-size: var(--t-small); font-weight: 500; margin-top: 1.15rem; }

/* --- i 4 passaggi del pagamento ------------------------------------------ */
.paysteps { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.paysteps li { display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; align-items: baseline; }
.paysteps li > span {
  font-family: var(--serif);
  color: var(--accent);
  font-size: 1.125rem;
  line-height: 1;
  width: 1.1rem;
}
.paysteps em { font-style: normal; color: #6F7C63; font-weight: 500; }
.paysteps b { font-weight: 500; }

.paysteps--hero {
  margin-top: 1.9rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 0.55rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.paysteps--hero + .trust { margin-top: 1.25rem; }

.paysteps--wide {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 820px) { .paysteps--wide { grid-template-columns: repeat(4, 1fr); } }
.paysteps--wide li {
  background: var(--paper);
  padding: 1.35rem 1.25rem 1.5rem;
  font-size: var(--t-small);
  color: var(--ink-soft);
}
.paysteps--wide li > span { font-size: 1.75rem; }
.paysteps--wide b { display: block; color: var(--ink); margin-bottom: 0.3rem; line-height: 1.35; }

/* --- trasformazioni: scheda dati + CTA dopo i progetti -------------------- */
.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  font-size: 0.8125rem;
}
.specs div { display: flex; flex-direction: column; }
.specs dt { color: var(--ink-faint); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.6875rem; }
.specs dd { margin: 0.15rem 0 0; color: var(--ink); }
.specs b { font-weight: 500; }
.project__more { margin-top: 1rem; font-size: var(--t-small); }

.after-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  text-align: center;
}

/* --- value anchor --------------------------------------------------------- */
.anchor { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); justify-items: start; }
.anchor .eyebrow { margin: 0; }
.anchor__rows { width: 100%; max-width: 780px; display: grid; gap: 1.1rem; }
.anchor__row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: 'label num' 'bar bar';
  gap: 0.5rem 1rem;
  align-items: baseline;
}
.anchor__label { grid-area: label; font-size: var(--t-small); color: var(--ink-soft); }
.anchor__num { grid-area: num; font-family: var(--serif); font-weight: 400; font-size: clamp(2.25rem, 5.5vw, 4rem); line-height: 1; }
.anchor__bar { grid-area: bar; height: 10px; background: rgba(20, 18, 15, 0.08); position: relative; }
.anchor__bar::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: var(--ink);
  transform-origin: left;
  transition: transform 1.1s var(--ease) 0.2s;
}
.js .anchor__rows:not(.is-in) .anchor__bar::after { transform: scaleX(0); }
.anchor__row--us .anchor__num { color: var(--accent); }
.anchor__row--us .anchor__bar::after { background: var(--accent); }
.anchor__line {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  max-width: 24ch;
  margin: 0;
}
.anchor .cta-stack { align-items: flex-start; }
.anchor .cta-free { text-align: left; }

/* --- UGC: video verticali 9:16, mobile-first ------------------------------ */
.ugc-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  list-style: none;
  margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
  padding: 0;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}
.ugc-flow li { display: flex; align-items: center; gap: 0.6rem; }
.ugc-flow li + li::before { content: '→'; color: var(--ink-faint); }
.ugc-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(72vw, 300px);
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  padding-bottom: 0.75rem;
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.ugc-rail::-webkit-scrollbar { display: none; }
.ugc-card { scroll-snap-align: start; margin: 0; }
.ugc-card__media {
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--paper-3);
  overflow: hidden;
  display: block;
  color: var(--paper);
  text-decoration: none;
}
.ugc-card__media video,
.ugc-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ugc-card__play {
  position: absolute;
  inset: auto auto 1rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: 100px;
  background: rgba(20, 18, 15, 0.72);
  font-size: 0.8125rem;
  pointer-events: none;
}
.ugc-card__media.is-playing .ugc-card__play { opacity: 0; }
.ugc-card figcaption { padding-top: 0.75rem; font-size: 0.8125rem; color: var(--ink-faint); line-height: 1.45; }
.ugc-card figcaption b { display: block; color: var(--ink); font-weight: 500; font-size: 0.9375rem; }
.ugc-placeholder { display: grid; place-items: center; height: 100%; padding: 1.5rem; text-align: center; color: var(--ink-faint); font-size: 0.8125rem; border: 1px dashed var(--ink-faint); }

/* --- Case vere: prima e dopo ---------------------------------------------- */
.cases { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) { .cases { grid-template-columns: repeat(2, 1fr); } }
.case { margin: 0; display: grid; gap: 1.1rem; align-content: start; }
.case .compare { aspect-ratio: 4 / 3; }
.case__quote { margin: 0; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.25; }
.case__who { display: flex; align-items: center; gap: 0.85rem; font-size: 0.8125rem; color: var(--ink-faint); }
.case__who img, .case__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--paper-3); flex: none; }
.case__who b { display: block; color: var(--ink); font-weight: 500; font-size: 0.9375rem; }
.case video { width: 100%; max-width: 320px; aspect-ratio: 9 / 16; object-fit: cover; background: var(--paper-3); }
.preview-flag {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.8rem;
  border: 1px dashed var(--accent);
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- "Cosa ricevi": accesso alla demo ------------------------------------- */
.demo-btn { margin-top: 2rem; }

/* --- sticky mobile: gratis a sinistra, CTA a destra ----------------------- */
.sticky-cta__price b { font-family: var(--sans); font-size: 0.9375rem; font-weight: 500; }
.sticky-cta__price span { text-transform: none; letter-spacing: 0; font-size: 0.75rem; }
.sticky-cta .btn { white-space: nowrap; padding: 0.95rem 1.2rem; }
@media (max-width: 380px) {
  .sticky-cta { gap: 0.6rem; }
  .sticky-cta .btn { font-size: 0.875rem; padding-inline: 1rem; }
}

/* --- mobile: CTA sopra la piega ------------------------------------------- */
@media (max-width: 560px) {
  .hero { padding-top: 5.25rem; }
  .hero h1 { margin-bottom: 1rem; }
  .hero .hero-what { margin-bottom: 1.4rem; font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.25rem; }
  .hero .cta-stack { display: flex; align-items: stretch; }
  .demo-link { align-self: center; margin-top: 0.9rem; }
  .after-cta .btn--lg, .anchor .btn--lg { width: 100%; justify-content: center; white-space: nowrap; padding: 1.1rem 1rem; font-size: 0.9375rem; }
  .anchor .cta-stack { width: 100%; align-items: stretch; }
  .anchor .cta-free { text-align: center; }
}

/* ============================================================================
   DEMO — /progetto-completo/
   ========================================================================== */
.demo-toc {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.demo-toc a {
  display: inline-flex;
  gap: 0.5rem;
  align-items: baseline;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.875rem;
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s;
}
.demo-toc a:hover { border-color: var(--ink); background: var(--white); }
.demo-toc span { font-family: var(--serif); color: var(--accent); }
.demo-note { margin-top: 1.5rem; font-size: 0.8125rem; }
.demo-compare { aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .demo-compare { aspect-ratio: 16 / 10; } }
.demo-specs { margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }

.demo-split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 940px) { .demo-split { grid-template-columns: 0.8fr 1.2fr; } }

.plan { margin: 0; background: var(--paper); padding: clamp(0.75rem, 2vw, 1.5rem); color: var(--ink); }
.plan svg { width: 100%; height: auto; }
.plan__item { fill: var(--paper-3); stroke: var(--ink); stroke-width: 1.5; }
.plan__rug { fill: rgba(205, 184, 159, 0.35); stroke: var(--ink-faint); stroke-width: 1; stroke-dasharray: 5 4; }
.plan__plant { fill: rgba(111, 124, 99, 0.25); stroke: #6F7C63; stroke-width: 1.2; }
.plan__lbl { font: 500 11px var(--sans); fill: var(--ink-faint); letter-spacing: 0.04em; }
.plan__n circle { fill: var(--ink); }
.plan__n text { font: 500 13px var(--sans); fill: var(--paper); text-anchor: middle; }

.palette {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
@media (min-width: 720px) { .palette { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .palette { grid-template-columns: repeat(6, 1fr); } }
.palette li { background: var(--paper); padding: 0.85rem 0.85rem 1.1rem; font-size: 0.8125rem; color: var(--ink-faint); }
.palette span { display: block; aspect-ratio: 4 / 3; margin-bottom: 0.85rem; }
.palette b { display: block; font-weight: 500; color: var(--ink); font-size: 0.9375rem; }

.slist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.slist__item {
  display: grid;
  grid-template-columns: auto 64px 1fr auto;
  grid-template-areas: 'n img name price' 'n img go go';
  gap: 0.15rem 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 760px) {
  .slist__item { grid-template-columns: auto 88px 1fr auto auto; grid-template-areas: 'n img name price go'; gap: 1.5rem; }
}
.slist__n { grid-area: n; font-family: var(--serif); font-size: 1.25rem; color: var(--accent); width: 1.25rem; }
.slist__img { grid-area: img; aspect-ratio: 1; background: var(--paper-3); overflow: hidden; }
.slist__img img { width: 100%; height: 100%; object-fit: cover; }
.slist__name { grid-area: name; font-size: 0.9375rem; line-height: 1.3; }
.slist__name span { display: block; font-size: 0.75rem; color: var(--ink-faint); margin-top: 0.2rem; }
.slist__price { grid-area: price; font-weight: 500; white-space: nowrap; }
.slist__go { grid-area: go; font-size: 0.8125rem; color: var(--ink-soft); white-space: nowrap; padding-block: 0.4rem; }
.slist__go:hover { color: var(--ink); }

.budgetbar { margin-top: clamp(2.5rem, 5vw, 3.5rem); max-width: 720px; }
.budgetbar__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.budgetbar__head span { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); }
.budgetbar__head b { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.budgetbar__track { position: relative; height: 12px; background: rgba(20, 18, 15, 0.08); }
.budgetbar__range { position: absolute; top: 0; bottom: 0; background: rgba(111, 124, 99, 0.35); }
.budgetbar__mark { position: absolute; top: -6px; bottom: -6px; width: 3px; background: var(--ink); transform: translateX(-1px); }
.budgetbar__scale { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--ink-faint); margin-top: 0.5rem; }
.budgetbar__verdict { margin-top: 1rem; font-size: var(--t-small); }
.budgetbar__verdict b { font-weight: 500; }
