/* Landing (da mockups/v5): hero di linfafarm.com + narrazione nuova. Sopra assets/site/site.css, stessi colori e caratteri. */
:root { --topbar: 0px; --g: #154e26; --pp: #f4f3ec; --sun-c: #fcbf20; --ink-c: #14201a; --soft-c: #4a534d; --rule-c: rgb(20 32 26 / .12); }
.topbar { display: none !important; }

/* hero: testo più corto, bottoni affiancati anche su tablet */
.hero-sys h1 { max-width: 13ch; }
.hero-sys .hero-sys__lead { max-width: 38ch; }
@media (max-width: 767px) {
  .hero-sys .btn-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-sys .btn-row .btn { width: 100%; justify-content: center; }
}

/* ========== i tre pilastri ========== */
main > section.px { background: var(--g); color: var(--pp); padding: clamp(80px, 5vw + 48px, 136px) 0; height: auto; min-height: 0; display: block; }
main > section.px > .wrap { display: block; }
.px__head { display: block; }
.px__head .v-h2 { margin: 0; color: var(--pp); max-width: 17ch; }
.px__head .v-h2 em { color: var(--sun-c); }
.px__lead { margin: 0; font-size: clamp(17px, .3vw + 15.8px, 20px); line-height: 1.5; color: #d3e0d1; max-width: 34ch; padding-bottom: 6px; }

.px__body { margin-top: clamp(40px, 3vw + 24px, 72px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 4vw, 80px); align-items: center; }

.px__tabs { display: grid; gap: 4px; }
.px-tab { all: unset; box-sizing: border-box; display: grid; gap: 6px; padding: 20px 0 22px; cursor: pointer; border-radius: 4px; }
.px-tab:focus-visible { outline: 2px solid var(--sun-c); outline-offset: 6px; }
.px-tab__bar { display: block; height: 2px; background: rgb(244 243 236 / .2); border-radius: 2px; overflow: hidden; margin-bottom: 10px; }
.px-tab__bar i { display: block; height: 100%; width: 100%; background: var(--sun-c); transform: scaleX(0); transform-origin: left; }
.px-tab[aria-selected="false"] .px-tab__bar i { transform: scaleX(0) !important; }
.px-tab__k { font: 500 14px/1.3 var(--font-text); letter-spacing: .02em; color: #b9cdb8; }
.px-tab__t { font: 400 clamp(22px, .6vw + 19px, 28px)/1.18 var(--font-display); letter-spacing: -0.012em; color: rgb(244 243 236 / .55); transition: color 300ms; }
.px-tab__d { font-size: 17px; line-height: 1.55; color: #d3e0d1; max-width: 38ch; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 420ms cubic-bezier(.22, 1, .36, 1), opacity 300ms; }
.px-tab[aria-selected="true"] .px-tab__k { color: var(--sun-c); }
.px-tab[aria-selected="true"] .px-tab__t { color: var(--pp); }
.px-tab[aria-selected="true"] .px-tab__d { max-height: 7em; opacity: 1; }
.px-tab:hover .px-tab__t { color: var(--pp); }

/* lo schermo della clip */
.px__screen { position: relative; background: var(--pp); color: var(--ink-c); border-radius: 18px; padding: 0; height: 500px; overflow: hidden; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .45); display: flex; flex-direction: column; }
.px-clip { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.px-clip[hidden] { display: none; }
.px-chat__top { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--rule-c); background: #fbfaf5; font-size: 15px; }
.px-chat__top b { font-weight: 600; }
.px-chat__top small { color: var(--soft-c); font-size: 13px; }
.px-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--g); color: var(--pp); font: italic 400 16px/1 var(--font-display); }
.px-av--group { background: #c9d9c2; color: var(--g); }

.px-chat { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 28px); mask-image: linear-gradient(to bottom, transparent 0, #000 28px); list-style: none; margin: 0; padding: 18px 18px 8px; flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; }
.px-b { max-width: 82%; padding: 10px 13px 11px; border-radius: 14px; font-size: 15.5px; line-height: 1.4; background: #fff; border: 1px solid var(--rule-c); }
.px-b p { margin: 0; }
.px-b b { font-weight: 600; }
.px-b--me { align-self: flex-end; background: #dcebd3; border-color: transparent; border-bottom-right-radius: 4px; }
.px-b--linfa, .px-b--them { align-self: flex-start; border-bottom-left-radius: 4px; }
.px-b--linfa { border-color: rgb(21 78 38 / .25); }
.px-who { display: block; font-size: 13px; font-weight: 600; color: var(--g); margin-bottom: 4px; }
.px-tr { margin: 6px 0 0 !important; font: italic 400 15px/1.35 var(--font-display); color: var(--soft-c); }
.px-ok { color: var(--g); font-weight: 700; }
.px-typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; background: #fff; border: 1px solid var(--rule-c); border-radius: 14px; border-bottom-left-radius: 4px; }
.px-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--soft-c); opacity: .5; }

.px-fig { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.px-fig span { padding: 5px 9px; border-radius: 8px; background: #f1efe5; font-size: 14px; font-variant-numeric: tabular-nums; }
.px-fig .is-key { background: var(--g); color: var(--pp); }
.px-fig b { font-weight: 600; }
.px-bars { display: grid; gap: 5px; margin-top: 9px; min-width: 230px; }
.px-bars span { display: grid; grid-template-columns: 64px 1fr 24px; align-items: center; gap: 8px; font-size: 13px; color: var(--soft-c); }
.px-bars em { font-style: normal; }
.px-bars i { height: 8px; border-radius: 4px; background: var(--g); width: calc(var(--w) * 250%); max-width: 100%; transform-origin: left; }
.px-bars b { font-variant-numeric: tabular-nums; color: var(--ink-c); text-align: right; }

.px-voice { display: flex; align-items: center; gap: 8px; }
.px-voice__play { width: 26px; height: 26px; border-radius: 50%; background: var(--g); position: relative; flex: none; }
.px-voice__play::after { content: ""; position: absolute; left: 10px; top: 8px; border: 5px solid transparent; border-left: 7px solid var(--pp); border-right: 0; }
.px-wave { display: flex; align-items: center; gap: 2px; height: 22px; width: 150px; }
.px-wave i { flex: 1; border-radius: 1px; background: rgb(21 78 38 / .35); height: 40%; }
.px-wave i:nth-child(3n) { height: 85%; } .px-wave i:nth-child(4n+1) { height: 60%; } .px-wave i:nth-child(5n+2) { height: 100%; }
.px-voice small { font-size: 13px; color: var(--soft-c); font-variant-numeric: tabular-nums; }
.px-doc { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.px-doc__sheet { width: 34px; height: 44px; border-radius: 3px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule-c), 0 2px 4px rgb(0 0 0 / .08); transform: rotate(-4deg); position: relative; }
.px-doc__sheet::before { content: ""; position: absolute; inset: 7px 6px auto; height: 3px; background: rgb(20 32 26 / .35); }
.px-doc__sheet::after { content: ""; position: absolute; left: 6px; right: 9px; top: 15px; height: 18px; border-block: 2px solid rgb(20 32 26 / .14); }

/* clip 3: quaderno di campagna */
.px-clip--qc { padding: 22px 22px 8px; gap: 18px; justify-content: center; }
.px-qc__msg { align-self: flex-start; max-width: 86%; padding: 12px 14px; background: #fff; border: 1px solid var(--rule-c); border-radius: 14px; border-bottom-left-radius: 4px; }
.px-qc__book { background: #fbfaf5; border: 1px solid var(--rule-c); border-radius: 10px; padding: 14px 16px 6px; }
.px-qc__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; }
.px-qc__head b { font: italic 400 19px/1.2 var(--font-display); }
.px-qc__head span { color: var(--soft-c); font-size: 14px; }
.px-qc__cols, .px-qr { display: grid; grid-template-columns: 52px 1.3fr 1.5fr 70px 64px; gap: 10px; align-items: baseline; }
.px-qc__cols { font-size: 12px; letter-spacing: .02em; color: var(--soft-c); padding: 6px 0; border-top: 1px solid var(--rule-c); }
.px-qc__book ol { list-style: none; margin: 0; padding: 0; }
.px-qr { padding: 10px 0; border-top: 1px solid var(--rule-c); font-size: 14.5px; font-variant-numeric: tabular-nums; position: relative; }
.px-qr span:nth-child(2) { font-weight: 600; }
.px-qr.is-new::before { content: ""; position: absolute; inset: 2px -8px; border-radius: 6px; background: rgb(252 191 32 / .22); z-index: 0; opacity: var(--hl, 0); }
.px-qr > span { position: relative; z-index: 1; }

.px__ctrl { position: absolute; left: 18px; right: 14px; bottom: 10px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.px__ex { font-size: 12px; color: var(--soft-c); letter-spacing: .02em; }
.px__replay { pointer-events: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--rule-c); background: #fbfaf5; color: var(--ink-c); font: 500 13px/1 var(--font-text); cursor: pointer; opacity: 0; transition: opacity 300ms; }
.px__replay svg { width: 14px; height: 14px; }
.px__replay.is-on { opacity: 1; }
.px-chat, .px-clip--qc { padding-bottom: 54px; }

@media (max-width: 1023px) {
  .px__head { grid-template-columns: minmax(0, 1fr); }
  .px__body { grid-template-columns: minmax(0, 1fr); }
  .px__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; order: 0; }
  .px-tab { padding: 0; gap: 0; }
  .px-tab__bar { margin-bottom: 10px; }
  .px-tab__t, .px-tab__d { display: none; }
  .px-tab__k { font-size: 14px; }
  .px__cap { display: block !important; }
}
.px__cap { display: none; margin-top: 4px; }
.px__cap h3 { margin: 0; font: 400 clamp(24px, 1vw + 19px, 30px)/1.18 var(--font-display); color: var(--pp); }
.px__cap p { margin: 8px 0 0; font-size: 17px; line-height: 1.55; color: #d3e0d1; max-width: 46ch; }
@media (max-width: 767px) {
  .px__body { gap: 20px; }
  .px__screen { height: 440px; border-radius: 14px; }
  .px-b { font-size: 15px; max-width: 90%; }
  .px-tab__k { font-size: 13px; }
  .px-qc__cols { display: none; }
  .px-qr { grid-template-columns: 50px 1fr auto; row-gap: 2px; }
  .px-qr span:nth-child(3) { grid-column: 2; grid-row: 2; color: var(--soft-c); }
  .px-qr span:nth-child(4) { grid-column: 3; grid-row: 1; }
  .px-qr span:nth-child(5) { grid-column: 3; grid-row: 2; color: var(--soft-c); text-align: right; }
  .px-clip--qc { padding: 16px 14px 54px; }
  .px-wave { width: 120px; }
}

/* ========== funzionalità a tendina ========== */
main > section.fx { background: #eae8dc; }
.fx__grid { display: grid !important; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 5vw, 96px); align-items: start; }
.fx__side { position: sticky; top: calc(var(--nav, 64px) + 32px); }
.fx__side .v-h2 { margin: 0; max-width: 12ch; }
.fx__side .v-h2 em { color: var(--g); }
.fx__lead { margin: 20px 0 0; font-size: clamp(17px, .3vw + 15.8px, 20px); line-height: 1.5; color: var(--soft-c); max-width: 34ch; }
.fx__calc { margin-top: 32px; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 18px 20px; border-radius: 12px; background: #fff6d6; color: var(--ink-c); text-decoration: none; max-width: 400px; border: 1px solid rgb(20 32 26 / .08); transition: transform 300ms cubic-bezier(.22, 1, .36, 1), box-shadow 300ms; }
.fx__calc:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgb(20 32 26 / .35); }
.fx__calc-k { grid-column: 1; font-size: 13px; letter-spacing: .02em; color: #7a5a00; font-weight: 600; }
.fx__calc-t { grid-column: 1; font: 400 20px/1.25 var(--font-display); }
.fx__calc .m-arrow { grid-column: 2; grid-row: 1 / span 2; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.fx__list { margin-top: 0 !important; }
.fx__q { font: 400 clamp(22px, .6vw + 19px, 28px)/1.2 var(--font-display); letter-spacing: -0.01em; color: var(--ink-c); }
.fx .dq__a { padding-left: 0; }
.dq__a a { color: var(--g); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023px) {
  .fx__grid { grid-template-columns: minmax(0, 1fr); }
  .fx__side { position: static; }
}

/* FAQ: titolo da solo; animazione d'apertura delle tendine */
#domande .dq__head { display: block; }
#domande .dq__head .v-h2 { max-width: 16ch; }
.dq__a { overflow: hidden; }
.dq__foot a { font-weight: 600; }

/* footer */
.ft__sign em { font-style: italic; }
.ft__contact--v5 { display: grid; gap: 18px; justify-items: start; align-content: end; }

/* barra in basso su telefono: due azioni */
.lbar--v5 .lbar__calc { display: inline-flex; align-items: center; justify-content: center; }

/* ========== pop-up prenotazione ========== */
.bk { width: min(560px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 0; border-radius: 18px; background: var(--pp); color: var(--ink-c); box-shadow: 0 40px 80px -30px rgb(0 0 0 / .5); overflow: auto; overscroll-behavior: contain; }
.bk::backdrop { background: rgb(14 30 20 / .55); backdrop-filter: blur(3px); }
.bk__in { position: relative; padding: 32px 32px 26px; }
.bk__x { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule-c); background: transparent; color: var(--ink-c); display: grid; place-items: center; cursor: pointer; }
.bk__x svg { width: 16px; height: 16px; }
.bk__x:hover { background: #eae8dc; }
.bk__h { margin: 0; padding-right: 48px; font: 400 clamp(28px, 1vw + 22px, 34px)/1.1 var(--font-display); letter-spacing: -0.015em; }
.bk__lead { margin: 10px 0 0; font-size: 17px; line-height: 1.5; color: var(--soft-c); }
.bk__form { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; }
.bk__form .tf { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.bk__form .tf--full, .bk__form .tf-check, .bk__form .bk__err, .bk__form .bk__send, .bk__form .bk__mock { grid-column: 1 / -1; }
.bk__form label, .bk__form legend { font: 500 14px/1.3 var(--font-text); color: var(--ink-c); padding: 0; }
.bk__form input:not([type="radio"]):not([type="checkbox"]) { width: 100%; height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid rgb(20 32 26 / .22); background: #fff; font: 400 16px/1 var(--font-text); color: var(--ink-c); }
.bk__form input:focus-visible { outline: 2px solid var(--g); outline-offset: 1px; border-color: var(--g); }
.bk__form input::placeholder { color: #8b918a; }
.bk__form [aria-invalid="true"] { border-color: #b3261e !important; }
.tf__unit { position: relative; }
.tf__unit input { padding-right: 44px !important; }
.tf__unit span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--soft-c); font-size: 15px; pointer-events: none; }
.bk__form .tf__hint { margin: 0; font-size: 13px; color: var(--soft-c); }
.bk__form .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bk__form .chips label { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgb(20 32 26 / .22); background: #fff; cursor: pointer; font-weight: 500; }
.bk__form .chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bk__form .chips label:has(input:checked) { background: var(--g); border-color: var(--g); color: var(--pp); }
.bk__form .chips label:has(input:focus-visible) { outline: 2px solid var(--g); outline-offset: 2px; }
.bk__form .tf-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14.5px; line-height: 1.45; color: var(--soft-c); }
.bk__form .tf-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--g); flex: none; }
.bk__form .tf-check a { color: var(--ink-c); }
.bk__err { margin: 0; padding: 10px 12px; border-radius: 8px; background: #fbe9e7; color: #8c1d18; font-size: 14.5px; }
.bk__send { width: 100%; justify-content: center; margin-top: 4px; }
.bk__mock { margin: 0; text-align: center; font-size: 12.5px; color: var(--soft-c); }
.bk__done { text-align: left; outline: none; }
.bk__tick { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--g); color: var(--pp); margin-bottom: 18px; }
.bk__tick svg { width: 26px; height: 26px; }
.bk__done-row { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.bk__close { min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--rule-c); background: transparent; font: 500 16px/1 var(--font-text); color: var(--ink-c); cursor: pointer; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 599px) {
  .bk { width: 100vw; max-width: none; max-height: 94svh; margin: auto 0 0; border-radius: 18px 18px 0 0; }
  .bk__in { padding: 26px 18px calc(20px + env(safe-area-inset-bottom)); }
  .bk__form { grid-template-columns: 1fr; }
}
html:has(.bk[open]) { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .px-tab__d, .fx__calc { transition: none; }
}

/* ========== hero da telefono: una storia alla volta, altezza fissa ========== */
.hm { display: none; margin: 0; }
@media (max-width: 767px) {
  .hero-sys__grid { row-gap: 0 !important; gap: 0 !important; }
  .hero-sys__scene { display: block !important; margin-top: 32px; }
  .hero-sys__scene .hs { display: none !important; }
  .hm { display: block; }
  .hero-sys .hero-sys__proof { margin-top: 16px; font-size: 14px; }
}
.hm__card { position: relative; background: #fbfaf5; border: 1px solid var(--rule-c); border-radius: 16px; padding: 16px; display: grid; grid-template-rows: 112px 56px 104px; box-shadow: 0 24px 50px -32px rgb(20 32 26 / .35); }
.hm__msgs, .hm__outs { position: relative; }
.hm-msg, .hm-out { position: absolute; inset: 0; }
.hm-msg { background: #fff; border: 1px solid var(--rule-c); border-radius: 12px; border-bottom-left-radius: 4px; padding: 12px 14px; display: grid; align-content: start; gap: 8px; }
.hm-msg__who { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.hm-msg__who img { width: 18px; height: 18px; }
.hm-msg__who b { font-weight: 600; }
.hm-msg__who time { margin-left: auto; color: var(--soft-c); font-variant-numeric: tabular-nums; }
.hm-msg q { quotes: "«" "»"; font: italic 400 17px/1.3 var(--font-display); color: var(--ink-c); }
.hm-voice { display: flex; align-items: center; gap: 8px; }
.hm-voice__play { width: 22px; height: 22px; border-radius: 50%; background: var(--g); position: relative; flex: none; }
.hm-voice__play::after { content: ""; position: absolute; left: 8px; top: 6px; border: 5px solid transparent; border-left: 7px solid var(--pp); border-right: 0; }
.hm-wave { display: flex; align-items: center; gap: 2px; height: 18px; flex: 1; max-width: 170px; }
.hm-wave i { flex: 1; border-radius: 1px; background: rgb(21 78 38 / .3); height: 45%; }
.hm-wave i:nth-child(3n) { height: 90%; } .hm-wave i:nth-child(4n+1) { height: 65%; } .hm-wave i:nth-child(5n+2) { height: 100%; }
.hm-voice small { font-size: 13px; color: var(--soft-c); }
.hm-photo { display: flex; align-items: center; gap: 12px; font-size: 15.5px; }
.hm-photo__doc { width: 34px; height: 44px; border-radius: 3px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule-c), 0 2px 4px rgb(0 0 0 / .08); transform: rotate(-4deg); position: relative; flex: none; }
.hm-photo__doc::before { content: ""; position: absolute; inset: 7px 6px auto; height: 3px; background: rgb(20 32 26 / .35); }
.hm-photo__doc::after { content: ""; position: absolute; left: 6px; right: 9px; top: 15px; height: 18px; border-block: 2px solid rgb(20 32 26 / .14); }

.hm__link { display: grid; grid-template-columns: 1fr 40px 1fr; align-items: center; gap: 10px; }
.hm__line { height: 1px; background: rgb(20 32 26 / .14); position: relative; overflow: hidden; }
.hm__line i { position: absolute; inset: 0; background: var(--g); transform: scaleX(0); transform-origin: left; }
.hm__leaf { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--rule-c); display: grid; place-items: center; }
.hm__leaf img { width: 24px; height: 24px; }

.hm-out { background: #e3ebdc; border-radius: 12px; padding: 12px 14px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto auto; column-gap: 12px; align-content: center; }
.hm-out__k { grid-column: 1 / -1; font-size: 12.5px; letter-spacing: .02em; color: #3d6b47; font-weight: 600; }
.hm-out__f { font: 400 21px/1.2 var(--font-display); color: var(--ink-c); margin-top: 2px; }
.hm-out__w { grid-column: 1; font-size: 14.5px; color: var(--soft-c); }
.hm-out__c { grid-column: 2; grid-row: 2 / span 2; align-self: center; text-align: right; font-size: 14px; color: var(--soft-c); font-variant-numeric: tabular-nums; }
.hm-out__c b { display: block; font: 600 26px/1 var(--font-text); color: var(--g); letter-spacing: -0.01em; }
.hm-out__c em { display: inline-block; margin-left: 4px; padding: 2px 6px; border-radius: 6px; background: var(--g); color: var(--pp); font-style: normal; font-weight: 600; font-size: 12.5px; }

.hm__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.hm__dots { display: flex; gap: 6px; padding-left: 4px; }
.hm__dots i { width: 6px; height: 6px; border-radius: 3px; background: rgb(20 32 26 / .2); transition: width 300ms, background-color 300ms; }
.hm__dots i.is-on { width: 18px; background: var(--g); }
.hm__pause { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule-c); background: transparent; color: var(--ink-c); display: grid; place-items: center; cursor: pointer; }
.hm__pause svg { width: 12px; height: 12px; }
.hm__pause .i-play, .hm__pause[aria-pressed="true"] .i-pause { display: none; }
.hm__pause[aria-pressed="true"] .i-play { display: block; }

/* ========== calcolatore: scheda scura tra funzionalità e domande ========== */
main > section.kc { background: var(--pp); padding: clamp(72px, 4vw + 48px, 120px) 0 0; height: auto; min-height: 0; display: block; }
main > section.kc > .wrap { display: block; }
.kc__card { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px clamp(40px, 5vw, 88px); align-items: center; padding: clamp(36px, 3vw + 20px, 64px); border-radius: 22px; background: #1b2620; color: #f4f3ec; }
.kc__k { margin: 0 0 18px; font: 600 13px/1.2 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: #b9c7ba; }
.kc__h { margin: 0; font: 400 clamp(34px, 2.2vw + 22px, 56px)/1.06 var(--font-display); letter-spacing: -0.02em; color: #f4f3ec; max-width: 18ch; text-wrap: balance; }
.kc__h em { font-style: italic; color: #b9dca5; }
.kc__lead { margin: 20px 0 0; font-size: clamp(17px, .3vw + 15.8px, 19px); line-height: 1.55; color: #d3dcd3; max-width: 44ch; }
.kc__btn { margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; background: #f4f3ec; color: #14201a; font: 500 17px/1 var(--font-text); text-decoration: none; transition: transform 300ms cubic-bezier(.22, 1, .36, 1), background-color 200ms; }
.kc__btn:hover { transform: translateY(-2px); background: #fff; }
.kc__btn .m-arrow, .kc__demo .m-arrow { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.kc__note { margin: 14px 0 0; font-size: 14px; color: #a9b7aa; }
.kc__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.kc__steps li { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-radius: 12px; background: rgb(244 243 236 / .07); border: 1px solid rgb(244 243 236 / .1); font-size: 16px; }
.kc__steps span { width: 26px; height: 26px; flex: none; border-radius: 50%; background: #f4f3ec; color: #14201a; display: grid; place-items: center; font: 600 13px/1 var(--font-text); }
.kc__vs { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kc__vs > div { display: grid; gap: 4px; align-content: start; padding: 15px 16px; border-radius: 12px; }
.kc__vs small { font-size: 13px; }
.kc__vs b { font-weight: 600; font-size: 16px; line-height: 1.3; }
.kc__oggi { border: 1px dashed rgb(244 243 236 / .3); color: #d3dcd3; }
.kc__linfa { background: #f4f3ec; color: #14201a; }
.kc__linfa small { color: #3d6b47; }
.kc__demo { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; color: #b9dca5; font: 500 15px/1.3 var(--font-text); text-decoration: underline; text-underline-offset: 4px; }
.kc__demo:hover { color: #d6efc8; }
@media (max-width: 1023px) { .kc__card { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) {
  .kc__card { border-radius: 18px; padding: 28px 20px; }
  .kc__btn { width: 100%; justify-content: center; }
  .kc__vs { grid-template-columns: 1fr; }
}

/* ========== banner «Oggi su Linfa» sotto l'hero: una frase, al centro ========== */
main > section.ol { background: #eae8dc; padding: 18px 0 !important; height: auto !important; min-height: 0 !important; display: block !important; }
main > section.ol > .wrap.ol__in { display: block !important; height: auto !important; min-height: 0 !important; text-align: center; }
.ol__line { margin: 0 auto; max-width: 40ch; font: 400 clamp(17px, .3vw + 15.8px, 20px)/1.4 var(--font-display); letter-spacing: -0.005em; color: var(--ink-c); text-wrap: balance; }
.ol__line b { font-weight: 400; font-style: italic; color: var(--g); white-space: nowrap; }
.ol__c { white-space: nowrap; }
main > section.hero-sys { padding-bottom: clamp(48px, 4vw, 80px) !important; }

/* ========== footer compatto: chiusura al centro sopra il campo, poi una riga sola ========== */
main > section#domande { padding-bottom: clamp(40px, 2vw + 28px, 56px) !important; height: auto !important; min-height: 0 !important; }
main > section#domande > .wrap { height: auto !important; min-height: 0 !important; }
footer.ft5 { padding: clamp(40px, 2vw + 28px, 56px) 0 0 !important; }
.ft5__close { display: grid !important; justify-items: center; text-align: center; gap: 24px; }
.ft5__sign { margin: 0; font: 400 clamp(30px, 1.6vw + 22px, 46px)/1.08 var(--font-display); letter-spacing: -0.02em; color: var(--ink-c); text-wrap: balance; max-width: 22ch; }
.ft5__sign em { font-style: italic; color: var(--g); }
.ft5__cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 24px; }
.ft5__calc { font: 500 16px/1.3 var(--font-text); color: var(--g); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgb(21 78 38 / .35); }
.ft5__calc:hover { text-decoration-color: currentColor; }
footer.ft5 .ft__land { margin-top: clamp(64px, 3vw + 48px, 88px); }
footer.ft5 .ft__land::before { left: 50%; margin-left: -28px; }
footer.ft5 .ft__field { height: clamp(64px, 4vw + 40px, 96px) !important; max-height: none; }
.ft5__bar { border-top: 1px solid rgb(21 78 38 / .35); background: #eae8dc; }
.ft5__bar-in { display: flex !important; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding: 16px 0 18px; font-size: 13px; color: var(--soft-c); }
.ft5__logo img { height: 24px; width: auto; display: block; }
.ft5__what, .ft5__copy { margin: 0; }
.ft5__legal { display: flex; gap: 16px; margin-left: auto; }
.ft5__legal a { color: var(--ink-c); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(20 32 26 / .25); }
.ft5__copy { flex-basis: 100%; font-size: 12.5px; }
@media (max-width: 767px) {
  .ft5__bar-in { padding-bottom: 24px; }
  .ft5__bar { padding-bottom: 64px; } /* spazio per la barra fissa in basso */
  body:has(footer.ft5) { padding-bottom: 0 !important; }
  .ft5__legal { margin-left: 0; }
}
.ft5__aws { margin: 0 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 11px; border-radius: 999px; background: #fbfaf5; border: 1px solid rgb(20 32 26 / .14); font: 400 13.5px/1.2 var(--font-text); color: var(--ink-c); }
.ft5__aws svg { width: 18px; height: 18px; color: #c47a00; flex: none; }
.ft5__aws b { font-weight: 600; }
.ft5__aws + .ft5__legal { margin-left: 8px; }
@media (max-width: 767px) { .ft5__aws { margin-left: 0; } .ft5__aws + .ft5__legal { margin-left: 0; flex-basis: 100%; } }
