/* =========================================================
   FASEMO · stile
   Linguaggio preso dal loro marchio: bordeaux del logo,
   etichette-adesivo bianche e bordeaux (copertina e furgone),
   pattern di attrezzi, taglio diagonale. Fondi bianco e cemento.
   ========================================================= */

:root {
  --brand: #812633;
  --brand-deep: #641b27;
  --wine: #3a0f17;
  --brand-tint: #f3e3e4;

  --white: #ffffff;
  --paper: #ffffff;
  --stone: #f4f4f2;
  --line: #e4e4e0;
  --ink: #1b1b1b;
  --ink-soft: #4d4d4d;

  /* superfici (palette "bianco marmo") */
  --page: #ffffff;
  --card: #f6f6f4;
  --panel: var(--brand);
  --band: #f1f1ee; --band-ink: #1b1b1b; --band-soft: rgba(27, 27, 27, .65); --band-star: var(--brand);
  --feature: var(--brand); --feature-ink: #fff;
  --contact: #f4f4f2; --contact-ink: #1b1b1b; --contact-soft: #444444; --contact-line: #1b1b1b;
  --tools-op: .1;
  --media: var(--wine);
  --footer: #1b1b1b;

  --font-display: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --font-body: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 84px;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(31, 24, 23, .06), 0 18px 40px -18px rgba(31, 24, 23, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pop: cubic-bezier(.34, 1.56, .64, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
figure { margin: 0; }

.ic { width: 1em; height: 1em; flex: none; fill: currentColor; vertical-align: -0.125em; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nowrap { white-space: nowrap; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* ---------- Tipografia ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  margin-bottom: 20px;
}
.lead { font-size: 1.22rem; color: var(--ink-soft); max-width: 34em; }

/* Etichetta di sezione: un piccolo adesivo, come quelli della copertina */
.tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: .28em .7em .32em;
  font: 700 1rem/1 var(--font-display);
  color: var(--brand);
  background: var(--white);
  border: 2px solid var(--brand);
  border-radius: 8px;
  transform: rotate(-2deg);
}
.tag--light { color: var(--contact-ink); background: transparent; border-color: var(--contact-line); }

/* Adesivo grande: testo bianco su bordeaux, contorno bianco */
.sticker {
  position: absolute;
  display: inline-block;
  padding: .3em .62em .36em;
  font: 700 1.4rem/1 var(--font-display);
  color: #fff;
  background: var(--brand);
  border-radius: 12px;
  box-shadow: 0 0 0 4px #fff, 0 14px 24px -10px rgba(0, 0, 0, .45);
  white-space: nowrap;
  z-index: 3;
}
.sticker--sm { font-size: 1rem; border-radius: 9px; box-shadow: 0 0 0 3px #fff, 0 8px 16px -8px rgba(0, 0, 0, .5); }

/* ---------- Pulsanti e link ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px;
  border: 2px solid transparent; border-radius: 12px;
  font: 600 1.06rem/1.3 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .ic { font-size: 1.4em; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 0 -2px var(--brand-deep); }
.btn--primary:hover { background: var(--brand-deep); transform: translateY(-2px); box-shadow: 0 8px 0 -2px #4a1520; }
.btn--primary:active { transform: translateY(1px); box-shadow: 0 3px 0 -2px #4a1520; }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--lg { min-height: 60px; padding: 14px 28px; font-size: 1.12rem; }
.btn--sm { min-height: 46px; padding: 8px 18px; font-size: 1rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--ink); text-decoration: none;
}
.link-arrow span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--brand); }
.link-arrow .ic { color: var(--brand); transition: transform .25s var(--ease); }
.link-arrow:hover .ic:last-child { transform: translateX(4px); }

.stars { display: inline-flex; gap: 2px; color: var(--brand); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--page) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(31, 24, 23, .5); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.nav__logo img { width: 13rem; height: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav__links a:not(.btn) {
  position: relative; padding: 6px 0;
  font-weight: 600; font-size: 1rem; text-decoration: none; color: var(--ink);
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav__menu-cta { display: none; }
.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(32px, 5vw, 72px)) 0 clamp(56px, 7vw, 96px);
  isolation: isolate;
}
/* Parete piastrellata: fughe sottili, sfumate verso sinistra */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(31, 24, 23, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 24, 23, .075) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: right -1px top -1px;
  -webkit-mask-image: linear-gradient(90deg, transparent 8%, #000 60%);
          mask-image: linear-gradient(90deg, transparent 8%, #000 60%);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.place {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 22px;
  font-weight: 600; color: var(--ink-soft);
}
.place .ic { color: var(--brand); font-size: 1.25em; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 4.15rem);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 26px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .18em; margin-bottom: -.18em; }
.hero__title .line > span { display: inline-block; white-space: nowrap; }
.scribble { position: relative; font-style: italic; font-weight: 600; color: var(--brand); }
.scribble svg {
  position: absolute; left: -2%; width: 104%; bottom: -.12em; height: .26em;
  overflow: visible;
}
.scribble path {
  fill: none; stroke: var(--brand); stroke-width: 4; stroke-linecap: round;
  stroke-dasharray: 520; stroke-dashoffset: 0;
}

.hero__sub { font-size: clamp(1.15rem, 1.6vw, 1.32rem); color: var(--ink-soft); max-width: 26em; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-bottom: 30px; }

.trust {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 1rem; color: var(--ink); text-decoration: none;
}
.trust:hover span:last-child { text-decoration: underline; text-underline-offset: 4px; }
.trust .stars { font-size: 1.15rem; }

.hero__visual {
  position: relative;
  justify-self: end;
  width: 100%; max-width: 35rem;
  aspect-ratio: 10 / 11;
}
/* Pannello bordeaux tagliato in diagonale, come nella copertina */
.hero__visual::before {
  content: ""; position: absolute; z-index: 0;
  right: -4%; bottom: 4%; width: 62%; height: 64%;
  background: var(--panel);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
}
.hero__photo {
  position: absolute; z-index: 1;
  top: 0; right: 4%; width: 74%; height: 84%;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--stone);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__couple {
  position: absolute; z-index: 2;
  left: 0; bottom: 0; width: 54%;
}
.hero__couple img { width: 100%; filter: drop-shadow(0 18px 18px rgba(31, 24, 23, .28)); }
.sticker--anna { left: -8%; top: 44%; transform: rotate(-7deg); }
.sticker--salvatore { left: 86%; top: 20%; transform: rotate(5deg); }

/* ---------- Nastro recensioni ---------- */
.ribbon {
  position: relative; z-index: 4;
  margin: 0 -3%;
  padding: 18px 0;
  background: var(--band); color: var(--band-ink);
  transform: rotate(-1.3deg);
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .35);
  overflow: hidden;
}
.ribbon__track { display: flex; width: max-content; animation: ribbon 70s linear infinite; }
.ribbon__list { display: flex; gap: 56px; padding-right: 56px; }
.ribbon__list li {
  display: flex; align-items: baseline; gap: 12px;
  font: italic 600 1.3rem/1.3 var(--font-display); white-space: nowrap;
}
.ribbon__list li::before { content: "★"; font-style: normal; font-size: .9rem; color: var(--band-star); margin-right: 6px; }
.ribbon__list span { font: 600 .92rem var(--font-body); font-style: normal; color: var(--band-soft); }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* ---------- Sezioni ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.section--stone { background: var(--stone); }
.section-head { max-width: 780px; margin-bottom: clamp(44px, 5vw, 72px); }

/* ---------- Chi siamo ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about__photo { position: relative; padding: 0 0 28px; width: 100%; max-width: 23rem; justify-self: center; }
.print {
  background: #fff;
  padding: 12px 12px 48px;
  border-radius: 4px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(31, 24, 23, .06);
  transform: rotate(-2.5deg);
}
.print img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 62%; border-radius: 2px; }
.sticker--note { right: 6%; bottom: 6px; transform: rotate(3deg); font-size: 1.15rem; }

.roles {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 2px solid var(--ink);
}
.role { padding: 32px clamp(0px, 3vw, 40px) 8px 0; }
.role + .role { padding-left: clamp(24px, 3vw, 40px); border-left: 1px solid var(--line); }
.role__name { font: 700 clamp(2.2rem, 3.6vw, 2.9rem)/1 var(--font-display); color: var(--brand); }
.role__what { margin: 6px 0 14px; font: italic 600 1.2rem var(--font-display); color: var(--ink); }
.role p:last-child { color: var(--ink-soft); }

.promises {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.promises li { display: flex; align-items: center; gap: 14px; padding: 22px clamp(12px, 2vw, 28px); font-weight: 600; line-height: 1.35; }
.promises li:first-child { padding-left: 0; }
.promises li + li { border-left: 1px solid var(--line); }
.promises .ic { font-size: 1.8rem; color: var(--brand); }

/* ---------- Lavori: prima/dopo + preventivo ---------- */
.feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.ba {
  position: relative; aspect-ratio: 3 / 4; max-width: 31rem; margin-inline: auto;
  border-radius: var(--radius); overflow: hidden; background: var(--line);
  box-shadow: var(--shadow);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px;
  transform: translateX(-50%); background: #fff; box-shadow: 0 0 14px rgba(0, 0, 0, .3);
  pointer-events: none;
}
.ba__handle {
  position: absolute; top: 50%; left: var(--pos); z-index: 2;
  display: grid; place-items: center; width: 60px; height: 60px;
  transform: translate(-50%, -50%);
  border-radius: 50%; background: #fff; color: var(--brand); font-size: 1.6rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
  pointer-events: none; transition: transform .2s var(--ease);
}
.ba.is-dragging .ba__handle { transform: translate(-50%, -50%) scale(1.08); }
.ba__label { top: 18px; }
.ba__label--before { left: 18px; transform: rotate(-4deg); background: var(--ink); }
.ba__label--after { right: 18px; transform: rotate(4deg); }
.ba__range { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ba:has(.ba__range:focus-visible) .ba__handle { outline: 3px solid var(--brand); outline-offset: 3px; }
.feature__hint {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px; font-size: .98rem; color: var(--ink-soft);
}
.feature__hint .ic { font-size: 1.25rem; color: var(--brand); }
.ba__img { transition: opacity .22s ease; }
.ba.is-switching .ba__img { opacity: 0; }
.ba-caption { max-width: 31rem; margin: 6px auto 0; text-align: center; font: italic 600 1.08rem/1.4 var(--font-display); color: var(--ink); min-height: 2.8em; }
.ba-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 31rem; margin: 14px auto 0; }
.ba-tab {
  display: grid; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 600 .9rem var(--font-body); color: var(--ink-soft); text-align: center;
}
.ba-tab img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px;
  outline: 2px solid transparent; outline-offset: 2px; opacity: .7;
  transition: opacity .2s, outline-color .2s, transform .2s var(--ease);
}
.ba-tab:hover img { opacity: 1; transform: translateY(-2px); }
.ba-tab.is-active { color: var(--brand); }
.ba-tab.is-active img { opacity: 1; outline-color: var(--brand); }
.ba-tab:focus-visible { outline: none; }
.ba-tab:focus-visible img { outline-color: var(--ink); }

/* Foglio del preventivo, con margine rosso come un quaderno */
.sheet {
  --margin: clamp(40px, 5vw, 64px);
  position: relative;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 44px) clamp(28px, 4vw, 40px) var(--margin);
  background:
    linear-gradient(90deg, transparent calc(var(--margin) - 18px), rgba(129, 38, 51, .3) calc(var(--margin) - 18px), rgba(129, 38, 51, .3) calc(var(--margin) - 16px), transparent calc(var(--margin) - 16px)),
    #fff;
  border-radius: 4px;
  box-shadow: var(--shadow);
}
.sheet__kicker { margin-bottom: 6px; font: italic 600 1.1rem var(--font-display); color: var(--brand); }
.sheet__title { font: 700 clamp(1.7rem, 2.6vw, 2.2rem)/1.08 var(--font-display); margin-bottom: 22px; max-width: 12em; }
.sheet__rows { margin-bottom: 18px; }
.sheet__rows li {
  display: flex; align-items: baseline; gap: 10px;
  padding: 13px 0; font-weight: 600; font-size: 1.08rem;
  border-bottom: 1px solid var(--line);
}
.sheet__rows i { flex: 1; min-width: 16px; border-bottom: 2px dotted #bdb7ae; transform: translateY(-5px); }
.sheet__rows .ic { font-size: 1.35rem; color: var(--brand); align-self: center; }
.sheet__foot { margin-bottom: 24px; font: italic 600 1.12rem var(--font-display); color: var(--ink-soft); }

.stamp {
  position: absolute; top: -38px; right: -20px;
  width: 124px; height: 124px;
  color: var(--brand);
  rotate: -14deg;
  pointer-events: none;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .14));
}
.stamp svg { display: block; width: 100%; height: 100%; overflow: visible; }
.stamp__text { font: 700 10.4px var(--font-body); fill: currentColor; }

/* Striscia di foto: su desktop si aggancia e la rotella la fa scorrere di lato */
.strip { padding: clamp(64px, 8vw, 110px) 0 clamp(40px, 5vw, 64px); }
.strip__sticky { overflow-x: auto; scrollbar-width: none; }
.strip__sticky::-webkit-scrollbar { display: none; }
.strip__track { display: flex; align-items: flex-start; gap: clamp(12px, 1.6vw, 20px); width: max-content; padding-inline: var(--gutter); will-change: transform; }
.strip__progress { display: none; }

.strip.is-pinned { padding: 0; }
.strip.is-pinned .strip__sticky {
  position: sticky; top: var(--nav-h);
  height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h));
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 3vh, 36px);
}
.strip.is-pinned .shot { width: auto; height: min(58vh, 560px); }
.strip.is-pinned .shot { height: min(54vh, 34rem); }
.strip.is-pinned .shot:nth-child(even) { margin-top: 6vh; }
.strip.is-pinned .strip__progress {
  display: block; height: 3px; margin-inline: var(--gutter);
  max-width: 320px; background: var(--line); border-radius: 3px; overflow: hidden;
}
.strip__progress span { display: block; height: 100%; background: var(--brand); transform-origin: left; transform: scaleX(var(--p, 0)); }
.shot {
  position: relative; flex: none;
  width: clamp(220px, 22vw, 19rem); aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm); overflow: hidden; background: var(--line);
}
.shot:nth-child(even) { margin-top: 48px; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.shot:hover img { transform: scale(1.05); }
.shot__cap {
  position: absolute; left: 12px; bottom: 12px; z-index: 3;
  padding: .36em .72em; border-radius: 8px;
  background: #fff; color: var(--ink); font: 700 .98rem/1 var(--font-display);
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .5);
}

/* Altri lavori: titoli grandi a sinistra, immagine che cambia a destra */
.more {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
  padding-top: clamp(24px, 4vw, 56px);
}
.more__heading { margin-bottom: clamp(24px, 3vw, 36px); }
.more__item { border-top: 2px solid var(--ink); }
.more__item:last-of-type { border-bottom: 2px solid var(--ink); }
.more__title { margin: 0; }
.more__title button {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; padding: clamp(18px, 2.4vw, 26px) 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  font: 700 clamp(1.7rem, 3vw, 2.5rem)/1.08 var(--font-display); color: var(--ink-soft);
  transition: color .3s var(--ease);
}
.more__title button .ic { flex: none; font-size: .8em; color: var(--brand); opacity: 0; transform: translateX(-12px); transition: opacity .3s var(--ease), transform .4s var(--ease); }
.more__title button:hover, .more__item.is-active .more__title button { color: var(--ink); }
.more__title button:hover .ic, .more__item.is-active .more__title button .ic { opacity: 1; transform: none; }
.more__item.is-active .more__title button .ic { transform: rotate(90deg); }
.more__title button:focus-visible { outline-offset: 4px; }

/* il pannello si apre con un'altezza animata (grid 0fr → 1fr) */
.more__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.more__inner { overflow: hidden; min-height: 0; }
.more__panel p { margin: 0; max-width: 32em; color: var(--ink-soft); font-size: 1.12rem; }
.more__item.is-active .more__panel { grid-template-rows: 1fr; }
.more__item.is-active .more__panel p { padding-bottom: clamp(20px, 2.4vw, 28px); }
.more__inline { display: none; }

.more__cta { margin: 28px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-weight: 600; color: var(--ink-soft); }

.more__media {
  position: relative; aspect-ratio: 4 / 5;
  border-radius: var(--radius); overflow: hidden;
  background: var(--media); box-shadow: var(--shadow);
}
.more__fig {
  position: absolute; inset: 0; margin: 0;
  clip-path: inset(0 0 0 100%);
  transition: clip-path .8s var(--ease);
}
.more__fig.is-active { clip-path: inset(0 0 0 0); z-index: 1; }
.more__fig img, .more__fig .clima { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.more__fig img { transform: scale(1.08); transition: transform 1.2s var(--ease); }
.more__fig.is-active img { transform: none; }

/* Illustrazione climatizzatore: aria che esce e fiocchi che scendono */
.clima__bg { fill: var(--media); }
.clima__air path { animation: air 1.6s linear infinite; }
.clima__air path:nth-child(2) { animation-delay: -.5s; }
.clima__air path:nth-child(3) { animation-delay: -1s; }
@keyframes air { to { stroke-dashoffset: -68; } }
.clima__flake { transform-box: fill-box; transform-origin: center; animation: flake 4.5s ease-in-out infinite; opacity: .55; }
.clima__flake--2 { animation-delay: -1.5s; animation-duration: 5.2s; }
.clima__flake--3 { animation-delay: -3s; animation-duration: 6s; }
/* Illustrazione appartamento: il rullo ridipinge la parete, le chiavi dondolano */
.illo__roller { animation: roller 4.4s var(--ease) infinite; }
.illo__stripe { transform-box: fill-box; transform-origin: 50% 0; animation: stripe 4.4s var(--ease) infinite; }
.illo__keys { transform-box: view-box; transform-origin: 330px 262px; animation: keys 3.2s ease-in-out infinite; }
@keyframes roller { 0%, 8% { transform: translateY(0); } 58% { transform: translateY(232px); } 70% { transform: translateY(232px); } 100% { transform: translateY(0); } }
@keyframes stripe { 0%, 8% { transform: scaleY(0); opacity: 1; } 58% { transform: scaleY(1); opacity: 1; } 88% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes keys { 0%, 100% { transform: rotate(-9deg); } 50% { transform: rotate(9deg); } }

/* Illustrazione manutenzioni: la chiave stringe, la goccia smette di cadere */
.illo__wrench { transform-box: view-box; transform-origin: 120px 200px; animation: wrench 4s var(--ease) infinite; }
.illo__drop { transform-box: fill-box; animation: drop 4s ease-in infinite; }
.illo__ok { transform-box: fill-box; transform-origin: center; animation: ok 4s var(--ease) infinite; }
@keyframes wrench { 0%, 30% { transform: rotate(0); } 55%, 70% { transform: rotate(-28deg); } 100% { transform: rotate(0); } }
@keyframes drop { 0% { transform: translateY(0); opacity: 0; } 6% { opacity: .9; } 30% { transform: translateY(120px); opacity: 0; } 100% { transform: translateY(120px); opacity: 0; } }
@keyframes ok { 0%, 55% { transform: scale(.4); opacity: 0; } 65% { transform: scale(1.08); opacity: 1; } 72%, 90% { transform: scale(1); opacity: 1; } 100% { transform: scale(.9); opacity: 0; } }

@keyframes flake {
  0% { transform: translate(0, -20px) rotate(0); opacity: 0; }
  20% { opacity: .6; }
  100% { transform: translate(14px, 90px) rotate(120deg); opacity: 0; }
}

/* ---------- Recensioni: muro di recensioni vere ---------- */
.reviews-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.reviews-head .h2 { max-width: 15em; }

.gbadge {
  flex: none; width: max-content; max-width: 100%;
  display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
  padding: 18px 24px 18px 18px;
  background: #fff; color: var(--ink); text-decoration: none;
  border: 2px solid var(--ink); border-radius: 16px;
  box-shadow: 6px 6px 0 var(--brand);
  rotate: 2deg;
  transition: box-shadow .25s var(--ease), translate .25s var(--ease);
}
.gbadge:hover { translate: -2px -2px; box-shadow: 8px 8px 0 var(--brand); }
.gbadge__g { grid-row: 1 / 3; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--stone); font-size: 1.7rem; color: var(--ink); }
.gbadge__num { font: 700 2.8rem/.9 var(--font-display); color: var(--brand); letter-spacing: -.02em; }
.gbadge__meta { display: flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 600; }
.gbadge__meta .stars { font-size: 1rem; }

.wall-frame { position: relative; }
.wall {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr;
  gap: clamp(14px, 2vw, 22px);
}
.review { display: flex; }
.review.is-hidden { display: none; }
.review figure {
  flex: 1; margin: 0;
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(22px, 2.6vw, 30px);
  background: var(--card); border-radius: 12px;
}
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.review__topic {
  padding: .3em .65em .34em;
  font: 700 .98rem/1 var(--font-display); color: var(--brand);
  background: #fff; border: 2px solid var(--brand); border-radius: 8px;
  rotate: -2deg;
}
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { font: 500 1.16rem/1.45 var(--font-display); color: var(--ink); }
.review blockquote p::before { content: "«"; }
.review blockquote p::after { content: "»"; }
.review__who { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.review__avatar {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--brand); color: #fff; font: 700 1.15rem var(--font-display);
}
.review__name { display: flex; flex-direction: column; line-height: 1.3; }
.review__name strong { font-size: 1rem; }
.review__name span { font-size: .9rem; color: var(--ink-soft); }
.review__src { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; margin-left: auto; }
.review__src .stars { font-size: .95rem; }
.review__src small { font-size: .82rem; color: var(--ink-soft); }

.review--big figure { background: var(--feature); color: var(--feature-ink); }
.review--big .review__topic { color: var(--feature-ink); background: transparent; border-color: color-mix(in srgb, var(--feature-ink) 75%, transparent); }
.review--big blockquote p { font: italic 600 clamp(1.2rem, 1.6vw, 1.38rem)/1.38 var(--font-display); color: var(--feature-ink); }
.review--big .review__who { border-top-color: color-mix(in srgb, var(--feature-ink) 25%, transparent); }
.review--big .review__avatar { background: var(--feature-ink); color: var(--feature-avatar, var(--feature)); }
.review--big .review__name span, .review--big .review__src small { color: color-mix(in srgb, var(--feature-ink) 80%, transparent); }
.review--big .stars { color: var(--feature-ink); }

.wall__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 32px; margin-top: clamp(24px, 3vw, 40px); }
.pager { display: flex; align-items: center; justify-content: center; gap: 18px; }
.pager[hidden] { display: none; }
.pager__prev {
  display: grid; place-items: center; width: 56px; height: 56px; flex: none;
  border: 2px solid var(--ink); border-radius: 50%; background: transparent; color: var(--ink);
  font-size: 1.3rem; cursor: pointer; transition: background-color .2s, color .2s, opacity .2s;
}
.pager__prev .ic { transform: rotate(180deg); }
.pager__prev:hover { background: var(--ink); color: var(--page); }
.pager__prev:disabled { opacity: .3; cursor: default; background: transparent; color: var(--ink); }
.pager__count { min-width: 4.5em; text-align: center; font: 700 1.1rem var(--font-display); }
.pager__next .ic { transition: transform .25s var(--ease); }
.pager__next:hover .ic { transform: translateX(4px); }
/* comparsa delle schede quando si cambia pagina */
.js .review.is-entering { opacity: 0; transform: translateY(14px); }
.review { transition: opacity .5s var(--ease), transform .5s var(--ease); }

/* ---------- Contatti ---------- */
.section--brand {
  background: var(--contact); color: var(--contact-ink);
  clip-path: polygon(0 0, 100% clamp(28px, 5vw, 80px), 100% 100%, 0 100%);
  padding-top: calc(clamp(80px, 10vw, 140px) + clamp(20px, 4vw, 60px));
  overflow: hidden;
}
.tools {
  position: absolute; inset: -20%;
  opacity: var(--tools-op);
  background-size: 220px 220px;
  transform: rotate(-12deg);
  animation: tools-drift 60s linear infinite;
  pointer-events: none;
}
@keyframes tools-drift { to { background-position: 220px 440px; } }

.contact { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.contact .lead { color: var(--contact-soft); margin-bottom: 40px; }
.steps { display: grid; gap: 24px; }
.steps li { display: flex; gap: 20px; align-items: flex-start; }
.steps__n {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 14px; background: #fff; color: var(--brand);
  font: 700 1.5rem var(--font-display);
  rotate: -4deg;
  box-shadow: 0 0 0 3px var(--brand);
}
.steps li:nth-child(2) .steps__n { rotate: 3deg; }
.steps strong { display: block; font: 700 1.3rem/1.3 var(--font-display); margin-bottom: 2px; }
.steps p { margin: 0; color: var(--contact-soft); }

.card-contact {
  background: #fff; color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px; padding: clamp(24px, 4vw, 40px);
  display: grid; gap: 12px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.info { margin: 18px 0 0; display: grid; }
.info > div { padding: 16px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; }
.info dt { display: flex; align-items: center; gap: 8px; font-weight: 600; align-self: start; }
.info dt .ic { font-size: 1.3rem; color: var(--brand); }
.info dd { margin: 0; color: var(--ink-soft); }
.info dd a { color: var(--brand); font-weight: 600; text-underline-offset: 3px; }
.hours { display: flex; justify-content: space-between; gap: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--footer); color: rgba(255, 255, 255, .75); padding: 60px 0 40px; text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.footer__logo { width: 230px; }
.footer__area { margin: 0; max-width: 34em; font-size: .98rem; color: rgba(255, 255, 255, .85); }
.footer__social {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-weight: 600; text-decoration: none;
  padding: 9px 16px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 10px;
}
.footer__social:hover { border-color: #fff; }
.footer__social .ic { font-size: 1.3rem; }
.footer__legal { font-size: .92rem; line-height: 1.7; margin: 0; }
.footer__legal a { color: #fff; text-underline-offset: 3px; }
.footer__credit { font-size: .88rem; margin: 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); width: 100%; max-width: 420px; }
.footer__credit a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.placeholder { background: rgba(255, 214, 0, .2); padding: 2px 8px; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- WhatsApp fisso ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 58px; padding: 12px 22px 12px 18px;
  background: var(--brand); color: #fff; border-radius: 14px;
  font-weight: 600; text-decoration: none;
  box-shadow: 0 0 0 3px #fff, 0 14px 30px -8px rgba(0, 0, 0, .35);
  opacity: 0; transform: translateY(20px); rotate: -2deg; pointer-events: none;
  transition: opacity .35s var(--ease), transform .45s var(--pop), background-color .2s;
}
.wa-float .ic { font-size: 1.6rem; }
.wa-float:hover { background: var(--brand-deep); }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* =========================================================
   Animazioni (solo con JS attivo e senza "riduci movimento")
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .tag.reveal { transform: translateY(22px) rotate(-2deg); }
.js .tag.reveal.is-in { transform: rotate(-2deg); }

/* Titolo: le righe salgono da sotto */
.js .hero__title .line > span { transform: translateY(108%); transition: transform 1s var(--ease); }
.js .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.is-loaded .hero__title .line > span { transform: none; }
/* Sottolineatura tracciata a mano */
.js .scribble path { stroke-dashoffset: 520; transition: stroke-dashoffset 1.1s var(--ease) .9s; }
.is-loaded .scribble path { stroke-dashoffset: 0; }
/* Testo e pulsanti dell'hero */
.js .hero__sub, .js .hero__actions, .js .trust, .js .place { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.is-loaded .place { opacity: 1; transform: none; }
.is-loaded .hero__sub { opacity: 1; transform: none; transition-delay: .35s; }
.is-loaded .hero__actions { opacity: 1; transform: none; transition-delay: .48s; }
.is-loaded .trust { opacity: 1; transform: none; transition-delay: .6s; }
/* Pannello bordeaux e coppia */
.js .hero__visual::before { transform: translateX(30px); opacity: 0; transition: transform 1s var(--ease) .2s, opacity 1s var(--ease) .2s; }
.is-loaded .hero__visual::before { transform: none; opacity: 1; }
.js .hero__couple img { opacity: 0; transform: translateY(40px); transition: opacity .6s var(--ease) .35s, transform .8s var(--ease) .35s; }
.is-loaded .hero__couple img { opacity: 1; transform: none; }
/* Adesivi che si attaccano */
.js .hero__couple .sticker { opacity: 0; scale: .3; transition: opacity .3s ease, scale .55s var(--pop); }
.is-loaded .hero__couple .sticker--anna { opacity: 1; scale: 1; transition-delay: .9s; }
.is-loaded .hero__couple .sticker--salvatore { opacity: 1; scale: 1; transition-delay: 1.05s; }

/* Foto che si scoprono con un taglio diagonale (la stessa linea del pannello e della copertina).
   Nell'hero si apre la cornice; nella galleria si apre l'immagine dentro la cornice, così la cornice resta
   "visibile" al browser e l'IntersectionObserver può far partire l'animazione. */
.js .hero__photo[data-wipe],
.js .shot[data-wipe] img {
  clip-path: polygon(0 0, 0 0, -30% 100%, 0 100%);
  transition: clip-path 1.15s cubic-bezier(.65, 0, .25, 1), transform 1.6s var(--ease);
}
.js .hero__photo[data-wipe].is-in,
.js .shot[data-wipe].is-in img { clip-path: polygon(0 0, 130% 0, 100% 100%, 0 100%); }
.js [data-wipe] img { transform: scale(1.12); transition: transform 1.6s var(--ease), clip-path 1.15s cubic-bezier(.65, 0, .25, 1); }
.js [data-wipe].is-in img { transform: none; }
.js .shot[data-wipe].is-in:hover img { transform: scale(1.05); }
.js .shot[data-wipe] { background: transparent; }
.js .shot[data-wipe] .shot__cap { opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease) .45s, transform .4s var(--ease) .45s; }
.js .shot[data-wipe] img { transition: transform 1.1s var(--ease), clip-path .75s cubic-bezier(.65, 0, .25, 1); }
.js .shot[data-wipe].is-in .shot__cap { opacity: 1; transform: none; }

/* Adesivo sulla foto di coppia, timbro, righe del preventivo */
.js .about__photo .sticker--note { opacity: 0; scale: .3; transition: opacity .3s ease .6s, scale .55s var(--pop) .6s; }
.js .about__photo.is-in .sticker--note { opacity: 1; scale: 1; }
.js .stamp { opacity: 0; scale: 1.9; transition: opacity .25s ease 1.1s, scale .45s cubic-bezier(.5, 0, .75, 0) 1.1s; }
.js .sheet.is-in .stamp { opacity: 1; scale: 1; }
.js .sheet__rows li { opacity: 0; transform: translateX(-12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .sheet.is-in .sheet__rows li { opacity: 1; transform: none; }
.js .sheet.is-in .sheet__rows li:nth-child(1) { transition-delay: .2s; }
.js .sheet.is-in .sheet__rows li:nth-child(2) { transition-delay: .32s; }
.js .sheet.is-in .sheet__rows li:nth-child(3) { transition-delay: .44s; }
.js .sheet.is-in .sheet__rows li:nth-child(4) { transition-delay: .56s; }
.js .sheet.is-in .sheet__rows li:nth-child(5) { transition-delay: .68s; }

/* ---------- Pagine legali (privacy, cookie) ---------- */
.legal-nav { background: var(--white); border-bottom: 1px solid var(--line); }
.legal-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.legal-nav img { width: 180px; height: auto; }
.legal-back { font-weight: 600; font-size: 1rem; color: var(--brand); text-decoration: none; }
.legal-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.legal { max-width: calc(760px + var(--gutter) * 2); padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 96px); }
.legal .h2 { margin-bottom: 16px; }
.legal__meta { font-size: .98rem; color: var(--ink-soft); padding-bottom: 28px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.legal h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.2; margin: 40px 0 12px; }
.legal h3 { font-size: 1.08rem; font-weight: 600; margin: 22px 0 6px; }
.legal a { color: var(--brand); font-weight: 600; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal__list { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; display: grid; gap: 8px; }
.legal__table { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin: 8px 0 20px; background: var(--white); }
.legal__row { display: grid; grid-template-columns: 1.2fr 1fr; }
.legal__row > span { padding: 14px 18px; font-size: 1rem; line-height: 1.5; }
.legal__row + .legal__row { border-top: 1px solid var(--line); }
.legal__row > span + span { border-left: 1px solid var(--line); }
.legal__row--head { background: var(--stone); font-weight: 600; }
.legal .placeholder { background: rgba(255, 196, 0, .28); }

/* Lavori su schermo largo: titolo su una riga, prima/dopo e preventivo
   alti uguali e affiancati, dimensionati sull'altezza dello schermo così
   la sezione intera sta in una schermata. */
@media (min-width: 901px) {
  #lavori .section-head { max-width: none; margin-bottom: clamp(28px, 2.6vw, 40px); }
  #lavori .section-head .h2 { font-size: clamp(2.2rem, 3.5vw, 3.7rem); margin-bottom: 14px; }
  #lavori .section-head .lead { max-width: 40em; }
}
@media (min-width: 1180px) {

  .feature {
    --ba-h: clamp(32rem, calc(100svh - var(--nav-h) - 23rem), 40rem);
    --thumb-w: calc((var(--ba-h) - 30px) / 4 * .75);
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(40px, 5vw, 80px);
    align-items: start;
  }
  .feature__media {
    display: grid;
    grid-template-columns: var(--thumb-w) calc(var(--ba-h) * .75);
    grid-template-areas: "tabs ba" "tabs hint" "tabs cap";
    column-gap: 14px;
  }
  .ba { grid-area: ba; width: 100%; max-width: none; height: var(--ba-h); aspect-ratio: auto; margin: 0; }
  .feature__hint { grid-area: hint; }
  .ba-caption { grid-area: cap; max-width: none; }
  .ba-tabs {
    grid-area: tabs; align-self: start;
    grid-template-columns: 1fr; grid-template-rows: repeat(4, minmax(0, 1fr));
    height: var(--ba-h); max-width: none; margin: 0;
  }
  .ba-tab { position: relative; display: block; height: 100%; }
  .ba-tab img { height: 100%; aspect-ratio: auto; }
  .ba-tab span {
    position: absolute; left: 6px; bottom: 6px; padding: 2px 7px;
    border-radius: 4px; background: rgba(255, 255, 255, .92);
    font-size: .78rem; line-height: 1.3; color: var(--ink);
  }
  .ba-tab.is-active span { background: var(--brand); color: #fff; }
  .ba-tab:hover img { transform: translateX(2px); }

  .sheet {
    display: flex; flex-direction: column;
    min-height: var(--ba-h);
    padding-top: clamp(28px, 3vw, 40px); padding-bottom: clamp(24px, 3vw, 36px);
  }
  .sheet__title { max-width: none; margin-bottom: 14px; }
  .sheet__rows { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; }
  .sheet__rows li { padding: 10px 0; }
  .sheet__foot { margin-bottom: 18px; }
  .sheet .btn { margin-top: auto; }
}

/* Tablet orizzontale e portatili piccoli: prima/dopo e preventivo uno sotto l'altro, centrati */
@media (min-width: 901px) and (max-width: 1179px) {
  .feature { grid-template-columns: minmax(0, 1fr); max-width: 36rem; margin-inline: auto; gap: 48px; }
}

/* =========================================================
   Responsive
   ========================================================= */
/* Schermi grandi: contenitore più largo e scala di base più alta */
/* Desktop: l'hero riempie la prima schermata, il nastro si affaccia in fondo */
@media (min-width: 1100px) and (min-height: 700px) {
  .hero { min-height: calc(100vh - 56px); min-height: calc(100svh - 56px); display: flex; align-items: center; }
  .hero__grid { width: 100%; }
  .hero__visual { max-width: min(40rem, calc((100svh - var(--nav-h) - 120px) / 1.1)); }
}
@media (min-width: 1600px) {
  html { font-size: 17px; }
  :root { --wrap: 1400px; }
}
@media (min-width: 2000px) {
  html { font-size: 18.5px; }
  :root { --wrap: 1600px; --nav-h: 96px; }
}
@media (min-width: 2400px) {
  html { font-size: 20px; }
  :root { --wrap: 1800px; --nav-h: 104px; }
}

@media (max-width: 1100px) {
  .nav__links { gap: 22px; }
  .nav__cta { display: none; }
  .nav__menu-cta { display: inline-flex; min-height: 46px; padding: 8px 18px; font-size: 1rem; }
}

@media (max-width: 900px) {
  :root { --nav-h: 70px; }
  body { font-size: 1.0625rem; }

  .nav__logo img { width: 168px; }
  .nav__toggle {
    display: inline-flex; align-items: center; gap: 8px; margin-left: auto;
    min-height: 46px; padding: 8px 14px;
    background: transparent; border: 2px solid var(--ink); border-radius: 12px;
    font: 600 1rem var(--font-body); color: var(--ink); cursor: pointer;
  }
  .nav__toggle .ic { font-size: 1.3rem; }
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--page); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(31, 24, 23, .3);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open .nav__links { opacity: 1; transform: none; visibility: visible; }
  .nav__links a:not(.btn) { padding: 16px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__menu-cta { margin-top: 18px; min-height: 58px; font-size: 1.08rem; }

  .hero { padding-top: calc(var(--nav-h) + 28px); padding-bottom: 64px; }
  .hero::before { -webkit-mask-image: linear-gradient(transparent 35%, #000 80%); mask-image: linear-gradient(transparent 35%, #000 80%); }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .place { margin-bottom: 16px; font-size: 1rem; }
  .hero__title { font-size: min(2.7rem, 9.4vw); margin-bottom: 18px; }
  .hero__sub { margin-bottom: 26px; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 16px; margin-bottom: 22px; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .link-arrow { justify-content: center; }
  .hero__visual { justify-self: center; max-width: 440px; aspect-ratio: 1 / 1.02; }
  .sticker { font-size: 1.15rem; }
  .sticker--anna { left: 2%; }
  .sticker--salvatore { left: 78%; }

  .ribbon__list li { font-size: 1.12rem; }

  .about, .feature, .contact { grid-template-columns: 1fr; }
  .about__photo { width: 100%; max-width: 300px; margin-inline: auto; }
  .roles { grid-template-columns: 1fr; }
  .role { padding: 26px 0 0; }
  .role + .role { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 26px; }
  .promises { grid-template-columns: 1fr; }
  .promises li { padding: 18px 0; }
  .promises li + li { border-left: 0; border-top: 1px solid var(--line); }

  .sheet { margin-top: 24px; }
  .stamp { width: 96px; height: 96px; top: -32px; right: -6px; }

  .strip__sticky { scroll-snap-type: x mandatory; }
  .strip__track { transform: none !important; }
  .shot { width: 68vw; max-width: 300px; scroll-snap-align: center; }
  .shot:nth-child(even) { margin-top: 0; }

  .more { grid-template-columns: 1fr; }
  .more__media { display: none; }
  .more__inline { display: block; position: relative; margin: 0 0 24px; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--media); }
  .more__inline img, .more__inline .clima { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
  .more__title button .ic { opacity: 1; transform: rotate(90deg) scale(.9); }
  .more__item:not(.is-active) .more__title button .ic { transform: none; }

  .reviews-head { flex-direction: column; align-items: flex-start; }
  .gbadge { rotate: 0deg; }

  .wa-float { left: 16px; right: 16px; bottom: 16px; justify-content: center; padding: 12px 20px; font-size: 1.05rem; rotate: 0deg; }
}

@media (max-width: 1099px) { .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .wall { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .pager { width: 100%; }
  .pager__next { flex: 1; }
}

@media (max-width: 560px) {
  .info > div { grid-template-columns: 1fr; gap: 4px; }
  .sheet { --margin: 38px; }
  .sheet__rows li { font-size: 1rem; align-items: center; justify-content: space-between; }
  .sheet__rows i { display: none; }
  .legal__row { grid-template-columns: 1fr; }
  .legal__row > span + span { border-left: 0; padding-top: 0; color: var(--ink-soft); }
}

/* Rispetto per chi ha disattivato le animazioni */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
  .ribbon__track { width: auto; }
  .ribbon__list[aria-hidden="true"] { display: none; }
  .ribbon__list { flex-wrap: wrap; justify-content: center; gap: 12px 40px; padding: 0 var(--gutter); }
  .ribbon__list li { white-space: normal; }
  .strip__track { transform: none !important; }
}
