@font-face {
  font-family: "Oswald";
  src: url("../fonts/oswald-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("../fonts/oswald-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --sf-header-h: 5rem;
  --sf-nav-logo-h: 2.1875rem;
  --sf-color-primary: #1e160b;
  --sf-color-accent: #f2b705;
  --sf-color-accent-dark: #d49a04;
  --sf-color-highlight: #f7d256;
  --sf-color-ink: #14110b;
  --sf-color-surface: #faf3e4;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--sf-header-h) + env(safe-area-inset-top, 0px));
  overflow-x: clip;
}

body.page-home {
  overflow-x: hidden;
}

html[data-sf-hash-load] {
  background: #ffffff;
}

html[data-sf-hash-load] body {
  opacity: 0;
}

body {
  font-family: "Montserrat", system-ui, sans-serif;
}

h1,
h2 {
  font-family: "Oswald", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

a,
button,
[role="button"],
input,
select,
textarea {
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--sf-color-accent);
}

.sf-skip-link {
  position: absolute;
  left: 0.5rem;
  top: -100px;
  z-index: 999;
  border-radius: 0.5rem;
  background: #ffffff;
  color: #1e160b;
  font-weight: 700;
  padding: 0.75rem 1rem;
  transition: top 0.2s ease;
}

.sf-skip-link:focus {
  top: 0.5rem;
}

#site-header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

#site-header > div {
  align-items: center;
  min-height: var(--sf-header-h);
  padding-top: calc(0.375rem + env(safe-area-inset-top, 0px));
  padding-bottom: 0.375rem;
}

#site-header a[aria-label*="home"] {
  display: flex;
  align-items: center;
  align-self: stretch;
  line-height: 0;
}

#site-header #logo-light,
#site-header #logo-dark {
  height: var(--sf-nav-logo-h);
  max-height: calc(var(--sf-header-h) - 0.5rem);
  width: auto;
  max-width: min(68vw, 20rem);
  object-fit: contain;
  object-position: left center;
}

#site-header #logo-light.hidden,
#site-header #logo-dark.hidden {
  display: none !important;
}

#site-header #logo-light:not(.hidden),
#site-header #logo-dark:not(.hidden) {
  display: block;
}

@media (min-width: 769px) {
  :root {
    --sf-header-h: 5.125rem;
    --sf-nav-logo-h: 2.3125rem;
  }

  #site-header #logo-light,
  #site-header #logo-dark {
    max-width: min(72vw, 19.5rem);
  }
}

@media (min-width: 1024px) {
  :root {
    --sf-header-h: 6rem;
    --sf-nav-logo-h: 2.625rem;
  }

  #site-header > div {
    padding-top: calc(0.625rem + env(safe-area-inset-top, 0px));
    padding-bottom: 0.625rem;
  }

  #site-header #logo-light,
  #site-header #logo-dark {
    max-height: calc(var(--sf-header-h) - 0.625rem);
    max-width: 21.5rem;
  }
}

@media (min-width: 1280px) {
  :root {
    --sf-nav-logo-h: 2.6875rem;
  }

  #site-header > div {
    padding-top: calc(0.75rem + env(safe-area-inset-top, 0px));
    padding-bottom: 0.75rem;
  }
}

#site-header.nav-scrolled {
  background: rgba(250, 243, 228, 0.97) !important;
  border-color: rgba(30, 22, 11, 0.12) !important;
  box-shadow: 0 2px 12px rgba(30, 22, 11, 0.08);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#site-header:not(.nav-scrolled) {
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#site-header .nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.25rem 0;
  color: #f9fafb;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.4;
  letter-spacing: 0.035em;
  transition: color 0.2s ease;
}

#site-header.nav-scrolled .nav-link {
  color: #1e160b;
}

#site-header .nav-link:hover {
  color: var(--sf-color-highlight);
}

#site-header #mobile-menu-button {
  position: relative;
  z-index: 2;
  touch-action: manipulation;
  min-height: 44px;
  min-width: 44px;
}

#site-header #mobile-menu-button svg {
  pointer-events: none;
}

#site-header.nav-scrolled #mobile-menu-button {
  color: #1e160b !important;
  border-color: rgba(30, 22, 11, 0.28) !important;
}

#site-header.nav-scrolled #mobile-menu-button:hover {
  border-color: color-mix(in srgb, var(--sf-color-accent) 65%, transparent) !important;
  color: var(--sf-color-accent-dark) !important;
}

body.mobile-menu-open {
  overflow: hidden;
}

#mobile-menu.sf-mobile-panel {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.38);
  border-bottom-left-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
}

#mobile-menu.sf-mobile-panel .sf-mobile-nav > a:not(.sf-mobile-nav-cta) {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-sizing: border-box;
}

#mobile-menu.sf-mobile-panel .sf-mobile-nav > a:not(.sf-mobile-nav-cta):hover,
#mobile-menu.sf-mobile-panel .sf-mobile-nav > a:not(.sf-mobile-nav-cta):focus-visible {
  background-color: rgba(255, 255, 255, 0.07);
  outline: none;
}

#mobile-menu.sf-mobile-panel .sf-mobile-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 0.875rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

@media (max-width: 1023px) {
  #site-header #mobile-menu-button {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 10px;
    color: inherit;
  }

  #site-header:not(.nav-scrolled) #mobile-menu-button {
    color: #fff !important;
  }

  #site-header #mobile-menu-button svg {
    width: 1.35rem;
    height: 1.35rem;
  }

  #site-header #mobile-menu-button svg * {
    stroke-width: 1.35px;
  }

  #site-header.nav-scrolled #mobile-menu-button {
    border: none !important;
    color: #1e160b !important;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--sf-color-accent);
  color: var(--sf-color-ink);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--sf-color-accent) 38%, transparent);
}

.btn-primary:hover {
  background: var(--sf-color-accent-dark);
  color: var(--sf-color-ink);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #ffffff;
  background: transparent;
}

.btn-outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline-dark {
  border: 1px solid #1e160b;
  color: #1e160b;
  background: #ffffff;
}

.btn-outline-dark:hover {
  background: #1e160b;
  color: #ffffff;
}

.btn-outline-accent {
  border: 1px solid var(--sf-color-accent);
  color: var(--sf-color-accent-dark);
  background: transparent;
}

.btn-outline-accent:hover {
  background: var(--sf-color-accent);
  color: var(--sf-color-ink);
}

/* --- HERO --- */
.hero-bg {
  background: #1e160b;
  isolation: isolate;
  overflow-x: hidden;
}

@media (min-width: 1024px) {
  .hero-bg__shell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: calc(100svh - var(--sf-header-h));
    padding-top: calc(var(--sf-header-h) + 0.75rem);
    padding-bottom: clamp(1.5rem, 4vh, 2.5rem);
  }

  .page-home .index-hero-title {
    font-size: clamp(4rem, 4.8vw, 4.375rem);
    line-height: 1.28;
  }

  .page-home .index-hero-stack {
    margin-top: 3rem;
  }
}

@media (min-width: 1024px) and (max-height: 900px) {
  .hero-bg__shell {
    padding-top: calc(var(--sf-header-h) + 0.5rem);
    padding-bottom: 1.25rem;
  }

  .index-hero-stack .index-hero-lead {
    margin-top: 1.5rem;
  }

  .index-hero-stack .index-hero-ctas {
    margin-top: 2rem;
  }

  .index-hero-stack .index-hero-trust {
    margin-top: 2.25rem;
    gap: 1rem;
  }

  .hero-floating-card {
    bottom: clamp(1rem, 2vh, 1.5rem);
    right: clamp(1rem, 2.5vw, 2rem);
  }
}

@media (min-width: 1024px) and (max-height: 768px) {
  .hero-bg__shell {
    padding-top: calc(var(--sf-header-h) + 0.25rem);
    padding-bottom: 1rem;
  }

  .index-hero-stack .index-hero-title {
    font-size: clamp(2.25rem, 4.2vw, 3.5rem);
    line-height: 1.28;
  }

  .index-hero-stack .index-hero-lead {
    margin-top: 1.25rem;
    font-size: 1rem;
  }

  .index-hero-stack .index-hero-ctas {
    margin-top: 1.5rem;
  }

  .index-hero-stack .index-hero-trust {
    margin-top: 2rem;
    gap: 0.75rem;
  }

  .index-hero-trust li {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    gap: 0.5rem;
  }

  .index-hero-trust li svg {
    width: 1.125rem;
    height: 1.125rem;
  }

  .hero-floating-card {
    bottom: 1rem;
    right: 1rem;
    padding: 1.35rem 1.65rem;
    gap: 0.75rem;
  }
}

.hero-bg > .hero-bg__shell {
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
  }
}

@media (max-width: 1023px) {
  .page-home .hero-bg {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100svh;
    min-height: 100dvh;
    height: auto;
    background-color: #1e160b;
  }

  .sf-hero-mobile-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
  }

  .sf-hero-mobile-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(30, 22, 11, 0.62) 0%,
      rgba(30, 22, 11, 0.5) 42%,
      rgba(30, 22, 11, 0.72) 100%
    );
  }

  .hero-bg__shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .index-hero-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    text-align: center;
  }

  .index-hero-ctas {
    align-items: center;
    width: 100%;
  }

  .index-hero-ctas .btn {
    width: min(100%, 20rem);
    justify-content: center;
  }

  .index-hero-lead {
    line-height: 1.45;
  }

  .index-hero-trust {
    justify-content: center;
    gap: 0.375rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .index-hero-trust li {
    padding: 0.375rem 0.5rem;
    font-size: 0.75rem;
  }

  .index-hero-trust li svg {
    width: 0.875rem;
    height: 0.875rem;
  }
}

@media (max-width: 767px) {
  .hero-bg__shell {
    padding-bottom: 2.5rem;
  }

  .index-hero-ctas {
    gap: 0.625rem;
  }

  .index-hero-ctas .btn {
    width: min(100%, 17.5rem);
    padding: 0.75rem 1.125rem;
    font-size: 0.875rem;
    line-height: 1.25;
  }

  .index-hero-trust {
    flex-wrap: wrap;
    row-gap: 0.5rem;
    justify-content: center;
  }

  .index-hero-trust li {
    flex: 0 1 auto;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    padding: 0.375rem 0.625rem;
    font-size: 0.6875rem;
    line-height: 1.25;
  }

  .index-hero-trust li svg {
    width: 0.8125rem;
    height: 0.8125rem;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .index-hero-trust li {
    padding: 0.625rem 1.25rem;
    font-size: 1rem;
  }

  .index-hero-trust li svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.038;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

.hero-bg .hero-seq {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-bg .index-hero-title.hero-seq {
  transform: scale(0.9);
}

.hero-bg .index-hero-title.hero-seq.show {
  opacity: 1;
  transform: scale(1);
}

.hero-bg .index-hero-lead.hero-seq {
  transform: translateX(-80px);
}

.hero-bg .index-hero-lead.hero-seq.show {
  opacity: 1;
  transform: translateX(0);
}

.hero-bg .index-hero-ctas.hero-seq,
.hero-bg .index-hero-badge.hero-seq,
.hero-bg .index-hero-trust.hero-seq {
  transform: scale(0.92) translateY(18px);
}

.hero-bg .index-hero-ctas.hero-seq.show,
.hero-bg .index-hero-badge.hero-seq.show,
.hero-bg .index-hero-trust.hero-seq.show {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.hero-bg .hero-floating-card.hero-seq {
  transform: translateY(24px) scale(0.78);
}

.hero-bg .hero-floating-card.hero-seq.show {
  opacity: 1;
  transform: translateY(0) scale(0.78);
}

@media (max-width: 1023px) {
  .hero-bg .index-hero-lead.hero-seq {
    transform: translateY(18px);
  }

  .hero-bg .index-hero-lead.hero-seq.show {
    transform: translateY(0);
  }
}

.hero-floating-card {
  position: absolute;
  right: clamp(1.25rem, 3vw, 2.5rem);
  bottom: clamp(1rem, 2vh, 1.75rem);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(30, 22, 11, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 1.75rem 2rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  flex-direction: column;
  gap: 1rem;
  min-width: 220px;
  z-index: 10;
  transform: scale(0.78);
  transform-origin: bottom right;
}

.sf-hero-float-stat {
  margin: 0;
  color: var(--sf-color-accent);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.sf-hero-float-quality {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  border-radius: 9999px;
  border: 1px solid color-mix(in srgb, var(--sf-color-accent) 30%, transparent);
  background: color-mix(in srgb, var(--sf-color-accent) 15%, transparent);
  padding: 0.3rem 0.85rem;
}

.sf-hero-float-quality svg {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  color: var(--sf-color-accent);
}

.sf-hero-float-quality span {
  color: color-mix(in srgb, var(--sf-color-accent) 78%, white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --- HERO SECONDARIA (pagine interne) --- */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46vh;
  overflow: hidden;
  isolation: isolate;
}

@media (min-width: 1024px) {
  .page-hero {
    min-height: 52vh;
  }
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(30, 22, 11, 0.06) 0%,
    rgba(30, 22, 11, 0.18) 100%
  );
  z-index: -1;
}

.page-hero__inner {
  padding-top: 7rem;
  padding-bottom: 3rem;
  text-align: center;
}

#site-header .nav-link.is-active {
  color: var(--sf-color-highlight);
}

#site-header.nav-scrolled .nav-link.is-active {
  color: var(--sf-color-accent-dark);
}

/* --- DETTAGLIO SERVIZI (servizi.html) --- */
.service-detail {
  scroll-margin-top: 6.5rem;
}

.service-detail__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.service-detail__grid--top {
  align-items: start;
}

.service-detail__media img {
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  box-shadow: 0 12px 36px rgba(30, 22, 11, 0.12);
}

.service-detail__media--portrait img {
  aspect-ratio: auto;
  height: auto;
  object-fit: unset;
}

.service-detail__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.service-detail__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  background: color-mix(in srgb, var(--sf-color-accent) 10%, transparent);
  color: var(--sf-color-accent);
  flex-shrink: 0;
}

.service-detail__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.service-detail__title {
  margin: 0;
  color: #1e160b;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
}

.service-detail__body {
  margin-top: 1.25rem;
  color: #334155;
  font-size: 1rem;
  line-height: 1.65;
}

.service-detail__includes {
  margin-top: 1.5rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 1.1rem 1.15rem;
}

.service-detail__includes h3 {
  margin: 0;
  color: #1e160b;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-detail__includes ul {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.service-detail__includes li {
  position: relative;
  padding-left: 1.45rem;
  color: #334155;
  font-size: 0.94rem;
  line-height: 1.45;
}

.service-detail__includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--sf-color-accent);
  box-shadow: 0 0 0 3px rgba(242, 183, 5, 0.22);
}

.service-detail__cta {
  margin-top: 1.75rem;
}

@media (max-width: 1023px) {
  .service-detail__grid {
    display: flex;
    flex-direction: column;
  }

  .service-detail__content {
    display: contents;
  }

  .service-detail__head {
    order: 1;
  }

  .service-detail__media {
    order: 2;
  }

  .service-detail__body {
    order: 3;
  }

  .service-detail__includes {
    order: 4;
  }

  .service-detail__cta {
    order: 5;
  }
}

@media (min-width: 1024px) {
  .service-detail__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .service-detail--reverse .service-detail__media {
    order: 1;
  }

  .service-detail--reverse .service-detail__content {
    order: 2;
  }
}

/* --- CHI SIAMO --- */
.process-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.values-grid {
  display: grid;
  gap: 1.25rem;
}

.sf-quote-band {
  width: 100%;
  background: linear-gradient(135deg, #1e160b 0%, #3d2a12 55%, #1e160b 100%);
  padding: 4.5rem 0;
}

.sf-closing-band {
  width: 100%;
  background: linear-gradient(165deg, #14110b 0%, #18130e 38%, #1e1812 72%, #221c14 100%);
  padding: 4.5rem 0 5.5rem;
  color: #ffffff;
}

.sf-closing-band__cta {
  margin-top: 4rem;
  text-align: center;
}

.sf-closing-band__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.sf-closing-band .sf-quote-band__inner {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.sf-closing-band .sf-quote-band__mark {
  position: static;
  display: block;
  width: fit-content;
  margin: 0 auto 0.35rem;
}

.sf-closing-band .sf-quote-band__text {
  font-style: italic;
}

.sf-closing-band__btn {
  padding: 1.05rem 1.9rem;
  font-size: 1.05rem;
}

.sf-quote-band__inner {
  position: relative;
  max-width: 46rem;
  margin: 0;
  padding: 0 0 0 2.75rem;
  border: 0;
}

.sf-quote-band__mark {
  position: absolute;
  top: -0.35rem;
  left: 0;
  color: var(--sf-color-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}

.sf-quote-band__text {
  margin: 0;
  color: #faf3e4;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 600;
  line-height: 1.55;
}

.sf-quote-band__attribution {
  margin: 1.5rem 0 0;
  color: rgba(250, 243, 228, 0.72);
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (min-width: 640px) {
  .sf-quote-band {
    padding: 5.5rem 0;
  }

  .sf-closing-band {
    padding: 5.5rem 0 6.5rem;
  }

  .sf-closing-band__cta {
    margin-top: 5rem;
  }

  .sf-closing-band__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sf-closing-band__btn {
    padding: 1.1rem 2.1rem;
    font-size: 1.08rem;
  }

  .sf-quote-band__inner {
    padding-left: 3.5rem;
  }

  .sf-quote-band__mark {
    font-size: 6.5rem;
  }
}

@media (min-width: 1024px) {
  .sf-quote-band {
    padding: 6rem 0;
  }

  .sf-closing-band {
    padding: 6rem 0 7rem;
  }

  .sf-closing-band__cta {
    margin-top: 5.5rem;
  }

  .sf-closing-band .sf-quote-band__inner {
    max-width: 52rem;
  }

  .sf-quote-band__inner {
    margin-left: clamp(2rem, 8vw, 6rem);
    max-width: 52rem;
  }
}

.value-card {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #ffffff;
  padding: 1.35rem 1.25rem;
  box-shadow: 0 6px 22px rgba(30, 22, 11, 0.06);
}

.value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  background: color-mix(in srgb, var(--sf-color-accent) 10%, transparent);
  color: var(--sf-color-accent);
}

.value-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.value-card h3 {
  margin: 0.9rem 0 0;
  color: #1e160b;
  font-size: 1.05rem;
  font-weight: 800;
}

.value-card p {
  margin: 0.55rem 0 0;
  color: #334155;
  font-size: 0.94rem;
  line-height: 1.55;
}

.stats-bar {
  background: #1e160b;
  color: #ffffff;
}

.stats-bar__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: center;
}

@media (max-width: 639px) {
  .stats-bar__item strong {
    font-size: clamp(1.35rem, 5.2vw, 1.65rem);
  }

  .stats-bar__item > span {
    font-size: 0.6875rem;
    line-height: 1.25;
  }
}

.stats-bar__item strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.14em;
  color: var(--sf-color-highlight);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.stats-bar__star {
  display: inline;
  color: var(--sf-color-highlight);
  font-size: 0.88em;
  line-height: 1;
  flex-shrink: 0;
  transform: translateY(-0.04em);
}

.stats-bar__item > span {
  display: block;
  margin-top: 0.45rem;
  color: #e2e8f0;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
}

/* --- CONTATTI --- */
.contact-layout {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-location-card {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #ffffff;
  padding: 1.5rem 1.35rem;
  box-shadow: 0 8px 28px rgba(30, 22, 11, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-location-card:not(.contact-location-card--stacked) .contact-info-list {
  flex: 1;
  align-content: center;
}

.contact-location-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

.contact-location-card h2 {
  margin: 0;
  color: #1e160b;
  font-size: 1.35rem;
  font-weight: 800;
}

.contact-location-map {
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
}

.contact-layout > .contact-location-map {
  margin-top: 0;
  position: relative;
  height: 100%;
  min-height: 280px;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(30, 22, 11, 0.08);
  aspect-ratio: 4 / 3;
}

.contact-layout > .contact-location-map iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
}

.contact-location-map--embedded {
  flex: 1 1 0;
  min-height: 200px;
  margin-top: 1.5rem;
  display: flex;
  border-radius: 0.75rem;
}

.contact-location-map--embedded iframe {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 200px;
  border: 0;
}

.contact-location-map iframe {
  display: block;
  width: 100%;
  border: 0;
}

.contact-location-map--square {
  margin-top: 0;
  position: relative;
  aspect-ratio: 4 / 3;
}

.contact-location-map--square iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.contact-location-card h2.flex {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #1e160b;
}

.contact-location-card h2.flex svg {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--sf-color-accent);
  flex-shrink: 0;
}

.contact-card__action .btn {
  width: 100%;
  justify-content: center;
}

.contact-cards {
  display: grid;
  gap: 1.25rem;
}

.contact-card {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #ffffff;
  padding: 1.5rem 1.35rem;
  box-shadow: 0 8px 28px rgba(30, 22, 11, 0.08);
  height: 100%;
}

.contact-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  background: color-mix(in srgb, var(--sf-color-accent) 10%, transparent);
  color: var(--sf-color-accent);
}

.contact-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-card h2 {
  margin: 0.9rem 0 0;
  color: #1e160b;
  font-size: 1.25rem;
  font-weight: 800;
}

.contact-card p {
  margin: 0.65rem 0 0;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.55;
}

.contact-card__action {
  margin-top: 1.25rem;
}

.contact-info-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.contact-location-card > .contact-info-list:first-child {
  margin-top: 0;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.45;
}

.contact-info-list svg {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--sf-color-accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.contact-info-list a {
  color: #1e160b;
  font-weight: 600;
}

.contact-info-list a:hover {
  color: var(--sf-color-accent);
}

.contact-cta-panel {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #f8fafc;
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: 0 6px 22px rgba(30, 22, 11, 0.06);
}

.contact-cta-panel h2 {
  margin: 0;
  color: #1e160b;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
}

.contact-cta-panel p {
  margin: 0.65rem auto 0;
  max-width: 36rem;
  color: #334155;
  font-size: 0.97rem;
  line-height: 1.55;
}

.contact-cta-panel__actions {
  margin-top: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(30, 22, 11, 0.05);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  color: #1e160b;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
  padding: 1rem 1.1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--sf-color-accent);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover,
.faq-item summary:focus-visible {
  background: #f8fafc;
}

.faq-item__answer {
  border-top: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.94rem;
  line-height: 1.55;
  padding: 0.85rem 1.1rem 1.1rem;
}

.contact-map iframe {
  display: block;
  width: 100%;
  border: 0;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .contact-layout > .contact-location-map {
    aspect-ratio: auto;
    min-height: 100%;
  }
}

@media (min-width: 768px) {
  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-cta-panel__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .values-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 640px) {
  .stats-bar__grid {
    gap: 1.5rem;
  }

  .stats-bar__item > span {
    font-size: 0.88rem;
    line-height: 1.35;
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.bento-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.bento-grid--duo {
  grid-template-columns: 1fr;
}

.sf-product-bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.sf-product-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 17.5rem;
  border-radius: 1rem;
  isolation: isolate;
  text-decoration: none;
}

.sf-product-card__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.sf-product-card--sciroppo .sf-product-card__image {
  object-position: center 32%;
}

.sf-product-card--candito .sf-product-card__image {
  object-position: center 38%;
}

.sf-product-card:hover .sf-product-card__image,
.sf-product-card:focus-visible .sf-product-card__image {
  transform: scale(1.04);
}

.sf-product-card__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 60%,
    color-mix(in srgb, var(--sf-color-ink) 88%, transparent) 100%
  );
}

.sf-product-card__top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  display: flex;
  padding: 1rem 1.125rem 0;
  pointer-events: none;
}

.sf-product-card__tag {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid color-mix(in srgb, var(--sf-color-highlight) 35%, transparent);
  background: color-mix(in srgb, var(--sf-color-primary) 72%, transparent);
  color: color-mix(in srgb, var(--sf-color-surface) 92%, white);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sf-product-card__tag--lead {
  border-color: color-mix(in srgb, var(--sf-color-accent) 55%, transparent);
  background: var(--sf-color-accent);
  color: var(--sf-color-ink);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
}

.sf-product-card__bottom {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.125rem 1.125rem;
  pointer-events: none;
}

.sf-product-card__title-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sf-product-card__icon {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  color: var(--sf-color-highlight);
}

.sf-product-card__name {
  color: #ffffff;
  font-family: "Oswald", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 12px rgba(0, 0, 0, 0.4);
}

.sf-product-card__claim {
  margin: 0;
  max-width: 28ch;
  color: color-mix(in srgb, var(--sf-color-surface) 88%, white);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
}

.sf-product-trust {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.sf-product-trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.25rem;
  text-align: center;
}

.sf-product-trust__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 9999px;
  background: var(--sf-color-accent);
  color: var(--sf-color-ink);
}

.sf-product-trust__icon svg {
  width: 1rem;
  height: 1rem;
}

.sf-product-trust__title {
  margin: 0;
  color: var(--sf-color-primary);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.3;
}

.sf-product-trust__title-short {
  display: inline;
}

.sf-product-trust__title-full {
  display: none;
}

.sf-shipping-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(
    165deg,
    var(--sf-color-primary) 0%,
    color-mix(in srgb, var(--sf-color-accent) 22%, var(--sf-color-primary)) 100%
  );
  color: color-mix(in srgb, var(--sf-color-surface) 90%, white);
}

.sf-shipping-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 85% 70% at 88% 12%,
    color-mix(in srgb, var(--sf-color-accent) 14%, transparent) 0%,
    transparent 68%
  );
  pointer-events: none;
}

.sf-shipping-band > .mx-auto {
  position: relative;
  z-index: 1;
}

.sf-shipping-band__lead {
  margin: 0;
  color: color-mix(in srgb, var(--sf-color-surface) 82%, white);
}

.sf-shipping-band__stats {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-top: 2.5rem;
}

.sf-shipping-stat {
  padding: 1.25rem 1rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--sf-color-accent) 28%, transparent);
  background: color-mix(in srgb, var(--sf-color-ink) 35%, transparent);
  text-align: center;
}

.sf-shipping-stat__value {
  margin: 0;
  color: var(--sf-color-accent);
  font-family: "Oswald", system-ui, sans-serif;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.sf-shipping-stat__label {
  margin: 0.55rem 0 0;
  color: color-mix(in srgb, var(--sf-color-surface) 78%, white);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
}

.sf-shipping-band__cta {
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .sf-shipping-band__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  min-height: 260px;
  isolation: isolate;
}

.service-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.page-home .bento-grid .service-card img {
  position: absolute;
  inset: 0;
}

.service-card:hover img {
  transform: scale(1.04);
}

.service-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(30, 22, 11, 0.06);
  pointer-events: none;
  transition: background-color 0.3s ease;
}

.service-card:hover .service-overlay {
  background: rgba(30, 22, 11, 0.1);
}

.service-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.625rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(30, 22, 11, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28), 0 8px 18px rgba(0, 0, 0, 0.16);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.625rem 1.125rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card.card-large .service-badge {
  gap: 0.625rem;
  border-radius: 0.75rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 10px 25px rgba(0, 0, 0, 0.2);
  font-size: 1rem;
  padding: 0.875rem 1.5rem;
}

.service-card:hover .service-badge {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.4), 0 12px 28px rgba(0, 0, 0, 0.24);
}

.service-card:not(.card-large):hover .service-badge {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32), 0 10px 22px rgba(0, 0, 0, 0.2);
}

.service-badge svg {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  color: var(--sf-color-highlight);
}

.service-card.card-large .service-badge svg {
  width: 1.25rem;
  height: 1.25rem;
}

@media (min-width: 640px) {
  .service-badge {
    font-size: 0.9375rem;
    padding: 0.7rem 1.25rem;
  }

  .service-badge svg {
    width: 1.125rem;
    height: 1.125rem;
  }

  .service-card.card-large .service-badge {
    font-size: 1.125rem;
    padding: 0.875rem 1.75rem;
  }

  .service-card.card-large .service-badge svg {
    width: 1.5rem;
    height: 1.5rem;
  }
}

.feature-rich-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  padding: 1rem;
}

.feature-rich-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  background: color-mix(in srgb, var(--sf-color-accent) 10%, transparent);
  color: var(--sf-color-accent);
}

.feature-rich-icon svg {
  width: 1rem;
  height: 1rem;
}

.feature-rich-item h3 {
  margin: 0;
  color: #1e160b;
  font-size: 1rem;
  font-weight: 800;
}

.feature-rich-item p {
  margin: 0.35rem 0 0;
  color: #334155;
  font-size: 0.93rem;
  line-height: 1.5;
}

.sf-cta-band {
  width: 100%;
  background: linear-gradient(120deg, #14110b 0%, #18130e 45%, #1e1812 100%);
  padding: 4.5rem 0;
}

.sf-cta-band__inner {
  width: 100%;
}

@media (min-width: 640px) {
  .sf-cta-band {
    padding: 5.5rem 0;
  }
}

@media (min-width: 1024px) {
  .sf-cta-band {
    padding: 6.5rem 0;
  }
}

.sf-why-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.sf-why-body {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.sf-why-features {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sf-why-content {
  display: flex;
  flex-direction: column;
}

.sf-why-footer {
  display: flex;
  flex-direction: column;
}

.sf-why-stats {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
  padding: 1rem 1.125rem;
  border-radius: 0.875rem;
  border: 1px solid color-mix(in srgb, var(--sf-color-primary) 8%, transparent);
  background: color-mix(in srgb, var(--sf-color-surface) 88%, white);
}

.sf-why-stat {
  padding: 0.2rem 0.35rem;
  text-align: center;
}

.sf-why-stat__value {
  margin: 0;
  color: var(--sf-color-accent);
  font-family: "Oswald", system-ui, sans-serif;
  font-size: clamp(1.3rem, 2.1vw, 1.65rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.sf-why-stat__label {
  margin: 0.35rem 0 0;
  color: color-mix(in srgb, var(--sf-color-primary) 72%, transparent);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.35;
}

.sf-why-cta {
  margin-top: 1.5rem;
}

.sf-why-cta__btn {
  display: inline-flex;
  width: 100%;
  padding: 1.125rem 1.5rem;
}

@media (min-width: 640px) {
  .sf-why-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .sf-why-stat:not(:last-child) {
    border-right: 1px solid color-mix(in srgb, var(--sf-color-primary) 12%, transparent);
  }
}

@media (min-width: 1024px) {
  .sf-why-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 3rem;
  }

  .sf-why-content {
    height: 100%;
  }

  .sf-why-footer {
    margin-top: auto;
  }

  .sf-why-image-wrap {
    margin-left: auto;
    margin-right: 0;
  }
}

.sf-why-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: #1e160b;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 10px 25px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
}

.sf-why-video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center;
  border-radius: 1rem;
}

.sf-why-video-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.sf-why-video-play[hidden] {
  display: none;
}

.sf-why-video-play__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  background: rgba(30, 22, 11, 0.72);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.sf-why-video-play__icon svg {
  width: 1.75rem;
  height: 1.75rem;
  margin-left: 0.2rem;
}

.sf-why-video-play:hover .sf-why-video-play__icon,
.sf-why-video-play:focus-visible .sf-why-video-play__icon {
  transform: scale(1.05);
  background: rgba(30, 22, 11, 0.86);
}

.micro-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 9999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #1e160b;
  font-size: 0.79rem;
  font-weight: 700;
  padding: 0.35rem 0.78rem;
}

.micro-badge svg {
  width: 14px;
  height: 14px;
  color: var(--sf-color-accent);
}

.review-card {
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #ffffff;
  padding: 1.25rem;
  box-shadow: 0 6px 20px rgba(30, 22, 11, 0.06);
}

.review-card h3 {
  color: #1e160b;
  font-size: 1.02rem;
  font-weight: 800;
  margin-top: 0.5rem;
}

.review-card p {
  margin-top: 0.6rem;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.5;
}

.stars {
  color: var(--sf-color-highlight);
  letter-spacing: 0.1em;
}

.google-source {
  margin-top: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-title {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.footer-list {
  display: grid;
  gap: 0.45rem;
}

.footer-list a {
  color: #cbd5e1;
}

.footer-list a:hover {
  color: var(--sf-color-highlight);
}

.sf-cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  background: rgba(30, 22, 11, 0.96);
  box-shadow: 0 20px 40px rgba(11, 11, 11, 0.35);
  padding: 0.9rem 1rem;
}

/* Footer logo */
.sf-footer-logo {
  display: block;
  height: auto;
  width: auto;
  max-height: 3.25rem;
  max-width: 10.5rem;
  object-fit: contain;
  object-position: left center;
}

/* --- Home mobile (index) --- */
@media (max-width: 767px) {
  .page-home .bento-grid .service-card {
    height: 11.5rem;
    min-height: 11.5rem;
  }

  .page-home .bento-grid .service-card.card-large {
    grid-column: auto;
    min-height: 11.5rem;
    height: 11.5rem;
  }

  .page-home .sf-why-badges {
    flex-wrap: wrap;
    row-gap: 0.5rem;
    max-width: 100%;
  }

  .page-home .sf-why-badges .micro-badge {
    gap: 0.25rem;
    padding: 0.375rem 0.5rem;
    font-size: 0.75rem;
  }

  .page-home .sf-why-badges .micro-badge svg {
    width: 0.875rem;
    height: 0.875rem;
  }

  .sf-footer-grid {
    text-align: center;
  }

  .sf-footer-grid > div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .sf-footer-grid .footer-title,
  .sf-footer-grid .footer-list {
    width: 100%;
    text-align: center;
  }

  .sf-footer-grid .footer-list li {
    text-align: center;
  }

  .sf-footer-brand {
    align-items: center;
  }

  .sf-footer-logo {
    height: auto;
    width: auto;
    max-height: 3.6rem;
    max-width: 11.5rem;
    margin-inline: auto;
  }

  .sf-footer-tagline {
    max-width: 22rem;
    margin-inline: auto;
    text-align: center;
  }

  .sf-footer-bottom {
    align-items: center;
    text-align: center;
  }

  .sf-footer-bottom > p {
    width: 100%;
    text-align: center;
  }
}

@media (min-width: 768px) {
  .sf-product-bento {
    grid-template-columns: 3fr 2fr;
    grid-auto-rows: minmax(20rem, 1fr);
    align-items: stretch;
    gap: 1.25rem;
  }

  .sf-product-trust {
    gap: 1.25rem;
  }

  .sf-product-trust__item {
    gap: 0.75rem;
    padding: 1rem 0.75rem;
  }

  .sf-product-trust__icon {
    width: 2.75rem;
    height: 2.75rem;
  }

  .sf-product-trust__icon svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .sf-product-trust__title {
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .sf-product-trust__title-short {
    display: none;
  }

  .sf-product-trust__title-full {
    display: inline;
  }

  .bento-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(210px, 1fr);
  }

  .bento-grid--duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(230px, 1fr);
  }

  .service-card {
    min-height: 230px;
  }

  .card-large {
    grid-column: span 2;
    min-height: 280px;
  }
}

.hero-bg .hero-seq-1 { transition-delay: 0.18s; }
.hero-bg .hero-seq-2 { transition-delay: 0.86s; }
.hero-bg .hero-seq-3 { transition-delay: 1.54s; }
.hero-bg .hero-seq-4 { transition-delay: 2.22s; }
.hero-bg .hero-seq-5 { transition-delay: 2.9s; }
.hero-bg .hero-seq-6 { transition-delay: 3.58s; }

@media (min-width: 1024px) {
  .hero-bg .index-hero-trust.hero-seq-5 {
    transition-delay: 2.9s;
  }

  .hero-bg .hero-floating-card.hero-seq-6 {
    transition-delay: 3.58s;
  }
}

@media (max-width: 767px) {
  .sf-cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .sf-cookie-banner .btn {
    width: 100%;
  }
}

/* --- PAGINE LEGALI --- */
body.legal-page #site-header {
  background: rgba(250, 243, 228, 0.97) !important;
  border-color: rgba(30, 22, 11, 0.12) !important;
  box-shadow: 0 2px 12px rgba(30, 22, 11, 0.08);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.legal-page #site-header .nav-link {
  color: #1e160b;
}

body.legal-page #site-header .nav-link:hover {
  color: var(--sf-color-highlight);
}

body.legal-page #logo-light {
  display: none !important;
}

body.legal-page #logo-dark {
  display: block !important;
}

body.legal-page #site-header #mobile-menu-button {
  color: #1e160b !important;
  border-color: rgba(30, 22, 11, 0.28) !important;
}

.legal-page-main {
  padding-top: 7rem;
  padding-bottom: 4rem;
}

.legal-document {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #ffffff;
  padding: 2rem 1.5rem;
  box-shadow: 0 10px 32px rgba(30, 22, 11, 0.08);
}

.legal-document h1 {
  margin: 0;
  color: #1e160b;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
}

.legal-document__updated {
  margin-top: 1rem;
  color: #64748b;
  font-size: 0.875rem;
}

.legal-document section {
  margin-top: 2.5rem;
}

.legal-document h2 {
  margin: 0;
  color: #1e160b;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
}

.legal-document p,
.legal-document li {
  color: #334155;
  font-size: 0.97rem;
  line-height: 1.65;
}

.legal-document p {
  margin: 1rem 0 0;
}

.legal-document ul {
  margin: 1rem 0 0;
  padding-left: 1.35rem;
}

.legal-document ul li + li {
  margin-top: 0.5rem;
}

.legal-document a {
  color: var(--sf-color-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-document a:hover {
  color: #1e160b;
}

.legal-document code {
  border-radius: 0.35rem;
  background: #f1f5f9;
  padding: 0.1rem 0.4rem;
  font-size: 0.88rem;
}

@media (min-width: 640px) {
  .legal-document {
    padding: 2.5rem 2.25rem;
  }
}

@media (min-width: 768px) {
  .legal-page-main {
    padding-top: 8rem;
    padding-bottom: 5rem;
  }

  .legal-document {
    padding: 3rem;
  }
}

.sf-error-page {
  display: flex;
  min-height: calc(100svh - 5rem);
  align-items: center;
  justify-content: center;
  padding: 7rem 1rem 4rem;
  text-align: center;
}

.sf-error-page__code {
  font-family: "Oswald", sans-serif;
  font-size: clamp(5rem, 18vw, 8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--sf-color-accent);
}

.sf-error-page h1 {
  margin-top: 1rem;
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: #1e160b;
}

.sf-error-page p {
  margin-top: 1rem;
  max-width: 36rem;
  margin-inline: auto;
  font-size: 1rem;
  line-height: 1.65;
  color: #475569;
}

.sf-error-page__actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .sf-error-page__actions {
    flex-direction: row;
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-bg .hero-seq,
  .hero-bg .index-hero-stack,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
