/* Mobilificio F.lli Piffer — stile condiviso. Colori dal logo e dalla facciata: verde scuro + verde menta su crema. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600 800; font-display: swap; src: url("/fonts/bricolage-grotesque.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/figtree.woff2") format("woff2"); }

:root {
  --verde: #18382E;
  --verde-2: #234A3D;
  --menta: #50BEA3;
  --menta-chiaro: #BFE6DB;
  --crema: #F6F1E7;
  --crema-2: #EDE5D4;
  --bianco: #FFFFFF;
  --testo: #1E2622;
  --testo-2: #4A5650;
  --linea: rgba(24, 56, 46, .16);
  --r: 14px;
  --gutter: 20px;
  --max: 1200px;
  --ombra: 0 10px 30px rgba(24, 56, 46, .12);
  --h-head: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--crema); color: var(--testo);
  font: 400 1.0625rem/1.65 "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
picture { flex: none; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: "Bricolage Grotesque", "Figtree", sans-serif; font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--verde); text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 7.4vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 5vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2.6vw, 1.55rem); letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: clamp(56px, 9vw, 112px); }
.sec--tint { background: var(--crema-2); }
.sec--dark { background: var(--verde); color: #E8F1EC; }
.sec--dark h2, .sec--dark h3 { color: #fff; }
.eyebrow { display: inline-block; font: 700 .8rem/1 "Figtree", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--verde-2); margin-bottom: 1rem; }
.sec--dark .eyebrow, .hero .eyebrow { color: var(--menta); }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--testo-2); max-width: 46ch; }
.sec--dark .lead { color: #CFE0D8; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--menta); color: var(--verde); padding: 10px 16px; border-radius: 8px; z-index: 200; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--menta); outline-offset: 3px; border-radius: 4px; }

/* pulsanti */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font: 700 1rem/1 "Figtree", sans-serif; padding: 1rem 1.55rem; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .2s, color .2s, border-color .2s; min-height: 52px; }
.btn:active { transform: scale(.97); }
.btn--menta { background: var(--menta); color: var(--verde); }
.btn--menta:hover { background: #63cdb2; }
.btn--verde { background: var(--verde); color: #fff; }
.btn--verde:hover { background: var(--verde-2); }
.btn--linea { border-color: currentColor; color: inherit; background: transparent; }
.btn--linea:hover { background: rgba(255,255,255,.12); }
.sec:not(.sec--dark) .btn--linea { color: var(--verde); }
.sec:not(.sec--dark) .btn--linea:hover { background: rgba(24,56,46,.07); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.link-freccia { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; color: var(--verde); text-decoration: none; border-bottom: 2px solid var(--menta); padding-bottom: 2px; }
.link-freccia svg { width: 1em; height: 1em; transition: transform .2s; }
.link-freccia:hover svg { transform: translateX(4px); }
.sec--dark .link-freccia { color: #fff; }

/* header */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--h-head); display: flex; align-items: center; transition: background .25s, box-shadow .25s, color .25s; color: var(--verde); background: var(--crema); box-shadow: 0 1px 0 var(--linea); }
.hd .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hd--over { background: transparent; color: #fff; box-shadow: none; }
.hd--over.is-solid { background: var(--crema); color: var(--verde); box-shadow: 0 1px 0 var(--linea); }
.logo { display: block; width: 48px; height: 48px; border-radius: 9px; overflow: hidden; flex: none; }
.logo img { width: 100%; height: 100%; }
.nav { display: none; align-items: center; gap: 4px; }
.nav a, .nav button.nav-voce { font: 600 .98rem/1 "Figtree", sans-serif; text-decoration: none; padding: 12px 14px; border-radius: 999px; color: inherit; background: none; border: 0; cursor: pointer; }
.nav a:hover, .nav button.nav-voce:hover, .nav a[aria-current="page"] { background: rgba(80,190,163,.22); }
.hd--over:not(.is-solid) .nav a:hover, .hd--over:not(.is-solid) .nav a[aria-current="page"] { background: rgba(255,255,255,.18); }
.nav-dd { position: relative; }
.nav-dd-menu { position: absolute; top: calc(100% + 14px); left: 0; min-width: 230px; background: var(--crema); color: var(--verde); border-radius: var(--r); box-shadow: var(--ombra); padding: 8px; display: none; }
.nav-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { display: block; }
.nav-dd-menu a { display: block; }
.hd-tel { display: none; }
.burger { width: 48px; height: 48px; border-radius: 50%; border: 0; background: transparent; color: inherit; cursor: pointer; display: grid; place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 24px; height: 2.5px; background: currentColor; border-radius: 2px; content: ""; position: relative; transition: transform .25s, background .2s; }
.burger span::before { position: absolute; top: -8px; }
.burger span::after { position: absolute; top: 8px; }
.menu-aperto .burger span { background: transparent; }
.menu-aperto .burger span::before { transform: translateY(8px) rotate(45deg); }
.menu-aperto .burger span::after { transform: translateY(-8px) rotate(-45deg); }

/* menu mobile a tutto schermo */
.menu { position: fixed; inset: 0; z-index: 90; background: var(--verde); color: #fff; padding: calc(var(--h-head) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; transform: translateY(-100%); visibility: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), visibility 0s .35s; }
.menu-aperto .menu { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.menu-aperto .hd { background: var(--verde); color: #fff; box-shadow: none; }
.menu a.m-voce { font: 700 clamp(1.7rem, 7vw, 2.3rem)/1.2 "Bricolage Grotesque", sans-serif; text-decoration: none; padding: 8px 0; letter-spacing: -.02em; }
.menu .m-sub { display: flex; flex-direction: column; padding: 0 0 8px 16px; border-left: 3px solid var(--menta); margin: 0 0 8px 2px; }
.menu .m-sub a { font-size: 1.15rem; text-decoration: none; padding: 7px 0; color: #CFE0D8; }
.menu .m-fondo { margin-top: auto; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18); font-size: 1rem; color: #CFE0D8; }
.menu .m-fondo a { color: #fff; font-weight: 700; }
.menu-aperto { overflow: hidden; }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: var(--verde); isolation: isolate; overflow: hidden; }
.hero .eyebrow { color: var(--menta-chiaro); text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.hero-img { position: absolute; inset: 0; z-index: -2; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(24,56,46,.55) 0%, rgba(24,56,46,.1) 30%, rgba(24,56,46,.55) 62%, rgba(24,56,46,.92) 100%); }
.hero .wrap { padding-bottom: clamp(36px, 9vh, 88px); padding-top: calc(var(--h-head) + 40px); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero p { font-size: clamp(1.1rem, 2.4vw, 1.4rem); max-width: 40ch; color: #E8F1EC; }
.hero-mini { min-height: 0; padding-top: calc(var(--h-head) + 56px); background: var(--verde); }
.hero-mini::after { display: none; }
.hero-mini .wrap { padding-top: 0; padding-bottom: clamp(40px, 7vw, 72px); }
.hero-mini h1 { font-size: clamp(2.2rem, 6.2vw, 3.8rem); max-width: 20ch; }
.hero-mini p { margin-bottom: 0; }
.briciole { font-size: .92rem; color: #CFE0D8; margin-bottom: 1.2rem; }
.briciole a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }
.briciole span { opacity: .6; margin-inline: .4em; }

/* numeri */
.numeri { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--linea); border-block: 1px solid var(--linea); }
.numeri div { background: var(--crema); padding: 26px 18px; }
.numeri strong { display: block; font: 800 clamp(1.7rem, 5vw, 2.6rem)/1 "Bricolage Grotesque", sans-serif; color: var(--verde); letter-spacing: -.03em; margin-bottom: 6px; }
.numeri div > span { font-size: .98rem; color: var(--testo-2); line-height: 1.35; display: block; }

/* blocchi a due colonne */
.due { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.foto { border-radius: var(--r); overflow: hidden; background: var(--crema-2); }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.foto--alta { aspect-ratio: 4 / 5; }
.foto--larga { aspect-ratio: 3 / 2; }
.foto--intera { background: transparent; }
.foto--intera img { height: auto; object-fit: contain; }
.punti { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 14px; }
.punti li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.punti svg { width: 28px; height: 28px; color: var(--verde); background: var(--menta); border-radius: 50%; padding: 6px; margin-top: 2px; }
.sec--dark .punti svg { color: var(--verde); }

/* passi progettazione */
.passi { list-style: none; counter-reset: p; margin: 2rem 0 0; padding: 0; display: grid; gap: 0; }
.passi li { counter-increment: p; display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.2); }
.passi li::before { content: counter(p); font: 800 1.9rem/1 "Bricolage Grotesque", sans-serif; color: var(--menta); }
.passi strong { display: block; color: #fff; font-size: 1.12rem; margin-bottom: 2px; }
.passi span { color: #CFE0D8; font-size: 1rem; line-height: 1.5; }

/* schede */
.schede { display: grid; gap: 16px; margin-top: 2.2rem; }
.scheda { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; color: #fff; text-decoration: none; background: var(--verde); isolation: isolate; }
.scheda img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.scheda::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(24,56,46,.88) 100%); }
.scheda:hover img { transform: scale(1.05); }
.scheda div { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; }
.scheda h3 { color: #fff; margin: 0 0 4px; }
.scheda p { margin: 0; font-size: .98rem; color: #E1ECE6; line-height: 1.4; }
.scheda .freccia { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; background: var(--menta); color: var(--verde); display: grid; place-items: center; }
.scheda .freccia svg { width: 20px; height: 20px; }
.scheda .tag { position: absolute; top: 16px; left: 16px; background: rgba(246,241,231,.92); color: var(--verde); font: 700 .78rem/1 "Figtree", sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; }

/* carosello realizzazioni (home) */
.scorri { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 18px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.scorri::-webkit-scrollbar { display: none; }
.scorri .scheda { flex: 0 0 78%; max-width: 360px; aspect-ratio: 4 / 5; scroll-snap-align: start; }

/* marchi */
.marchi { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 2rem; }
.marchi li { list-style: none; background: #fff; border-radius: 12px; display: grid; place-items: center; padding: 10px; aspect-ratio: 3 / 2; border: 1px solid var(--linea); }
.marchi img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
ul.marchi { padding: 0; }

/* galleria */
.galleria { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 2rem; }
.galleria a { display: block; border-radius: 10px; overflow: hidden; background: var(--crema-2); position: relative; aspect-ratio: 4 / 3; }
.galleria--vert a { aspect-ratio: 4 / 5; }
.galleria img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .4s; }
.galleria a:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.galleria a:hover img { transform: scale(1.03); }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(12, 28, 23, .96); display: none; align-items: center; justify-content: center; touch-action: pan-y; }
.lb.aperto { display: flex; }
.lb img { max-width: 100vw; max-height: 86svh; width: auto; height: auto; object-fit: contain; user-select: none; }
.lb button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb button:hover { background: rgba(255,255,255,.28); }
.lb button svg { width: 24px; height: 24px; }
.lb .lb-x { top: 14px; right: 14px; }
.lb .lb-p { left: 10px; top: 50%; translate: 0 -50%; }
.lb .lb-n { right: 10px; top: 50%; translate: 0 -50%; }
.lb .lb-c { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #CFE0D8; font-size: .95rem; }

/* progetto singolo */
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 1rem 0 0; padding: 0; list-style: none; }
.meta li { background: rgba(255,255,255,.14); border-radius: 999px; padding: 8px 14px; font-size: .92rem; font-weight: 600; }
.altri { display: grid; gap: 16px; margin-top: 2rem; }

/* contatti e modulo */
.contatti-griglia { display: grid; gap: 32px; }
.info-lista { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 18px; }
.info-lista li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.info-lista .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--menta); color: var(--verde); display: grid; place-items: center; }
.info-lista svg { width: 22px; height: 22px; }
.info-lista small { display: block; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--testo-2); font-weight: 700; }
.info-lista a { text-decoration: none; font-weight: 700; font-size: 1.15rem; color: var(--verde); }
.modulo { background: #fff; border-radius: 20px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--ombra); border: 1px solid var(--linea); }
.campo { margin-bottom: 18px; }
.campo label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; color: var(--verde); }
.campo input, .campo select, .campo textarea { width: 100%; font: 400 1.05rem/1.4 "Figtree", sans-serif; color: var(--testo); background: var(--crema); border: 2px solid transparent; border-radius: 12px; padding: 14px 16px; min-height: 52px; appearance: none; -webkit-appearance: none; }
.campo textarea { min-height: 140px; resize: vertical; }
.campo select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2318382E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 8l5 5 5-5'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; padding-right: 44px; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--menta); background: #fff; }
.campo .opz { font-weight: 400; color: var(--testo-2); }
.consenso { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: .95rem; line-height: 1.45; margin: 4px 0 20px; align-items: start; }
.consenso input { width: 24px; height: 24px; accent-color: var(--verde); margin: 1px 0 0; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.esito { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-weight: 600; display: none; }
.esito.ok { display: block; background: var(--menta-chiaro); color: var(--verde); }
.esito.errore { display: block; background: #FBE3DE; color: #7A1F10; }

/* occasioni vuote / testo legale */
.vuoto { background: #fff; border: 2px dashed var(--linea); border-radius: 20px; padding: clamp(28px, 6vw, 56px); text-align: center; max-width: 720px; margin: 0 auto; }
.legale { max-width: 760px; }
.legale h2 { font-size: clamp(1.4rem, 3.4vw, 1.9rem); margin-top: 2.2rem; }
.legale ul { padding-left: 1.2em; }
.legale li { margin-bottom: .4em; }

/* cta finale */
.cta { text-align: center; }
.cta h2 { max-width: 18ch; margin-inline: auto; }
.cta .btns { justify-content: center; }
.cta p { margin-inline: auto; }

/* footer */
.ft { background: #10261F; color: #C6D8CF; padding: 56px 0 calc(40px + 72px); font-size: .98rem; }
.ft a { color: #fff; text-decoration: none; }
.ft a:hover { text-decoration: underline; }
.ft-griglia { display: grid; gap: 32px; }
.ft h4 { color: var(--menta); font: 700 .8rem/1 "Figtree", sans-serif; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ft-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ft-logo .logo { width: 64px; height: 64px; }
.ft-logo strong { color: #fff; font: 700 1.2rem/1.2 "Bricolage Grotesque", sans-serif; }
.ft-social { display: flex; gap: 10px; margin-top: 16px; }
.ft-social a { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.ft-social a:hover { background: var(--menta); color: var(--verde); }
.ft-social svg { width: 22px; height: 22px; }
.ft-base { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 8px; font-size: .9rem; }

/* barra fissa su telefono */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(246,241,231,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--linea); }
.dock .btn { min-height: 48px; padding: .8rem .5rem; font-size: .95rem; gap: .4em; }
.dock .btn--linea { color: var(--verde); border-color: var(--verde); }
.wa-fab { position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: none; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s; }
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 30px; height: 30px; }
.orari-box { display: grid; gap: 4px; margin-bottom: 1em; }
.orari-box strong { color: var(--verde); }
.menu-aperto .dock, .menu-aperto .wa-fab { display: none; }

/* animazioni */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.js .rv.visto { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .scheda img, .galleria img, .menu { transition: none; }
}

/* animazioni leggere: zoom lento dell'hero, linea che si allunga, marchi che scorrono, schede che si sollevano */
@keyframes zoom-lento { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-img img { animation: zoom-lento 9s ease-out both; }
@keyframes entra { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero .eyebrow, .hero h1, .hero p, .hero .btns { animation: entra .9s cubic-bezier(.2,.8,.2,1) both; }
.hero h1 { animation-delay: .12s; }
.hero p { animation-delay: .26s; }
.hero .btns { animation-delay: .4s; }
.linea { display: block; height: 5px; width: clamp(150px, 34vw, 280px); margin: 20px 0 6px; background: var(--menta); border-radius: 3px; transform-origin: left center; animation: allunga 1.1s .6s cubic-bezier(.5,0,.2,1) both; }
@keyframes allunga { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.nastro { overflow: hidden; margin-inline: calc(var(--gutter) * -1); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.nastro ul { display: flex; gap: 12px; width: max-content; margin: 0; padding: 0; list-style: none; animation: scorre 42s linear infinite; }
.nastro:hover ul { animation-play-state: paused; }
.nastro li { flex: none; width: 168px; aspect-ratio: 3 / 2; background: #fff; border-radius: 12px; border: 1px solid var(--linea); padding: 8px; display: grid; place-items: center; }
.nastro img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
@keyframes scorre { to { transform: translateX(-50%); } }
.scheda, .modulo, .marchi li { transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.scheda:hover { transform: translateY(-5px); box-shadow: var(--ombra); }
.marchi li:hover { transform: translateY(-3px); box-shadow: var(--ombra); }
.scheda .freccia { transition: transform .3s; }
.scheda:hover .freccia { transform: rotate(-45deg); }
.btn--menta { box-shadow: 0 0 0 0 rgba(80,190,163,.55); }
.btn--menta.pulsa { animation: pulsa 2.8s 2s infinite; }
@keyframes pulsa { 0% { box-shadow: 0 0 0 0 rgba(80,190,163,.55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(80,190,163,0); } }
.foto img { transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.foto:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .hero-img img, .hero .eyebrow, .hero h1, .hero p, .hero .btns, .linea, .nastro ul, .btn--menta.pulsa { animation: none; }
  .nastro { overflow-x: auto; }
}

/* tablet */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .numeri { grid-template-columns: repeat(4, 1fr); }
  .numeri div { padding: 34px 26px; }
  .schede { grid-template-columns: repeat(2, 1fr); }
  .schede--3 { grid-template-columns: repeat(3, 1fr); }
  .marchi { grid-template-columns: repeat(3, 1fr); }
  .galleria { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .galleria a:last-child:nth-child(odd) { grid-column: auto; aspect-ratio: 4 / 3; }
  .galleria--vert a:last-child:nth-child(odd) { aspect-ratio: 4 / 5; }
  .galleria a:last-child:nth-child(3n+1) { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
  .galleria--vert a:last-child:nth-child(3n+1) { aspect-ratio: 21 / 9; }
  .scorri .scheda { flex-basis: 44%; }
  .altri { grid-template-columns: repeat(2, 1fr); }
  .ft-griglia { grid-template-columns: repeat(2, 1fr); }
}
/* desktop */
@media (min-width: 960px) {
  :root { --h-head: 80px; }
  .nav { display: flex; }
  .burger, .menu, .dock { display: none; }
  .wa-fab { display: grid; }
  .hd-tel { display: inline-flex; }
  .due { grid-template-columns: 1fr 1fr; }
  .due--inv > :first-child { order: 2; }
  .marchi { grid-template-columns: repeat(4, 1fr); }
  .scorri { overflow: visible; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 0; }
  .scorri .scheda { flex: none; max-width: none; }
  .contatti-griglia { grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
  .altri { grid-template-columns: repeat(3, 1fr); }
  .ft { padding-bottom: 40px; }
  .ft-griglia { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .ft-base { grid-template-columns: 1fr auto; }
}
@media (max-width: 959px) { body { padding-bottom: 68px; } }
