html:has(body.page-lavori) {
  background: #f4efe6;
  background-image: none;
}

body.page-lavori {
  min-height: 100%;
  background: #f4efe6;
  color: #1c1915;
  font-family: "Inter", sans-serif;
}

body.page-lavori #galaxy-canvas,
body.page-lavori .post-hero-flow-ref,
body.page-lavori .ambient {
  display: none !important;
}

body.page-lavori .site-header {
  transition: transform 280ms ease;
}
body.page-lavori.header-hidden .site-header {
  transform: translateY(-110%);
  pointer-events: none;
}
body.page-lavori.nav-menu-open .site-header {
  transform: none;
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  body.page-lavori .site-header { transition: none; }
}
body.page-lavori .site-header.is-solid {
  background: rgba(12, 10, 8, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 760px) {
  body.page-lavori.nav-home-only .brand {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    width: auto;
    overflow: visible;
  }

  body.page-lavori.nav-home-only .site-nav {
    gap: 0.28rem;
  }

  body.page-lavori.nav-home-only .site-nav a:not(:first-child) {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    max-width: none;
    overflow: visible;
  }

  body.page-lavori.nav-home-only .site-nav a:first-child {
    border: 0;
    background: transparent;
  }
}

.lv-wrap {
  width: min(1160px, calc(100% - 2.6rem));
  margin-inline: auto;
}

.lv-display {
  font-family: "Fraunces", "Times New Roman", serif;
  font-weight: 520;
  letter-spacing: -0.03em;
}

.lv-kicker {
  margin: 0 0 0.7rem;
  color: #b0893e;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lv-kicker--light {
  color: #e4c77a;
}

.lv-hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6.6rem 0 1.6rem;
  color: #f6f1e8;
  background:
    radial-gradient(720px 460px at 78% 58%, rgba(198, 154, 78, 0.18), transparent 68%),
    radial-gradient(480px 320px at 96% 88%, rgba(70, 42, 18, 0.45), transparent 70%),
    linear-gradient(180deg, #14110d 0%, #0b0a09 100%);
  overflow: hidden;
}

.lv-hero > .lv-wrap {
  width: min(1720px, calc(100% - 2.4rem));
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lv-hero__grid {
  display: grid;
  grid-template-columns: minmax(380px, 460px) minmax(0, 1fr);
  gap: 1rem 1.4rem;
  align-items: center;
}

.lv-hero h1 {
  margin: 0;
  max-width: 12ch;
  color: #f7f2e8;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2.7rem, 4.6vw, 4.15rem);
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.lv-hero__lead {
  margin: 1.05rem 0 0;
  max-width: 42rem;
  color: rgba(246, 241, 232, 0.78);
  font-size: 1rem;
  line-height: 1.65;
}

.lv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.45rem;
}

.lv-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.lv-btn:active {
  transform: scale(0.98);
}

.lv-btn svg {
  width: 0.95rem;
  height: 0.95rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

.lv-btn--gold {
  background: #e7d3a4;
  color: #1c1915;
}

.lv-btn--gold:hover {
  background: #f0e0bb;
}

.lv-btn--line {
  border-color: rgba(231, 211, 164, 0.55);
  color: #f6f1e8;
  background: transparent;
}

.lv-btn--line:hover {
  background: rgba(231, 211, 164, 0.1);
}

.lv-btn--dark {
  background: #1c1915;
  color: #f6f1e8;
}

.lv-btn--dark:hover {
  background: #2a261f;
}

.lv-btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #f6f1e8;
  background: rgba(255, 255, 255, 0.06);
}

.lv-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.lv-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin: 2.1rem 0 0;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lv-services a {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: inherit;
  text-decoration: none;
}

.lv-services strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 650;
}

.lv-services small {
  display: block;
  margin-top: 0.15rem;
  color: rgba(246, 241, 232, 0.62);
  font-size: 0.8rem;
  line-height: 1.4;
}

.lv-ico {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(228, 199, 122, 0.4);
  flex: none;
}

.lv-ico svg {
  width: 1.05rem;
  height: 1.05rem;
  stroke: #e4c77a;
  fill: none;
  stroke-width: 1.6;
}

.lv-stage {
  min-width: 0;
}

.lv-stage__shot {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(68vh, 740px);
  object-fit: contain;
  object-position: center right;
}

.lv-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 1.35rem 0 0.15rem;
  background: #f4efe6;
}

.lv-filters button {
  border: 1px solid #e3d7c6;
  background: #fff;
  color: #3a342c;
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.lv-filters button:hover {
  border-color: #c9b89a;
}

.lv-filters button.is-active {
  background: #1c1915;
  border-color: #1c1915;
  color: #f6f1e8;
}

.lv-filters button:active {
  transform: scale(0.98);
}

.lv-band {
  padding: 2.6rem 0 3.4rem;
  scroll-margin-top: 5.2rem;
}

.lv-band--cream { background: #f4efe6; }
.lv-band--ink {
  background:
    radial-gradient(700px 280px at 80% 0%, rgba(198, 154, 78, 0.12), transparent 70%),
    #0e0d0b;
  color: #f6f1e8;
}

.lv-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.lv-head h2 {
  margin: 0;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.lv-head p {
  margin: 0.55rem 0 0;
  max-width: 62ch;
  color: #6a645b;
  font-size: 0.98rem;
  line-height: 1.55;
}

.lv-band--ink .lv-head p { color: rgba(246, 241, 232, 0.72); }

.lv-more {
  flex: none;
  color: #1c1915;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.lv-band--ink .lv-more { color: #f3ead8; }

.lv-more:hover { text-decoration: underline; text-underline-offset: 0.22em; }

.lv-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

#lv-web,
#lv-software { overflow-x: clip; }

#lv-software {
  position: relative;
  padding-top: calc(2.6rem + 2.4rem);
  padding-bottom: calc(3.4rem + 2.2rem);
}

#lv-software > .lv-wrap { position: relative; z-index: 1; }

#lv-web .lv-carousel,
#lv-software .lv-carousel {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.lv-carousel__rail {
  position: relative;
  height: 1.35rem;
  margin: 0.85rem 1.25rem 0;
  cursor: grab;
  touch-action: none;
}

.lv-carousel__rail::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  border-radius: 999px;
  background: rgba(176, 137, 62, 0.28);
  transform: translateY(-50%);
}

.lv-carousel__thumb {
  position: absolute;
  left: 0;
  top: 50%;
  height: 3px;
  width: 28%;
  border-radius: 999px;
  background: #b0893e;
  transform: translateY(-50%);
  pointer-events: none;
}

.lv-band--ink .lv-carousel__rail::before { background: rgba(228, 199, 122, 0.28); }
.lv-band--ink .lv-carousel__thumb { background: #e4c77a; }

#lv-web .lv-cards,
#lv-software .lv-cards {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.4rem 1.25rem 0.7rem;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-y;
}

#lv-web .lv-cards::-webkit-scrollbar,
#lv-software .lv-cards::-webkit-scrollbar { display: none; }

#lv-web .lv-cards.is-dragging,
#lv-software .lv-cards.is-dragging { cursor: grabbing; user-select: none; }

#lv-web .lv-card,
#lv-software .lv-card {
  flex: 0 0 min(26rem, 78%);
  min-width: 0;
}

#lv-web .lv-card__media,
#lv-software .lv-card__media {
  height: auto;
  aspect-ratio: 1024 / 682;
  object-fit: cover;
  object-position: center center;
}

.lv-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0.7rem 0.7rem 1rem;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 36px -28px rgba(60, 42, 18, 0.55);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lv-card:hover { transform: translateY(-4px); }

.lv-card--ink {
  background: #161411;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
  color: #f6f1e8;
}

.lv-card__media {
  display: block;
  width: 100%;
  height: 158px;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 12px;
  background: #efe8dc;
}

.lv-card--ink .lv-card__media {
  background: #0c0b09;
  object-position: center center;
}

.lv-card__media--boat {
  object-position: 0% 58%;
}

.lv-card__cat {
  margin: 0.85rem 0.35rem 0.2rem;
  color: #b0893e;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lv-card h3 {
  margin: 0 0.35rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.lv-card p {
  margin: 0.4rem 0.35rem 0;
  color: #6a645b;
  font-size: 0.86rem;
  line-height: 1.45;
}

.lv-card--ink p { color: rgba(246, 241, 232, 0.68); }

.lv-card__go {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.9rem 0.35rem 0.15rem;
  color: #1c1915;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.lv-card--ink .lv-card__go { color: #f3ead8; }

.lv-card__go svg {
  width: 0.95rem;
  height: 0.95rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.lv-card:hover .lv-card__go svg { transform: translateX(4px); }

.lv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.7rem 0.35rem 0;
  padding: 0;
  list-style: none;
}

.lv-tags li {
  padding: 0.2rem 0.48rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(246, 241, 232, 0.72);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lv-clients {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.lv-client {
  display: grid;
  grid-template-columns: 4.4rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  min-height: 100%;
  padding: 1.05rem 1rem;
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 14px 30px -26px rgba(60, 42, 18, 0.6);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lv-client:hover { transform: translateY(-3px); }

.lv-client__mark {
  display: grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 14px;
  overflow: hidden;
  background: #f6f1e8;
}

.lv-client__mark--ink { background: #141210; }

.lv-client__mark--fill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lv-client__mark img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.lv-client__mark--zoom img {
  width: 150%;
  height: 150%;
}

.lv-client strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.lv-client .lv-kicker {
  margin: 0.28rem 0 0.35rem;
  font-size: 0.64rem;
}

.lv-client p {
  margin: 0;
  color: #6a645b;
  font-size: 0.82rem;
  line-height: 1.4;
}

.lv-partners {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.lv-partner {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  padding: 1.1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #161411;
  color: inherit;
  text-decoration: none;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lv-partner:hover {
  transform: translateY(-3px);
  border-color: rgba(228, 199, 122, 0.4);
}

.lv-partner__mark {
  display: grid;
  place-items: center;
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 12px;
  background: #0c0b09;
  overflow: hidden;
}

.lv-partner__mark--light { background: #f7f3ec; }

.lv-partner__mark img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.lv-partner__mark--zoom img {
  width: 155%;
  height: 155%;
}

.lv-partner__mark--fill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lv-partner h3 {
  margin: 0;
  font-size: 1.05rem;
}

.lv-partner p {
  margin: 0.3rem 0 0;
  color: rgba(246, 241, 232, 0.68);
  font-size: 0.84rem;
  line-height: 1.45;
}

.lv-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.4rem minmax(0, 1fr) 1.4rem minmax(0, 1fr) 1.4rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.lv-steps article {
  display: grid;
  grid-template-columns: 3.3rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.lv-steps__n {
  display: block;
  color: #b0893e;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lv-steps h3 {
  margin: 0.35rem 0 0;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.lv-steps h3 em {
  font-style: normal;
  color: #b0893e;
  margin-right: 0.15rem;
}

.lv-steps p {
  margin: 0.28rem 0 0;
  color: #6a645b;
  font-size: 0.84rem;
  line-height: 1.45;
}

.lv-stepico {
  display: grid;
  place-items: center;
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 999px;
  background: #efe4d2;
}

.lv-stepico svg {
  width: 1.2rem;
  height: 1.2rem;
  stroke: #8d7040;
  fill: none;
  stroke-width: 1.6;
}

.lv-steps__arrow {
  display: grid;
  place-items: center;
  height: 3.3rem;
  color: #cbb892;
}

.lv-steps__arrow svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

.lv-cta {
  position: relative;
  padding: 5.2rem 0 4.6rem;
  color: #f6f1e8;
  text-align: center;
  overflow: hidden;
  background: #12100e;
}

.lv-cta__bg {
  position: absolute;
  inset: -24px;
  background-color: #12100e;
  background-image:
    linear-gradient(180deg, rgba(8, 7, 6, 0.72), rgba(8, 7, 6, 0.55) 42%, rgba(8, 7, 6, 0.8)),
    url("image/siti-web-avellino-hero.webp");
  background-repeat: no-repeat;
  background-size: auto, cover;
  background-position: center, 12% 48%;
  filter: blur(10px) saturate(0.75) brightness(0.55);
}

.lv-cta__bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(8, 7, 6, 0.55));
}

.lv-cta .lv-wrap { position: relative; }

.lv-cta h2 {
  margin: 0 auto;
  max-width: 16ch;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.lv-cta p {
  margin: 0.85rem auto 0;
  max-width: 46rem;
  color: rgba(246, 241, 232, 0.86);
  font-size: 1rem;
  line-height: 1.6;
}

.lv-cta .lv-actions { justify-content: center; }

body.page-lavori .site-footer {
  margin-top: 0;
  background: #0c0b09;
}

@media (max-width: 1080px) {
  .lv-cards,
  .lv-clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lv-hero__grid { grid-template-columns: 1fr; }
  .lv-hero > .lv-wrap { width: min(1160px, calc(100% - 2.6rem)); }
  .lv-stage { max-width: 860px; }
  .lv-stage__shot { max-height: none; }
  .lv-hero h1 { max-width: 14ch; }
}

@media (max-width: 760px) {
  .lv-wrap { width: min(1160px, calc(100% - 1.5rem)); }
  .lv-hero { min-height: 0; padding: 6.4rem 0 2rem; }
  .lv-services,
  .lv-cards,
  .lv-clients,
  .lv-partners,
  .lv-steps { grid-template-columns: 1fr; }
  .lv-steps__arrow { display: none; }
  .lv-head { flex-direction: column; align-items: flex-start; }
  .lv-stage { max-width: none; }
  .lv-card__media { height: 190px; }
  #lv-web .lv-card,
  #lv-software .lv-card { flex-basis: 86%; }
  #lv-web .lv-card__media,
  #lv-software .lv-card__media { height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .lv-card,
  .lv-client,
  .lv-partner,
  .lv-btn,
  .lv-card__go svg { transition: none; }
}
