/* =========================================================
   Portata — sito agenzia
   Colori e font dal manuale del brand (v2, novembre 2026)
   ========================================================= */

:root {
  --carta: #FFF6E9;
  --carta-2: #FFFCF6;
  --ink: #1F1A17;
  --ink-2: #6B5E55;
  --rosso: #C8381C;
  --rosso-dark: #A82D15;
  --cipria: #F9D5C8;
  --tinta: #FCE7DC;
  --verde: #2F7D4F;
  --giallo: #F6C343;
  --bordo: #EADBC8;

  --f-title: "Bricolage Grotesque", system-ui, sans-serif;
  --f-text: "DM Sans", system-ui, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 28px;
  --r-full: 999px;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);

  /* curve "a molla": fallback semplice, sostituito sotto se il browser supporta linear() */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.3, .64, 1);
  --spring-bouncy: cubic-bezier(.34, 1.56, .64, 1);
  --spring-slow: cubic-bezier(.22, 1, .36, 1);
  --spring-dur: .52s;
  --spring-bouncy-dur: .7s;
}

@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(0,.0226 2.08%,.0652 4.17%,.1297 6.25%,.1974 8.33%,.2784 10.42%,.3529 12.5%,.4346 14.58%,.5051 16.67%,.5786 18.75%,.6396 20.83%,.7011 22.92%,.7506 25%,.7992 27.08%,.8372 29.17%,.8736 31.25%,.9015 33.33%,.9275 35.42%,.9469 37.5%,.9645 39.58%,.9773 41.67%,.9885 43.75%,.9962 45.83%,1.0028 47.92%,1.007 50%,1.0122 54.17%,1.0138 58.33%,1.0132 62.5%,1.0115 66.67%,1.0094 70.83%,1.0073 75%,1.0054 79.17%,1.0038 83.33%,1.0025 87.5%,1.0015 91.67%,1.0009 95.83%,1);
    --spring-bouncy: linear(0,.0473 2.08%,.1427 4.17%,.2812 6.25%,.4251 8.33%,.5831 10.42%,.7316 12.5%,.8527 14.58%,.9619 16.67%,1.0405 18.75%,1.1017 20.83%,1.1398 22.92%,1.1572 25%,1.1602 27.08%,1.1518 29.17%,1.1341 31.25%,1.1111 33.33%,1.0878 35.42%,1.0625 37.5%,1.0408 39.58%,1.0202 41.67%,1.0033 43.75%,.9914 45.83%,.9823 47.92%,.9768 50%,.9744 54.17%,.9791 58.33%,.9866 62.5%,.9941 66.67%,.9999 70.83%,1.0031 75%,1.0041 79.17%,1.0038 83.33%,1.0027 87.5%,1.0014 91.67%,1.0004 95.83%,1);
    --spring-slow: linear(0,.019 2.08%,.0579 4.17%,.1164 6.25%,.1859 8.33%,.2615 10.42%,.3334 12.5%,.4109 14.58%,.4858 16.67%,.5513 18.75%,.6174 20.83%,.6777 22.92%,.7321 25%,.7768 27.08%,.8196 29.17%,.8566 31.25%,.8861 33.33%,.9134 35.42%,.9361 37.5%,.9536 39.58%,.9692 41.67%,.9816 43.75%,.9914 45.83%,.9984 47.92%,1.0042 50%,1.011 54.17%,1.0138 58.33%,1.014 62.5%,1.0127 66.67%,1.0108 70.83%,1.0086 75%,1.0066 79.17%,1.0048 83.33%,1.0033 87.5%,1.0022 91.67%,1.0013 95.83%,1);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--carta);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-title); font-weight: 700; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--rosso); color: var(--carta); }
:focus-visible { outline: 3px solid var(--rosso); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.label {
  font-family: var(--f-text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rosso);
  margin-bottom: 18px;
}
.lead { color: var(--ink-2); font-size: 19px; max-width: 34em; margin-top: 22px; }

/* ---------- bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 26px;
  border-radius: var(--r-full);
  font-weight: 600; font-size: 16px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-red { background: var(--rosso); color: var(--carta); }
.btn-red:hover { background: var(--rosso-dark); }
.btn-ink { background: var(--ink); color: var(--carta); }
.btn-ink:hover { background: #000; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--carta); }
.btn-full { width: 100%; }
.btn-arrow {
  width: 30px; height: 30px; margin-right: -12px;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--carta); color: var(--rosso);
  overflow: hidden;
}
.btn-arrow svg, .work-go svg { width: 16px; height: 16px; }
.group:hover .btn-arrow svg, .group:hover .work-go svg { animation: arrow-out .52s var(--spring) both; }
@keyframes arrow-out {
  0% { translate: 0 0; }
  45% { translate: 16px -16px; }
  46% { translate: -16px 16px; }
  100% { translate: 0 0; }
}

.press { transition: scale var(--spring-dur) var(--spring-bouncy), background-color .2s ease, color .2s ease, border-color .2s ease; }
.press:active { scale: .95; }

.link-under {
  font-weight: 600;
  background: linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 2px no-repeat;
  padding-bottom: 2px;
  transition: background-size .45s var(--ease-out);
}
.link-under:hover { background-size: 0 2px; background-position: 100% 100%; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--rosso); }
.logo-mark { width: 34px; height: 34px; fill: currentColor; }
.logo span { font-family: var(--f-title); font-weight: 700; font-size: 26px; letter-spacing: -0.03em; }
.logo-light { color: var(--carta); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: translate .45s var(--ease-out), background-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--carta) 86%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--bordo);
}
.site-header.is-hidden { translate: 0 -100%; }
/* col menu aperto il blur non deve limitare il menu a schermo intero */
.site-header.menu-open { translate: 0 0; -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--carta); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav { display: flex; align-items: center; gap: 30px; font-weight: 600; font-size: 15px; }
.nav a:not(.nav-cta) { position: relative; }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--rosso); scale: 0 1; transform-origin: right;
  transition: scale .4s var(--ease-out);
}
.nav a:not(.nav-cta):hover::after { scale: 1 1; transform-origin: left; }
.nav-cta { background: var(--ink); color: var(--carta); padding: 11px 20px; border-radius: var(--r-full); }
.nav-cta:hover { background: #000; }
.menu-toggle { display: none; }

/* ---------- testo cinetico (parola per parola) ---------- */
.kin__line { display: block; }
.kin__w { display: inline-block; vertical-align: top; clip-path: inset(-.25em -.2em -.22em -.2em); }
.kin__i { display: inline-block; }
.kin__pill {
  display: inline-block;
  background: var(--rosso); color: var(--carta);
  border-radius: .26em;
  line-height: 1.04;
  margin: 0 .02em;
  padding: 0 .16em .06em;
  transform-origin: 20% 80%;
  transition: border-radius var(--spring-dur) var(--spring), rotate var(--spring-bouncy-dur) var(--spring-bouncy), scale var(--spring-bouncy-dur) var(--spring-bouncy);
}
.kin__pill:hover { border-radius: .62em; rotate: -4deg; scale: 1.04; }
.kin__w--pill { clip-path: none; }

.kin--load .kin__i { animation: kin-up 1.1s var(--spring-slow) both; animation-delay: var(--d); }
.kin--load .kin__pill { animation: kin-pill .95s var(--spring-bouncy) both; animation-delay: var(--d); }
@keyframes kin-up { from { transform: translateY(125%) rotate(7deg); } to { transform: none; } }
@keyframes kin-pill { from { border-radius: 1em; transform: scale(.2, .6) rotate(-10deg); } to { transform: none; } }

.kin--view .kin__i { transform: translateY(125%) rotate(7deg); transition: transform 1.1s var(--spring-slow); transition-delay: var(--d); }
.kin--view .kin__pill { transform: scale(.2, .6) rotate(-10deg); transition: transform .95s var(--spring-bouncy) var(--d), border-radius var(--spring-dur) var(--spring), rotate var(--spring-bouncy-dur) var(--spring-bouncy), scale var(--spring-bouncy-dur) var(--spring-bouncy); }
.kin--view.is-in .kin__i, .kin--view.is-in .kin__pill { transform: none; }

/* ---------- comparsa allo scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(40px) scale(.96);
  transition: opacity .7s ease, transform .9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- sezioni ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-tint { background: var(--tinta); }
.section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
h2 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); line-height: 1.02; max-width: 15em; }
.center h2 { margin: 0 auto; }

/* anelli decorativi: l'svg esterno non ha viewBox, quindi serve l'aspect-ratio */
.hero-ring, .quote-ring, .shooting-ring, .spot-ring, .offer-ring { aspect-ratio: 1; height: auto; }

/* ---------- hero ---------- */
.hero { padding: clamp(120px, 15vw, 170px) 0 clamp(60px, 8vw, 100px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 5.6rem); line-height: 1; letter-spacing: -0.02em; }
.hero-sub { margin-top: 28px; font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 30em; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--verde); }

.hero-visual { position: relative; aspect-ratio: 1 / 1.02; --mx: 0; --my: 0; }
.hero-ring {
  position: absolute; width: 74%; right: -12%; top: 4%;
  fill: var(--rosso);
  animation: blob-in 1.4s var(--spring-slow) backwards .12s;
  translate: calc(var(--mx) * -14px) calc(var(--my) * -14px);
  transition: translate .9s var(--spring);
}
@keyframes blob-in { from { opacity: 0; scale: .6; rotate: -30deg; } }

.fly-card {
  position: absolute; left: var(--x); top: var(--y);
  width: 66%;
  background: var(--carta-2);
  border-radius: var(--r-md);
  padding: 26px 6px 6px;
  box-shadow: 0 30px 60px -28px rgba(31, 26, 23, .45), 0 0 0 1px rgba(31, 26, 23, .06);
  rotate: var(--rot);
  translate: calc(var(--mx) * var(--depth) * 1px) calc(var(--my) * var(--depth) * 1px);
  transition: translate .7s var(--spring), rotate var(--spring-bouncy-dur) var(--spring-bouncy), scale var(--spring-bouncy-dur) var(--spring-bouncy);
  animation: deal 1.2s var(--spring-slow) backwards;
  animation-delay: var(--deal);
}
.fly-card::before {
  content: ""; position: absolute; left: 12px; top: 10px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--rosso);
  box-shadow: 12px 0 0 var(--giallo), 24px 0 0 var(--verde);
}
.fly-card img { background: var(--tinta); font-size: 0; color: transparent;
   width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: var(--r-sm); }
.fly-card.fly-site { width: 64%; z-index: 1; }
.fly-card.fly-post { width: 40%; padding: 6px; border-radius: 18px; z-index: 2; }
.fly-card.fly-post::before { display: none; }
.fly-card.fly-post img { aspect-ratio: 4 / 5; border-radius: 13px; }
.fly-card:hover { rotate: 0deg; scale: 1.04; z-index: 3; }
@keyframes deal {
  0% { opacity: 0; transform: translate3d(0, 120px, 0) rotate(var(--deal-rot)) scale(.82); }
  40% { opacity: 1; }
  100% { transform: none; }
}
.sticker {
  position: absolute; right: 2%; bottom: 10%;
  background: var(--giallo); color: var(--ink);
  font-weight: 600; font-size: 14px; line-height: 1.2; text-align: center;
  padding: 16px 20px; border-radius: var(--r-full);
  rotate: 8deg;
  translate: calc(var(--mx) * var(--depth) * 1px) calc(var(--my) * var(--depth) * 1px);
  transition: translate .7s var(--spring);
  animation: pop .9s var(--spring-bouncy) backwards 1s;
  z-index: 4;
}
.sticker strong { display: block; font-family: var(--f-title); font-size: 22px; letter-spacing: -0.02em; margin-top: 2px; }
.sticker:hover { scale: 1.06; }
.chip-float {
  position: absolute; left: 40%; top: 0;
  background: var(--ink); color: var(--carta);
  font-weight: 600; font-size: 14px;
  padding: 10px 18px; border-radius: var(--r-full);
  rotate: -4deg;
  translate: calc(var(--mx) * var(--depth) * 1px) calc(var(--my) * var(--depth) * 1px);
  transition: translate .7s var(--spring);
  animation: pop .9s var(--spring-bouncy) backwards 1.15s;
  z-index: 4;
}
@keyframes pop { from { opacity: 0; scale: .3; } }

/* ---------- marquee settori ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--bordo); padding: 22px 0; background: var(--carta); }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--f-title); font-weight: 600; font-size: clamp(22px, 2.6vw, 32px); white-space: nowrap; letter-spacing: -0.02em; }
.marquee i { width: 18px; height: 18px; border-radius: 50%; border: 6px solid var(--rosso); flex: none; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- lavori ---------- */
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work {
  display: block; padding: 10px;
  background: var(--carta-2);
  border-radius: var(--r-lg);
  box-shadow: 0 0 0 1px var(--bordo);
  transition: box-shadow .3s ease, translate .6s var(--spring);
}
.work:hover { translate: 0 -4px; box-shadow: 0 0 0 1px var(--bordo), 0 30px 50px -30px rgba(31, 26, 23, .35); }
/* computer + telefono */
.work-stage {
  position: relative;
  padding: clamp(18px, 3vw, 34px) clamp(18px, 3vw, 34px) 0;
  border-radius: calc(var(--r-lg) - 8px);
  background: var(--cipria);
  overflow: hidden;
  aspect-ratio: 16 / 11.5;
}
.browser {
  width: 88%;
  border-radius: 12px 12px 0 0;
  background: var(--carta-2);
  box-shadow: 0 30px 50px -30px rgba(31, 26, 23, .5), 0 0 0 1px rgba(31, 26, 23, .06);
  overflow: hidden;
  transition: translate .8s var(--spring), rotate .8s var(--spring);
}
.browser-bar { display: flex; align-items: center; gap: 10px; height: 26px; padding: 0 12px; background: var(--carta); border-bottom: 1px solid var(--bordo); }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--rosso); box-shadow: 11px 0 0 var(--giallo), 22px 0 0 var(--verde); margin-right: 22px; flex: none; }
.browser-bar b { font-weight: 600; font-size: 11px; color: var(--ink-2); background: var(--carta-2); border-radius: 6px; padding: 2px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.mini-phone {
  position: absolute; right: 5%; bottom: -12%;
  width: 27%;
  padding: 5px;
  border-radius: 22px;
  background: var(--ink);
  box-shadow: 0 30px 50px -20px rgba(31, 26, 23, .55);
  rotate: 4deg;
  transition: translate .8s var(--spring-bouncy), rotate .8s var(--spring-bouncy);
}
.mini-phone img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 17px; }
.work:hover .browser { translate: 0 -6px; rotate: -1deg; }
.work:hover .mini-phone { translate: 0 -10%; rotate: -3deg; }
.work-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 10px 8px; }
.work-meta h3 { font-size: 21px; letter-spacing: -0.02em; }
.work-meta p { color: var(--ink-2); font-size: 14px; margin-top: 2px; }
.work-go {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; overflow: hidden;
  background: var(--carta); box-shadow: 0 0 0 1px var(--bordo);
  transition: background-color .25s ease, color .25s ease, border-radius var(--spring-dur) var(--spring), rotate var(--spring-bouncy-dur) var(--spring-bouncy);
}
.group:hover .work-go { background: var(--rosso); color: var(--carta); box-shadow: none; border-radius: 14px; rotate: -8deg; }

/* ---------- lavori social ---------- */
.ig-case {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(28px, 4vw, 48px) 0;
}
.ig-case + .ig-case { border-top: 1px solid var(--bordo); }
.ig-case--flip .ig-info { order: 2; }
.ig-handle { font-weight: 600; font-size: 14px; color: var(--rosso); }
.ig-info h3 { font-size: clamp(32px, 4vw, 46px); margin-top: 8px; }
.ig-sector { color: var(--ink-2); font-weight: 600; font-size: 15px; margin-top: 4px; }
.ig-text { margin-top: 18px; color: var(--ink-2); max-width: 30em; }
.ig-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0 28px; max-width: 440px; }
.ig-stats li { background: var(--carta-2); box-shadow: 0 0 0 1px var(--bordo); border-radius: var(--r-md); padding: 12px 14px; }
.ig-stats strong { display: block; font-family: var(--f-title); font-size: 30px; line-height: 1; color: var(--rosso); }
.ig-stats span { display: block; font-size: 13px; color: var(--ink-2); margin-top: 4px; }

.ig-show { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: clamp(14px, 2vw, 24px); align-items: center; }
.phone {
  position: relative;
  padding: 7px;
  border-radius: 34px;
  background: var(--ink);
  box-shadow: 0 40px 60px -30px rgba(31, 26, 23, .55), inset 0 0 0 1px rgba(255, 255, 255, .08);
  rotate: -3deg;
  transition: rotate var(--spring-bouncy-dur) var(--spring-bouncy), scale var(--spring-bouncy-dur) var(--spring-bouncy);
}
.phone:hover { rotate: 0deg; scale: 1.03; }
/* schermo 9:16 come i reel e le storie: niente tagli */
.phone-screen { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 27px; background: #000; }
/* etichetta sotto il telefono, mai sopra il contenuto */
.phone-tag {
  position: absolute; bottom: -16px; left: 50%; translate: -50% 0;
  background: var(--rosso); color: var(--carta);
  font-weight: 600; font-size: 12px; white-space: nowrap;
  padding: 6px 12px; border-radius: var(--r-full);
  box-shadow: 0 8px 18px -8px rgba(31, 26, 23, .5);
}
.ig-show--gs { display: block; position: relative; aspect-ratio: 1 / .92; }
.ig-show--gs .phone { position: absolute; width: 36%; top: 0; left: 2%; z-index: 1; }
.ig-show--gs .phone--alt { left: auto; right: 2%; top: 9%; rotate: 4deg; }
.ig-show--gs .phone--alt:hover { rotate: 0deg; }
.ig-show--gs .gs-post { position: absolute; width: 42%; left: 29%; top: 26%; z-index: 2; }
.gs-post {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 30px 50px -28px rgba(31, 26, 23, .45);
  rotate: -2deg;
  transition: rotate var(--spring-bouncy-dur) var(--spring-bouncy), scale var(--spring-bouncy-dur) var(--spring-bouncy);
}
.gs-post:hover { rotate: 0deg; scale: 1.04; }
.ig-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 28px; }
.ig-tags li { background: var(--carta-2); box-shadow: 0 0 0 1px var(--bordo); border-radius: var(--r-full); padding: 8px 14px; font-weight: 600; font-size: 14px; }
.ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ig-grid img { min-width: 0; display: block; background: var(--tinta); font-size: 0; color: transparent; }
/* feed vero: riquadri 3:4 come nel profilo, spazi sottili */
.ig-grid--feed { gap: 3px; border-radius: 14px; overflow: hidden; }
.ig-grid--feed img { aspect-ratio: 3 / 4; border-radius: 0; }
.ig-grid--feed img:hover { border-radius: 8px; }
.ig-stats strong { white-space: nowrap; }
.ig-grid img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 10px;
  transition: scale var(--spring-bouncy-dur) var(--spring-bouncy), rotate var(--spring-bouncy-dur) var(--spring-bouncy), box-shadow .3s ease;
}
.ig-grid img:hover { scale: 1.12; rotate: -3deg; position: relative; z-index: 2; box-shadow: 0 24px 40px -18px rgba(31, 26, 23, .5); }

/* ---------- recensione ---------- */
.quote-section { overflow: hidden; }
.quote-section .wrap { position: relative; }
.quote-ring { position: absolute; width: 260px; right: -60px; top: -90px; fill: var(--cipria); z-index: -1; }
.quote {
  margin: 0; max-width: 20em;
  font-family: var(--f-title); font-weight: 600;
  font-size: clamp(1.9rem, 4.2vw, 3.5rem); line-height: 1.12; letter-spacing: -0.025em;
  --p: 1;
}
.js .quote .qw {
  opacity: clamp(.16, calc((var(--p) * 1.12 - var(--i)) * 14 + .16), 1);
  transition: opacity .25s linear;
}
.quote-author { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.quote-author .quote-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--rosso); color: var(--carta);
  font-family: var(--f-title); font-weight: 700; font-size: 22px;
}
.quote-author strong { display: block; }
.quote-author span { color: var(--ink-2); font-size: 15px; }

/* ---------- servizi ---------- */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.services-grid > div:first-child { position: sticky; top: 120px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip {
  padding: 9px 16px; border-radius: 16px;
  background: var(--carta-2); box-shadow: 0 0 0 1px var(--bordo);
  font-weight: 600; font-size: 14px;
  cursor: default;
  transition: scale var(--spring-bouncy-dur) var(--spring-bouncy), border-radius var(--spring-dur) var(--spring), rotate var(--spring-bouncy-dur) var(--spring-bouncy), background-color .25s ease, color .25s ease;
}
.chip:hover { background: var(--ink); color: var(--carta); border-radius: 28px; rotate: -8deg; scale: 1.12; }

.services { border-top: 1px solid var(--bordo); }
.service {
  display: grid; grid-template-columns: 48px 1fr 56px; gap: 18px; align-items: center;
  padding: 28px 0; border-bottom: 1px solid var(--bordo);
}
.service-num { font-weight: 600; color: var(--ink-2); font-size: 14px; }
.service-label { font-size: clamp(26px, 3vw, 34px); transition: translate var(--spring-dur) var(--spring-bouncy), color .25s ease; }
.service-body p { color: var(--ink-2); margin-top: 6px; transition: color .25s ease; }
.service-icon {
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 50%; background: var(--cipria); color: var(--rosso);
  transition: border-radius var(--spring-dur) var(--spring), rotate var(--spring-bouncy-dur) var(--spring-bouncy), scale var(--spring-bouncy-dur) var(--spring-bouncy), background-color .25s ease, color .25s ease;
}
.service-icon svg { width: 26px; height: 26px; fill: currentColor; }
.service:hover .service-icon { border-radius: 18px; rotate: -10deg; scale: 1.08; background: var(--rosso); color: var(--carta); }
.service:hover .service-label { translate: 10px 0; }
.services:has(.service:hover) .service:not(:hover) .service-label,
.services:has(.service:hover) .service:not(:hover) p { color: #BFB2A6; }

/* ---------- qualità ---------- */
.proofs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.proof {
  background: var(--carta); border-radius: var(--r-lg);
  padding: 28px 24px 30px;
  transition: translate .6s var(--spring), rotate .7s var(--spring-bouncy);
}
.proof:hover { translate: 0 -6px; rotate: -1.2deg; }
.proof-num {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--rosso); color: var(--rosso);
  font-family: var(--f-title); font-weight: 700; font-size: 18px;
  margin-bottom: 40px;
}
.proof h3 { font-size: 22px; line-height: 1.15; }
.proof p { color: var(--ink-2); margin-top: 10px; font-size: 16px; }

/* ---------- metodo ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; --p: 0; }
.steps-line { position: absolute; left: 9px; right: 9px; top: 9px; height: 2px; background: var(--bordo); border-radius: 2px; }
.steps-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); background: var(--rosso); border-radius: 2px; }
.step { position: relative; padding-top: 46px; }
.step-dot {
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--carta); box-shadow: inset 0 0 0 2px var(--bordo);
  transition: background-color .3s ease, box-shadow .3s ease, scale var(--spring-dur) var(--spring-bouncy);
}
.step.is-on .step-dot { background: var(--rosso); box-shadow: 0 0 0 6px var(--cipria); scale: 1.15; }
.step-n { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.step h3 { font-size: 26px; margin-top: 8px; transition: color .3s ease; }
.step p:last-child { color: var(--ink-2); margin-top: 10px; }
.step:not(.is-on) h3 { color: #A99A8E; }

/* ---------- prezzi ---------- */
.offer {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  padding: clamp(30px, 5vw, 60px);
  border-radius: clamp(24px, 3vw, 40px);
  background: var(--rosso); color: var(--carta);
}
.offer-ring { position: absolute; z-index: -1; width: 380px; left: -120px; bottom: -190px; fill: rgba(255, 246, 233, .12); animation: spin 50s linear infinite; }
.offer-label { font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--cipria); }
.offer h3 { font-size: clamp(40px, 6vw, 72px); line-height: 1; margin-top: 10px; }
.offer-sub { margin-top: 16px; color: #FCE3D8; font-size: 18px; max-width: 26em; }
.offer-price {
  display: inline-flex; align-items: baseline; gap: 10px;
  margin-top: 26px; padding: 12px 26px 14px 22px;
  background: var(--giallo); color: var(--ink);
  border-radius: var(--r-full); rotate: -3deg;
  transition: rotate var(--spring-bouncy-dur) var(--spring-bouncy), scale var(--spring-bouncy-dur) var(--spring-bouncy);
}
.offer:hover .offer-price { rotate: 2deg; scale: 1.05; }
.offer-price strong { font-family: var(--f-title); font-size: clamp(44px, 5vw, 60px); line-height: 1; letter-spacing: -0.03em; }
.offer-price span { font-weight: 600; font-size: 17px; }
.offer-month { margin-top: 14px; font-weight: 600; color: var(--cipria); }
.offer-side {
  background: rgba(31, 26, 23, .18);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 32px);
}
.offer-side ul { display: grid; gap: 14px; margin-bottom: 26px; }
.offer-side li { position: relative; padding-left: 30px; }
.offer-side li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 18px; height: 18px; border-radius: 50%;
  border: 5px solid var(--giallo);
}
.btn-carta { background: var(--carta); color: var(--ink); width: 100%; }
.btn-carta:hover { background: #fff; }
.btn-carta .btn-arrow { background: var(--rosso); color: var(--carta); }
.offer-or { text-align: center; color: var(--ink-2); font-weight: 600; margin: 44px 0 18px; }

.tabs {
  position: relative; display: flex; width: max-content; margin: 0 auto 40px;
  padding: 6px; border-radius: var(--r-full);
  background: var(--carta); box-shadow: 0 0 0 1px var(--bordo);
}
.tabs button {
  position: relative; z-index: 1;
  border: 0; background: none; cursor: pointer;
  padding: 12px 24px; border-radius: var(--r-full);
  font-weight: 600; font-size: 15px;
  transition: color .3s ease, scale var(--spring-dur) var(--spring-bouncy);
}
.tabs button[aria-selected="true"] { color: var(--carta); }
.tabs-ind {
  position: absolute; top: 6px; bottom: 6px; left: 0;
  border-radius: var(--r-full); background: var(--ink);
  width: var(--w, 0); translate: var(--x, 0) 0;
  transition: translate .6s var(--spring-bouncy), width .6s var(--spring);
}

.panel:not([hidden]) { animation: rise .7s var(--spring) both; }
@keyframes rise { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price {
  position: relative; display: flex; flex-direction: column;
  background: var(--carta); border-radius: var(--r-lg);
  padding: 34px 30px 30px;
  box-shadow: 0 0 0 1px var(--bordo);
}
.price h3 { font-size: 30px; }
.price-for { color: var(--ink-2); margin-top: 6px; }
.price-tag {
  display: inline-flex; align-items: baseline; gap: 8px; align-self: flex-start;
  margin: 24px 0 26px; padding: 10px 20px 10px 18px;
  background: var(--giallo); color: var(--ink);
  border-radius: var(--r-full); rotate: -2deg;
  transition: rotate var(--spring-bouncy-dur) var(--spring-bouncy), scale var(--spring-bouncy-dur) var(--spring-bouncy);
}
.price:hover .price-tag { rotate: 2deg; scale: 1.06; }
.price-tag strong { font-family: var(--f-title); font-size: 34px; line-height: 1; letter-spacing: -0.03em; }
.price-tag span { font-size: 14px; font-weight: 600; }
.price ul { display: grid; gap: 12px; align-content: start; margin-bottom: 28px; flex: 1; }
.price li { position: relative; padding-left: 28px; font-size: 16px; }
.price li::before {
  content: ""; position: absolute; left: 0; top: .32em;
  width: 16px; height: 16px; border-radius: 50%;
  border: 5px solid var(--rosso);
}
.price-why { font-size: 15px; padding: 14px 16px; border-radius: var(--r-md); margin: -8px 0 24px; }
.price-main { background: var(--ink); color: var(--carta); box-shadow: none; }
.price-main .price-for, .price-main .price-why { color: #D9CCBF; }
.price-main .price-why { background: rgba(255, 246, 233, .08); }
.price-main li::before { border-color: var(--cipria); }
.price-badge {
  position: absolute; top: 22px; right: 22px;
  background: var(--rosso); color: var(--carta);
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--r-full);
}
.price .btn { width: 100%; }
.price-main .btn-line { border-color: var(--carta); color: var(--carta); }

.shooting {
  position: relative; overflow: hidden;
  margin-top: 28px; padding: clamp(28px, 4vw, 44px);
  border-radius: var(--r-lg);
  background: var(--rosso); color: var(--carta);
}
.shooting > div { position: relative; max-width: 40em; }
.shooting .label { color: var(--cipria); margin-bottom: 10px; }
.shooting h3 { font-size: clamp(26px, 3vw, 36px); }
.shooting p:last-child { margin-top: 12px; color: #FCE3D8; }
.shooting-ring { position: absolute; width: 300px; right: -70px; bottom: -120px; fill: rgba(255, 246, 233, .14); animation: spin 40s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.price-note { text-align: center; color: var(--ink-2); font-size: 15px; margin-top: 22px; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: 120px; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--carta-2); border-radius: var(--r-md);
  box-shadow: 0 0 0 1px var(--bordo);
  transition: box-shadow .35s ease;
}
.faq-item.is-open { box-shadow: 0 0 0 1px var(--bordo), 0 24px 50px -28px rgba(31, 26, 23, .3); }
.faq-q {
  width: 100%; display: flex; align-items: center; gap: 16px; text-align: left;
  background: none; border: 0; cursor: pointer;
  padding: 22px 22px; font-weight: 600; font-size: 18px;
}
.faq-n { color: var(--rosso); font-size: 14px; flex: none; }
.faq-toggle {
  margin-left: auto; flex: none;
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; background: var(--carta); box-shadow: 0 0 0 1px var(--bordo);
  transition: rotate var(--spring-bouncy-dur) var(--spring-bouncy), background-color .25s ease, color .25s ease, border-radius var(--spring-dur) var(--spring);
}
.faq-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.faq-v { transform-origin: 12px 12px; transition: scale var(--spring-dur) var(--spring); }
.is-open .faq-toggle { background: var(--rosso); color: var(--carta); box-shadow: none; border-radius: 12px; rotate: 180deg; }
.is-open .faq-v { scale: 1 0; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .62s var(--spring); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 24px 58px; color: var(--ink-2); opacity: 0; translate: 0 -8px; transition: opacity .25s ease, translate .3s ease; }
.is-open .faq-a { grid-template-rows: 1fr; }
.is-open .faq-a p { opacity: 1; translate: 0 0; transition: opacity .4s ease .12s, translate var(--spring-dur) var(--spring) .12s; }

/* ---------- CTA con luce ---------- */
.section-cta { padding-top: 0; }
.spot {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: clamp(24px, 3vw, 40px);
  background: var(--ink); color: var(--carta);
  padding: clamp(48px, 8vw, 110px) clamp(24px, 6vw, 80px);
  --mx: 0; --my: 0;
}
.spot-light {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(460px circle at calc(50% + var(--mx) * 50%) calc(50% + var(--my) * 50%), rgba(249, 213, 200, .16), transparent 60%);
  opacity: 0; transition: opacity .4s ease;
}
.spot:hover .spot-light { opacity: 1; }
.spot-ring {
  position: absolute; z-index: -1; width: min(520px, 70vw); right: -120px; bottom: -180px;
  fill: var(--rosso);
  translate: calc(var(--mx) * -22px) calc(var(--my) * -22px);
  transition: translate .9s var(--spring);
}
.spot-body { max-width: 640px; }
.spot .label { color: var(--cipria); }
.spot h2 { color: var(--carta); }
.spot-body > p:not(.label) { color: #D9CCBF; font-size: 19px; margin: 22px 0 34px; max-width: 28em; }

/* ---------- contatti ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-links { margin-top: 36px; border-top: 1px solid var(--bordo); }
.contact-link { display: grid; grid-template-columns: 110px 1fr 44px; align-items: center; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--bordo); }
.contact-k { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.contact-v { font-weight: 600; font-size: 18px; overflow-wrap: anywhere; transition: translate var(--spring-dur) var(--spring-bouncy); }
.contact-link:hover .contact-v { translate: 8px 0; }

.form {
  background: var(--carta-2); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 0 0 1px var(--bordo);
  display: grid; gap: 18px;
}
.form-row { display: grid; gap: 8px; margin: 0; border: 0; padding: 0; min-width: 0; }
.form-row.two { grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row.two > div { display: grid; gap: 8px; min-width: 0; }
.form label, .form legend { font-weight: 600; font-size: 14px; padding: 0; }
.form label span { color: var(--ink-2); font-weight: 400; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; padding: 14px 16px;
  background: var(--carta); border: 1.5px solid var(--bordo); border-radius: var(--r-md);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--rosso); box-shadow: 0 0 0 4px rgba(200, 56, 28, .12); }
.pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pick label { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pick span {
  display: inline-block; padding: 9px 16px; border-radius: var(--r-full);
  background: var(--carta); box-shadow: inset 0 0 0 1.5px var(--bordo);
  font-weight: 600; font-size: 14px; color: var(--ink);
  transition: background-color .2s ease, color .2s ease, scale var(--spring-dur) var(--spring-bouncy), box-shadow .2s ease;
}
.pick input:checked + span { background: var(--ink); color: var(--carta); box-shadow: none; scale: 1.05; }
.pick input:focus-visible + span { outline: 3px solid var(--rosso); outline-offset: 2px; }
.form-note { font-size: 15px; font-weight: 600; color: var(--verde); min-height: 1em; }
.form-note:empty { display: none; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--carta); padding: clamp(70px, 10vw, 120px) 0 36px; overflow: hidden; }
.footer-big { font-family: var(--f-title); font-weight: 700; font-size: clamp(2.4rem, 7vw, 6.2rem); line-height: 1.02; letter-spacing: -0.02em; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; margin-top: clamp(50px, 8vw, 90px); padding-top: 36px; border-top: 1px solid rgba(255, 246, 233, .14); }
.footer-links { display: grid; gap: 10px; align-content: start; color: #D9CCBF; }
.footer-links a { width: max-content; max-width: 100%; transition: color .2s ease, translate var(--spring-dur) var(--spring-bouncy); }
.footer-links a:hover { color: var(--carta); translate: 4px 0; }
.footer-copy { margin-top: 50px; color: #A99A8E; font-size: 14px; }

/* ---------- whatsapp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--verde); color: #fff;
  box-shadow: 0 14px 30px -10px rgba(31, 26, 23, .5);
  transition: scale var(--spring-dur) var(--spring-bouncy), rotate var(--spring-bouncy-dur) var(--spring-bouncy);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { rotate: -10deg; scale: 1.08; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; width: 100%; margin: 20px auto 0; aspect-ratio: 1 / .9; }
  .services-grid, .faq-grid, .contact-grid, .offer { grid-template-columns: 1fr; }
  .ig-case { grid-template-columns: 1fr; }
  .ig-case--flip .ig-info { order: 0; }
  .services-grid > div:first-child, .faq-grid > div:first-child { position: static; }
  .proofs { grid-template-columns: repeat(2, 1fr); }
  .prices { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps-line { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav {
    position: fixed; inset: 0; z-index: -1; height: 100vh; height: 100dvh;
    flex-direction: column; justify-content: center; gap: 22px;
    background: var(--carta);
    font-family: var(--f-title); font-size: 34px;
    opacity: 0; pointer-events: none;
    transition: opacity .3s ease;
  }
  .nav .nav-cta { font-family: var(--f-text); font-size: 18px; padding: 14px 28px; }
  .nav.is-open { opacity: 1; pointer-events: auto; }
  .menu-toggle {
    display: grid; gap: 6px; place-content: center;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--ink); border: 0; cursor: pointer;
  }
  .menu-toggle span { width: 18px; height: 2px; background: var(--carta); border-radius: 2px; transition: translate .4s var(--spring), rotate .4s var(--spring); }
  .menu-toggle[aria-expanded="true"] span:first-child { translate: 0 4px; rotate: 45deg; }
  .menu-toggle[aria-expanded="true"] span:last-child { translate: 0 -4px; rotate: -45deg; }

  .works { grid-template-columns: 1fr; }
  .ig-show { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 12px; }
  .ig-show--gs { margin-bottom: 10px; }
  .ig-grid { gap: 6px; }
  .ig-grid img { border-radius: 8px; }
  .phone { border-radius: 24px; padding: 5px; }
  .phone-screen { border-radius: 19px; }
  .ig-stats li { padding: 10px 12px; }
  .sticker strong { font-size: 17px; }
  .proofs { grid-template-columns: 1fr; }
  .proof-num { margin-bottom: 22px; }
  .service { grid-template-columns: 1fr 48px; }
  .service-num { display: none; }
  .service-icon { width: 48px; height: 48px; }
  .steps { grid-template-columns: 1fr; padding-left: 40px; row-gap: 32px; }
  .steps-line { display: block; left: 9px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .steps-fill { inset: 0 0 auto 0; width: 100%; height: calc(var(--p) * 100%); }
  .step { padding-top: 0; }
  .step-dot { left: -40px; top: 4px; }
  .tabs button { padding: 11px 16px; font-size: 14px; }
  .faq-q { font-size: 16px; padding: 18px 16px; gap: 12px; }
  .faq-a p { padding: 0 16px 20px 16px; }
  .form-row.two { grid-template-columns: 1fr; }
  .contact-link { grid-template-columns: 1fr 44px; }
  .contact-k { grid-column: 1 / -1; margin-bottom: -8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .sticker { font-size: 12px; padding: 12px 14px; }
  .chip-float { font-size: 12px; left: 30%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .kin .kin__i, .kin .kin__pill { transform: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .quote .qw { opacity: 1; }
}
.offer-note { margin: -12px 0 22px; font-size: 14px; color: var(--cipria); }
