/* ================================================================
   VLASTIR v2 — COMPONENTS
   ================================================================ */

/* ================================================================
   HEADER
   ================================================================ */

.vlx-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--dur-base) var(--ease-out),
              backdrop-filter var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}

/* Transparent on dark hero sections */
.vlx-header--transparent {
  background: transparent;
}

/* Scrolled state */
.vlx-header.is-scrolled {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 1px 0 var(--c-border-dark);
}

/* Fallback for no backdrop-filter support */
@supports not (backdrop-filter: blur(1px)) {
  .vlx-header.is-scrolled {
    background: var(--c-dark);
  }
}

/* Light header (for ivory pages) */
.vlx-header--light {
  background: var(--c-ivory);
  border-bottom: var(--border-thin);
}

.vlx-header--light .vlx-nav__link,
.vlx-header--light .vlx-logo__wordmark {
  color: var(--c-charcoal);
}

/* Header chiaro che diventa scuro allo scroll: logo, link e tagline leggibili sul fondo scuro */
.vlx-header--light.is-scrolled .vlx-logo__wordmark,
.vlx-header--light.is-scrolled .vlx-nav__link {
  color: var(--c-text-dark);
}
.vlx-header--light.is-scrolled .vlx-logo__tagline {
  color: rgba(250, 250, 245, 0.65);
}

.vlx-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* ── Logo ── */
.vlx-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  gap: 3px;
}

.vlx-logo__wordmark {
  font-family: var(--f-serif);
  font-size: 1.625rem;
  font-weight: var(--fw-semi);
  letter-spacing: -0.01em;
  color: var(--c-text-dark);
  transition: color var(--dur-base);
}

.vlx-logo__wordmark span { color: var(--c-gold); }

.vlx-logo__tagline {
  font-family: var(--f-sans);
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-muted-dark);
}

/* ── Desktop Nav ── */
.vlx-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
}

.vlx-nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.vlx-nav__item {
  position: relative;
}

.vlx-nav__link {
  font-family: var(--f-sans);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--c-text-dark);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--dur-base) var(--ease-out);
}

.vlx-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-gold);
  transition: width var(--dur-base) var(--ease-out);
}

.vlx-nav__link:hover { color: var(--c-gold); }
.vlx-nav__link:hover::after,
.vlx-nav__link.is-active::after { width: 100%; }
.vlx-nav__link.is-active { color: var(--c-gold); }

/* ── Dropdown ── */
.vlx-nav__item .sub-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 210px;
  background: var(--c-dark-2);
  border-top: 2px solid var(--c-gold);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-2) 0;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
  z-index: 200;
}

/* Ponte invisibile: copre lo spazio (16px) tra la voce di menu e il sottomenu
   così spostando il mouse verso il basso l'hover non si interrompe. */
.vlx-nav__item .sub-menu::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}

.vlx-nav__item:hover .sub-menu,
.vlx-nav__item:focus-within .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.vlx-nav__item .sub-menu li { display: block; }

.vlx-nav__item .sub-menu a {
  display: block;
  padding: var(--sp-3) var(--sp-6);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--c-muted-dark);
  white-space: nowrap;
  transition: color var(--dur-base), background var(--dur-base);
}

.vlx-nav__item .sub-menu a:hover {
  color: var(--c-gold);
  background: rgba(196,162,98,0.06);
}

/* Dropdown a 2 colonne (5 + 5), riempimento per colonna */
.vlx-nav__item .sub-menu--2col {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(5, auto);
  min-width: 480px;
}
.vlx-nav__item .sub-menu--2col a { white-space: normal; }

/* ── Hamburger ── */
.vlx-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: var(--sp-2);
  cursor: pointer;
  z-index: 110;
}

.vlx-hamburger span {
  display: block;
  height: 1px;
  background: var(--c-text-dark);
  transition: transform var(--dur-base) var(--ease-out),
              opacity var(--dur-base),
              width var(--dur-base);
  transform-origin: center;
}

.vlx-hamburger span:nth-child(1) { width: 28px; }
.vlx-hamburger span:nth-child(2) { width: 20px; }
.vlx-hamburger span:nth-child(3) { width: 28px; }

/* Open state — morphs to × */
.vlx-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg);  width: 28px; }
.vlx-hamburger.is-open span:nth-child(2) { opacity: 0; }
.vlx-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 28px; }

/* ── Mobile Nav Overlay ── */
.vlx-mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background: var(--c-dark);
  z-index: 105;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: calc(var(--header-h) + var(--sp-6)) var(--sp-8) var(--sp-8);
  transform: translateX(100%);
  transition: transform var(--dur-base) var(--ease-out);
  border-left: 1px solid var(--c-border-dark);
  overflow-y: auto;                /* il menu scorre internamente se è alto */
  overscroll-behavior: contain;    /* niente "rimbalzo" che scopre il bianco dietro */
  -webkit-overflow-scrolling: touch;
}

/* Footer del menu mobile: CTA + contatti */
.vlx-mobile-nav__footer {
  margin-top: var(--sp-10);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--c-border-dark);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.vlx-mobile-nav__cta {
  width: 100%;
  font-size: var(--fs-xs);
}
.vlx-mobile-nav__contact {
  font-family: var(--f-sans);
  font-size: var(--fs-sm);
  color: var(--c-text-dark);
  letter-spacing: var(--ls-wide);
  transition: color var(--dur-base);
}
.vlx-mobile-nav__contact:hover { color: var(--c-gold); }
.vlx-mobile-nav__loc {
  font-family: var(--f-sans);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--c-muted-dark);
}

.vlx-mobile-nav.is-open {
  transform: translateX(0);
}

.vlx-mobile-nav__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 104;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base);
}

.vlx-mobile-nav__backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.vlx-mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vlx-mobile-nav__list > li { margin: 0; }

.vlx-mobile-nav__link {
  font-family: var(--f-serif);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semi);
  color: var(--c-text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--dur-base);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--c-border-dark);
}

.vlx-mobile-nav__link:hover { color: var(--c-gold); }

/* Servizi: riga toggle dell'accordion */
.vlx-mobile-nav__toggle {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid var(--c-border-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}
.vlx-mobile-nav__toggle[aria-expanded="true"] { color: var(--c-gold); }

.vlx-mobile-nav__chevron {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin: -4px 4px 0 var(--sp-4);
  opacity: 0.6;
  flex: none;
  transition: transform var(--dur-base) var(--ease-out);
}
.vlx-mobile-nav__group.is-open .vlx-mobile-nav__chevron {
  transform: rotate(-135deg);
  margin-top: 2px;
  opacity: 1;
}

/* ================================================================
   BUTTONS
   ================================================================ */

.vlx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--f-sans);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background var(--dur-base),
              color var(--dur-base),
              border-color var(--dur-base);
  text-decoration: none;
  white-space: nowrap;
}

.vlx-btn:hover { transform: translateY(-2px); }
.vlx-btn:active { transform: translateY(0); }

/* Primary — gold fill */
.vlx-btn--primary {
  background: var(--c-gold);
  color: var(--c-dark);
  border: 1px solid var(--c-gold);
}

.vlx-btn--primary:hover {
  background: var(--c-gold-light);
  border-color: var(--c-gold-light);
  box-shadow: var(--shadow-gold);
}

/* Ghost — outlined */
.vlx-btn--ghost {
  background: transparent;
  color: var(--c-text-dark);
  border: 1px solid var(--c-border-dark-h);
}

.vlx-btn--ghost:hover {
  background: var(--c-gold-glow);
  border-color: var(--c-gold);
  color: var(--c-gold);
}

/* Ghost on light bg */
.vlx-btn--ghost-dark {
  background: transparent;
  color: var(--c-charcoal);
  border: 1px solid rgba(28,43,58,0.3);
}

.vlx-btn--ghost-dark:hover {
  border-color: var(--c-gold);
  color: var(--c-gold);
}

/* ================================================================
   HERO
   ================================================================ */

.vlx-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--c-dark);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
}

/* CSS noise grain overlay */
.vlx-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 1;
}

/* Immagine di sfondo opzionale (Customizer › Immagini sito) */
.vlx-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.vlx-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,13,15,0.78) 0%, rgba(13,13,15,0.62) 45%, rgba(13,13,15,0.86) 100%);
}

.vlx-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.vlx-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
  overflow: hidden;
}

.vlx-hero__eyebrow-line {
  display: block;
  width: var(--sp-8);
  height: 1px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease-out) 0.4s;
}

.vlx-hero__eyebrow-line.is-visible {
  transform: scaleX(1);
}

.vlx-hero__title {
  font-family: var(--f-serif);
  font-size: var(--fs-hero);
  font-weight: var(--fw-semi);
  line-height: 1.06;
  letter-spacing: var(--ls-tight);
  color: var(--c-text-dark);
  margin-bottom: var(--sp-6);
}

.vlx-hero__title em {
  font-style: italic;
  font-weight: var(--fw-regular);
  color: var(--c-gold);
}

/* Each line wrapper for GSAP overflow clip.
   padding-bottom + negative margin lasciano spazio ai discendenti (g, p, q)
   senza alterare la spaziatura tra le righe. */
.vlx-hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.vlx-hero__rule {
  width: 0;
  height: 1px;
  background: var(--c-gold);
  margin: var(--sp-8) 0;
  transition: width var(--dur-hero) var(--ease-out) 0.8s;
}

.vlx-hero__rule.is-visible { width: var(--sp-24); }

.vlx-hero__sub {
  font-family: var(--f-serif);
  font-size: var(--fs-xl);
  font-style: italic;
  font-weight: var(--fw-regular);
  color: var(--c-muted-dark);
  max-width: 560px;
  margin-bottom: var(--sp-10);
  line-height: var(--lh-snug);
}

.vlx-hero__cta {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.vlx-hero__scroll {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: var(--c-muted-dark);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  animation: hero-scroll-bounce 2.4s ease-in-out infinite;
}

.vlx-hero__scroll::before {
  content: '';
  display: block;
  width: 1px;
  height: var(--sp-8);
  background: var(--c-gold);
  opacity: 0.5;
}

@keyframes hero-scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── Page Hero (inner pages) ── */
.vlx-page-hero {
  background: var(--c-dark);
  padding-top: calc(var(--header-h) + var(--sp-16));
  padding-bottom: var(--sp-16);
  position: relative;
  overflow: hidden;
}

.vlx-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
}

/* Video di sfondo (Chi Siamo) */
.vlx-page-hero--video {
  min-height: 420px;
  display: flex;
  align-items: center;
}
.vlx-page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.vlx-page-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vlx-page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
              rgba(10,10,10,0.55) 0%,
              rgba(10,10,10,0.65) 100%);
}
.vlx-page-hero__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: var(--sp-6);
  border: 1px dashed var(--c-border-dark);
  background: var(--c-dark-2);
  color: var(--c-muted-dark);
  font-family: var(--f-sans);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
}

/* ================================================================
   STATS STRIP
   ================================================================ */

.vlx-stats {
  background: var(--c-dark-2);
  border-top: 1px solid var(--c-border-dark);
  border-bottom: 1px solid var(--c-border-dark);
  padding: var(--sp-12) 0;
}

.vlx-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
}

.vlx-stat {
  text-align: center;
  padding: var(--sp-4);
}

.vlx-stat__number {
  font-family: var(--f-serif);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-semi);
  color: var(--c-gold);
  line-height: 1;
  display: block;
}

.vlx-stat__suffix {
  font-family: var(--f-serif);
  font-size: var(--fs-2xl);
  color: var(--c-gold);
}

.vlx-stat__label {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--c-muted-dark);
  margin-top: var(--sp-2);
  display: block;
}

@media (max-width: 768px) {
  .vlx-stats__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   CARDS
   ================================================================ */

.vlx-card {
  background: var(--c-white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
  position: relative;
}

.vlx-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
  z-index: 2;
}

.vlx-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.vlx-card:hover::before {
  transform: scaleX(1);
}

/* Dark card variant */
.vlx-card--dark {
  background: var(--c-surface);
  color: var(--c-text-dark);
}

.vlx-card__image {
  position: relative;
  overflow: hidden;
}

.vlx-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-long) var(--ease-out);
}

.vlx-card:hover .vlx-card__image img {
  transform: scale(1.04);
}

.vlx-card__body {
  padding: var(--sp-8);
}

.vlx-card__label {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--sp-3);
  display: block;
}

.vlx-card__title {
  font-family: var(--f-serif);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semi);
  margin-bottom: var(--sp-3);
  line-height: var(--lh-snug);
  color: var(--c-charcoal);
}

.vlx-card--dark .vlx-card__title { color: var(--c-text-dark); }

.vlx-card__title a {
  color: inherit;
  transition: color var(--dur-base);
}

.vlx-card__title a:hover { color: var(--c-gold); }

.vlx-card__excerpt {
  font-size: var(--fs-sm);
  color: var(--c-muted-light);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-6);
}

.vlx-card--dark .vlx-card__excerpt { color: var(--c-muted-dark); }

.vlx-card__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--c-muted-light);
  letter-spacing: var(--ls-wide);
}

.vlx-card--dark .vlx-card__meta { color: var(--c-muted-dark); }

.vlx-card__meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--c-gold);
  flex-shrink: 0;
}

/* ── Service card ── */
.vlx-service-card {
  background: var(--c-white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
  position: relative;
}

.vlx-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
  z-index: 2;
}

.vlx-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.vlx-service-card:hover::before { transform: scaleX(1); }

.vlx-service-card__image {
  position: relative;
  overflow: hidden;
}

.vlx-service-card__image .vlx-placeholder--16-9,
.vlx-service-card__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--dur-long) var(--ease-out);
}

.vlx-service-card:hover .vlx-service-card__image img { transform: scale(1.04); }

.vlx-service-card__body {
  padding: var(--sp-6) var(--sp-8) var(--sp-8);
}

.vlx-service-card__num {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  color: var(--c-gold);
  margin-bottom: var(--sp-2);
  display: block;
}

.vlx-service-card__title {
  font-family: var(--f-serif);
  font-size: var(--fs-xl);
  font-weight: var(--fw-semi);
  color: var(--c-charcoal);
  margin-bottom: var(--sp-3);
  line-height: var(--lh-snug);
}

.vlx-service-card__text {
  font-size: var(--fs-sm);
  color: var(--c-muted-light);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-5);
}

.vlx-service-card__link {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--c-gold);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  transition: gap var(--dur-base);
}

.vlx-service-card__link::after { content: '→'; }
.vlx-service-card:hover .vlx-service-card__link { gap: var(--sp-4); }

/* ================================================================
   MANIFESTO SECTION
   ================================================================ */

.vlx-manifesto {
  background: var(--c-dark);
  padding: var(--sp-32) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.vlx-manifesto::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.vlx-manifesto__rule {
  width: 0;
  height: 1px;
  background: var(--c-gold);
  margin: var(--sp-8) auto;
  transition: width var(--dur-hero) var(--ease-out);
}

.vlx-manifesto__rule.is-visible { width: var(--sp-16); }

.vlx-manifesto__quote {
  font-family: var(--f-serif);
  font-size: var(--fs-2xl);
  font-style: italic;
  font-weight: var(--fw-regular);
  color: var(--c-text-dark);
  line-height: var(--lh-snug);
  max-width: 800px;
  margin: 0 auto;
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .vlx-manifesto { padding: var(--sp-20) 0; }
  .vlx-manifesto__quote { font-size: var(--fs-xl); }
}

/* ================================================================
   PROCESS (COME FUNZIONA)
   ================================================================ */

.vlx-process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.vlx-process__step {
  padding: var(--sp-10) var(--sp-8);
  text-align: center;
  position: relative;
}

/* Connecting line between steps */
.vlx-process__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: calc(var(--sp-10) + 20px); /* align with circle center */
  right: 0;
  width: 50%;
  height: 1px;
  background: var(--c-border-light);
}

.vlx-process__step:not(:first-child)::before {
  content: '';
  position: absolute;
  top: calc(var(--sp-10) + 20px);
  left: 0;
  width: 50%;
  height: 1px;
  background: var(--c-border-light);
}

.vlx-process__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--c-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-serif);
  font-size: var(--fs-sm);
  font-style: italic;
  color: var(--c-gold);
  margin: 0 auto var(--sp-6);
  background: var(--c-ivory);
  position: relative;
  z-index: 1;
}

.vlx-process__title {
  font-family: var(--f-serif);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semi);
  color: var(--c-charcoal);
  margin-bottom: var(--sp-3);
}

.vlx-process__text {
  font-size: var(--fs-sm);
  color: var(--c-muted-light);
  line-height: var(--lh-relaxed);
}

@media (max-width: 768px) {
  .vlx-process__grid { grid-template-columns: 1fr; }
  .vlx-process__step::before,
  .vlx-process__step::after { display: none; }
}

/* ================================================================
   MATERIALI — card grid
   ================================================================ */

.vlx-materials__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-6);
}

.vlx-material-card {
  background: #fff;
  border: 1px solid var(--c-border-light);
  border-radius: var(--r-md);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
/* Variante con banda immagine in alto (usata nei tessuti della home) */
.vlx-material-card--media {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.vlx-material-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-gold);
}

.vlx-material-card__dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-gold);
  margin: 0 auto var(--sp-5);
}

/* Banda immagine in cima alla card tessuto (come le card servizi) */
.vlx-material-card__media {
  width: 100%;
  overflow: hidden;
  background: var(--c-surface-2);
}
.vlx-material-card__media .vlx-placeholder {
  border: none;
  height: 100%;
}
.vlx-material-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform var(--dur-base) var(--ease-out);
}
.vlx-material-card:hover .vlx-material-card__img {
  transform: scale(1.04);
}
.vlx-material-card__body {
  flex: 1;
  padding: var(--sp-8) var(--sp-6);
}

.vlx-material-card__name {
  font-family: var(--f-serif);
  font-size: var(--fs-xl);
  font-weight: var(--fw-semi);
  color: var(--c-charcoal);
  margin-bottom: var(--sp-3);
}

.vlx-material-card__tech {
  display: block;
  font-family: var(--f-sans);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--sp-4);
}

.vlx-material-card__note {
  font-size: var(--fs-sm);
  font-style: italic;
  color: var(--c-muted-light);
  line-height: var(--lh-relaxed);
}

@media (max-width: 1024px) {
  .vlx-materials__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
  .vlx-materials__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 420px) {
  .vlx-materials__grid { grid-template-columns: 1fr; }
}

/* Privati — "I capi che curiamo" (10 card): 5 per riga su desktop */
#capi .vlx-materials__grid { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1024px) { #capi .vlx-materials__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { #capi .vlx-materials__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { #capi .vlx-materials__grid { grid-template-columns: 1fr; } }

/* ================================================================
   BOOKING FORM
   ================================================================ */

.vlx-booking {
  background: var(--c-dark);
  padding: var(--sp-24) 0;
  position: relative;
  overflow: hidden;
}

.vlx-booking::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.vlx-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.vlx-form__group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.vlx-form__group--full { grid-column: 1 / -1; }

.vlx-form__label {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--c-muted-dark);
}

.vlx-form__input,
.vlx-form__select,
.vlx-form__textarea {
  width: 100%;
  background: var(--c-surface);
  border: 1px solid var(--c-border-dark);
  border-radius: var(--r-sm);
  padding: var(--sp-4) var(--sp-5);
  color: var(--c-text-dark);
  font-size: var(--fs-base);
  font-weight: var(--fw-light);
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
}

.vlx-form__input::placeholder,
.vlx-form__textarea::placeholder { color: var(--c-muted-dark); }

.vlx-form__input:focus,
.vlx-form__select:focus,
.vlx-form__textarea:focus {
  border-color: var(--c-gold);
  box-shadow: 0 0 0 3px var(--c-gold-glow);
  outline: none;
}

.vlx-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C4A262' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-5) center;
  cursor: pointer;
}

.vlx-form__select option { background: var(--c-dark); color: var(--c-text-dark); }

.vlx-form__textarea { resize: vertical; min-height: 120px; }

.vlx-form__submit {
  grid-column: 1 / -1;
  margin-top: var(--sp-4);
}

.vlx-form__error {
  font-size: var(--fs-sm);
  color: #E07070;
  margin-top: var(--sp-2);
  display: none;
}

.vlx-form__success {
  text-align: center;
  padding: var(--sp-10);
  font-family: var(--f-serif);
  font-size: var(--fs-xl);
  color: var(--c-gold);
  display: none;
}

@media (max-width: 600px) {
  .vlx-form { grid-template-columns: 1fr; }
  .vlx-form__group--full { grid-column: 1; }
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */

.vlx-testimonials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
}

.vlx-testimonial {
  padding: var(--sp-10) var(--sp-8);
  border: 1px solid var(--c-border-light);
  border-radius: var(--r-md);
  position: relative;
}

.vlx-testimonial__mark {
  font-family: var(--f-serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--c-gold);
  opacity: 0.25;
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-6);
  font-style: normal;
}

.vlx-testimonial__text {
  font-family: var(--f-serif);
  font-size: var(--fs-md);
  font-style: italic;
  line-height: var(--lh-relaxed);
  color: var(--c-charcoal);
  margin-bottom: var(--sp-6);
  padding-top: var(--sp-6);
}

.vlx-testimonial__author {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--c-gold);
}

.vlx-testimonial__role {
  font-size: var(--fs-xs);
  color: var(--c-muted-light);
  margin-top: var(--sp-1);
}

@media (max-width: 768px) {
  .vlx-testimonials__grid { grid-template-columns: 1fr; }
}

/* ================================================================
   GALLERY (GALLERIA)
   ================================================================ */

.vlx-gallery-filter {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-bottom: var(--sp-10);
}

.vlx-filter-btn {
  font-family: var(--f-sans);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  padding: var(--sp-2) var(--sp-5);
  border: 1px solid var(--c-border-light);
  border-radius: var(--r-full);
  color: var(--c-muted-light);
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
  background: transparent;
}

.vlx-filter-btn:hover,
.vlx-filter-btn.is-active {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: var(--c-dark);
}

.vlx-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.vlx-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-out);
}

.vlx-gallery-item.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
}

.vlx-gallery-item__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.vlx-gallery-item__image img,
.vlx-gallery-item__image .vlx-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-long) var(--ease-out);
}

.vlx-gallery-item:hover .vlx-gallery-item__image img { transform: scale(1.06); }

.vlx-gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-base);
  display: flex;
  align-items: flex-end;
  padding: var(--sp-6);
}

.vlx-gallery-item:hover .vlx-gallery-item__overlay { opacity: 1; }

.vlx-gallery-item__title {
  font-family: var(--f-serif);
  font-size: var(--fs-lg);
  color: var(--c-text-dark);
  font-weight: var(--fw-semi);
}

@media (max-width: 768px) {
  .vlx-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   FOOTER
   ================================================================ */

.vlx-footer {
  background: var(--c-dark);
  color: var(--c-text-dark);
  padding-top: var(--sp-20);
}

.vlx-footer__top {
  border-top: 1px solid var(--c-border-dark);
  padding-top: var(--sp-16);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  padding-bottom: var(--sp-16);
}

.vlx-footer__brand-name {
  font-family: var(--f-serif);
  font-size: var(--fs-xl);
  font-weight: var(--fw-semi);
  color: var(--c-text-dark);
  margin-bottom: var(--sp-4);
  display: block;
}

.vlx-footer__brand-name span { color: var(--c-gold); }

.vlx-footer__tagline {
  font-size: var(--fs-sm);
  color: var(--c-muted-dark);
  line-height: var(--lh-relaxed);
  max-width: 260px;
  margin-bottom: var(--sp-6);
}

.vlx-footer__socials {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.vlx-footer__social {
  width: 36px;
  height: 36px;
  border: 1px solid var(--c-border-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  color: var(--c-muted-dark);
  transition: border-color var(--dur-base), color var(--dur-base), background var(--dur-base);
}

.vlx-footer__social:hover {
  border-color: var(--c-gold);
  color: var(--c-gold);
  background: var(--c-gold-glow);
}

.vlx-footer__col-title {
  font-family: var(--f-sans);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--c-text-dark);
  margin-bottom: var(--sp-6);
}

.vlx-footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.vlx-footer__link {
  font-size: var(--fs-sm);
  color: var(--c-muted-dark);
  transition: color var(--dur-base);
}

.vlx-footer__link:hover { color: var(--c-gold); }

.vlx-footer__bottom {
  border-top: 1px solid var(--c-border-dark);
  padding: var(--sp-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.vlx-footer__copy {
  font-size: var(--fs-xs);
  color: var(--c-muted-dark);
  letter-spacing: var(--ls-wide);
}

@media (max-width: 1024px) {
  .vlx-footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .vlx-footer__top { grid-template-columns: 1fr; }
}

/* ================================================================
   BREADCRUMB / POST NAVIGATION
   ================================================================ */

.vlx-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  color: var(--c-muted-dark);
}

.vlx-breadcrumb a { color: var(--c-muted-dark); transition: color var(--dur-base); }
.vlx-breadcrumb a:hover { color: var(--c-gold); }
.vlx-breadcrumb__sep { color: var(--c-gold); opacity: 0.5; }

/* ================================================================
   ABOUT — SPLIT + VALUES + TEAM
   ================================================================ */

.vlx-about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.vlx-about-split__text { max-width: 520px; }

.vlx-about-split__image {
  position: relative;
}

.vlx-about-split__image img,
.vlx-about-split__image .vlx-placeholder {
  border-radius: var(--r-lg);
  width: 100%;
}

/* Immagine in evidenza che riempie lo slot 4:3 come il placeholder */
.vlx-img-cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-lg);
}

@media (max-width: 768px) {
  .vlx-about-split { grid-template-columns: 1fr; }
}

.vlx-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}
@media (max-width: 900px) {
  .vlx-values__grid { grid-template-columns: repeat(2, 1fr); }
}

.vlx-value {
  padding: var(--sp-8);
  border: 1px solid var(--c-border-light);
  border-radius: var(--r-md);
  text-align: center;
}

.vlx-value__num {
  font-family: var(--f-serif);
  font-size: var(--fs-3xl);
  font-style: italic;
  color: var(--c-gold);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: var(--sp-4);
  display: block;
}

.vlx-value__title {
  font-family: var(--f-serif);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semi);
  color: var(--c-charcoal);
  margin-bottom: var(--sp-3);
}

.vlx-value__text {
  font-size: var(--fs-sm);
  color: var(--c-muted-light);
  line-height: var(--lh-relaxed);
}

/* ── Variante con immagine in alto (es. sezione Igiene) ── */
.vlx-value--media {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.vlx-value--media:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-gold);
}
.vlx-value--media .vlx-value__media {
  width: 100%;
  overflow: hidden;
  background: var(--c-surface-2);
}
.vlx-value--media .vlx-value__media .vlx-placeholder {
  border: none;
  height: 100%;
}
.vlx-value__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform var(--dur-base) var(--ease-out);
}
.vlx-value--media:hover .vlx-value__img {
  transform: scale(1.04);
}
.vlx-value--media .vlx-value__body {
  flex: 1;
  padding: var(--sp-8);
}

.vlx-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}

.vlx-team-card {
  text-align: center;
}

.vlx-team-card__photo {
  border-radius: 50%;
  overflow: hidden;
  width: 120px;
  height: 120px;
  margin: 0 auto var(--sp-4);
}

.vlx-team-card__photo img,
.vlx-team-card__photo .vlx-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vlx-team-card__name {
  font-family: var(--f-serif);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semi);
  color: var(--c-charcoal);
  margin-bottom: var(--sp-1);
}

.vlx-team-card__role {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--c-gold);
}

@media (max-width: 768px) {
  .vlx-values__grid,
  .vlx-team__grid { grid-template-columns: 1fr; }
}

/* ================================================================
   CONTACT PAGE
   ================================================================ */

.vlx-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}

.vlx-contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.vlx-contact-block__label {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--sp-2);
  display: block;
}

.vlx-contact-block__value {
  font-family: var(--f-serif);
  font-size: var(--fs-lg);
  color: var(--c-charcoal);
  line-height: var(--lh-snug);
}

.vlx-map-placeholder {
  background: var(--c-surface-2);
  border-radius: var(--r-md);
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--c-muted-dark);
  border: 1px dashed var(--c-border-dark);
  margin-top: var(--sp-8);
}

@media (max-width: 768px) {
  .vlx-contact-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   SERVICE DETAIL PAGE
   ================================================================ */

.vlx-service-detail-hero {
  position: relative;
  height: 55vh;
  overflow: hidden;
  background: var(--c-dark);
}

.vlx-service-detail-hero img,
.vlx-service-detail-hero .vlx-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.vlx-service-detail-hero__content {
  position: absolute;
  bottom: var(--sp-12);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-w);
  padding: 0 var(--sp-8);
}

.vlx-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.vlx-benefit {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}

.vlx-benefit__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--c-gold);
}

.vlx-benefit__icon::before {
  content: '✓';
  font-size: var(--fs-sm);
  color: var(--c-gold);
}

.vlx-benefit__text {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--c-charcoal);
}

/* ================================================================
   BLOG / ARCHIVE
   ================================================================ */

.vlx-post-header {
  padding-top: calc(var(--header-h) + var(--sp-16));
  padding-bottom: var(--sp-12);
  background: var(--c-dark);
  text-align: center;
}

.vlx-post-hero {
  max-height: 520px;
  overflow: hidden;
}

.vlx-post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vlx-post-content {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--sp-16) var(--sp-8);
  font-size: var(--fs-md);
  font-weight: var(--fw-light);
  line-height: var(--lh-relaxed);
  color: var(--c-charcoal);
}

.vlx-post-content h2,
.vlx-post-content h3,
.vlx-post-content h4 {
  margin: var(--sp-10) 0 var(--sp-4);
  font-family: var(--f-serif);
  font-weight: var(--fw-semi);
  color: var(--c-text-light);
  line-height: var(--lh-snug);
}
.vlx-post-content h2 { font-size: var(--fs-2xl); }
.vlx-post-content h3 { font-size: var(--fs-lg); }
.vlx-post-content h4 { font-size: var(--fs-md); }

.vlx-post-content p { margin-bottom: var(--sp-6); }

.vlx-post-content a { color: var(--c-gold); text-decoration: underline; text-underline-offset: 3px; }

.vlx-post-content ul,
.vlx-post-content ol { margin: var(--sp-4) 0 var(--sp-6) var(--sp-8); }

.vlx-post-content li { margin-bottom: var(--sp-2); line-height: var(--lh-relaxed); }

.vlx-post-content blockquote {
  border-left: 2px solid var(--c-gold);
  padding-left: var(--sp-6);
  margin: var(--sp-8) 0;
  font-style: italic;
  font-family: var(--f-serif);
  color: var(--c-muted-light);
}

/* ================================================================
   PAGINATION
   ================================================================ */

.vlx-pagination {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-16);
  flex-wrap: wrap;
}

.vlx-pagination a,
.vlx-pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-border-light);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  color: var(--c-charcoal);
  transition: all var(--dur-base);
}

.vlx-pagination a:hover,
.vlx-pagination .current {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: var(--c-dark);
}

/* ================================================================
   404 PAGE
   ================================================================ */

.vlx-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--c-dark);
  padding-top: var(--header-h);
}

.vlx-404__num {
  font-family: var(--f-serif);
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: var(--fw-semi);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--c-border-dark-h);
  display: block;
  margin-bottom: var(--sp-4);
}

/* ================================================================
   SEARCH FORM
   ================================================================ */

.vlx-search-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: var(--sp-8) auto 0;
}

.vlx-search-form input[type="search"] {
  flex: 1;
  background: var(--c-surface);
  border: 1px solid var(--c-border-dark);
  border-right: none;
  padding: var(--sp-3) var(--sp-5);
  color: var(--c-text-dark);
  font-size: var(--fs-base);
  border-radius: var(--r-sm) 0 0 var(--r-sm);
}

.vlx-search-form button {
  background: var(--c-gold);
  color: var(--c-dark);
  border: 1px solid var(--c-gold);
  padding: var(--sp-3) var(--sp-6);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--dur-base);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.vlx-search-form button:hover { background: var(--c-gold-light); }

/* ================================================================
   COMMENTS
   ================================================================ */

.vlx-comments { max-width: 720px; margin: var(--sp-12) auto 0; }

.vlx-comments .comment-list { padding: 0; }

.vlx-comments .comment {
  padding: var(--sp-6) 0;
  border-bottom: 1px solid var(--c-border-light);
}

.vlx-comments .comment-author { font-weight: var(--fw-medium); }

.vlx-comments .comment-meta {
  font-size: var(--fs-xs);
  color: var(--c-muted-light);
  margin-bottom: var(--sp-3);
}

/* ================================================================
   UTILITY — SCREEN READER
   ================================================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ================================================================
   WP ADMIN BAR OFFSET
   ================================================================ */

.admin-bar .vlx-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .vlx-header { top: 46px; } }

/* ================================================================
   CRO ADDITIONS — v2.1
   ================================================================ */

/* HERO — mini lead form */
.vlx-hero__minilead{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:var(--sp-8,2rem);max-width:560px;align-items:stretch}
.vlx-hero__minilead .vlx-form__input{flex:1 1 180px;min-height:48px;background:rgba(255,255,255,.08);border:1px solid rgba(199,168,107,.35);color:#fff;padding:.75rem 1rem;font-family:Inter,sans-serif;font-size:.9rem;border-radius:2px}
.vlx-hero__minilead .vlx-form__input::placeholder{color:rgba(255,255,255,.55)}
.vlx-hero__minilead .vlx-form__input:focus{outline:none;border-color:var(--c-gold,#c7a86b);background:rgba(255,255,255,.12)}
.vlx-hero__minilead .vlx-btn{flex:1 1 180px;min-height:48px;justify-content:center}
.vlx-hero__minilead .vlx-form__error{flex-basis:100%;color:#ff8a8a;font-size:.85rem;margin:.25rem 0 0;display:none}
.vlx-hero__minilead .vlx-form__success-mini{flex-basis:100%;color:var(--c-gold,#c7a86b);font-size:.95rem;margin:.5rem 0 0;display:none;font-family:Playfair Display,serif;font-style:italic}
@media(max-width:640px){.vlx-hero__minilead .vlx-form__input,.vlx-hero__minilead .vlx-btn{flex-basis:100%}}

/* TRUST STRIP */
.vlx-trust-strip{background:var(--c-charcoal,#1a1a1a);color:#f5efe6;padding:1rem 0;border-top:1px solid rgba(199,168,107,.25);border-bottom:1px solid rgba(199,168,107,.25)}
.vlx-trust-strip__list{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem 2.5rem;margin:0;padding:0;list-style:none;font-family:Inter,sans-serif;font-size:.85rem;letter-spacing:.04em}
.vlx-trust-strip__item{display:inline-flex;align-items:center;gap:.5rem;white-space:nowrap}
.vlx-trust-strip__icon{color:var(--c-gold,#c7a86b);font-weight:700}
@media(max-width:640px){.vlx-trust-strip__list{gap:.5rem 1.25rem;font-size:.78rem}}

/* SERVICE CARD — meta (delivery time) */
.vlx-service-card__meta{display:flex;align-items:center;gap:.5rem;margin:.75rem 0 1rem;font-family:Inter,sans-serif;font-size:.82rem;letter-spacing:.04em;color:var(--c-charcoal,#1a1a1a)}
.vlx-service-card__time{color:rgba(0,0,0,.6)}

/* Servizi: mantieni le 3 card allineate anche su tablet (niente card "orfana") */
@media (max-width: 1024px) and (min-width: 769px) {
  #servizi .vlx-grid--3{ grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
}

/* GUARANTEE SECTION */
.vlx-guarantee{background:var(--c-charcoal,#1a1a1a);color:#f5efe6;padding:var(--sp-20,6rem) 0;position:relative}
.vlx-guarantee::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(199,168,107,.04),transparent 60%);pointer-events:none}
.vlx-guarantee__inner{position:relative;text-align:center;max-width:1100px;margin:0 auto}
.vlx-guarantee__inner .vlx-h2{color:#f5efe6 !important}
.vlx-guarantee__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--sp-8,2.5rem);margin-top:var(--sp-10,3rem);text-align:left}
.vlx-guarantee__item{padding:var(--sp-6,1.75rem);border:1px solid rgba(199,168,107,.25);border-radius:2px;background:rgba(255,255,255,.02)}
.vlx-guarantee__title{font-family:Playfair Display,serif;font-size:1.25rem;color:var(--c-gold,#c7a86b);margin:0 0 .75rem}
.vlx-guarantee__text{font-family:Inter,sans-serif;font-size:.92rem;line-height:1.6;color:rgba(245,239,230,.8);margin:0}
@media(max-width:900px){.vlx-guarantee__grid{grid-template-columns:1fr;gap:1rem}}

/* FORM — GDPR checkbox */
.vlx-form__check{display:flex;align-items:flex-start;gap:.6rem;cursor:pointer;font-family:Inter,sans-serif;font-size:.88rem;line-height:1.5;color:var(--c-text-dark,#1a1a1a)}
.vlx-form__check input[type=checkbox]{width:18px;height:18px;margin-top:.15rem;accent-color:var(--c-gold,#c7a86b);cursor:pointer;flex-shrink:0}
.vlx-form__check a{color:var(--c-gold,#c7a86b);text-decoration:underline}

/* FORM — micro-trust line under submit */
.vlx-form__microtrust{margin-top:.75rem;text-align:center;font-family:Inter,sans-serif;font-size:.78rem;color:var(--c-muted-dark,rgba(0,0,0,.55));letter-spacing:.02em}

/* FORM su sfondo CHIARO (es. pagina Contatti): testo leggibile sull'avorio */
.vlx-form--light .vlx-form__label { color: var(--c-muted-light); }
.vlx-form--light .vlx-form__check { color: var(--c-text-light); }
.vlx-form--light .vlx-form__microtrust { color: var(--c-muted-light); }
.vlx-form--light .vlx-form__input,
.vlx-form--light .vlx-form__select,
.vlx-form--light .vlx-form__textarea {
  background: var(--c-warm);
  border-color: var(--c-border-light);
  color: var(--c-charcoal);
}
.vlx-form--light .vlx-form__input::placeholder,
.vlx-form--light .vlx-form__textarea::placeholder { color: var(--c-muted-light); }

/* HEADER — click-to-call */
.vlx-header__phone{display:inline-flex;align-items:center;gap:.4rem;margin-right:1rem;font-family:Inter,sans-serif;font-size:.88rem;color:inherit;text-decoration:none;letter-spacing:.02em;transition:color .2s}
.vlx-header__phone:hover{color:var(--c-gold,#c7a86b)}
.vlx-header__phone-icon{font-size:.95rem}
.vlx-header__phone-num{font-weight:500}
@media(max-width:1024px){.vlx-header__phone-num{display:none}}
@media(max-width:900px){.vlx-header__phone{display:none}}

/* WHATSAPP FLOATING BUTTON */
.vlx-wa-float{position:fixed;bottom:24px;right:24px;width:56px;height:56px;border-radius:50%;background:#25D366;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 20px rgba(0,0,0,.25);z-index:9999;transition:transform .2s,box-shadow .2s;text-decoration:none}
.vlx-wa-float:hover{transform:scale(1.08);box-shadow:0 8px 28px rgba(0,0,0,.35)}
.vlx-wa-float svg{display:block}
@media(max-width:640px){.vlx-wa-float{bottom:16px;right:16px;width:52px;height:52px}}

/* GOLD LINK helper */
.vlx-link-gold{color:var(--c-gold,#c7a86b);text-decoration:none;border-bottom:1px solid rgba(199,168,107,.4);padding-bottom:2px;transition:border-color .2s}
.vlx-link-gold:hover{border-color:var(--c-gold,#c7a86b)}

/* ================================================================
   SERVIZI — DROPDOWN CHEVRON & MOBILE SUB-NAV
   ================================================================ */

/* Chevron indicator on nav items that have a dropdown */
.vlx-nav__chevron {
  display: inline-block;
  width: 8px;
  height: 5px;
  margin-left: 5px;
  vertical-align: middle;
  position: relative;
  top: -1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M0 0l4 4 4-4' stroke='%23C4A262' fill='none' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform var(--dur-base) var(--ease-out);
  flex-shrink: 0;
}

.vlx-nav__item:hover > a .vlx-nav__chevron,
.vlx-nav__item:focus-within > a .vlx-nav__chevron {
  transform: rotate(180deg);
}

/* Mobile nav sub-item list */
.vlx-mobile-nav__sub {
  list-style: none;
  padding-left: var(--sp-6);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  border-left: 1px solid var(--c-border-dark);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.38s var(--ease-out),
              opacity 0.28s var(--ease-out),
              margin 0.38s var(--ease-out);
}

.vlx-mobile-nav__group.is-open .vlx-mobile-nav__sub {
  max-height: 600px;
  margin-top: var(--sp-2);
  margin-bottom: var(--sp-4);
  opacity: 1;
}

.vlx-mobile-nav__sub-link {
  font-family: var(--f-sans);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--c-muted-dark);
  padding: var(--sp-1) 0;
  transition: color var(--dur-base);
  display: block;
}

.vlx-mobile-nav__sub-link:hover { color: var(--c-gold); }

/* ================================================================
   PAGINE SERVIZIO — HERO SPECIFICO E LAYOUT
   ================================================================ */

/* Breadcrumb su hero scuro */
.vlx-page-hero .vlx-breadcrumb a { color: var(--c-muted-dark); }
.vlx-page-hero .vlx-breadcrumb a:hover { color: var(--c-gold); }
.vlx-page-hero .vlx-breadcrumb span { color: var(--c-muted-dark); }

/* Carosello — pallini indicatori (visibili solo su mobile via mobile.css) */
.vlx-carousel-dots { display: none; }
.vlx-carousel-dots__dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  min-width: 7px;
  min-height: 0;          /* annulla il min-height:44px touch che li deformava */
  padding: 0;
  line-height: 0;
  border: none;
  border-radius: 50%;
  background: var(--c-border-dark);
  opacity: 0.4;
  cursor: pointer;
  transition: opacity var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out);
}
.vlx-carousel-dots__dot.is-active {
  background: var(--c-gold);
  opacity: 1;
  transform: scale(1.3);
}

/* Service feature grid (icone + testo) */
.vlx-service-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-10);
}

.vlx-service-feature {
  padding: var(--sp-6);
  border: 1px solid var(--c-border-light);
  border-radius: var(--r-md);
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
}

.vlx-service-feature:hover {
  border-color: var(--c-gold);
  box-shadow: var(--shadow-sm);
}

.vlx-service-feature__icon {
  font-size: 1.5rem;
  margin-bottom: var(--sp-3);
  display: block;
}

.vlx-service-feature__title {
  font-family: var(--f-serif);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semi);
  color: var(--c-charcoal);
  margin-bottom: var(--sp-2);
}

.vlx-service-feature__text {
  font-size: var(--fs-sm);
  color: var(--c-muted-light);
  line-height: var(--lh-relaxed);
}

@media (max-width: 768px) {
  .vlx-service-features { grid-template-columns: 1fr; }
}

/* ================================================================
   B2B SERVICES GRID (homepage)
   ================================================================ */
.vlx-hero__cta { margin-top: var(--sp-8); }

/* Hero compatto su mobile */
@media (max-width: 600px) {
  .vlx-hero { min-height: auto; padding-top: calc(var(--header-h) + var(--sp-12)); padding-bottom: var(--sp-16); }
  .vlx-hero__title { margin-bottom: var(--sp-4); }
  .vlx-hero__sub { font-size: var(--fs-md); margin-bottom: var(--sp-8); }
  .vlx-hero__rule { margin: var(--sp-6) 0; }
  .vlx-hero__cta { margin-top: var(--sp-6); gap: var(--sp-3); }
  .vlx-hero__cta .vlx-btn { flex: 1 1 100%; padding: var(--sp-3) var(--sp-5); }
  .vlx-hero__scroll { display: none; }
}

.vlx-b2b-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.vlx-b2b-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-border-light);
  border-radius: var(--r-md);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.vlx-b2b-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-gold);
}
.vlx-b2b-card__media {
  width: 100%;
  overflow: hidden;
  background: var(--c-surface-2);
}
.vlx-b2b-card__media .vlx-placeholder {
  border: none;
  height: 100%;
}
.vlx-b2b-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform var(--dur-base) var(--ease-out);
}
.vlx-b2b-card:hover .vlx-b2b-card__img {
  transform: scale(1.04);
}
.vlx-b2b-card__body {
  flex: 1;
  padding: var(--sp-8);
}
.vlx-b2b-card__num {
  display: block;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: var(--fs-lg);
  color: var(--c-gold);
  margin-bottom: var(--sp-4);
}
.vlx-b2b-card__title {
  font-family: var(--f-serif);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semi);
  color: var(--c-charcoal);
  margin-bottom: var(--sp-3);
}
.vlx-b2b-card__text {
  font-size: var(--fs-sm);
  color: var(--c-muted-light);
  line-height: var(--lh-relaxed);
}
@media (max-width: 1024px) { .vlx-b2b-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .vlx-b2b-grid { grid-template-columns: 1fr; } }

/* ── Processo a 6 step (2 righe da 3) ── */
.vlx-process__grid--6 { grid-template-columns: repeat(3, 1fr); row-gap: var(--sp-12); }
.vlx-process__grid--6 .vlx-process__step:nth-child(3n)::after { display: none; }
.vlx-process__grid--6 .vlx-process__step:nth-child(3n+1)::before { display: none; }
@media (max-width: 1024px) {
  .vlx-process__grid--6 { grid-template-columns: repeat(2, 1fr); }
  .vlx-process__grid--6 .vlx-process__step::before,
  .vlx-process__grid--6 .vlx-process__step::after { display: none; }
}
@media (max-width: 600px) { .vlx-process__grid--6 { grid-template-columns: 1fr; } }

/* ── Processo a 3 step (pagine servizio) ── */
.vlx-process__grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) { .vlx-process__grid--3 { grid-template-columns: 1fr; } }

/* ── "Perché Vlastir": 4 colonne ── */
.vlx-guarantee__grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .vlx-guarantee__grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .vlx-guarantee__grid--4 { grid-template-columns: 1fr; } }

/* ================================================================
   MICRO-INTERAZIONI (hover)
   ================================================================ */

/* Bottone primario: riflesso "sheen" che attraversa al passaggio del mouse */
.vlx-btn--primary { position: relative; overflow: hidden; }
.vlx-btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s var(--ease-out);
  pointer-events: none;
}
.vlx-btn--primary:hover::after { left: 140%; }

/* Card servizio B2B: underline dorato sul titolo + numero che scorre */
.vlx-b2b-card__title { position: relative; display: inline-block; }
.vlx-b2b-card__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 1px;
  width: 0;
  background: var(--c-gold);
  transition: width var(--dur-base) var(--ease-out);
}
.vlx-b2b-card:hover .vlx-b2b-card__title::after { width: 100%; }
.vlx-b2b-card__num { transition: transform var(--dur-base) var(--ease-out); }
.vlx-b2b-card:hover .vlx-b2b-card__num { transform: translateX(5px); }

/* Card materiale: il pallino dorato pulsa al passaggio */
.vlx-material-card__dot { transition: transform var(--dur-base) var(--ease-out); }
.vlx-material-card:hover .vlx-material-card__dot { transform: scale(1.7); }

/* Link del footer: leggero scorrimento + colore oro */
.vlx-footer__link { transition: color var(--dur-base) var(--ease-out), padding-left var(--dur-base) var(--ease-out); }
a.vlx-footer__link:hover { padding-left: 6px; }

/* Step processo: il numero si illumina d'oro al passaggio */
.vlx-process__step { transition: transform var(--dur-base) var(--ease-out); }
.vlx-process__step:hover { transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
  .vlx-btn--primary::after { display: none; }
  .vlx-btn:hover,
  .vlx-b2b-card:hover,
  .vlx-material-card:hover,
  .vlx-process__step:hover { transform: none; }
}

