/* ==========================================================================
   EXTRAVAPOR — BESPOKE EDITORIAL MONOCHROME DESIGN SYSTEM
   Crafted with Swiss Modernist Principles & High-End Art Direction
   Typography: Space Grotesk · Inter · Space Mono
   Palette: Deep Pitch Black · Crisp Hairlines · Solid White
   ========================================================================== */

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

:root {
  --accent: #dfb28e;
  --accent-rgb: 223, 178, 142;
  --accent-light: rgba(223, 178, 142, 0.14);
  --accent-glow: rgba(223, 178, 142, 0.32);
  --accent-border: rgba(223, 178, 142, 0.38);
  --bg-0: #101216;
  --bg-1: #171a20;
  --bg-2: #1f232b;
  --surface: #1b1e26;
  --surface-hover: #262b35;
  --border: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(255, 255, 255, 0.22);
  --border-light: rgba(255, 255, 255, 0.06);
  --text-0: #ffffff;
  --text-1: #c2c7d4;
  --text-2: #9299a9;
  --text-dim: #6d7485;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'Space Mono', monospace;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.45);
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-0);
  color-scheme: dark;
}

body {
  background: var(--bg-0);
  color: var(--text-0);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ─── SCROLL PROGRESS BAR ─── */
#scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  z-index: 1001;
  pointer-events: none;
}
#scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(214, 164, 123, 0.6), #d6a47b);
  box-shadow: 0 0 8px rgba(214, 164, 123, 0.5);
  transition: width 0.08s ease;
}

/* ─── LOADING SCREEN & CLEAN INTRO ─── */
#loading-screen {
  position: fixed;
  inset: 0;
  background: #0d0f13;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  overflow: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loading-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
  transition: transform 0.5s ease, opacity 0.5s ease;
}
#loading-screen.hidden .loading-content {
  transform: scale(0.96);
  opacity: 0;
}
#loading-image {
  width: 175px;
  max-width: 78vw;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(214, 164, 123, 0.35));
  animation: logoFadeIn 0.5s ease forwards;
}
@keyframes logoFadeIn {
  0% { opacity: 0; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}
@media (max-width: 640px) {
  #loading-image {
    width: 140px;
  }
}
.loading-bar-wrap {
  width: 200px;
  max-width: 70vw;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.loading-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, rgba(214, 164, 123, 0.35), #d6a47b);
  box-shadow: 0 0 14px rgba(214, 164, 123, 0.75);
  animation: loadingProgress 3.2s cubic-bezier(0.18, 1, 0.34, 1) forwards;
}
@keyframes loadingProgress {
  0% { width: 0%; }
  25% { width: 28%; }
  55% { width: 65%; }
  85% { width: 90%; }
  100% { width: 100%; }
}
.loading-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: #27272a; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #52525b; }

/* ─── BASE UTILITIES ─── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}
.section {
  padding: 130px 0;
  position: relative;
}

/* Architectural Kicker (Replaces generic AI pills) */
.section-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.kicker-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.05em;
}
.kicker-line {
  width: 24px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}
.kicker-text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 18px;
}
.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 56px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.section-header-flex .section-title {
  margin-bottom: 0;
  max-width: 680px;
}
.section-header-desc {
  color: var(--text-1);
  font-size: 15px;
  max-width: 400px;
  line-height: 1.65;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
}
.btn-primary:hover {
  background: #000000;
  color: #ffffff;
  border-color: #ffffff;
}
.btn-ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 12.5px;
}
/* btn-secondary: variante semitrasparente */
.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent-border);
}
.btn-secondary:hover {
  background: var(--accent-light);
  color: #ffffff;
  border-color: var(--accent);
}
/* btn-outline: variante bordo bianco sottile */
.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid var(--border-strong);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 28px;
  background: rgba(16, 18, 22, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(16, 18, 22, 0.95);
  border-bottom-color: var(--border-strong);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.logo-text .accent {
  color: var(--accent);
  font-weight: 700;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-link {
  color: var(--text-1);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}
.nav-cta {
  background: #ffffff;
  color: #000000 !important;
  font-weight: 700;
  padding: 8px 18px;
  margin-left: 8px;
  border: 1px solid transparent; /* evita layout shift al hover */
}
.nav-cta:hover {
  background: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #ffffff;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO SECTION ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 130px;
  padding-bottom: 70px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-0);
}
.hero-editorial-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.hero-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-1);
  text-transform: uppercase;
}
.hero-tag-accent {
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}
.years-active {
  color: var(--accent);
  font-weight: 700;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 62px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero-title .title-muted {
  color: var(--text-2);
  font-weight: 600;
}
.hero-body-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: flex-end;
  margin-bottom: 56px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-1);
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* Hero Data Spec Grid (Clean Swiss Spec Sheet) */
.hero-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}
.spec-cell {
  padding: 24px 28px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.spec-cell:last-child {
  border-right: none;
}
.spec-num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.spec-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-0);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.spec-desc {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.45;
}

/* ─── BRANDS SECTION & DUAL CAROUSEL ─── */
.brands {
  background: var(--bg-0);
  border-bottom: 1px solid var(--border);
  padding: 88px 0;
  overflow: hidden;
}
.brands-badge-right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.brands-cert-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}
.brand-carousel-wrap {
  margin-top: 28px;
}
.brand-carousel-label {
  max-width: 1240px;
  margin: 0 auto 10px;
  padding: 0 28px;
}
.marquee-mini-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}
.marquee-wrapper-row {
  overflow: hidden;
  padding: 6px 0;
}
.marquee-track-forward {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  animation: marqueeScroll 80s linear infinite;
  width: max-content;
}
.marquee-track-reverse {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  animation: marqueeScrollReverse 45s linear infinite;
  width: max-content;
}
.marquee-track-forward:hover,
.marquee-track-reverse:hover {
  animation-play-state: paused;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marqueeScrollReverse {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}
.brand-item-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  height: 64px;
  min-width: 130px;
}
.brand-item-wrap:hover {
  border-color: var(--accent-border);
  background: var(--surface-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.brand-item-wrap .brand-logo {
  max-height: 42px;
  max-width: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.brand-item-wrap:hover .brand-logo {
  transform: scale(1.05);
}

/* Backward compatibility */
.marquee-wrapper {
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  overflow: hidden;
}
.marquee-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.marquee-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-2);
  text-transform: uppercase;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  animation: marqueeScroll 45s linear infinite;
  width: max-content;
}
.marquee-track:hover {
  animation-play-state: paused;
}
.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  opacity: 1;
  filter: none;
  transition: var(--transition);
  border-radius: 4px;
}
.brand-logo:hover {
  transform: scale(1.08);
}

/* ─── ABOUT SECTION ─── */
.about {
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.about-photo-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.about-photo {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-photo-wrap:hover .about-photo {
  transform: scale(1.03);
}
.photo-corner-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--accent-border);
  padding: 6px 14px;
  border-radius: var(--radius-xs);
}
.about-lead {
  font-size: 18px;
  color: #ffffff;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 16px;
}
.about-desc {
  color: var(--text-1);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 32px;
}
.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}
.pillar-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.pillar-idx {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}
.pillar-row strong {
  display: block;
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 4px;
}
.pillar-row p {
  font-size: 13.5px;
  color: var(--text-1);
  line-height: 1.55;
  margin: 0;
}

/* ─── SERVICES SECTION (Editorial Grid) ─── */
.services {
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
}
.services-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.service-cell {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-1);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 270px;
}
.service-cell:hover {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.16);
}
.service-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.service-idx {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: 0.1em;
}
.service-icon {
  color: var(--accent);
}
.service-cell h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.service-cell p {
  color: var(--text-1);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 20px;
}
.service-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
  margin-top: auto;
  align-self: flex-start;
}

/* ─── PRODUCTS SECTION (Lookbook Catalog) ─── */
.products {
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-4px);
}
.product-img-wrap {
  position: relative;
  height: 240px;
  background: #000000;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.product-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.product-card:hover .product-real-img {
  transform: scale(1.04);
}
.product-badge-editorial {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  border: 1px solid var(--border-strong);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  backdrop-filter: blur(8px);
}
.product-badge-popular {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}
.product-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-brand {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.product-info h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.product-info p {
  color: var(--text-1);
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.product-footer-row {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  gap: 12px;
}
.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.spec-pill {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-1);
  padding: 2px 7px;
  border-radius: var(--radius-xs);
}
.product-status {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #ffffff;
  white-space: nowrap;
}
.products-cta-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.products-cta-box h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 6px;
}
.products-cta-box p {
  color: var(--text-1);
  font-size: 14.5px;
}

/* ─── GALLERY SECTION ─── */
.gallery {
  background: var(--bg-0);
  border-bottom: 1px solid var(--border);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  min-height: 280px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: #000000;
}
.gallery-main {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: unset;
  min-height: 380px;
}
.gallery-wide {
  grid-column: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 60%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 18px 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay span {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}
.gallery-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
}

/* ─── WHY SECTION (Data & Manifesto) ─── */
.why {
  background: var(--bg-0);
  border-bottom: 1px solid var(--border);
}
.why-manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: flex-start;
  margin-bottom: 48px;
}
.why-manifesto-text p {
  color: var(--text-1);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 24px;
}
.why-points-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.why-point-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.why-point-idx {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}
.why-point-row strong {
  display: block;
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 4px;
}
.why-point-row p {
  font-size: 13.5px;
  color: var(--text-1);
  line-height: 1.6;
  margin: 0;
}

.why-stats-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.why-stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.why-stat-num {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.04em;
}
.why-stat-info strong {
  display: block;
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 2px;
}
.why-stat-info span {
  font-size: 13px;
  color: var(--text-2);
}

.why-devices-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.device-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: var(--transition);
}
.device-card:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-3px);
}
.device-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.15));
}
.device-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-transform: uppercase;
}

/* ─── REVIEWS SECTION (Minimalist Verified Google Reviews) ─── */
.reviews {
  background: var(--bg-0);
  border-bottom: 1px solid var(--border);
}
.reviews-stars-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.reviews-star-big {
  color: var(--accent);
  letter-spacing: 2px;
  font-size: 14px;
}
.reviews-rating-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}
.reviews-count-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.reviews-count-badge span,
.reviews-count-badge #reviewsTotalNumber {
  color: #ffffff;
  font-weight: 700;
}
@media (max-width: 480px) {
  .reviews-stars-badge {
    flex-wrap: wrap;
    gap: 6px 10px;
    padding: 8px 14px;
  }
}
.rating-badge-editorial {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.rating-stars {
  color: var(--accent);
  letter-spacing: 2px;
  font-size: 14px;
}
.rating-val {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}
.rating-source {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
}

.reviews-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.review-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.review-stars-row {
  color: var(--accent);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.review-quote-mark {
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 12px;
}
.review-text {
  color: var(--text-1);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
}
.review-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
}
.reviews-cta {
  text-align: center;
  margin-top: 40px;
}

/* ─── CONTACT SECTION ─── */
.contact {
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
}
.contact-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.contact-info-card, .hours-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-xs);
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.contact-value {
  font-size: 15px;
  color: #ffffff;
  font-weight: 500;
}
.contact-link {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 1px;
  transition: var(--transition);
}
.contact-link:hover {
  color: #ffffff;
  border-color: #ffffff;
}

/* Hours Table */
.hours-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 28px;
}
.hour-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.hour-row:last-child {
  border-bottom: none;
}
.hour-day {
  font-family: var(--font-display);
  font-weight: 600;
  color: #ffffff;
}
.hour-time {
  font-family: var(--font-mono);
  color: var(--text-1);
  font-size: 12.5px;
}
.hour-row.closed .hour-day,
.hour-row.closed .hour-time {
  color: var(--text-2);
}
.hours-btn {
  width: 100%;
  justify-content: center;
}

/* ─── MAP SECTION (Mappa Dedicata) ─── */
.map-section {
  background: var(--bg-0);
  border-bottom: 1px solid var(--border);
  padding: 88px 0;
}
.map-container-card {
  margin-top: 36px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-subtle);
}
.map-badge-status {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}

/* Map Container (anche retrocompatibilità contact-map-wrap) */
.contact-map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}
.map-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #ffffff;
}
.map-frame-container {
  width: 100%;
  height: 420px;
  background: var(--bg-0);
}
.map-frame-container iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--bg-1);
  padding: 80px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}
.footer-logo .nav-logo-img,
.footer-logo-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.footer-logo .logo-text {
  font-size: 15px;
}
.footer-desc {
  color: var(--text-1);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 8px;
  max-width: 420px;
}
.footer-cert {
  font-family: var(--font-mono);
  color: var(--text-2);
  font-size: 11px;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-1);
  text-decoration: none;
  transition: var(--transition);
}
.social-link:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul a, .footer-col ul li {
  color: var(--text-1);
  font-size: 13.5px;
  text-decoration: none;
  transition: var(--transition);
}
.footer-col ul a:hover {
  color: #ffffff;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
}
.footer-bottom p {
  color: var(--text-2);
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-2);
}
.footer-legal a {
  color: var(--text-1);
  text-decoration: none;
}
.footer-legal a:hover {
  color: #ffffff;
}

/* ─── BACK TO TOP ─── */
.back-to-top {
  position: fixed !important;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), 0 0 12px var(--accent-light);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--accent);
  color: #101216;
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45), 0 0 20px var(--accent-glow);
}
.back-to-top::before {
  content: 'Torna su';
  position: absolute;
  right: 58px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.back-to-top:hover::before {
  opacity: 1;
}

/* ─── LIGHTBOX MODAL (Foto Negozio & Prodotti Ingrandite) ─── */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 30000; /* Superiore sia alla pagina che al modal quick-view */
  background: rgba(4, 4, 7, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lightbox-content {
  position: relative;
  max-width: 1040px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  user-select: none;
}
.lightbox-img-wrap {
  max-width: 100%;
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(214, 164, 123, 0.35);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.85), 0 0 45px rgba(214, 164, 123, 0.12);
  background: #08080c;
}
.lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  display: block;
}
.lightbox-caption {
  margin-top: 14px;
  font-family: var(--font-disp, 'Space Grotesk', sans-serif);
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.lightbox-counter-badge {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent, #d6a47b);
  background: rgba(214, 164, 123, 0.15);
  border: 1px solid rgba(214, 164, 123, 0.35);
  padding: 3px 9px;
  border-radius: 6px;
}
.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}
.lightbox-close:hover {
  background: var(--accent, #d6a47b);
  color: #09090d;
  border-color: var(--accent, #d6a47b);
  transform: scale(1.1);
}
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(14, 14, 20, 0.88);
  border: 1px solid rgba(214, 164, 123, 0.4);
  color: #ffffff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}
.lightbox-nav-btn:hover {
  background: var(--accent, #d6a47b);
  color: #09090d;
  border-color: var(--accent, #d6a47b);
  transform: translateY(-50%) scale(1.1);
}
.lightbox-prev-btn { left: -60px; }
.lightbox-next-btn { right: -60px; }

@media (max-width: 1180px) {
  .lightbox-prev-btn { left: 10px; }
  .lightbox-next-btn { right: 10px; }
  .lightbox-close { top: 10px; right: 10px; z-index: 20; }
}

/* ─── ZOOM HINTS (Gallery & Prodotti) ─── */
.gallery-item {
  cursor: zoom-in !important;
}
.qv-slide {
  cursor: zoom-in !important;
}
.qv-zoom-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(9, 9, 14, 0.85);
  border: 1px solid rgba(214, 164, 123, 0.4);
  color: #ffffff;
  font-family: var(--font-disp, 'Space Grotesk', sans-serif);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
  pointer-events: auto;
}
.qv-zoom-btn:hover {
  background: var(--accent, #d6a47b);
  color: #09090d;
  border-color: var(--accent, #d6a47b);
  transform: scale(1.05);
}
.product-card-zoom-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 6;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(9, 9, 14, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
}
.product-card-zoom-btn:hover {
  background: var(--accent, #d6a47b);
  color: #09090d;
  border-color: var(--accent, #d6a47b);
  transform: scale(1.12);
}

/* ─── PRIVACY PAGE STYLES ─── */
.policy-page {
  padding-top: 120px;
  padding-bottom: 80px;
  background: var(--bg-0);
  min-height: 100vh;
}
.policy-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 24px;
}
.policy-breadcrumb a {
  color: var(--text-1);
  text-decoration: none;
}
.policy-breadcrumb a:hover {
  color: #ffffff;
}
.policy-header {
  margin-bottom: 48px;
}
.policy-header-desc {
  color: var(--text-1);
  font-size: 15.5px;
  max-width: 760px;
  line-height: 1.7;
}
.policy-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 960px;
}
.policy-card {
  padding: 36px 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.policy-card h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.policy-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin: 22px 0 10px;
}
.policy-card p {
  color: var(--text-1);
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.policy-card ul, .policy-card ol {
  color: var(--text-1);
  font-size: 14px;
  line-height: 1.7;
  padding-left: 20px;
  margin-bottom: 16px;
}
.policy-card li { margin-bottom: 8px; }
.cookie-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
}
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}
.cookie-table th, .cookie-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.cookie-table th {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
}
.cookie-table td { color: var(--text-1); }
.cookie-table tr:last-child td { border-bottom: none; }
.badge-tech {
  display: inline-block;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 10.5px;
}
.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

/* ─── SCROLL REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1080px) {
  .hero-body-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-specs-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-cell:nth-child(2) { border-right: none; }
  .spec-cell:nth-child(4) { border-right: none; } /* ultima cella riga 2 in layout 2 col */
  .spec-cell:nth-child(1), .spec-cell:nth-child(2) { border-bottom: 1px solid var(--border); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-editorial-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .why-manifesto-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-devices-bar { grid-template-columns: repeat(2, 1fr); }
  .reviews-editorial-grid { grid-template-columns: 1fr; }
  .contact-editorial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    max-height: calc(100vh - 72px); /* evita overflow fuori schermo */
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero { padding-top: 100px; }
  .hero-title { font-size: clamp(26px, 7vw, 40px); line-height: 1.14; }
  .hero-specs-grid { grid-template-columns: 1fr; }
  .spec-cell { border-right: none !important; border-bottom: 1px solid var(--border); }
  .spec-cell:last-child { border-bottom: none; }
  .section-header-flex { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-header-flex .btn { align-self: flex-start; } /* evita stretch full-width */
  .services-editorial-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .products-cta-box { flex-direction: column; align-items: flex-start; }
  .products-cta-box .btn { width: 100%; justify-content: center; } /* bottoni full-width su mobile */
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-main { grid-column: span 1; grid-row: span 1; min-height: 240px; } /* reset span su 1 col */
  .gallery-item { min-height: 240px; }
  .about-photo { height: 320px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .map-frame-container { height: 280px; }
  .map-header { flex-direction: column; align-items: flex-start; }
  .contact-info-card, .hours-card { padding: 24px 20px; } /* riduce padding su mobile */
}

/* ==========================================================================
   EXTRAVAPOR — UX ENHANCEMENTS LAYER
   Custom Cursor · Skip Link · Focus States · WhatsApp FAB · Section Nav Dots
   Stagger Reveals · Zoom Hints · Filter Pills · Copy Buttons · Scroll Hints
   ========================================================================== */

/* ─── SKIP LINK (Accessibility) ─── */
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 200000;
  background: #ffffff;
  color: #000000;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-xs);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 20px;
}

/* ─── FOCUS RING (visible & elegant for keyboard users) ─── */
:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* ─── CUSTOM CURSOR ─── */
.cursor-dot {
  position: fixed;
  width: 7px;
  height: 7px;
  background: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  transition: width 0.15s ease, height 0.15s ease, opacity 0.2s ease;
  mix-blend-mode: difference;
  will-change: transform;
}
.cursor-ring {
  position: fixed;
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999998;
  transform: translate(-50%, -50%);
  transition: width 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.22s ease,
              opacity 0.2s ease;
  will-change: transform;
}
.cursor-dot.hover  { width: 10px; height: 10px; }
.cursor-ring.hover { width: 54px; height: 54px; border-color: var(--accent); background: rgba(214, 164, 123, 0.08); }
.cursor-dot.hover { background: var(--accent); }
.cursor-dot.clicking { transform: translate(-50%, -50%) scale(0.55); }
.cursor-ring.clicking { width: 26px; height: 26px; }
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ─── TOAST NOTIFICATION ─── */
.toast {
  position: fixed;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  z-index: 99990;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(12px);
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ─── FLOATING WHATSAPP BUTTON ─── */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}
.whatsapp-fab.visible {
  opacity: 1;
  pointer-events: auto;
}
.whatsapp-fab:hover {
  width: auto;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
  gap: 10px;
}
.whatsapp-fab-label {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  transition: max-width 0.3s ease, opacity 0.25s ease 0.05s;
}
.whatsapp-fab:hover .whatsapp-fab-label {
  max-width: 140px;
  opacity: 1;
}

/* ─── SECTION DOT NAVIGATION (Floating Dock on Desktop) ─── */
.section-nav-dots {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 5px;
  background: rgba(14, 14, 18, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  pointer-events: auto;
  transition: opacity 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.section-nav-dots:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(14, 14, 18, 0.88);
}
.nav-dot {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 0;
  flex-shrink: 0;
  outline: none;
}
.nav-dot .dot-pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}
.nav-dot:hover:not(.active) .dot-pip {
  background: var(--accent);
  transform: scale(1.35);
}
.nav-dot.active .dot-pip {
  width: 6px;
  height: 18px;
  border-radius: 8px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}
.nav-dot::after {
  content: attr(data-label);
  position: absolute;
  right: 36px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: rgba(14, 14, 18, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}
.nav-dot:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
@media (max-width: 1100px) {
  .section-nav-dots { display: none !important; }
}

/* ─── ZOOM HINT ON IMAGES ─── */
.zoom-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.gallery-item:hover .zoom-hint,
.product-img-wrap:hover .zoom-hint { opacity: 1; }

/* ─── SMOOTH UNDERLINE TEXT LINKS ─── */
.contact-link {
  position: relative;
  border-bottom: none !important;
  padding-bottom: 1px !important;
}
.contact-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: width 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-link:hover::after { width: 100%; }

/* ─── SERVICE CELL ANIMATED ARROW ─── */
.service-cell { position: relative; }
.service-cell::after {
  content: '→';
  position: absolute;
  bottom: 22px;
  right: 26px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0);
  transition: color 0.22s ease, transform 0.22s ease;
  transform: translateX(-8px);
}
.service-cell:hover::after {
  color: rgba(255, 255, 255, 0.35);
  transform: translateX(0);
}

/* ─── PRODUCT SEARCH & CONTROLS ─── */
.products-controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 38px;
}
.product-search-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.product-search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 260px;
  max-width: 520px;
}
.product-search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.product-search-input {
  width: 100%;
  padding: 11px 40px 11px 44px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.product-search-input::placeholder {
  color: var(--text-2);
  opacity: 0.7;
}
.product-search-input:hover {
  border-color: var(--border-strong);
}
.product-search-input:focus {
  background: var(--bg-2);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.product-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.09);
  border: none;
  color: #ffffff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
}
.product-search-clear:hover {
  background: var(--accent);
  color: #000000;
  transform: translateY(-50%) scale(1.1);
}
.product-search-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-search-count {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}
.products-controls .filter-bar {
  margin-bottom: 0;
}
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-1);
  background: transparent;
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
}
.filter-pill:hover {
  color: #ffffff;
  border-color: var(--border-strong);
}
.filter-pill.active {
  background: var(--accent);
  color: #000000;
  border-color: var(--accent);
}
.filter-pill:hover:not(.active) {
  border-color: var(--accent-border);
  color: var(--accent);
}
.product-card.filtered-out {
  display: none !important;
}
@media (max-width: 640px) {
  .product-search-input-wrap {
    max-width: 100%;
    min-width: 100%;
  }
  .product-search-bar {
    gap: 10px;
  }
}

/* ─── SCROLL HINT IN HERO ─── */
.hero-scroll-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 44px;
  animation: scrollBounce 2.2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  55% { opacity: 0.9; transform: translateY(5px); }
}
.hero-scroll-hint span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-2);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ─── COPY-TO-CLIPBOARD BUTTON ─── */
.copy-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-2);
  cursor: pointer;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  font-size: 10px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  transition: all 0.2s ease;
  margin-left: 6px;
  vertical-align: middle;
}
.copy-btn:hover {
  color: #ffffff;
  border-color: var(--border-strong);
  background: rgba(255,255,255,0.06);
}
.copy-btn.copied {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.3);
}


/* ─── STAGGERED GRID ANIMATIONS (Services & Products) ─── */
.services-editorial-grid .service-cell:nth-child(1) { transition-delay: 0ms; }
.services-editorial-grid .service-cell:nth-child(2) { transition-delay: 60ms; }
.services-editorial-grid .service-cell:nth-child(3) { transition-delay: 120ms; }
.services-editorial-grid .service-cell:nth-child(4) { transition-delay: 0ms; }
.services-editorial-grid .service-cell:nth-child(5) { transition-delay: 60ms; }
.services-editorial-grid .service-cell:nth-child(6) { transition-delay: 120ms; }

.products-grid .product-card:nth-child(1) { transition-delay: 0ms; }
.products-grid .product-card:nth-child(2) { transition-delay: 75ms; }
.products-grid .product-card:nth-child(3) { transition-delay: 150ms; }
.products-grid .product-card:nth-child(4) { transition-delay: 0ms; }
.products-grid .product-card:nth-child(5) { transition-delay: 75ms; }
.products-grid .product-card:nth-child(6) { transition-delay: 150ms; }

/* ─── GALLERY KEYBOARD FOCUS ─── */
.gallery-item:focus-within .gallery-overlay {
  opacity: 1;
}
.gallery-item[tabindex]:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* ─── MOBILE IMPROVEMENTS ─── */
@media (max-width: 768px) {
  .whatsapp-fab {
    bottom: 18px;
    left: 18px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
  }
  .whatsapp-fab:hover {
    width: 50px;
    padding: 0;
    border-radius: 50%;
    gap: 0;
  }
  .whatsapp-fab:hover .whatsapp-fab-label { max-width: 0; opacity: 0; }
  .back-to-top {
    bottom: 18px;
    right: 18px;
  }
  .back-to-top::before { display: none; } /* nasconde tooltip "Torna su" su mobile */
  .filter-bar { gap: 6px; }
  .filter-pill { font-size: 10px; padding: 5px 12px; }
}

/* ─── SCHERMI MOLTO PICCOLI (< 480px) ─── */
@media (max-width: 480px) {
  .why-devices-bar { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ─── SCHERMI PICCOLISSIMI (< 375px) ─── */
@media (max-width: 374px) {
  .container { padding: 0 16px; } /* evita overflow su telefoni molto stretti */
}

/* ─── 24. QUICK-VIEW MODAL & CAROUSEL ───────────────────────────────────── */

/* Backdrop overlay */
.qv-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.qv-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Dialog box */
.qv-dialog {
  background: #111116;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  max-width: 880px;
  width: 100%;
  max-height: 92vh;
  overflow: hidden !important;
  overflow-x: hidden !important;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255,255,255,0.04);
  transform: translateY(22px) scale(0.965);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}
.qv-backdrop.active .qv-dialog {
  transform: translateY(0) scale(1);
}

/* Close button */
.qv-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: background 0.18s ease, transform 0.18s ease;
}
.qv-close:hover {
  background: rgba(255, 255, 255, 0.20);
  transform: scale(1.08);
}

/* Two-column body */
.qv-body {
  display: grid;
  grid-template-columns: 46% minmax(0, 1fr) !important;
  flex: 1;
  overflow: hidden !important;
  overflow-x: hidden !important;
  min-height: 0;
  min-width: 0 !important;
  width: 100% !important;
  box-sizing: border-box;
}

/* ── Left: Gallery panel */
.qv-gallery {
  background: #090910;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px 20px;
  gap: 14px;
  min-height: 0;
  overflow: hidden;
  box-sizing: border-box;
}

/* Carousel wrapper */
.qv-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 340px;
  overflow: hidden;
  border-radius: 10px;
  background: #05050a;
  flex-shrink: 0;
}

/* Slides strip */
.qv-slides {
  display: flex;
  height: 100%;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Individual slide */
.qv-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qv-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Arrow buttons */
.qv-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  border-radius: 50%;
  color: #09090d;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  transition: all 0.18s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.50);
}
.qv-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.60);
}
.qv-prev { left: 10px; }
.qv-next { right: 10px; }
.qv-arrow.qv-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Dot indicator row */
.qv-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 12px;
}
.qv-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: none;
  cursor: pointer;
  transition: all 0.22s ease;
  padding: 0;
}
.qv-dot.active {
  background: var(--accent);
  transform: scale(1.25);
  box-shadow: 0 0 8px var(--accent-glow);
}

/* ── Right: Product info panel */
.qv-info {
  padding: 28px 24px 22px;
  overflow: hidden !important;
  overflow-x: hidden !important;
  display: flex;
  flex-direction: column;
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.qv-header {
  flex-shrink: 0;
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-sizing: border-box;
}

.qv-brand {
  font-family: var(--font-mono, 'Space Mono', monospace);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
}

.qv-title {
  font-family: var(--font-disp, 'Space Grotesk', sans-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  word-wrap: break-word !important;
  word-break: normal;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.qv-mini {
  font-size: 13.5px;
  line-height: 1.6;
  color: #a1a1aa;
  margin: 0;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  word-wrap: break-word !important;
  word-break: normal;
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.qv-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 4px 0 2px 0;
  flex-shrink: 0;
}

/* ── Description section: vertical scroll only when long */
.qv-desc-scrollable {
  flex: 1 1 auto;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  min-height: 50px;
  max-height: 280px;
  margin: 8px 0 10px 0;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.qv-desc-scrollable::-webkit-scrollbar {
  width: 5px;
}
.qv-desc-scrollable::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}
.qv-desc-scrollable::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.20);
  border-radius: 4px;
}
.qv-desc-scrollable::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35);
}

.qv-ext-heading {
  font-family: var(--font-disp, 'Space Grotesk', sans-serif);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.qv-ext-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box;
}
.qv-ext-list li {
  font-size: 13.5px;
  color: #a1a1aa;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  word-wrap: break-word !important;
  word-break: normal;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box;
}
.qv-ext-list li::before {
  content: '\2022';
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.qv-ext-plain {
  font-size: 13.5px;
  color: #a1a1aa;
  line-height: 1.65;
  white-space: pre-wrap !important;
  margin: 0;
  overflow-wrap: anywhere !important;
  word-wrap: break-word !important;
  word-break: normal;
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
  display: block !important;
}

.qv-footer {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.qv-category-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 5px;
  padding: 4px 11px;
  font-family: var(--font-mono, 'Space Mono', monospace);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #d4d4d8;
  text-transform: uppercase;
  align-self: flex-start;
}
.qv-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #25d366;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 13px 18px;
  font-family: var(--font, 'Inter', sans-serif);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
  letter-spacing: 0.01em;
}
.qv-wa-btn:hover {
  background: #1ca853;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.30);
}

/* Badge multi-foto on card */
.badge-multi-imgs {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-family: var(--font-mono, 'Space Mono', monospace);
  font-size: 10px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 3px 8px;
  border-radius: 4px;
  color: #ffffff;
  pointer-events: none;
  letter-spacing: 0.04em;
}

/* Card hover hint */
.product-img-wrap .zoom-hint {
  content: 'apri';
}

/* Admin link (footer, very subtle) */
.admin-login-link {
  opacity: 0.22;
  font-size: 11px !important;
  letter-spacing: 0.04em;
  transition: opacity 0.2s ease;
}
.admin-login-link:hover {
  opacity: 0.55 !important;
}

/* ── Responsive: stack vertically on small screens */
@media (max-width: 680px) {
  .qv-body {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }
  .qv-dialog {
    max-height: 95vh;
    border-radius: 14px;
    overflow-y: auto;
  }
  .qv-gallery {
    padding: 16px 16px 10px;
    order: 0;          /* immagine PRIMA */
    flex-shrink: 0;
  }
  .qv-carousel {
    max-height: 240px;
    aspect-ratio: 4 / 3;
  }
  .qv-info {
    padding: 16px 18px 24px;
    order: 1;          /* testo DOPO */
    overflow-y: auto;
  }
  .qv-title { font-size: 19px; }
}


/* ─── PRODUCT CARD HOVER OVERLAY (SYNTHETIC DESCRIPTION) ─── */
.product-card {
  position: relative;
  cursor: pointer;
  user-select: none;
}
.product-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.product-card-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 13, 0.91);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(8px);
  z-index: 6;
}

.product-card:hover .product-card-hover-overlay,
.product-card:focus-within .product-card-hover-overlay {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.product-hover-tag {
  font-family: var(--font-mono, 'Space Mono', monospace);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  display: block;
}

.product-hover-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #f0f0f5;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-hover-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono, 'Space Mono', monospace);
  font-size: 10.5px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 5px 11px;
  border-radius: var(--radius-xs);
  transition: background 0.18s ease, transform 0.18s ease;
}
.product-card:hover .product-hover-hint {
  background: rgba(255, 255, 255, 0.20);
  transform: translateX(2px);
}

/* ==========================================================================
   26. BANNER GIGANTE VACANZE / CHIUSURA NEGOZIO
   ========================================================================== */
.holiday-banner-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
}

.holiday-banner-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.holiday-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 8, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
}

.holiday-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 940px;
  max-height: 90vh;
  background: #0d0d12;
  border: 1px solid rgba(214, 164, 123, 0.38);
  border-radius: 16px;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.85), 0 0 50px rgba(214, 164, 123, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.92) translateY(16px);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.holiday-banner-modal.active .holiday-dialog {
  transform: scale(1) translateY(0);
}

.holiday-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(13, 13, 18, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.holiday-close-btn:hover {
  background: var(--accent);
  color: #09090d;
  border-color: var(--accent);
  transform: scale(1.08);
}

.holiday-media-wrap {
  width: 100%;
  flex: 1 1 auto;
  min-height: 180px;
  max-height: calc(90vh - 76px);
  background: #08080a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
}

.holiday-media-wrap img {
  width: 100%;
  height: auto;
  max-height: calc(90vh - 76px);
  object-fit: contain;
  display: block;
}

.holiday-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  background: rgba(15, 15, 20, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 12px;
  flex-wrap: wrap;
}

.holiday-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono, 'Space Mono', monospace);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.holiday-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: holidayPulse 2s infinite ease-in-out;
}

@keyframes holidayPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.holiday-continue-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-disp, 'Space Grotesk', sans-serif);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(214, 164, 123, 0.35);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.22s ease;
}

.holiday-continue-btn:hover {
  background: var(--accent);
  color: #09090d;
  border-color: var(--accent);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .holiday-banner-modal {
    padding: 12px;
  }
  .holiday-dialog {
    max-height: 94vh;
    border-radius: 12px;
  }
  .holiday-media-wrap {
    max-height: calc(94vh - 110px);
  }
  .holiday-media-wrap img {
    max-height: calc(94vh - 110px);
  }
  .holiday-footer-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 12px 16px;
    gap: 10px;
  }
  .holiday-badge-status {
    justify-content: center;
    font-size: 10.5px;
  }
  .holiday-continue-btn {
    justify-content: center;
    width: 100%;
  }
}


/* ─── LOAD MORE BUTTONS & VISIBILITY LIMITS (Vetrina & Galleria) ─── */
.load-more-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 36px;
  width: 100%;
}
.btn-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 30px;
  background: rgba(214, 164, 123, 0.08);
  border: 1px solid var(--accent);
  color: #ffffff;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.btn-load-more:hover {
  background: var(--accent);
  color: #0b0b0e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(214, 164, 123, 0.28);
}
.btn-load-more svg {
  transition: transform 0.25s ease;
}
.btn-load-more:hover svg {
  transform: translateY(2px);
}
.btn-load-more:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.product-card-hidden,
.gallery-item-hidden {
  display: none !important;
}
.product-card-revealed,
.gallery-item-revealed {
  animation: evFadeReveal 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes evFadeReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   COOKIE CONSENT BANNER (Provvedimento Garante 10/06/2021 & GDPR)
   ========================================================================== */
.ev-cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 680px;
  margin: 0 auto;
  z-index: 999999;
  background: rgba(23, 26, 32, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}
.ev-cookie-banner.ev-cookie-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.ev-cookie-container {
  position: relative;
}
.ev-cookie-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-1);
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.ev-cookie-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
.ev-cookie-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.ev-cookie-icon {
  font-size: 24px;
}
.ev-cookie-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}
.ev-cookie-desc,
.ev-cookie-custom-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-1);
  margin-bottom: 18px;
}
.ev-cookie-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.ev-cookie-link:hover {
  color: #ffffff;
}
.ev-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ev-cookie-btn {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.ev-cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.ev-cookie-cat-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.ev-cookie-cat-info strong {
  display: block;
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 4px;
}
.ev-cookie-cat-info p {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.45;
  margin: 0;
}
.ev-cookie-cat-toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-dim);
}
.ev-cookie-cat-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}
.ev-cookie-cat-toggle input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* ─── BLOG / FAQ PAGE ─── */
.faq-page .policy-header { margin-bottom: 32px; }
.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.faq-filter {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-1);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.faq-filter:hover { border-color: var(--accent); color: #fff; }
.faq-filter.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #09090d;
  font-weight: 700;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 860px;
}
.faq-item {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: transparent;
  border: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  padding: 20px 22px;
  cursor: pointer;
}
.faq-question-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.faq-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(214, 164, 123, 0.4);
  padding: 3px 8px;
  border-radius: 999px;
}
.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  color: var(--accent);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 22px 22px;
  color: var(--text-1);
  font-size: 14.5px;
  line-height: 1.75;
}
.faq-answer p { margin: 0; }
.faq-loading, .faq-empty {
  color: var(--text-1);
  font-size: 15px;
  line-height: 1.7;
  max-width: 640px;
}
.faq-cta {
  margin-top: 48px;
  padding: 28px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 860px;
}
.faq-cta p {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}
.faq-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 576px) {
  .ev-cookie-banner {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 18px 16px;
  }
  .ev-cookie-actions {
    flex-direction: column;
  }
  .ev-cookie-actions .ev-cookie-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}





/* ─── BLOG HIGHLIGHT IN NAVBAR (Elevated Editorial Badge) ─── */
.nav-link-blog {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffffff !important;
  background: rgba(214, 164, 123, 0.12);
  border: 1px solid rgba(214, 164, 123, 0.40);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link-blog::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(214, 164, 123, 0.85);
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}
.nav-link-blog .nav-blog-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(214, 164, 123, 0.20);
  border: 1px solid rgba(214, 164, 123, 0.30);
  padding: 1px 6px;
  border-radius: 4px;
  line-height: 1.3;
}
.nav-link-blog:hover {
  background: rgba(214, 164, 123, 0.24);
  border-color: var(--accent);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(214, 164, 123, 0.20);
}
.nav-link-blog:hover::before {
  transform: scale(1.3);
}
.nav-link-blog.active {
  background: var(--accent) !important;
  color: #09090d !important;
  border-color: var(--accent) !important;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(214, 164, 123, 0.25);
}
.nav-link-blog.active::before {
  background: #09090d;
  box-shadow: none;
}
.nav-link-blog.active .nav-blog-tag {
  color: #09090d;
  background: rgba(0, 0, 0, 0.16);
  border-color: rgba(0, 0, 0, 0.25);
}

@media (max-width: 992px) {
  .nav-link-blog {
    width: 100%;
    justify-content: space-between;
    padding: 10px 18px;
    margin: 4px 0;
  }
}

/* ─── ADVANCED FAQ SEARCH & INTERACTION ─── */
.faq-search-box {
  margin-bottom: 26px;
  max-width: 860px;
}
.faq-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.faq-search-icon {
  position: absolute;
  left: 18px;
  color: var(--accent);
  pointer-events: none;
  opacity: 0.9;
  flex-shrink: 0;
}
.faq-search-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 48px 16px 52px;
  color: #ffffff;
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
}
.faq-search-input:focus {
  border-color: var(--accent);
  background: rgba(27, 30, 38, 0.95);
  box-shadow: 0 0 0 3px rgba(214, 164, 123, 0.16);
}
.faq-search-input::placeholder {
  color: var(--text-2);
  font-size: 14px;
}
.faq-search-clear {
  position: absolute;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s ease;
}
.faq-search-clear:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-color: var(--border-strong);
}

.faq-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding: 0 4px;
  flex-wrap: wrap;
}
.faq-results-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-2);
  font-family: var(--font-mono);
}
.faq-count-label {
  color: var(--text-1);
  font-weight: 600;
}
.faq-active-filter-label {
  background: rgba(214, 164, 123, 0.12);
  border: 1px solid rgba(214, 164, 123, 0.32);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
}
.faq-toggle-all-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-1);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  padding: 7px 14px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}
.faq-toggle-all-btn:hover {
  color: #ffffff;
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
}
.faq-toggle-all-btn svg {
  transition: transform 0.2s ease;
}
.faq-toggle-all-btn.expanded svg {
  transform: rotate(180deg);
}

/* Category filter counts */
.faq-filter-count {
  display: inline-block;
  margin-left: 5px;
  font-size: 10px;
  opacity: 0.75;
}

/* Search Term Highlight */
.faq-mark {
  background: rgba(214, 164, 123, 0.32);
  color: #ffffff;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 700;
  box-shadow: 0 0 6px rgba(214, 164, 123, 0.25);
}

/* Refined FAQ Accordion Styling */
.faq-item {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover {
  border-color: rgba(214, 164, 123, 0.40);
}
.faq-item.open {
  border-color: rgba(214, 164, 123, 0.60);
  border-left: 3px solid var(--accent);
  background: rgba(27, 30, 38, 0.90);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

/* No results state */
.faq-no-results {
  padding: 48px 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  max-width: 860px;
}
.faq-no-results-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.faq-no-results h3 {
  font-family: var(--font-disp, 'Space Grotesk', sans-serif);
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}
.faq-no-results p {
  color: var(--text-2);
  font-size: 14px;
  max-width: 480px;
  margin: 0 auto 20px;
  line-height: 1.6;
}
.faq-no-results-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}



/* ─── GOOGLE MAPS CONSENT PLACEHOLDER (GDPR & Garante Privacy) ─── */
.map-consent-placeholder {
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
  background: radial-gradient(circle at center, rgba(214, 164, 123, 0.09) 0%, rgba(9, 9, 13, 0.96) 75%);
  border: 1px dashed rgba(255, 255, 255, 0.14);
}
.map-placeholder-icon {
  font-size: 38px;
  margin-bottom: 12px;
}
.map-placeholder-title {
  font-family: var(--font-disp, 'Space Grotesk', sans-serif);
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}
.map-placeholder-text {
  max-width: 480px;
  font-size: 13.5px;
  color: var(--text-2, #8e8ea0);
  line-height: 1.6;
  margin-bottom: 22px;
}
.map-placeholder-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
