﻿/*
Theme Name: Vlastir
Theme URI: https://vlastir.com
Author: VlaStir Studio
Author URI: https://vlastir.com
Description: Premium dark-first luxury WordPress theme for VlaStir - L'Arte dello Stiraggio di Lusso. Champagne Gold, Charcoal Dark, Soft Ivory. GSAP animations. Elementor Free compatible.
Version: 2.1.67
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vlastir
Tags: luxury, dark, minimalist, services, full-width-template, custom-colors, custom-logo, elementor
*/


/* Inline theme CSS fallback */
/* ================================================================
   VLASTIR v2 â€” DESIGN SYSTEM
   All tokens, reset, typography base
   ================================================================ */

/* â”€â”€ Google Fonts preconnect (fallback if functions.php fails) â”€â”€ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Inter:wght@300;400;500;600&display=swap');

:root {

  /* â”€â”€ Colors: Dark â”€â”€ */
  --c-dark:         #0D1520;
  --c-dark-2:       #111C2C;
  --c-surface:      #152030;
  --c-surface-2:    #1C2A3A;
  --c-border-dark:  rgba(196,162,98,0.15);
  --c-border-dark-h:rgba(196,162,98,0.40);

  /* â”€â”€ Colors: Light â”€â”€ */
  --c-ivory:        #F5F0E8;
  --c-warm:         #EDE8DF;
  --c-white:        #FAFAF5;
  --c-border-light: rgba(28,43,58,0.10);

  /* â”€â”€ Colors: Brand â”€â”€ */
  --c-gold:         #C4A262;
  --c-gold-light:   #D9BC89;
  --c-gold-dark:    #A0813E;
  --c-gold-glow:    rgba(196,162,98,0.12);
  --c-charcoal:     #1C2B3A;

  /* â”€â”€ Colors: Text â”€â”€ */
  --c-text-dark:    #FAFAF5;          /* on dark bg */
  --c-text-light:   #1C2B3A;          /* on light bg */
  --c-muted-dark:   rgba(250,250,245,0.50);
  --c-muted-light:  rgba(28,43,58,0.52);

  /* â”€â”€ Typography â”€â”€ */
  --f-serif: 'Playfair Display', 'Georgia', serif;
  --f-sans:  'Inter', 'Helvetica Neue', sans-serif;

  /* â”€â”€ Font sizes â”€â”€ */
  --fs-xs:   0.6875rem;   /* 11px â€” labels, overlines */
  --fs-sm:   0.8125rem;   /* 13px â€” meta, tags */
  --fs-base: 1rem;        /* 16px â€” body */
  --fs-md:   1.125rem;    /* 18px â€” lead */
  --fs-lg:   1.375rem;    /* 22px â€” card titles */
  --fs-xl:   1.75rem;     /* 28px â€” H3 */
  --fs-2xl:  2.25rem;     /* 36px â€” H2 */
  --fs-3xl:  3rem;        /* 48px â€” H1 secondary */
  --fs-hero: clamp(3.5rem, 8vw, 7rem);

  /* â”€â”€ Font weights â”€â”€ */
  --fw-light:   300;
  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semi:    600;

  /* â”€â”€ Line heights â”€â”€ */
  --lh-tight:   1.1;
  --lh-snug:    1.3;
  --lh-base:    1.6;
  --lh-relaxed: 1.8;

  /* â”€â”€ Letter spacing â”€â”€ */
  --ls-tight:   -0.02em;
  --ls-normal:   0;
  --ls-wide:     0.06em;
  --ls-widest:   0.14em;

  /* â”€â”€ Spacing (8px base) â”€â”€ */
  --sp-1:   0.25rem;   /*  4px */
  --sp-2:   0.5rem;    /*  8px */
  --sp-3:   0.75rem;   /* 12px */
  --sp-4:   1rem;      /* 16px */
  --sp-5:   1.25rem;   /* 20px */
  --sp-6:   1.5rem;    /* 24px */
  --sp-8:   2rem;      /* 32px */
  --sp-10:  2.5rem;    /* 40px */
  --sp-12:  3rem;      /* 48px */
  --sp-16:  4rem;      /* 64px */
  --sp-20:  5rem;      /* 80px */
  --sp-24:  6rem;      /* 96px */
  --sp-32:  8rem;      /* 128px */

  /* â”€â”€ Border radius â”€â”€ */
  --r-sm:   2px;
  --r-md:   8px;
  --r-lg:   16px;
  --r-full: 9999px;

  /* â”€â”€ Shadows â”€â”€ */
  --shadow-sm:  0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:  0 24px 64px rgba(0,0,0,0.18);
  --shadow-gold:0 8px 32px rgba(196,162,98,0.20);

  /* â”€â”€ Borders â”€â”€ */
  --border-thin:  1px solid var(--c-border-light);
  --border-dark:  1px solid var(--c-border-dark);
  --border-gold:  1px solid var(--c-gold);

  /* â”€â”€ Animation â”€â”€ */
  --dur-fast:  200ms;
  --dur-base:  400ms;
  --dur-long:  700ms;
  --dur-hero:  1200ms;
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);

  /* â”€â”€ Layout â”€â”€ */
  --max-w:     1280px;
  --max-w-md:  860px;
  --max-w-sm:  640px;
  --header-h:  80px;
}

/* ================================================================
   RESET
   ================================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--f-sans);
  font-size: var(--fs-base);
  font-weight: var(--fw-light);
  line-height: var(--lh-base);
  color: var(--c-text-light);
  background-color: var(--c-ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

button { background: none; border: none; cursor: pointer; font: inherit; }

input, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
  width: 100%;
}

/* ================================================================
   TYPOGRAPHY BASE
   ================================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-serif);
  font-weight: var(--fw-semi);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl);  }
h4 { font-size: var(--fs-lg);  }

p { font-size: var(--fs-base); line-height: var(--lh-relaxed); }

/* â”€â”€ Typography utilities â”€â”€ */
.vlx-hero-title {
  font-family: var(--f-serif);
  font-size: var(--fs-hero);
  font-weight: var(--fw-semi);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}

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

.vlx-h1 { font-family: var(--f-serif); font-size: var(--fs-3xl); font-weight: var(--fw-semi); line-height: var(--lh-tight); }
.vlx-h2 { font-family: var(--f-serif); font-size: var(--fs-2xl); font-weight: var(--fw-semi); line-height: var(--lh-snug);  }
.vlx-h3 { font-family: var(--f-serif); font-size: var(--fs-xl);  font-weight: var(--fw-semi); line-height: var(--lh-snug);  }
.vlx-h4 { font-family: var(--f-serif); font-size: var(--fs-lg);  font-weight: var(--fw-semi); }

.vlx-overline {
  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-gold);
  display: block;
}

.vlx-lead {
  font-size: var(--fs-md);
  font-weight: var(--fw-light);
  line-height: var(--lh-relaxed);
}

.vlx-caption {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

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

.vlx-serif { font-family: var(--f-serif); }
.vlx-italic { font-style: italic; }
.vlx-gold   { color: var(--c-gold); }

/* â”€â”€ Gold rule â”€â”€ */
.vlx-rule {
  border: none;
  height: 1px;
  background: var(--c-gold);
  width: var(--sp-12);
  margin: var(--sp-6) 0;
}

.vlx-rule--center { margin-left: auto; margin-right: auto; }

/* ================================================================
   LAYOUT
   ================================================================ */

.vlx-container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--sp-8);
  padding-right: var(--sp-8);
}

.vlx-container--md {
  max-width: var(--max-w-md);
}

.vlx-container--sm {
  max-width: var(--max-w-sm);
}

.vlx-container--full {
  max-width: 100%;
  padding: 0;
}

/* Sections */
.vlx-section {
  padding-top: var(--sp-24);
  padding-bottom: var(--sp-24);
}

.vlx-section--sm {
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-16);
}

.vlx-section--lg {
  padding-top: var(--sp-32);
  padding-bottom: var(--sp-32);
}

/* Section themes */
.vlx-section--dark  { background: var(--c-dark);  color: var(--c-text-dark); }
.vlx-section--ivory { background: var(--c-ivory); color: var(--c-text-light); }
.vlx-section--warm  { background: var(--c-warm);  color: var(--c-text-light); }

/* Grids */
.vlx-grid--2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-8); }
.vlx-grid--3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); }
.vlx-grid--4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-8); }
.vlx-grid--2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: var(--sp-10); }
.vlx-grid--1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: var(--sp-10); }

/* Flex helpers */
.vlx-flex         { display: flex; }
.vlx-flex--center { display: flex; align-items: center; justify-content: center; }
.vlx-flex--between{ display: flex; align-items: center; justify-content: space-between; }

/* â”€â”€ Scroll reveal base state â”€â”€ */
.vlx-reveal {
  opacity: 1;
  transform: none;
}

.vlx-js.vlx-animate .vlx-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-long) var(--ease-out),
              transform var(--dur-long) var(--ease-out);
}

.vlx-js.vlx-animate .vlx-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.vlx-reveal--delay-1 { transition-delay: 100ms; }
.vlx-reveal--delay-2 { transition-delay: 200ms; }
.vlx-reveal--delay-3 { transition-delay: 300ms; }
.vlx-reveal--delay-4 { transition-delay: 400ms; }

/* â”€â”€ Image placeholder â”€â”€ */
.vlx-placeholder {
  background: var(--c-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-sans);
  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);
  width: 100%;
}

.vlx-placeholder--16-9  { aspect-ratio: 16 / 9; }
.vlx-placeholder--4-3   { aspect-ratio: 4 / 3; }
.vlx-placeholder--1-1   { aspect-ratio: 1 / 1; }
.vlx-placeholder--3-4   { aspect-ratio: 3 / 4; }

/* â”€â”€ Main content wrapper â”€â”€ */
.vlx-main { min-height: 60vh; }

/* ================================================================
   MEDIA QUERIES
   ================================================================ */

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

@media (max-width: 768px) {
  :root {
    --sp-24: 4rem;
    --sp-32: 6rem;
    --fs-3xl: 2.25rem;
    --fs-2xl: 1.75rem;
    --header-h: 64px;
  }
  .vlx-container { padding-left: var(--sp-6); padding-right: var(--sp-6); }
  .vlx-grid--2,
  .vlx-grid--3,
  .vlx-grid--4 { grid-template-columns: 1fr; }
  .vlx-section { padding-top: var(--sp-16); padding-bottom: var(--sp-16); }
}

/* ================================================================
   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(13, 21, 32, 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);
}

/* Solid header (scuro, come il footer) — pagine interne */
.vlx-header--solid {
  background: var(--c-dark);
  border-bottom: 1px solid var(--c-border-dark);
}

.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;
}

/* Logo immagine (custom-logo dal Customizer): vincolato all'altezza header.
   Si punta direttamente su .custom-logo perché the_custom_logo() genera il
   proprio <a class="custom-logo-link"> (non annidato in .vlx-logo). */
.custom-logo {
  height: 52px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
}
.custom-logo-link { display: inline-flex; align-items: center; line-height: 0; }

.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;
}

.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: center;
  padding: var(--sp-20) var(--sp-10);
  transform: translateX(100%);
  transition: transform var(--dur-base) var(--ease-out);
  border-left: 1px solid var(--c-border-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: var(--sp-6);
}

.vlx-mobile-nav__link {
  font-family: var(--f-serif);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-semi);
  color: var(--c-text-dark);
  display: block;
  transition: color var(--dur-base);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--c-border-dark);
}

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

/* ================================================================
   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;
}

.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.0;
  letter-spacing: var(--ls-tight);
  color: var(--c-text-dark);
  margin-bottom: var(--sp-6);
  overflow: visible;        /* niente clip: i discendenti (g/p/q) restano interi */
  padding-bottom: 0.14em;   /* spazio per l'ultima riga (es. "Maglieria") */
}

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

/* Riga del titolo: overflow visibile per non tagliare i discendenti.
   Lo "slide up" GSAP resta gradevole (fade + rise), senza maschera che taglia. */
.vlx-hero__line {
  display: block;
  overflow: visible;
}

.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;
}

/* === PAGE HERO PULITO — niente banner scuro, testo sul fondo chiaro ===
   Vale per tutte le pagine TRANNE il video hero di Chi Siamo (.vlx-page-hero--video). */
.vlx-page-hero:not(.vlx-page-hero--video) {
  background: transparent;
  padding-top: calc(var(--header-h) + var(--sp-12));
  padding-bottom: var(--sp-6);
  overflow: visible;
}
.vlx-page-hero:not(.vlx-page-hero--video)::before { display: none; }
.vlx-page-hero:not(.vlx-page-hero--video) .vlx-h1 { color: var(--c-charcoal) !important; }
.vlx-page-hero:not(.vlx-page-hero--video) .vlx-lead,
.vlx-page-hero:not(.vlx-page-hero--video) p { color: var(--c-muted-light) !important; }
.vlx-page-hero:not(.vlx-page-hero--video) .vlx-breadcrumb a,
.vlx-page-hero:not(.vlx-page-hero--video) .vlx-breadcrumb span { color: var(--c-muted-light) !important; }

/* === Desktop: più aria tra contenuto e menu/footer (escluse Home e Chi Siamo) === */
@media (min-width: 901px) {
  body:not(.home):not(.page-id-25) .vlx-main {
    padding-top: var(--sp-10);
    padding-bottom: var(--sp-12);
  }
  /* Niente spazio in basso se l'ultima sezione è scura (.vlx-booking) → resta a filo del footer */
  body:not(.home):not(.page-id-25) .vlx-main:has(> .vlx-booking:last-child) {
    padding-bottom: 0;
  }
}

/* ================================================================
   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: '\2192'; }
.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(3, 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;
  line-height: 1;            /* il numero resta centrato nel cerchio */
  text-align: 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 SPLIT
   ================================================================ */

.vlx-materials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.vlx-materials__list-side {
  padding: var(--sp-20) var(--sp-12);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vlx-materials__item {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--c-border-light);
}

.vlx-materials__item:first-of-type { border-top: 1px solid var(--c-border-light); }

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

.vlx-materials__name {
  font-family: var(--f-serif);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semi);
  color: var(--c-charcoal);
}

.vlx-materials__desc {
  font-size: var(--fs-sm);
  color: var(--c-muted-light);
  margin-left: auto;
  text-align: right;
}

.vlx-materials__image-side {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.vlx-materials__image-side img,
.vlx-materials__image-side .vlx-placeholder {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

@media (max-width: 768px) {
  .vlx-materials {
    grid-template-columns: 1fr;
  }
  .vlx-materials__image-side {
    min-height: 280px;
    position: relative;
  }
  .vlx-materials__list-side { padding: var(--sp-12) var(--sp-6); }
}

/* ================================================================
   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(13,21,32,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);
}

/* Footer Servizi: 2 colonne su desktop, flusso indipendente
   (evita i buchi verticali del grid a righe condivise) */
@media (min-width: 901px) {
  .vlx-footer__links--cols {
    display: block;
    column-count: 2;
    column-gap: var(--sp-8);
  }
  .vlx-footer__links--cols li {
    break-inside: avoid;
    margin-bottom: var(--sp-3);
  }
  .vlx-footer__links--cols li:last-child {
    margin-bottom: 0;
  }
}

/* Tessuti: card più compatte (riduce altezza eccessiva) */
#materiali .vlx-material-card__body {
  padding: var(--sp-5) var(--sp-5);
}
#materiali .vlx-material-card__name { margin-bottom: var(--sp-2); }
#materiali .vlx-material-card__tech { margin-bottom: var(--sp-2); }
#materiali .vlx-material-card__img,
#materiali .vlx-material-card__media .vlx-placeholder {
  aspect-ratio: 16 / 7;
}

/* Mobile: tessuti home a 2 colonne (non scendere mai a 1) */
@media (max-width: 420px) {
  #materiali .vlx-materials__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile: pagina "Tutti i Servizi" (/servizi) → card a 2 colonne.
   Esclude la home (che mostra solo le 4 card principali). */
@media (max-width: 600px) {
  body:not(.home) .vlx-b2b-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
  body:not(.home) .vlx-b2b-card__body { padding: var(--sp-4); }
  body:not(.home) .vlx-b2b-card__title { font-size: var(--fs-md); line-height: var(--lh-snug); margin-bottom: var(--sp-2); }
  body:not(.home) .vlx-b2b-card__text { font-size: var(--fs-xs); line-height: var(--lh-relaxed); }
  /* Mai testo fuori dai bordi: a capo automatico anche su parole lunghe */
  body:not(.home) .vlx-b2b-card__title,
  body:not(.home) .vlx-b2b-card__text {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }
}
@media (max-width: 360px) {
  body:not(.home) .vlx-b2b-card__body { padding: var(--sp-3); }
  body:not(.home) .vlx-b2b-card__title { font-size: var(--fs-sm); }
}

.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%;
}

@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);
}

.vlx-value {
  padding: var(--sp-8);
  border: 1px solid var(--c-border-light);
  border-radius: var(--r-md);
  text-align: center;
}
/* Variante con immagine in alto: card senza padding (immagine a tutta larghezza) */
.vlx-value--media {
  padding: 0;
}
.vlx-value--media .vlx-value__body {
  padding: var(--sp-8);
}

.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);
}

.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: '\2713';
  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); }

.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 (price + delivery) */
.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__price{color:var(--c-gold,#c7a86b);font-weight:600}
.vlx-service-card__sep{color:rgba(0,0,0,.25)}
.vlx-service-card__time{color:rgba(0,0,0,.6)}

/* HOTEL PARTNERS LOGOS */
.vlx-partners{padding:var(--sp-12,4rem) 0;background:var(--c-charcoal,#1a1a1a);color:#f5efe6}
.vlx-partners__logos{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:2rem 3rem;opacity:.85}
.vlx-partners__logo{font-family:Playfair Display,serif;font-style:italic;font-size:1.1rem;letter-spacing:.05em;color:#f5efe6;opacity:.6;border:1px dashed rgba(245,239,230,.25);padding:.75rem 1.5rem;border-radius:2px;min-width:140px;text-align:center}
.vlx-partners__logo:hover{opacity:1}

/* 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}}
/* Variante 4 colonne (es. Privati "Perché Vlastir") — autoritativa sopra il repeat(3) base */
.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}}

/* MATERIALS â€” note line */
.vlx-materials__note{display:block;width:100%;margin-top:.4rem;font-family:Inter,sans-serif;font-size:.78rem;color:rgba(0,0,0,.55);font-style:italic;letter-spacing:.02em}

/* 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}

/* 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)}


/* ================================================================
   VLASTIR â€” MOBILE OPTIMIZATIONS v2.1
   Breakpoints: 1024 (tablet) Â· 900 Â· 768 (small tablet) Â· 600 Â· 480 Â· 380 (phone)
   Touch targets >= 44px, full-width CTAs, stacked grids, no horizontal scroll
   ================================================================ */

/* === Global: tap targets, no horizontal scroll === */
@media (max-width: 768px){
  html, body { overflow-x: hidden; }
  body { -webkit-text-size-adjust: 100%; }
  a, button, [role="button"], input[type="submit"]{ min-height: 44px; }
  .vlx-container{ padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
  body.vlx-front-page{ padding-bottom: 72px; } /* spazio per la sticky CTA bar */
}

/* === HEADER mobile === */
@media (max-width: 900px){
  .vlx-header__inner{ padding-top: .5rem; padding-bottom: .5rem; }
  .vlx-header .vlx-btn--primary{ padding: .55rem 1rem !important; font-size: .82rem !important; }
}
@media (max-width: 600px){
  .vlx-logo__tagline{ display: none; }
  .vlx-logo__wordmark{ font-size: 1.35rem; }
  .custom-logo{ height: 40px; max-width: 190px; }
  .vlx-header .vlx-btn--primary{ display: none; }
}

/* === HERO mobile === */
@media (max-width: 768px){
  .vlx-hero{ min-height: auto; padding: 5rem 0 3rem; }
  .vlx-hero__inner{ text-align: left; }
  .vlx-hero__title{ font-size: clamp(2rem, 9vw, 2.75rem) !important; line-height: 1.14; }
  .vlx-hero__sub{ font-size: 1rem !important; line-height: 1.5; margin-bottom: 1.75rem; }
  .vlx-hero__rule{ margin: 1.25rem 0; }
  .vlx-hero__eyebrow .vlx-overline{ font-size: .68rem; letter-spacing: .12em; }
  .vlx-hero__cta{ flex-direction: column; align-items: stretch; gap: .6rem; }
  .vlx-hero__cta .vlx-btn{ width: 100%; justify-content: center; padding: 1rem 1.25rem !important; font-size: .92rem; }
  .vlx-hero__scroll{ display: none; }
}
@media (max-width: 480px){
  .vlx-hero__title{ font-size: clamp(1.85rem, 10vw, 2.35rem) !important; }
}

/* HERO mini lead === */
@media (max-width: 768px){
  .vlx-hero__minilead{ margin-top: 1.5rem; gap: .5rem; }
  .vlx-hero__minilead .vlx-form__input{ min-height: 50px; font-size: 1rem; padding: .85rem 1rem; }
  .vlx-hero__minilead .vlx-btn{ min-height: 52px; padding: 1rem 1.25rem !important; }
}

/* === TRUST STRIP mobile === */
@media (max-width: 768px){
  .vlx-trust-strip{ padding: .85rem 0; }
  .vlx-trust-strip__list{ gap: .55rem 1rem; font-size: .75rem; }
}
@media (max-width: 480px){
  .vlx-trust-strip__list{ gap: .5rem .85rem; font-size: .72rem; }
}

/* === STATS mobile === */
@media (max-width: 768px){
  .vlx-stats{ padding: 2.5rem 0; }
  .vlx-stats__grid{ grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
  .vlx-stat__number{ font-size: 2.25rem !important; }
  .vlx-stat__suffix{ font-size: 1.5rem !important; }
  .vlx-stat__label{ font-size: .72rem; letter-spacing: .08em; }
}
@media (max-width: 380px){
  .vlx-stats__grid{ grid-template-columns: 1fr 1fr; gap: 1.25rem .75rem; }
  .vlx-stat__number{ font-size: 2rem !important; }
}

/* === SERVIZI cards mobile === */
@media (max-width: 768px){
  .vlx-section{ padding: 3rem 0 !important; }
  .vlx-grid--4{ grid-template-columns: 1fr !important; gap: 1.5rem; }
  .vlx-service-card{ max-width: 100%; }
  .vlx-service-card__title{ font-size: 1.35rem !important; }
  .vlx-service-card__text{ font-size: .92rem; }
  .vlx-service-card__meta{ font-size: .8rem; flex-wrap: wrap; }
  .vlx-service-card__link{ min-height: 44px; padding: .5rem 0; }
}

/* === PARTNERS logos mobile === */
@media (max-width: 768px){
  .vlx-partners{ padding: 2.5rem 0; }
  .vlx-partners__logos{ gap: 1rem 1.25rem; }
  .vlx-partners__logo{ font-size: .9rem; padding: .55rem 1rem; min-width: 110px; }
}
@media (max-width: 480px){
  .vlx-partners__logo{ font-size: .82rem; min-width: 100px; padding: .5rem .85rem; }
}

/* === COME FUNZIONA / PROCESS mobile === */
@media (max-width: 768px){
  .vlx-process__grid{ grid-template-columns: 1fr !important; gap: 2rem; }
  .vlx-process__step{ text-align: center; padding: 0 .25rem; }
  .vlx-process__step:not(:last-child)::after,
  .vlx-process__step:not(:first-child)::before{ display: none !important; }
  .vlx-process__num{ font-size: 2.25rem !important; }
  .vlx-process__title{ font-size: 1.2rem !important; }
  .vlx-process__text{ font-size: .92rem; line-height: 1.55; }
}

/* === TESTIMONIANZE mobile === */
@media (max-width: 900px){
  .vlx-testimonials__grid{ grid-template-columns: 1fr !important; gap: 1.25rem; }
  .vlx-testimonial{ padding: 1.5rem 1.25rem; }
  .vlx-testimonial__text{ font-size: 1rem; line-height: 1.55; }
  .vlx-testimonial__mark{ font-size: 2.25rem; }
}

/* === GUARANTEE mobile === */
@media (max-width: 900px){
  .vlx-guarantee{ padding: 3.5rem 0; }
  .vlx-guarantee__inner .vlx-h2{ font-size: 1.75rem !important; }
  .vlx-guarantee__grid{ grid-template-columns: 1fr; gap: .85rem; margin-top: 1.75rem; }
  .vlx-guarantee__item{ padding: 1.25rem 1.1rem; }
  .vlx-guarantee__title{ font-size: 1.1rem; }
  .vlx-guarantee__text{ font-size: .88rem; }
}

/* === MATERIALI mobile === */
@media (max-width: 900px){
  .vlx-materials{ display: flex !important; flex-direction: column !important; }
  .vlx-materials__list-side{ padding: 2.5rem 1.25rem !important; }
  .vlx-materials__image-side{ height: 240px; position: relative !important; }
  .vlx-materials__image-side .vlx-placeholder{ position: absolute; inset: 0; }
  .vlx-materials__item{ flex-wrap: wrap; padding: .85rem 0; }
  .vlx-materials__name{ font-size: 1.1rem; }
  .vlx-materials__desc{ font-size: .8rem; }
  .vlx-materials__note{ font-size: .75rem; }
}

/* === BOOKING FORM mobile === */
@media (max-width: 768px){
  .vlx-booking{ padding: 3rem 0 !important; }
  .vlx-booking .vlx-h2{ font-size: 1.75rem !important; }
  .vlx-form{ grid-template-columns: 1fr !important; gap: 1rem !important; }
  .vlx-form__group{ width: 100%; }
  .vlx-form__group--full{ grid-column: 1 / -1; }
  .vlx-form__label{ font-size: .82rem; }
  .vlx-form__input,
  .vlx-form__select,
  .vlx-form__textarea{ font-size: 16px !important; min-height: 50px; padding: .85rem 1rem; } /* 16px evita lo zoom iOS */
  .vlx-form__textarea{ min-height: 110px; }
  .vlx-form__check{ font-size: .85rem; gap: .5rem; }
  .vlx-form__microtrust{ font-size: .72rem; line-height: 1.5; }
  .vlx-form__submit .vlx-btn{ font-size: 1rem !important; padding: 1.05rem 1.25rem !important; min-height: 54px; }
}

/* === FOOTER mobile === */
@media (max-width: 900px){
  .vlx-footer__top{ grid-template-columns: 1fr 1fr !important; gap: 2rem 1.25rem; }
}
@media (max-width: 600px){
  .vlx-footer{ padding: 2.5rem 0 1.5rem !important; }
  .vlx-footer__top{ grid-template-columns: 1fr !important; gap: 1.75rem; text-align: left; }
  .vlx-footer__col-title{ font-size: .9rem; margin-bottom: .75rem; }
  .vlx-footer__link{ font-size: .9rem; padding: .35rem 0; display: inline-block; min-height: 36px; }
  .vlx-footer__bottom{ flex-direction: column; gap: .75rem; align-items: flex-start; }
  .vlx-footer__copy{ font-size: .78rem; }
}

/* === WHATSAPP FLOAT â€” nascondere su mobile (sostituito dalla sticky bar) === */
@media (max-width: 768px){
  .vlx-wa-float{ display: none !important; }
}

/* === STICKY MOBILE CTA BAR === */
.vlx-mobile-cta{ display: none; }
@media (max-width: 768px){
  .vlx-mobile-cta{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--c-charcoal, #1a1a1a);
    border-top: 1px solid rgba(199,168,107,.3);
    box-shadow: 0 -4px 20px rgba(0,0,0,.25);
    z-index: 9998;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .vlx-mobile-cta__btn{
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px;
    padding: .65rem .25rem;
    min-height: 60px;
    font-family: Inter, sans-serif;
    font-size: .72rem;
    letter-spacing: .04em;
    color: #f5efe6;
    text-decoration: none;
    background: transparent;
    border: none;
    transition: background .2s;
  }
  .vlx-mobile-cta__btn:active{ background: rgba(255,255,255,.06); }
  .vlx-mobile-cta__btn + .vlx-mobile-cta__btn{ border-left: 1px solid rgba(199,168,107,.18); }
  .vlx-mobile-cta__icon{ font-size: 1.15rem; line-height: 1; }
  .vlx-mobile-cta__label{ font-weight: 500; }
  .vlx-mobile-cta__btn--wa{ color: #f5efe6; }
  .vlx-mobile-cta__btn--book{ color: var(--c-gold, #c7a86b); font-weight: 600; }
  .vlx-mobile-cta__btn--book .vlx-mobile-cta__icon{ font-size: 1rem; }
  body.vlx-mobile-nav-open .vlx-mobile-cta{ display: none; }
  /* Banner cookie aperto: nascondi la barra per non coprirne i pulsanti */
  body.vlx-cookie-open .vlx-mobile-cta{ display: none; }
}

/* === MOBILE NAV â€” touch targets === */
@media (max-width: 900px){
  .vlx-mobile-nav__link{ min-height: 52px; display: flex; align-items: center; padding: 1rem 1.5rem; font-size: 1.05rem; }
}

/* === REDUCE MOTION === */
@media (prefers-reduced-motion: reduce){
  .vlx-reveal, .vlx-reveal--delay-1, .vlx-reveal--delay-2, .vlx-reveal--delay-3{
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .vlx-hero__rule{ width: var(--sp-24) !important; transition: none !important; }
}

/* === FOCUS visibile (accessibilitÃ ) === */
.vlx-btn:focus-visible,
.vlx-form__input:focus-visible,
.vlx-form__select:focus-visible,
.vlx-form__textarea:focus-visible,
.vlx-mobile-cta__btn:focus-visible{
  outline: 2px solid var(--c-gold, #c7a86b);
  outline-offset: 2px;
}

/* === iOS Safari â€” supporto safe-area su sticky bar e footer === */
@supports (padding: max(0px)){
  @media (max-width: 768px){
    body.vlx-front-page{ padding-bottom: max(72px, calc(60px + env(safe-area-inset-bottom))); }
  }
}

/* === HONEYPOT anti-spam (invisibile a umani, visibile a bot) === */
.vlx-hp{ position: absolute !important; left: -9999px !important; top: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

/* === Hover post nav (sostituisce inline onmouseover) === */
.vlx-postnav-link{ display:block; font-family:var(--f-serif); font-size:var(--fs-lg); margin-top:var(--sp-2); color:var(--c-charcoal); transition: color .25s ease; }
.vlx-postnav-link:hover{ color: var(--c-gold); }

/* === HERO font size override (piÃ¹ contenuto) === */
:root{
  --fs-hero: clamp(2.25rem, 5vw, 4.25rem);
}
.vlx-hero__title{ line-height: 1.14; }

/* === WhatsApp float â€” spostato per non collidere con badge Iubenda === */
.vlx-wa-float{ bottom: 96px !important; right: 20px !important; }
@media (max-width: 768px){
  /* Su mobile la sticky bar gestisce WA, il float resta nascosto */
  .vlx-wa-float{ display: none !important; }
}

/* ================================================================
   MOBILE AUDIT — correzioni navigazione & responsive
   (questo file è caricato per ULTIMO: queste regole sono autoritative)
   Tutto è dentro @media mobile → nessuna regressione su desktop.
   ================================================================ */

/* Immagini sempre fluide, mai deformate/oltre il bordo */
img { max-width: 100%; height: auto; }

@media (max-width: 900px) {

  /* --- FIX PRIORITARIO: l'hamburger spariva all'apertura del menu ---
     L'header creava uno stacking context (z-index:100) e il drawer
     (z-index:105) ci finiva sopra. Ora l'header — con l'hamburger che
     diventa "×" — resta sempre sopra il drawer e cliccabile. */
  .vlx-header               { z-index: 1101; }
  .vlx-mobile-nav           { z-index: 1090; }
  .vlx-mobile-nav__backdrop { z-index: 1080; }

  /* A menu aperto: header trasparente e "×"/logo leggibili sul drawer scuro */
  body.vlx-mobile-nav-open .vlx-header {
    background: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  body.vlx-mobile-nav-open .vlx-hamburger span { background: var(--c-text-dark); }
  body.vlx-mobile-nav-open .vlx-logo__wordmark,
  body.vlx-mobile-nav-open .vlx-logo__tagline { color: var(--c-text-dark) !important; }
  body.vlx-mobile-nav-open .vlx-logo__wordmark span { color: var(--c-gold) !important; }

  /* Area di tap più ampia per l'hamburger (≥44px linee guida touch) */
  .vlx-hamburger { width: 44px; height: 44px; }

  /* Layout drawer deterministico: parte sotto l'header, allineato in alto
     (sovrascrive un vecchio blocco "centrato" rimasto in questo file) */
  .vlx-mobile-nav {
    justify-content: flex-start;
    padding: calc(var(--header-h) + var(--sp-6)) var(--sp-8) var(--sp-8);
  }

  /* Niente overflow orizzontale */
  html, body { overflow-x: hidden; }

  /* Titoli: niente parole tagliate al bordo */
  .vlx-h1, .vlx-h2, .vlx-h3 { overflow-wrap: break-word; }

  /* Form ottimizzati per il touch: 16px evita lo zoom automatico su iOS */
  .vlx-form__input,
  .vlx-form__select,
  .vlx-form__textarea { font-size: 16px; min-height: 48px; }
  .vlx-form__textarea { min-height: 120px; }

  /* Pulsanti: area cliccabile minima e respiro tra CTA vicine */
  .vlx-btn { min-height: 44px; }
  .vlx-hero__cta { gap: var(--sp-3); }
}

/* ================================================================
   PAGINE LEGALI (Privacy / Cookie)
   ================================================================ */
.vlx-legal { color: var(--c-muted-light); }
.vlx-legal__updated { font-size: var(--fs-sm); opacity: .75; margin-bottom: var(--sp-8); }
.vlx-legal__h {
  font-family: var(--f-serif);
  color: var(--c-charcoal);
  font-size: var(--fs-xl);
  margin: var(--sp-10) 0 var(--sp-4);
}
.vlx-legal p { color: var(--c-muted-light); line-height: var(--lh-relaxed); margin-bottom: var(--sp-4); }
.vlx-legal strong { color: var(--c-charcoal); }
.vlx-legal__list { margin: 0 0 var(--sp-5) var(--sp-6); padding: 0; }
.vlx-legal__list li { list-style: disc; color: var(--c-muted-light); line-height: var(--lh-relaxed); margin-bottom: var(--sp-2); }
.vlx-legal__tablewrap { overflow-x: auto; margin: var(--sp-4) 0 var(--sp-6); }
.vlx-legal__table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.vlx-legal__table th,
.vlx-legal__table td { text-align: left; padding: var(--sp-3) var(--sp-4); border: 1px solid var(--c-border-light); vertical-align: top; }
.vlx-legal__table th { background: var(--c-warm); color: var(--c-charcoal); font-family: var(--f-sans); font-weight: var(--fw-semi); }
.vlx-legal code { font-size: .85em; background: var(--c-warm); padding: .1em .35em; border-radius: 4px; }
.vlx-legal__note {
  margin-top: var(--sp-10);
  padding: var(--sp-5);
  border: 1px dashed var(--c-border-light);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  color: var(--c-muted-light);
  background: rgba(200, 169, 120, 0.06);
}

/* ================================================================
   COOKIE BANNER
   ================================================================ */
.vlx-cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  background: var(--c-dark);
  border-top: 1px solid var(--c-border-dark);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(100%);
  opacity: 0;
  transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
}
.vlx-cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.vlx-cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  padding: var(--sp-5) var(--sp-6);
  flex-wrap: wrap;
}
.vlx-cookie-banner__text {
  margin: 0;
  flex: 1 1 320px;
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--c-muted-dark);
}
.vlx-cookie-banner__link { color: var(--c-gold); text-decoration: underline; }
.vlx-cookie-banner__actions { display: flex; gap: var(--sp-3); flex: 0 0 auto; }
.vlx-cookie-banner__btn { padding: .6rem 1.4rem; }
@media (max-width: 600px) {
  .vlx-cookie-banner__actions { width: 100%; }
  .vlx-cookie-banner__btn { flex: 1; justify-content: center; }
}

/* Pulsante "Rifiuta": alto contrasto su fondo scuro + stati hover/focus/active */
.vlx-cookie-banner [data-cookie-reject] {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  font-weight: var(--fw-semi);
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out);
}
.vlx-cookie-banner [data-cookie-reject]:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #ffffff;
  color: #ffffff;
}
.vlx-cookie-banner [data-cookie-reject]:active {
  background: rgba(255, 255, 255, 0.22);
}
.vlx-cookie-banner [data-cookie-reject]:focus-visible,
.vlx-cookie-banner [data-cookie-accept]:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 2px;
}
.vlx-cookie-banner [data-cookie-accept]:active { transform: translateY(1px); }

/* ================================================================
   TABS (Contatti Aziende / Privati)
   ================================================================ */
.vlx-tabs__nav {
  display: flex;
  gap: var(--sp-2);
  border-bottom: 1px solid var(--c-border-light);
  margin-bottom: var(--sp-8);
}
.vlx-tabs__tab {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: var(--sp-3) var(--sp-5);
  font-family: var(--f-sans);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--c-muted-light);
  cursor: pointer;
  transition: color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.vlx-tabs__tab:hover { color: var(--c-charcoal); }
.vlx-tabs__tab.is-active { color: var(--c-charcoal); border-bottom-color: var(--c-gold); }
.vlx-tabs__tab:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; border-radius: 2px; }
.vlx-tabs__panel[hidden] { display: none; }

/* ================================================================
   RICHIAMO "CHIAMACI" (sopra i moduli)
   ================================================================ */
.vlx-call-cta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  padding: var(--sp-4) var(--sp-5);
  max-width: 680px;
  margin: 0 auto var(--sp-8);
  background: rgba(200, 169, 120, 0.10);
  border: 1px solid rgba(200, 169, 120, 0.38);
  border-radius: var(--r-md);
}
.vlx-call-cta__icon { display: inline-flex; align-items: center; color: var(--c-gold); flex: 0 0 auto; }
.vlx-call-cta__label { font-size: var(--fs-sm); color: var(--c-charcoal); line-height: var(--lh-snug); }
.vlx-call-cta__phone {
  margin-left: auto;
  font-family: var(--f-serif);
  font-size: var(--fs-md);
  font-weight: var(--fw-semi);
  color: var(--c-gold);
  text-decoration: none;
  white-space: nowrap;
}
a.vlx-call-cta__phone:hover { text-decoration: underline; }
.vlx-call-cta__phone--soon {
  font-family: var(--f-sans);
  font-size: var(--fs-sm);
  font-weight: 400;
  font-style: italic;
  color: var(--c-muted-light);
}

/* Callout su sezione scura (form Privati): testo chiaro e leggibile */
.vlx-booking .vlx-call-cta__label { color: var(--c-text-dark); }
.vlx-booking .vlx-call-cta__phone--soon { color: var(--c-muted-dark); }
@media (max-width: 600px) {
  .vlx-call-cta { gap: var(--sp-2); }
  .vlx-call-cta__phone { margin-left: 0; flex-basis: 100%; }
}

