/* =====================================================================
   HERR BERG — gelateria (Bromma). Tema unico chiaro, palette gelato.
   ===================================================================== */
:root {
  --c-ink: 255 255 255;      /* bianco pieno (sfondo) */
  --c-coal: 255 255 255;     /* superfici */
  --c-steel: 122 104 92;     /* testo attenuato */
  --c-brass: 240 78 24;      /* accento arancio-rosso vibrante */
  --c-brassLight: 255 122 40;
  --c-bone: 32 24 18;        /* testo scuro */
  --c-line: 32 24 18;        /* hairline (a bassa opacità) */
  --bg-top: #ffffff; --bg-mid: #ffffff; --bg-bot: #fffdfb;
  --cloud-blend: normal; --cloud-a: 0.62;
  --grad-1: #f5b81c; --grad-2: #f97316; --grad-3: #ef4444; --grad-4: #ec4899; /* giallo/arancio/rosso/rosa festoso */
  --tile: 255 247 236;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: rgb(var(--c-ink)); color: rgb(var(--c-bone)); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
  background: transparent;
}
::selection { background: rgb(var(--c-brass)); color: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.font-display { font-family: 'Fredoka', sans-serif; }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 6vw; }
.eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: .3em; color: rgb(var(--c-brass)); font-weight: 600; }
.accent { background-image: linear-gradient(100deg, var(--grad-1), var(--grad-2), var(--grad-3), var(--grad-4), var(--grad-1)); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: brandshift 8s linear infinite; }
@keyframes brandshift { to { background-position: 220% 0; } }
.muted { color: rgb(var(--c-steel)); }
.center { text-align: center; }

/* nuvole ambientali morbide (gelato) */
.bg-dynamic { position: fixed; inset: -15%; z-index: -2; pointer-events: none; opacity: var(--cloud-a); }
.bg-dynamic::before, .bg-dynamic::after { content: ''; position: absolute; inset: 0; will-change: transform; mix-blend-mode: var(--cloud-blend); }
.bg-dynamic::before { background: radial-gradient(54% 58% at 10% 14%, rgba(74,185,96,.62), transparent 74%), radial-gradient(50% 54% at 36% 3%, rgba(150,205,66,.56), transparent 74%), radial-gradient(52% 56% at 85% 12%, rgba(247,196,58,.66), transparent 74%), radial-gradient(50% 54% at 64% 44%, rgba(238,96,156,.56), transparent 76%); animation: drift1 30s ease-in-out infinite alternate; }
.bg-dynamic::after { background: radial-gradient(56% 60% at 89% 70%, rgba(236,86,62,.6), transparent 74%), radial-gradient(52% 56% at 5% 82%, rgba(182,92,202,.56), transparent 76%), radial-gradient(50% 54% at 44% 67%, rgba(248,150,60,.6), transparent 74%), radial-gradient(50% 54% at 20% 45%, rgba(56,190,158,.54), transparent 76%); animation: drift2 36s ease-in-out infinite alternate; }
@keyframes drift1 { from { transform: translate3d(-4%,-3%,0) scale(1); } to { transform: translate3d(5%,4%,0) scale(1.16); } }
@keyframes drift2 { from { transform: translate3d(4%,3%,0) scale(1.12); } to { transform: translate3d(-5%,-4%,0) scale(1); } }

/* ── NAV ─────────────────────────────────────────────────────────── */
.nav { position: fixed; inset-inline: 0; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: .9rem 6vw; border-bottom: 1px solid transparent; transition: background-color .4s ease, backdrop-filter .4s ease, border-color .4s ease; }
.nav.solid { background: rgb(var(--c-ink) / .82); backdrop-filter: blur(14px); border-bottom-color: rgb(var(--c-line) / .08); }
.brand { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 1.9rem; line-height: 1; letter-spacing: -.01em; text-decoration: none; background-image: linear-gradient(100deg, var(--grad-1), var(--grad-2), var(--grad-3), var(--grad-4), var(--grad-1)); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: brandshift 8s linear infinite; }
.brand img { height: 46px; width: auto; display: block; }
.nav-links { display: none; gap: 2rem; list-style: none; }
.nav-links a { font-size: .82rem; letter-spacing: .04em; color: rgb(var(--c-bone) / .75); text-decoration: none; transition: color .3s ease; white-space: nowrap; font-weight: 500; }
.nav-links a:hover { color: rgb(var(--c-brass)); }
.nav-links a.is-active { color: rgb(var(--c-brass)); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.burger { display: inline-flex; flex-direction: column; justify-content: space-between; width: 28px; height: 16px; background: none; border: 0; cursor: pointer; }
.burger span { display: block; height: 2px; width: 100%; border-radius: 2px; background: rgb(var(--c-bone)); transition: transform .35s ease, opacity .35s ease; }
body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center; gap: .3rem; padding: 0 8vw; background: radial-gradient(120% 80% at 50% 0%, #fffaf0 0%, rgb(var(--c-ink)) 60%); clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none; transition: clip-path .6s var(--ease), opacity .4s ease; }
body.menu-open .mobile-menu { clip-path: inset(0 0 0 0); opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: 'Fredoka', sans-serif; font-size: 11vw; line-height: 1.15; color: rgb(var(--c-bone)); text-decoration: none; border-bottom: 1px solid rgb(var(--c-line) / .1); padding: .35rem 0; }
.mobile-menu a span { color: rgb(var(--c-brass) / .6); font-family: 'Inter'; font-size: 1rem; margin-right: .6rem; }

/* ── BOTTONI ─────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; cursor: pointer; border-radius: 999px; padding: .85rem 1.7rem; font-size: .82rem; letter-spacing: .02em; font-weight: 600; border: 1px solid transparent; transition: all .3s var(--ease); position: relative; overflow: hidden; }
.btn-primary { background: rgb(var(--c-brass)); color: #fff; }
.btn-primary:hover { background: rgb(var(--c-brassLight)); transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 30px -14px rgb(var(--c-brass) / .6); }
.btn-ghost { border-color: rgb(var(--c-brass) / .4); background: rgb(var(--c-brass) / .06); color: rgb(var(--c-bone)); }
.btn-ghost:hover { border-color: rgb(var(--c-brass)); background: rgb(var(--c-brass) / .12); transform: translateY(-3px); }
.btn .dot { width: 7px; height: 7px; border-radius: 999px; background: currentColor; }
.btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 32%, rgb(255 255 255 / .4) 50%, transparent 68%); transform: translateX(-130%); transition: transform .75s var(--ease); pointer-events: none; }
.btn:hover::after { transform: translateX(130%); }
.btns { display: flex; flex-wrap: wrap; gap: .8rem; }
.cta-nav { display: none; }

/* ── HERO ────────────────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding-top: max(17vh, 130px); padding-bottom: 12vh; }
.hero__bg { position: absolute; inset: 0; z-index: 0; -webkit-mask-image: linear-gradient(180deg, #000 46%, transparent 90%); mask-image: linear-gradient(180deg, #000 46%, transparent 90%); }
.hero__inner { position: relative; z-index: 2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 20s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.05); } to { transform: scale(1.16); } }
.hero__bg::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(94deg, rgb(var(--c-ink) / .82) 0%, rgb(var(--c-ink) / .42) 30%, rgb(var(--c-ink) / .12) 56%, rgb(var(--c-ink) / 0) 82%),
  linear-gradient(180deg, rgb(var(--c-ink) / .3) 0%, transparent 22%),
  rgb(var(--c-ink) / .16); }
.hero .badge-open { display: inline-flex; align-items: center; gap: .5rem; background: rgb(var(--c-brass)); color: #fff; font-size: .78rem; font-weight: 600; padding: .5rem 1.1rem; border-radius: 999px; margin-bottom: 1.4rem; }
.hero h1 { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: clamp(2.6rem, 8.2vw, 6.6rem); line-height: .98; letter-spacing: -.02em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line > span { display: block; transform: translateY(105%); }
.hero.in h1 .line > span { transform: translateY(0); transition: transform 1.15s var(--ease); }
.hero.in h1 .line:nth-child(2) > span { transition-delay: .08s; }
.hero.in h1 .line:nth-child(3) > span { transition-delay: .16s; }
.hero .sub { max-width: 52ch; margin-top: 1.6rem; font-size: 1.08rem; line-height: 1.65; color: rgb(var(--c-bone) / .85); opacity: 0; transform: translateY(20px); }
.hero.in .sub { opacity: 1; transform: none; transition: opacity 1s ease .5s, transform 1s ease .5s; }
.hero .btns { margin-top: 2.2rem; opacity: 0; transform: translateY(20px); }
.hero.in .btns { opacity: 1; transform: none; transition: opacity 1s ease .66s, transform 1s ease .66s; }
.hero .badge-open, .hero .eyebrow { opacity: 0; transform: translateY(14px); }
.hero.in .badge-open, .hero.in .eyebrow { opacity: 1; transform: none; transition: opacity .9s ease .1s, transform .9s ease .1s; }
.cue { position: absolute; bottom: 3vh; left: 6vw; z-index: 2; display: flex; align-items: center; gap: 1rem; font-size: .68rem; text-transform: uppercase; letter-spacing: .3em; color: rgb(var(--c-steel)); }
.cue::before { content: ''; width: 1px; height: 3rem; background: linear-gradient(to bottom, rgb(var(--c-brass)), transparent); animation: cuep 2.2s ease-in-out infinite; }
@keyframes cuep { 0%,100% { opacity: .3; transform: scaleY(.7); } 50% { opacity: 1; transform: scaleY(1); } }

/* ── HERO PAGINA INTERNA ─────────────────────────────────────────── */
.page-hero { padding: 22vh 6vw 8vh; }
.page-hero h1 { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: clamp(2.6rem, 8vw, 5.6rem); line-height: 1; letter-spacing: -.02em; margin: 1rem 0; }
.page-hero .lead { max-width: 60ch; font-size: 1.1rem; line-height: 1.7; color: rgb(var(--c-steel)); }

/* ── SEZIONI ─────────────────────────────────────────────────────── */
section.block { padding: 9vh 0; }
.section-head { max-width: 60ch; margin-bottom: 5vh; }
.section-head h2, .statement { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: clamp(2rem, 5.5vw, 3.8rem); line-height: 1.04; letter-spacing: -.02em; }
.section-head h2 { margin-top: 1rem; }
.statement { max-width: 22ch; }
.section-head .lead, .lead { margin-top: 1.4rem; font-size: 1.04rem; line-height: 1.7; color: rgb(var(--c-steel)); }
.lead-narrow { max-width: 56ch; margin-top: 1.6rem; font-size: 1.06rem; line-height: 1.75; color: rgb(var(--c-steel)); }
.prose p { font-size: 1.05rem; line-height: 1.8; color: rgb(var(--c-bone) / .88); margin-bottom: 1.1rem; max-width: 66ch; }
.prose p.muted { color: rgb(var(--c-steel)); }

/* card valori / casi */
.usecases { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.uc { border: 1px solid rgb(var(--c-line) / .1); border-radius: 22px; padding: 2rem; background: rgb(var(--c-coal) / .6); }
.uc .ico { font-size: 2rem; margin-bottom: .8rem; display: block; }
.uc h3 { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 1.5rem; margin-bottom: .6rem; }
.uc p { font-size: .96rem; line-height: 1.6; color: rgb(var(--c-steel)); }

/* card immagine (gusti / combo) */
.combos { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.combo { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid rgb(var(--c-line) / .08); min-height: 340px; display: flex; align-items: flex-end; }
.combo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.combo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgb(35 22 14 / .78) 100%); }
.combo .body { position: relative; z-index: 2; padding: 1.8rem; color: #fff; }
.combo .body .cap { font-size: .74rem; text-transform: uppercase; letter-spacing: .18em; color: #ffe6b8; font-weight: 600; }
.combo .body h3 { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 1.9rem; margin: .3rem 0; }
.combo .body p { font-size: .92rem; line-height: 1.5; color: rgb(255 255 255 / .9); max-width: 40ch; }

/* card prodotto (gusti dettaglio) */
.prodgrid { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
.prod { border: 1px solid rgb(var(--c-line) / .1); border-radius: 22px; overflow: hidden; background: rgb(var(--c-coal) / .6); display: flex; flex-direction: column; }
.prod .media { aspect-ratio: 3/2; overflow: hidden; }
.prod .media img { width: 100%; height: 100%; object-fit: cover; }
.prod .body { padding: 1.6rem; }
.prod .body .top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.prod .body h3 { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 1.5rem; }
.prod .body .tag { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: rgb(var(--c-brass)); font-weight: 600; }
.prod .body .desc { font-size: .95rem; line-height: 1.6; color: rgb(var(--c-steel)); margin-top: .7rem; }

/* tiles (galleria/piccole) */
.tilegrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.tile { border: 1px solid rgb(var(--c-line) / .1); border-radius: 18px; overflow: hidden; background: rgb(var(--c-coal) / .6); }
.tile .media { aspect-ratio: 4/3; overflow: hidden; }
.tile .media img { width: 100%; height: 100%; object-fit: cover; }
.tile .body { padding: 1.1rem 1.2rem 1.3rem; }
.tile .body h4 { font-family: 'Fredoka', sans-serif; font-size: 1.15rem; }
.tile .body p { font-size: .86rem; line-height: 1.5; color: rgb(var(--c-steel)); margin-top: .3rem; }

/* galleria */
.gallery { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 5vh; }
.gimg { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid rgb(var(--c-line) / .08); aspect-ratio: 1/1; }
.gimg img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* resa / timeline */
.journey { display: flex; flex-direction: column; align-items: stretch; gap: .5rem; }
.jnode { border: 1px solid rgb(var(--c-line) / .1); border-radius: 24px; overflow: hidden; background: rgb(var(--c-coal) / .75); display: flex; flex-direction: column; }
.jnode .jmedia { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.jnode .jmedia img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.jnode:hover .jmedia img { transform: scale(1.05); }
.jnode .jbody { padding: 1.6rem 1.9rem 2rem; }
.jhead { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; }
.jnode .kicker { display: inline-block; font-size: .64rem; text-transform: uppercase; letter-spacing: .14em; color: rgb(var(--c-steel)); border: 1px solid rgb(var(--c-line) / .16); border-radius: 999px; padding: .32rem .8rem; }
.jnode .yr { font-family: 'Fredoka', sans-serif; font-size: 1rem; color: rgb(var(--c-brass)); }
.jnode h3 { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 1.7rem; margin: .9rem 0 .6rem; }
.jnode p { font-size: .95rem; line-height: 1.6; color: rgb(var(--c-steel)); }
.jconnector { display: flex; align-items: center; justify-content: center; padding: .2rem 0; }
.jbadge { width: 52px; height: 52px; border-radius: 999px; background: rgb(var(--c-coal)); border: 1px solid rgb(var(--c-brass) / .45); display: flex; align-items: center; justify-content: center; color: rgb(var(--c-brass)); box-shadow: 0 10px 26px -12px rgb(var(--c-brass) / .55); }
.jbadge svg { width: 22px; height: 22px; transform: rotate(90deg); }

/* contatti */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.contact-card { border: 1px solid rgb(var(--c-line) / .1); border-radius: 22px; padding: 2rem; background: rgb(var(--c-coal) / .6); }
.contact-card h3 { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 1.4rem; margin-bottom: 1rem; }
.contact-card .big { font-family: 'Fredoka', sans-serif; font-size: clamp(1.5rem, 3.6vw, 2.1rem); color: rgb(var(--c-brass)); text-decoration: none; display: inline-block; }
.contact-card .lines { font-size: 1rem; line-height: 1.8; color: rgb(var(--c-steel)); }
.contact-card .lines b { color: rgb(var(--c-bone)); font-weight: 600; }
.socials { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.socials a { border: 1px solid rgb(var(--c-line) / .14); border-radius: 999px; padding: .55rem 1.1rem; font-size: .84rem; text-decoration: none; color: rgb(var(--c-steel)); transition: all .3s ease; }
.socials a:hover { color: rgb(var(--c-brass)); border-color: rgb(var(--c-brass) / .5); transform: translateY(-2px); }
.field { width: 100%; background: rgb(var(--c-coal)); border: 1px solid rgb(var(--c-line) / .14); border-radius: 14px; padding: .85rem 1rem; color: rgb(var(--c-bone)); font-family: inherit; font-size: .95rem; transition: border-color .3s ease; }
.field:focus { outline: none; border-color: rgb(var(--c-brass)); }
.field::placeholder { color: rgb(var(--c-steel) / .8); }
.field-label { font-size: .72rem; letter-spacing: .04em; color: rgb(var(--c-steel)); display: block; margin-bottom: .35rem; font-weight: 500; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.2rem; margin-bottom: 1.2rem; }

/* pillole */
.pills { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.pill { font-size: .82rem; color: rgb(var(--c-steel)); border: 1px solid rgb(var(--c-line) / .12); border-radius: 999px; padding: .5rem 1rem; background: rgb(var(--c-coal) / .5); }

/* marquee gusti */
.marquee { overflow: hidden; border-block: 1px solid rgb(var(--c-line) / .1); padding: 1.1rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: inline-flex; white-space: nowrap; animation: marquee 26s linear infinite; }
.marquee-track span { font-family: 'Fredoka', sans-serif; font-size: clamp(1.6rem, 4vw, 2.6rem); font-style: italic; padding: 0 1.4rem; color: rgb(var(--c-bone)); }
.marquee-track span::after { content: '·'; margin-left: 2.8rem; color: rgb(var(--c-brass)); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* scroll orizzontale */
.hscroll { position: relative; }
.hscroll__sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hscroll__intro { position: absolute; top: 12vh; left: 6vw; z-index: 2; pointer-events: none; }
.hscroll__track { display: flex; gap: 1.6rem; padding-inline: 6vw; will-change: transform; }
.hpanel { position: relative; flex: 0 0 auto; width: min(78vw, 460px); height: 66vh; border-radius: 24px; overflow: hidden; border: 1px solid rgb(var(--c-line) / .08); display: flex; align-items: flex-end; }
.hpanel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hpanel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 32%, rgb(35 22 14 / .82) 100%); }
.hpanel__meta { position: relative; z-index: 2; margin: 2rem; color: #fff; }
.hpanel__meta .n { font-family: 'Fredoka', sans-serif; font-size: 1rem; color: #ffe6b8; }
.hpanel__meta h3 { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1.05; margin: .3rem 0 .5rem; }
.hpanel__meta p { max-width: 34ch; font-size: .92rem; line-height: 1.55; color: rgb(255 255 255 / .9); }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(30px); filter: blur(8px); transition: opacity 1s ease, transform 1.05s var(--ease), filter 1s ease; }
[data-reveal].in { opacity: 1; transform: none; filter: blur(0); }

/* CTA finale */
.final { text-align: center; padding: 15vh 6vw; }
.final h2 { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: 1.04; letter-spacing: -.02em; }
.final .lead { margin: 1.4rem auto 0; }
.final .btns { justify-content: center; margin-top: 2.2rem; }

/* ── FOOTER ──────────────────────────────────────────────────────── */
footer { border-top: 1px solid rgb(var(--c-line) / .1); padding: 12vh 6vw 3rem; margin-top: 6vh; }
.foot-inner { max-width: 1280px; margin-inline: auto; }
.foot-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; border-bottom: 1px solid rgb(var(--c-line) / .1); padding-bottom: 3.5rem; }
.foot-brand { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 2.4rem; background-image: linear-gradient(100deg, var(--grad-1), var(--grad-2), var(--grad-3), var(--grad-4), var(--grad-1)); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: brandshift 8s linear infinite; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.foot-cols h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: rgb(var(--c-brass)); margin-bottom: 1rem; font-weight: 600; }
.foot-cols a, .foot-cols p { font-size: .92rem; color: rgb(var(--c-steel)); text-decoration: none; line-height: 1.9; display: block; }
.foot-cols a:hover { color: rgb(var(--c-brass)); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; padding-top: 1.8rem; font-size: .82rem; color: rgb(var(--c-steel)); }
.foot-bottom .heart { color: #e2708a; }

@media (min-width: 720px) {
  .usecases, .prodgrid { grid-template-columns: repeat(2, 1fr); }
  .combos { grid-template-columns: repeat(3, 1fr); }
  .tilegrid { grid-template-columns: repeat(3, 1fr); }
  .journey { flex-direction: row; align-items: stretch; }
  .journey .jnode { flex: 1; }
  .jconnector { flex: 0 0 auto; padding: 0 .2rem; }
  .jbadge svg { transform: rotate(0); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .form-row.two { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-cols { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .cta-nav { display: inline-flex; }
  .burger { display: none; }
  .prodgrid.p3 { grid-template-columns: repeat(3, 1fr); }
}

/* ── MICRO-INTERAZIONI ───────────────────────────────────────────── */
.uc, .prod, .tile, .combo, .gimg, .jnode, a.hpanel { transition: transform .55s var(--ease), border-color .45s ease, box-shadow .55s var(--ease); will-change: transform; }
.uc:hover, .prod:hover, .tile:hover, .gimg:hover, .jnode:hover { transform: translateY(-8px); box-shadow: 0 26px 56px -26px rgb(var(--c-brass) / .45); border-color: rgb(var(--c-brass) / .35); }
.combo:hover, a.hpanel:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -24px rgb(35 22 14 / .3); }
.prod .media img, .tile .media img, .combo img, .gimg img, .hpanel img { transition: transform 1s var(--ease); }
.prod:hover .media img, .tile:hover .media img, .combo:hover img, .gimg:hover img, a.hpanel:hover img { transform: scale(1.07); }
.nav-links a { position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; border-radius: 2px; width: 100%; background: rgb(var(--c-brass)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.foot-cols a { transition: color .3s ease, padding-left .3s var(--ease); }
.foot-cols a:hover { padding-left: 6px; }
.scroll-prog { position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 70; background: linear-gradient(90deg, var(--grad-1), var(--grad-2), var(--grad-3), var(--grad-4)); pointer-events: none; }
.cursor-glow { position: fixed; top: 0; left: 0; width: 30px; height: 30px; border-radius: 999px; border: 1.5px solid rgb(var(--c-brass) / .55); pointer-events: none; z-index: 95; transition: width .3s var(--ease), height .3s var(--ease), background-color .3s ease; will-change: transform; }
.cursor-glow.big { width: 60px; height: 60px; background: rgb(var(--c-brass) / .1); }
@media (hover: none), (pointer: coarse) { .cursor-glow { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  .hero h1 .line > span, .hero .sub, .hero .btns, .hero .badge-open, .hero .eyebrow { opacity: 1; transform: none; }
  .btn::after, .cursor-glow { display: none !important; }
}
