/* FF-PIXEL-2 — «Togli lo sfondo gratis». */
.sfondo-page-body { background: #fbfaf8; }
.sfondo-page { max-width: 1040px; margin: 0 auto; padding: 22px 16px 40px; }
.sfondo-logo img { height: 32px; width: auto; display: block; }
.sfondo-hero h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(30px, 6.5vw, 52px); line-height: 1.05; letter-spacing: -0.01em; margin: 18px 0 10px; }
.sfondo-sub { font-size: clamp(16px, 2.2vw, 19px); color: #5d564c; max-width: 640px; margin: 0 0 22px; }
.sfondo-upload { border: 1.5px dashed #d6cfc4; border-radius: 20px; background: #fff; padding: 18px; }
.sfondo-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 190px; border-radius: 14px; background: #faf8f4; cursor: pointer; text-align: center; padding: 22px; }
.sfondo-drop:hover { background: #f6f2ea; }
.sfondo-drop-ico { width: 46px; height: 46px; border-radius: 50%; background: #171614; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; line-height: 1; }
.sfondo-drop-title { font-size: 19px; font-weight: 600; margin-top: 4px; }
.sfondo-drop-note { font-size: 13px; color: #7b7469; }
.sfondo-privacy { font-size: 12px; color: #8a8378; margin: 10px 2px 0; }
.sfondo-human { display: block; margin-top: 12px; font-size: 14px; }
.sfondo-error { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff1ee; color: #8c2f1d; font-size: 14px; }
.sfondo-progress { margin-top: 18px; padding: 16px; border-radius: 14px; background: #fff; border: 1px solid #e7e2da; }
.sfondo-progress p { margin: 0 0 8px; font-size: 15px; }
.sfondo-bar { display: block; height: 8px; border-radius: 999px; background: #eee9e0; overflow: hidden; }
.sfondo-bar span { display: block; height: 100%; width: 5%; background: #171614; transition: width .4s ease; }
.sfondo-result { margin-top: 22px; }
.sfondo-result h2 { font-family: Georgia, serif; font-weight: 400; font-size: 24px; margin: 0 0 12px; }
.sfondo-compare { position: relative; border-radius: 16px; overflow: hidden; background: #f2efe9; line-height: 0; touch-action: pan-y; }
.sfondo-compare img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 3; object-fit: contain; background: #faf8f4; }
.sfondo-compare img#sfondo-after { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.sfondo-compare input[type=range] { position: absolute; left: 6%; right: 6%; bottom: 10px; width: 88%; margin: 0; z-index: 3; }
.sfondo-tag { position: absolute; top: 10px; z-index: 2; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; background: rgba(23,22,20,.72); color: #fff; border-radius: 999px; padding: 4px 9px; line-height: 1; }
.sfondo-tag-before { left: 10px; }
.sfondo-tag-after { right: 10px; }
.sfondo-choices { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin: 14px 0; font-size: 14px; }
.sfondo-choices label { display: inline-flex; align-items: center; gap: 5px; }
.sfondo-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.sfondo-btn-dark { background: #171614; color: #fff; }
.sfondo-btn-accent { background: #ff5a36; color: #fff; }
.sfondo-btn-ghost { background: #fff; color: #171614; border-color: #d6cfc4; margin-left: 8px; }
.sfondo-sell { margin-top: 22px; padding: 20px; border-radius: 18px; background: #171614; color: #fff; }
.sfondo-sell h2 { font-family: Georgia, serif; font-weight: 400; font-size: 24px; margin: 0 0 6px; }
.sfondo-sell p { color: #d8d2c8; margin: 0 0 14px; }
.sfondo-block { margin-top: 34px; }
.sfondo-block h2 { font-family: Georgia, serif; font-weight: 400; font-size: 25px; margin: 0 0 12px; }
.sfondo-examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sfondo-example { color: inherit; text-decoration: none; }
.sfondo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border-radius: 12px; overflow: hidden; background: #eee9e0; }
.sfondo-pair img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.sfondo-example-title { display: block; font-size: 13px; color: #5d564c; margin-top: 6px; }
.sfondo-guide { margin: 0 0 10px; padding-left: 20px; color: #3f3a33; }
.sfondo-guide li { margin: 6px 0; }
.sfondo-link { color: #171614; }
.sfondo-faq details { border-top: 1px solid #e7e2da; padding: 10px 0; }
.sfondo-faq summary { cursor: pointer; font-weight: 600; }
.sfondo-faq p { margin: 8px 0 0; color: #5d564c; }
@media (min-width: 900px) {
  .sfondo-page { padding: 34px 24px 60px; }
  .sfondo-compare img { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .sfondo-examples { grid-template-columns: 1fr; }
  .sfondo-btn-ghost { margin: 8px 0 0; }
}
