/* ============================================================
   SICILUS — Premium CSS Design System
   Inspired by: Venchi Corporate, Eataly B2B, Fortnum & Mason
   ============================================================ */

/* ── CSS Custom Properties ─────────────────────────────── */
:root {
  /* Palette */
  --nero: #0f0f0f;
  --nero-soft: #1a1a1a;
  --oro: #c9a84c;
  --oro-chiaro: #d4b766;
  --oro-scuro: #a88a3a;
  --bianco: #fafaf8;
  --crema: #f5f0e8;
  --grigio-caldo: #e8e2d8;
  --grigio-testo: #555555;
  --rosso-sicilia: #8b2e2e;
  --rosso-hover: #a03636;
  --verde-oliva: #5c6b4f;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --radius: 4px;
  --radius-lg: 12px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s ease;
  --transition-smooth: 0.5s var(--ease-out-expo);
  --transition-slow: 0.8s var(--ease-out-expo);
}

/* ── Reset & Base ──────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--nero);
  background: var(--bianco);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--nero);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

p { margin-bottom: 1em; }

/* ── Container ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Section ───────────────────────────────────────────── */
.section {
  padding: var(--space-xl) 0;
}

.section-dark {
  background: var(--nero);
  color: var(--bianco);
}

.section-dark h2,
.section-dark h3 {
  color: var(--bianco);
}

.section-crema {
  background: var(--crema);
}

.section-nero-soft {
  background: var(--nero-soft);
  color: var(--bianco);
}

.section-nero-soft h2,
.section-nero-soft h3 {
  color: var(--bianco);
}

/* ── HEADER — Sticky + Backdrop ────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(15,15,15,0.85) 0%, rgba(15,15,15,0) 100%);
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s;
}

.site-header.scrolled {
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
  z-index: 1001;
  text-decoration: none;
}

.logo-main {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--oro);
  letter-spacing: 5px;
  line-height: 1;
}

.logo-sep {
  width: 1px;
  height: 24px;
  background: rgba(201, 168, 76, 0.35);
  margin: 0 10px;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(250, 250, 248, 0.65);
  letter-spacing: 3px;
  line-height: 1.2;
  text-transform: uppercase;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--bianco);
  position: relative;
  padding: 0.25rem 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--oro);
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav a:hover {
  color: var(--oro);
}

/* Header CTA button */
.btn-header-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--nero);
  background: var(--oro);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition-base), transform var(--transition-base);
}

.btn-header-cta:hover {
  background: var(--oro-chiaro);
  transform: translateY(-1px);
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  margin-right: 0.75rem;
}

.lang-switcher-btn {
  display: flex;
  align-items: center;
  background: none;
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--oro);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.lang-switcher-btn:hover {
  border-color: var(--oro);
  background: rgba(201, 168, 76, 0.08);
}

.lang-switcher-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--nero);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 6px;
  min-width: 60px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.2s ease;
  z-index: 1001;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.lang-switcher:hover .lang-switcher-dropdown,
.lang-switcher-btn[aria-expanded="true"] + .lang-switcher-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  padding: 0.4rem 0.75rem;
  color: var(--grigio-caldo);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: all 0.15s ease;
}

.lang-option:hover {
  background: rgba(201, 168, 76, 0.1);
  color: var(--oro);
}

.lang-option.active {
  color: var(--oro);
  background: rgba(201, 168, 76, 0.05);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0.5rem;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bianco);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 15, 0.97);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.mobile-overlay nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-overlay nav a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--bianco);
  transition: color 0.3s ease;
}

.mobile-overlay nav a:hover {
  color: var(--oro);
}

/* Body padding for fixed header */
body {
  padding-top: 72px;
}

/* ── HERO ──────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--nero);
  overflow: hidden;
  margin-top: -72px;
  padding-top: 72px;
}

/* ── Multi-slide system ── */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide--active {
  opacity: 1;
}

.hero-slide .hero-bg {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  will-change: transform;
  transition: transform 0.1s linear;
  transform: scale(1.04);
}

/* ── Cinematic overlay ── */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.25) 0%,
    rgba(10, 10, 10, 0.55) 40%,
    rgba(10, 10, 10, 0.85) 100%
  );
  z-index: 1;
}

/* ── Floating particles ── */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--oro);
  opacity: 0;
  animation: particleFloat 8s infinite ease-in-out;
}

.particle--1 { left: 15%; top: 30%; animation-delay: 0s; }
.particle--2 { left: 75%; top: 20%; animation-delay: 1.5s; }
.particle--3 { left: 45%; top: 60%; animation-delay: 3s; }
.particle--4 { left: 85%; top: 50%; animation-delay: 4.5s; }
.particle--5 { left: 25%; top: 70%; animation-delay: 6s; }

@keyframes particleFloat {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.5); }
  20% { opacity: 0.6; }
  50% { opacity: 0.3; transform: translateY(-40px) scale(1); }
  80% { opacity: 0.5; }
}

/* ── Hero content ── */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 880px;
  text-align: center;
  padding: 2rem;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oro);
  background: rgba(186, 155, 80, 0.12);
  border: 1px solid rgba(186, 155, 80, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--oro);
  animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(186, 155, 80, 0.5); }
  50% { opacity: 0.5; box-shadow: 0 0 0 6px rgba(186, 155, 80, 0); }
}

/* Title */
.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0;
  color: var(--bianco);
  margin-bottom: 1.5rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-title-line {
  display: block;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
}

.hero-title-line--accent {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  background: linear-gradient(135deg, var(--oro) 0%, #e8d5a0 50%, var(--oro) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 4s ease-in-out infinite;
  font-style: italic;
}

.hero-title-line--sub {
  font-size: clamp(0.95rem, 2vw, 1.3rem);
  font-weight: 400;
  color: rgba(250, 250, 248, 0.7);
  margin-top: 0.8rem;
  letter-spacing: 0.04em;
  font-style: normal;
}

@keyframes goldShimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* Subtitle */
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(250, 250, 248, 0.8);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle strong {
  color: var(--bianco);
  font-weight: 600;
}

/* CTAs */
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Glow button */
.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--oro), #e8d5a0, var(--oro));
  opacity: 0;
  transition: opacity 0.5s;
  z-index: -1;
  filter: blur(12px);
}

.btn-glow:hover::before {
  opacity: 0.6;
}

.btn-glow svg {
  transition: transform 0.3s;
}

.btn-glow:hover svg {
  transform: translateX(4px);
}

/* Hero stats bar */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 1.2rem 2.5rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--oro);
}

.hero-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(250, 250, 248, 0.6);
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
}

/* Slide indicators */
.hero-indicators {
  position: absolute;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.75rem;
}

.hero-indicator {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 0;
}

.hero-indicator--active {
  width: 56px;
  background: var(--oro);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.scroll-hint-text {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(250, 250, 248, 0.5);
}

.scroll-hint-line {
  width: 1px;
  height: 28px;
  background: var(--oro);
  animation: scrollLineAnim 2s infinite;
  transform-origin: top;
}

@keyframes scrollLineAnim {
  0% { transform: scaleY(0); opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0); opacity: 0; }
}

/* ── Hero Small (inner pages) ─────────────────────────── */
.hero-small {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--nero);
  overflow: hidden;
  margin-top: -72px;
  padding-top: 72px;
  text-align: center;
}

.hero-small::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 15, 15, 0.4) 0%,
    rgba(15, 15, 15, 0.85) 100%
  );
  z-index: 1;
}

.hero-small .hero-content {
  position: relative;
  z-index: 2;
}

.hero-small h1 {
  color: var(--bianco);
  margin-bottom: 1rem;
}

.hero-small .hero-subtitle {
  color: rgba(250, 250, 248, 0.8);
}

/* ── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-gold {
  background: linear-gradient(135deg, var(--oro-scuro), var(--oro), var(--oro-chiaro));
  color: var(--nero);
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--bianco);
  border: 2px solid rgba(250, 250, 248, 0.6);
}

.btn-outline:hover {
  background: rgba(250, 250, 248, 0.1);
  border-color: var(--bianco);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--nero);
  color: var(--bianco);
}

.btn-dark:hover {
  background: var(--nero-soft);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--nero);
  color: var(--bianco);
  font-size: 0.8rem;
  padding: 0.75rem 1.5rem;
}

.btn-secondary:hover {
  background: var(--nero-soft);
}

.btn-lg {
  font-size: 1rem;
  padding: 1.2rem 3rem;
}

/* ── REVEAL ANIMATIONS ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo),
              transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── SECTION TITLE ─────────────────────────────────────── */
.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-title h2 {
  margin-bottom: 0.75rem;
}

.section-title .gold-line {
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--oro-scuro), var(--oro), var(--oro-chiaro));
  margin: 0 auto;
  border-radius: 2px;
}

.section-title p {
  margin-top: 1rem;
  color: var(--grigio-testo);
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ── TRUST BAR ─────────────────────────────────────────── */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: var(--space-lg) 0;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.trust-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--oro);
  stroke-width: 1.5;
  fill: none;
}

.trust-label {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--nero);
}

.trust-sublabel {
  font-size: 0.8rem;
  color: var(--grigio-testo);
}

/* ── COLLECTION CARDS ──────────────────────────────────── */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.collection-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bianco);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.collection-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.collection-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.collection-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.collection-card:hover .collection-card-img img {
  transform: scale(1.08);
}

.collection-card-body {
  padding: 1.5rem;
}

.collection-card-body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.collection-card-price {
  font-size: 0.95rem;
  color: var(--oro-scuro);
  font-weight: 600;
  margin-bottom: 1rem;
}

.collection-card-cta {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--nero);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap var(--transition-base);
}

.collection-card:hover .collection-card-cta {
  color: var(--oro-scuro);
  gap: 1rem;
}

/* ── STEPS / HOW IT WORKS ──────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: var(--grigio-caldo);
  z-index: 0;
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--oro);
  line-height: 1;
  margin-bottom: 1rem;
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: var(--bianco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.step-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--oro);
  stroke-width: 1.5;
  fill: none;
}

.step-item h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.step-item p {
  color: var(--grigio-testo);
  font-size: 0.95rem;
}

/* ── STATS / NUMBERS ───────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  color: var(--oro);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(250, 250, 248, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ── PRODUCT CARDS ─────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  position: relative;
  overflow: hidden;
  background: var(--bianco);
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.product-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--oro), var(--oro-chiaro));
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.product-card:hover::after {
  transform: scaleX(1);
}

.product-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--verde-oliva);
  color: var(--bianco);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  z-index: 2;
}

.product-card-body {
  padding: 1.25rem;
}

.product-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-card-meta {
  font-size: 0.8rem;
  color: var(--grigio-testo);
  margin-bottom: 0.75rem;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--nero);
  margin-bottom: 1rem;
}

.product-price .price-note {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--grigio-testo);
}

/* ── VANTAGGI B2B ──────────────────────────────────────── */
.vantaggi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.vantaggio-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.vantaggio-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vantaggio-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--oro);
  stroke-width: 1.5;
  fill: none;
}

.vantaggio-text h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.vantaggio-text p {
  font-size: 0.9rem;
  color: var(--grigio-testo);
  margin-bottom: 0;
}

.vantaggi-visual {
  position: relative;
  border: 2px solid var(--oro);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  background: linear-gradient(135deg, var(--nero), var(--nero-soft));
  color: var(--bianco);
}

.vantaggi-visual h3 {
  font-family: var(--font-accent);
  font-size: 2rem;
  color: var(--oro);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.vantaggi-visual p {
  color: rgba(250, 250, 248, 0.7);
}

/* ── SECTORS GRID ──────────────────────────────────────── */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.sector-tile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem;
  background: var(--bianco);
  border: 1px solid var(--grigio-caldo);
  border-radius: var(--radius);
  transition: all var(--transition-base);
  text-decoration: none;
  color: var(--nero);
}

.sector-tile:hover {
  background: linear-gradient(135deg, var(--oro), var(--oro-chiaro));
  border-color: var(--oro);
  color: var(--nero);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.2);
}

.sector-tile-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.sector-tile-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--oro);
  stroke-width: 1.5;
  fill: none;
  transition: stroke var(--transition-base);
}

.sector-tile:hover .sector-tile-icon svg {
  stroke: var(--nero);
}

.sector-tile-name {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 600;
}

.sector-tile-arrow {
  font-size: 1rem;
  transition: transform var(--transition-base);
}

.sector-tile:hover .sector-tile-arrow {
  transform: translateX(4px);
}

/* ── GUIDE TEASER ──────────────────────────────────────── */
.guide-teaser {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.guide-teaser-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
}

.guide-teaser-icon svg {
  width: 80px;
  height: 80px;
  stroke: var(--oro);
  stroke-width: 1;
  fill: none;
}

.guide-teaser-text h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.guide-teaser-text p {
  font-size: 1.1rem;
  color: var(--grigio-testo);
  margin-bottom: 1.5rem;
}

/* ── TESTIMONIALS ──────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--bianco);
  padding: 2.5rem;
  border-left: 4px solid var(--oro);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.testimonial-quote {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--nero);
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-quote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--oro);
  position: absolute;
  top: -1rem;
  left: -0.5rem;
  line-height: 1;
  opacity: 0.3;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grigio-testo);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── FAQ ACCORDION ─────────────────────────────────────── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--grigio-caldo);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 500;
  gap: 1rem;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  color: var(--nero);
  transition: color var(--transition-base);
}

.faq-question:hover {
  color: var(--oro-scuro);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--nero);
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-icon::before {
  width: 16px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 16px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.active .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer-inner {
  padding-bottom: 1.5rem;
  color: var(--grigio-testo);
  font-size: 1rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ── CTA SECTION ───────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: var(--space-xl) 0;
}

.cta-section h2 {
  color: var(--bianco);
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.cta-section p {
  color: rgba(250, 250, 248, 0.7);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.cta-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(250, 250, 248, 0.5);
}

/* ── FOOTER ────────────────────────────────────────────── */
.site-footer {
  background: var(--nero);
  color: rgba(250, 250, 248, 0.7);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 1.5rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(250, 250, 248, 0.6);
  transition: color var(--transition-base);
}

.footer-col a:hover {
  color: var(--oro-chiaro);
}

.footer-col li {
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  font-size: 0.8rem;
  color: rgba(250, 250, 248, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(250, 250, 248, 0.4);
  font-size: 0.8rem;
}

.footer-bottom-links a:hover {
  color: var(--oro);
}

/* ── FORM PREMIUM ──────────────────────────────────────── */
.form-premium {
  background: var(--bianco);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  border-top: 3px solid var(--oro);
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--grigio-testo);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--nero);
  background: var(--bianco);
  border: 1px solid var(--grigio-caldo);
  border-radius: var(--radius);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  outline: none;
}

.form-control:focus {
  border-color: var(--oro);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-checkbox {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 0.3rem;
  accent-color: var(--oro);
}

.form-checkbox label {
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: none;
  color: var(--grigio-testo);
  letter-spacing: 0;
}

/* Form Success */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem;
}

.form-success.visible {
  display: block;
  animation: fadeIn 0.5s ease;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--verde-oliva);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success-icon svg {
  width: 32px;
  height: 32px;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Grid Utilities ────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* ── Utility Classes ───────────────────────────────────── */
.text-center { text-align: center; }
.text-left { text-align: left; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ── Breadcrumb ────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--grigio-testo);
  margin-bottom: var(--space-md);
  padding: 0;
}

.breadcrumb a {
  color: var(--grigio-testo);
  transition: color var(--transition-base);
}

.breadcrumb a:hover {
  color: var(--oro-scuro);
}

.breadcrumb .sep {
  opacity: 0.5;
}

/* ── Article Body (Guide pages) ────────────────────────── */
.article-body {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--nero);
}

.article-body h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.article-body h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-body p {
  margin-bottom: 1.25rem;
}

.article-body ul, .article-body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body blockquote {
  border-left: 4px solid var(--oro);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: var(--crema);
  font-family: var(--font-accent);
  font-size: 1.2rem;
  font-style: italic;
}

.article-callout {
  background: var(--crema);
  border-left: 4px solid var(--oro);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-callout h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ── TOC for Articles ──────────────────────────────────── */
.toc {
  background: var(--crema);
  padding: 2rem;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
}

.toc h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.toc ul {
  list-style: decimal inside;
}

.toc li {
  margin-bottom: 0.5rem;
}

.toc a {
  color: var(--nero);
  font-size: 0.95rem;
}

.toc a:hover {
  color: var(--oro-scuro);
}

/* ── CATEGORY PAGE (products listing) ──────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.category-product-card {
  background: var(--bianco);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.category-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.1);
}

.category-product-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.category-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.category-product-card:hover .category-product-img img {
  transform: scale(1.05);
}

.category-product-body {
  padding: 1.5rem;
}

.category-product-body h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.category-product-desc {
  font-size: 0.9rem;
  color: var(--grigio-testo);
  margin-bottom: 1rem;
}

.category-product-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--nero);
  margin-bottom: 0.25rem;
}

.category-product-price-note {
  font-size: 0.75rem;
  color: var(--grigio-testo);
  margin-bottom: 1rem;
}

.contents-list {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--crema);
  border-radius: var(--radius);
}

.contents-list h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--grigio-testo);
  margin-bottom: 0.5rem;
}

.contents-list ul {
  list-style: none;
  padding: 0;
}

.contents-list li {
  font-size: 0.8rem;
  color: var(--nero);
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contents-list li:last-child {
  border-bottom: none;
}

/* ── PRIVACY / LEGAL PAGES ─────────────────────────────── */
.legal-content {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: var(--space-xl) 1.5rem;
}

.legal-content h1 {
  margin-bottom: var(--space-md);
}

.legal-content h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
}

.legal-content p {
  color: var(--grigio-testo);
  margin-bottom: 1rem;
}

/* ── Metadata bar for articles ─────────────────────────── */
.article-meta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  border-top: 1px solid var(--grigio-caldo);
  border-bottom: 1px solid var(--grigio-caldo);
  padding: 1rem 0;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--grigio-testo);
}

/* ── About Section ─────────────────────────────────────── */
.about-content {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.about-content h2 {
  margin-bottom: 1rem;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--grigio-testo);
  margin-bottom: 1.5rem;
}

/* ── RESPONSIVE ────────────────────────────────────────── */

/* Desktop S (1024px) */
@media (max-width: 1024px) {
  .sectors-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .vantaggi-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .main-nav {
    display: none;
  }

  .btn-header-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }
}

/* Tablet (768px) */
@media (max-width: 768px) {
  :root {
    --space-xl: 4rem;
  }

  .section {
    padding: var(--space-lg) 0;
  }

  .hero h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
  }

  .collections-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .steps-grid::before {
    display: none;
  }

  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-teaser {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
}

/* Mobile L (480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .sectors-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .trust-bar {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .btn-lg {
    padding: 1rem 2rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}

/* Mobile S (375px) */
@media (max-width: 375px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .section {
    padding: 3rem 0;
  }

  h2 {
    font-size: 1.5rem;
  }

  .form-premium {
    padding: 1.5rem;
  }
}

/* ── Desktop L (1440px+) ────────────────────────────────── */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
}

/* ── Print styles ──────────────────────────────────────── */
@media print {
  .site-header,
  .site-footer,
  .mobile-overlay,
  .scroll-hint,
  .btn,
  .whatsapp-fab,
  .back-to-top,
  .cookie-banner,
  .sticky-mobile-cta,
  .reading-progress {
    display: none !important;
  }

  body {
    padding-top: 0;
  }

  .hero {
    min-height: auto;
    margin-top: 0;
  }
}

/* ══════════════════════════════════════════════════════════
   NEW FEATURES — Phase 2 Optimizations
   ══════════════════════════════════════════════════════════ */

/* ── Skip Link (Accessibility) ─────────────────────────── */
.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--oro);
  color: var(--nero);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* ── Accessibility Focus Styles ────────────────────────── */
*:focus-visible {
  outline: 2px solid var(--oro);
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--oro);
  outline-offset: 3px;
}

.btn:focus-visible {
  outline: 2px solid var(--bianco);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(201, 168, 76, 0.4);
}

/* ── Reading Progress Bar ──────────────────────────────── */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--oro-scuro), var(--oro), var(--oro-chiaro));
  z-index: 1001;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ── WhatsApp Floating Action Button ───────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  background: #25D366;
  color: white;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: all var(--transition-smooth);
  text-decoration: none;
}

.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
  color: white;
}

.whatsapp-fab svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.whatsapp-fab-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Pulse animation for attention */
.whatsapp-fab::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50px;
  border: 2px solid #25D366;
  animation: whatsapp-pulse 2s ease-in-out infinite;
  opacity: 0;
}

@keyframes whatsapp-pulse {
  0% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.1); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

/* ── Back to Top Button ────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  z-index: 899;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nero);
  color: var(--oro);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--oro);
  color: var(--nero);
  border-color: var(--oro);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ── Cookie Consent Banner ─────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  background: var(--nero);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  padding: 1rem 0;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out-expo);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-banner p {
  color: rgba(250, 250, 248, 0.7);
  font-size: 0.85rem;
  margin: 0;
  flex: 1;
}

.cookie-banner a {
  color: var(--oro);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-banner-link {
  color: rgba(250, 250, 248, 0.5) !important;
  font-size: 0.8rem;
  text-decoration: underline !important;
}

/* ── Sticky Mobile CTA ─────────────────────────────────── */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 890;
  padding: 0.75rem 1rem;
  background: var(--nero);
  border-top: 1px solid rgba(201, 168, 76, 0.3);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out-expo);
}

.sticky-mobile-cta.visible {
  transform: translateY(0);
}

/* ── Brand Marquee ─────────────────────────────────────── */
.brand-marquee {
  overflow: hidden;
  padding: 2rem 0;
  background: var(--nero);
  border-top: 1px solid rgba(201, 168, 76, 0.25);
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
}

.brand-marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: marquee 60s linear infinite;
  width: max-content;
}

.brand-marquee-item {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--oro);
  white-space: nowrap;
  letter-spacing: 2px;
  padding: 0 1.5rem;
}

.brand-marquee-sep {
  flex-shrink: 0;
  color: rgba(201, 168, 76, 0.3);
  font-size: 0.6rem;
  padding: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Lazy Load Image Transition ────────────────────────── */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.5s ease;
}

img[loading="lazy"].loaded,
img:not([loading="lazy"]) {
  opacity: 1;
}

/* ── Enhanced Micro-Animations ─────────────────────────── */
.gold-line {
  animation: grow-line 0.8s var(--ease-out-expo) forwards;
  transform-origin: center;
  transform: scaleX(0);
}

.reveal.visible .gold-line {
  transform: scaleX(1);
}

@keyframes grow-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Staggered grid animations */
.reveal.visible .trust-item:nth-child(1) { transition-delay: 0s; }
.reveal.visible .trust-item:nth-child(2) { transition-delay: 0.1s; }
.reveal.visible .trust-item:nth-child(3) { transition-delay: 0.2s; }
.reveal.visible .trust-item:nth-child(4) { transition-delay: 0.3s; }

/* Button ripple effect on click */
.btn-gold:active {
  transform: scale(0.97);
}

/* Smooth image reveal on load */
.collection-card-img,
.product-card-img,
.category-product-img {
  background: linear-gradient(135deg, var(--grigio-caldo) 0%, var(--crema) 100%);
}

/* Section separator decorator */
.section-sep {
  display: block;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--oro), transparent);
  margin: 0 auto;
}

/* ── 404 Page ──────────────────────────────────────────── */
.page-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-404 h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--oro);
  line-height: 1;
  margin-bottom: 1rem;
}

.page-404 h2 {
  margin-bottom: 1rem;
}

.page-404 p {
  color: var(--grigio-testo);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Responsive Overrides for New Components ───────────── */
@media (max-width: 1024px) {
  .sticky-mobile-cta {
    display: block;
  }

  .whatsapp-fab {
    bottom: 5rem;
  }

  .back-to-top {
    bottom: 9rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .whatsapp-fab-label {
    display: none;
  }

  .whatsapp-fab {
    padding: 0.85rem;
    border-radius: 50%;
    bottom: 4.5rem;
    right: 1rem;
  }

  .back-to-top {
    bottom: 8.5rem;
  }

  .brand-marquee-item {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .whatsapp-fab {
    bottom: 4.5rem;
    right: 0.75rem;
  }

  .back-to-top {
    bottom: 8rem;
    right: 0.75rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   CONFIGURATOR — Multi-Step Wizard
   ═══════════════════════════════════════════════════════════ */

.wizard-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.wizard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.wizard-step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(201, 168, 76, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--grigio-testo);
  transition: all 0.3s ease;
  background: var(--nero);
}

.wizard-step.active .wizard-step-number {
  border-color: var(--oro);
  color: var(--nero);
  background: var(--oro);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
}

.wizard-step.completed .wizard-step-number {
  border-color: var(--oro);
  color: var(--nero);
  background: var(--oro);
}

.wizard-step.completed .wizard-step-number::after {
  content: '✓';
  font-size: 1rem;
}

.wizard-step-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grigio-testo);
  margin-top: 0.5rem;
  transition: color 0.3s ease;
}

.wizard-step.active .wizard-step-label,
.wizard-step.completed .wizard-step-label {
  color: var(--oro);
}

.wizard-connector {
  width: 60px;
  height: 2px;
  background: rgba(201, 168, 76, 0.15);
  margin: 0 0.5rem;
  margin-bottom: 1.5rem;
  transition: background 0.3s ease;
}

.wizard-connector.completed {
  background: var(--oro);
}

/* Wizard panels */
.wizard-panel {
  display: none;
  animation: wizardFadeIn 0.4s ease;
}

.wizard-panel.active {
  display: block;
}

@keyframes wizardFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-title {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.wizard-subtitle {
  text-align: center;
  color: var(--grigio-testo);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.btn-outline {
  background: none;
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--grigio-caldo);
  padding: 0.7rem 1.25rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
}

.btn-outline:hover {
  border-color: var(--oro);
  color: var(--oro);
}

.wizard-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Event cards */
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.event-card {
  cursor: pointer;
}

.event-card input { display: none; }

.event-card-inner {
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  background: rgba(255, 255, 255, 0.02);
}

.event-card-inner:hover {
  border-color: rgba(201, 168, 76, 0.4);
  background: rgba(201, 168, 76, 0.03);
  transform: translateY(-2px);
}

.event-card.selected .event-card-inner,
.event-card input:checked + .event-card-inner {
  border-color: var(--oro);
  background: rgba(201, 168, 76, 0.06);
  box-shadow: 0 0 24px rgba(201, 168, 76, 0.1);
}

.event-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.event-card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.event-card p {
  font-size: 0.8rem;
  color: var(--grigio-testo);
  margin: 0;
  line-height: 1.4;
}

.event-badge {
  position: absolute;
  top: -8px;
  right: 12px;
  background: var(--oro);
  color: var(--nero);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 12px;
}

/* Budget cards */
.budget-section,
.quantity-section,
.shipping-section {
  margin-bottom: 2rem;
}

.budget-label {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 1rem;
  font-weight: 600;
}

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

.budget-card { cursor: pointer; }
.budget-card input { display: none; }

.budget-card-inner {
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.budget-card-inner:hover {
  border-color: rgba(201, 168, 76, 0.4);
  transform: translateY(-2px);
}

.budget-card.selected .budget-card-inner,
.budget-card input:checked + .budget-card-inner {
  border-color: var(--oro);
  background: rgba(201, 168, 76, 0.06);
}

.budget-range {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--oro);
}

.budget-type {
  font-size: 0.8rem;
  color: var(--grigio-caldo);
}

.budget-hint {
  font-size: 0.65rem;
  color: var(--grigio-testo);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.budget-hint.popular {
  color: var(--oro);
  font-weight: 600;
}

/* Quantity selector */
.quantity-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 1rem;
}

.qty-btn {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  background: none;
  color: var(--oro);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-minus { border-radius: 8px 0 0 8px; }
.qty-plus { border-radius: 0 8px 8px 0; }

.qty-btn:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--oro);
}

.qty-input {
  width: 100px;
  height: 48px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-left: none;
  border-right: none;
  background: rgba(255, 255, 255, 0.02);
  color: var(--bianco);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-presets {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.qty-preset {
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 20px;
  background: none;
  color: var(--grigio-testo);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.qty-preset:hover,
.qty-preset.active {
  border-color: var(--oro);
  color: var(--oro);
  background: rgba(201, 168, 76, 0.06);
}

/* Discount indicator */
.discount-indicator {
  background: rgba(201, 168, 76, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.discount-bar {
  width: 100%;
  height: 6px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.discount-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--oro-scuro), var(--oro), var(--oro-chiaro));
  border-radius: 3px;
  transition: width 0.4s ease;
  width: 25%;
}

.discount-tiers {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.tier {
  font-size: 0.7rem;
  color: var(--grigio-testo);
  font-weight: 600;
  transition: color 0.2s ease;
}

.tier.active-tier {
  color: var(--oro);
}

.discount-message {
  font-size: 0.8rem;
  color: var(--grigio-caldo);
  text-align: center;
  margin: 0;
}

.discount-message strong {
  color: var(--oro);
}

/* Shipping options */
.shipping-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.shipping-option { cursor: pointer; }
.shipping-option input { display: none; }

.shipping-inner {
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.shipping-inner:hover {
  border-color: rgba(201, 168, 76, 0.4);
}

.shipping-option input:checked + .shipping-inner {
  border-color: var(--oro);
  background: rgba(201, 168, 76, 0.04);
}

.shipping-inner strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.shipping-inner span {
  font-size: 0.75rem;
  color: var(--grigio-testo);
}

/* Taste cards */
.taste-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.taste-card { cursor: pointer; }
.taste-card input { display: none; }

.taste-card-inner {
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
}

.taste-card-inner:hover {
  border-color: rgba(201, 168, 76, 0.4);
  transform: translateY(-2px);
}

.taste-card.selected .taste-card-inner,
.taste-card input:checked + .taste-card-inner {
  border-color: var(--oro);
  background: rgba(201, 168, 76, 0.06);
  box-shadow: 0 0 24px rgba(201, 168, 76, 0.1);
}

.taste-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.taste-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.taste-card p {
  font-size: 0.8rem;
  color: var(--grigio-testo);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.taste-brands {
  list-style: none;
  padding: 0;
  margin: 0;
}

.taste-brands li {
  font-size: 0.7rem;
  color: var(--oro);
  letter-spacing: 0.04em;
  padding: 2px 0;
}

.taste-badge {
  position: absolute;
  top: -8px;
  right: 12px;
  background: var(--oro);
  color: var(--nero);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 12px;
}

/* Personalization */
.personalization-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.personalization-check {
  cursor: pointer;
}

.personalization-check input { display: none; }

.check-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--grigio-caldo);
  transition: all 0.3s ease;
}

.personalization-check input:checked + .check-label {
  border-color: var(--oro);
  color: var(--oro);
  background: rgba(201, 168, 76, 0.04);
}

.check-label:hover {
  border-color: rgba(201, 168, 76, 0.4);
}

.check-label svg {
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}

/* Notes */
.notes-section {
  margin-bottom: 1rem;
}

/* Config Summary */
.config-summary {
  background: rgba(201, 168, 76, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
}

.summary-row:last-child { border-bottom: none; }

.summary-row.highlight {
  background: rgba(201, 168, 76, 0.05);
  margin: 0.25rem -0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
}

.summary-label {
  font-size: 0.8rem;
  color: var(--grigio-testo);
}

.summary-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grigio-caldo);
}

.summary-value.gold {
  color: var(--oro);
  font-size: 1rem;
}

/* Form note */
.form-note {
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .event-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .budget-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .taste-grid {
    grid-template-columns: 1fr;
  }

  .personalization-grid {
    grid-template-columns: 1fr;
  }

  .shipping-options {
    grid-template-columns: 1fr;
  }

  .wizard-step-label {
    display: none;
  }

  .wizard-connector {
    width: 30px;
    margin-bottom: 0;
  }

  .wizard-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .event-grid {
    grid-template-columns: 1fr;
  }

  .budget-cards {
    grid-template-columns: 1fr;
  }

  .qty-presets {
    flex-wrap: wrap;
  }
}

/* ═══════════════════════════════════════════════════════════
   CATALOG — Brand Grid & Product Gallery
   ═══════════════════════════════════════════════════════════ */

/* Filters */
.catalog-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 24px;
  background: none;
  color: var(--grigio-testo);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.03em;
}

.filter-btn:hover {
  border-color: rgba(201, 168, 76, 0.5);
  color: var(--oro);
}

.filter-btn.active {
  background: var(--oro);
  color: var(--nero);
  border-color: var(--oro);
}

/* Brand Grid */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.brand-card {
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s ease;
  background: rgba(255, 255, 255, 0.02);
}

.brand-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.brand-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.brand-card-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: rgba(201, 168, 76, 0.03);
}

.brand-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fafaf8;
  padding: 8px;
  transition: transform 0.5s ease;
}

.brand-card:hover .brand-card-image img {
  transform: scale(1.05);
}

.brand-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--grigio-testo);
  background: rgba(201, 168, 76, 0.03);
}

.brand-placeholder span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.brand-card-body {
  padding: 1.25rem;
}

.brand-badge {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--oro);
  font-weight: 600;
  display: block;
  margin-bottom: 0.4rem;
}

.brand-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.brand-card-body p {
  font-size: 0.8rem;
  color: var(--grigio-testo);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.brand-count {
  font-size: 0.7rem;
  color: var(--oro);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Product Gallery */
.product-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.product-card {
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
}

.product-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.product-card-image {
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fafaf8;
  padding: 8px;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.06);
}

.product-zoom-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--oro);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-zoom-icon {
  opacity: 1;
}

.product-card-body {
  padding: 0.75rem 1rem;
}

.product-card-body h3 {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--grigio-caldo);
  line-height: 1.3;
  margin: 0;
}

/* Breadcrumbs */
.breadcrumb-nav {
  font-size: 0.75rem;
  color: var(--grigio-testo);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
}

.breadcrumb-nav a {
  color: var(--grigio-testo);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
  color: var(--oro);
}

.bc-sep {
  margin: 0 0.4rem;
  color: rgba(201, 168, 76, 0.3);
}

.bc-current {
  color: var(--oro);
}

.hero-badge-text {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oro);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 1rem;
}

/* Catalog CTA */
.catalog-cta {
  text-align: center;
  padding: 3rem 2rem;
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--radius-lg);
  background: rgba(201, 168, 76, 0.03);
}

.catalog-cta h2 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.catalog-cta p {
  color: var(--grigio-testo);
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.catalog-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.catalog-placeholder-message {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--grigio-testo);
}

.catalog-placeholder-message h2 {
  margin-top: 1rem;
  font-size: 1.3rem;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--bianco);
  font-size: 2rem;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.2s ease;
}

.lightbox-close:hover {
  color: var(--oro);
}

.lightbox-content {
  max-width: 80vw;
  max-height: 85vh;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-caption {
  color: var(--grigio-caldo);
  font-size: 0.9rem;
  margin-top: 1rem;
  font-weight: 500;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--oro);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10001;
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(201, 168, 76, 0.3);
  border-color: var(--oro);
}

/* Responsive */
@media (max-width: 1024px) {
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .product-gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .product-gallery { grid-template-columns: repeat(2, 1fr); }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}

@media (max-width: 480px) {
  .brand-grid { grid-template-columns: 1fr; }
  .product-gallery { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
}

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE — Enhanced Sections
   ═══════════════════════════════════════════════════════════ */

/* Guide Fiscale Hero */
.guide-fiscale-hero {
  position: relative;
  background: linear-gradient(135deg, var(--nero) 0%, #1a1510 50%, var(--nero) 100%);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.guide-teaser-hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.guide-teaser-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--oro);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.guide-teaser-hero h2 {
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  color: var(--bianco);
}

.guide-teaser-hero p {
  color: var(--grigio-caldo);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* CTA Finale Hero */
.cta-finale-hero {
  position: relative;
  background: linear-gradient(135deg, #1a1510 0%, var(--nero) 40%, #12100c 100%);
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cta-finale-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-finale-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.cta-finale-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem 2rem;
}

.cta-finale-content h2 {
  font-size: 2.2rem;
  color: var(--bianco);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.cta-finale-content p {
  color: var(--grigio-caldo);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* Vantaggi Equal Height */
.vantaggi-grid {
  align-items: stretch;
}

.vantaggi-grid > div:last-child {
  display: flex;
}

.vantaggi-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

/* Footer Enhancements */
.footer-cta-li {
  margin-top: 0.75rem;
}

.footer-cta-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
}

/* Language Arrow */
.lang-arrow {
  margin-left: 4px;
}

/* Responsive overrides for new sections */
@media (max-width: 768px) {
  .guide-teaser-hero h2 { font-size: 1.4rem; }
  .cta-finale-content h2 { font-size: 1.6rem; }
  .cta-finale-content { padding: 3rem 1rem; }
  .brand-marquee-item { font-size: 1rem; letter-spacing: 1px; }
  .logo-sub { display: none; }
  .logo-sep { display: none; }
  .logo-main { font-size: 1.3rem; }
  .gallery-controls { flex-direction: column; gap: 0.5rem; }
}

/* Gallery Controls */
.gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.gallery-sort {
  display: flex;
  gap: 0.4rem;
}

.sort-btn {
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 20px;
  background: none;
  color: var(--grigio-testo);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.03em;
}

.sort-btn:hover {
  border-color: rgba(201, 168, 76, 0.5);
  color: var(--oro);
}

.sort-btn.active {
  background: var(--oro);
  color: var(--nero);
  border-color: var(--oro);
}

.gallery-count {
  font-size: 0.7rem;
  color: var(--grigio-testo);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   BLOG
   ═══════════════════════════════════════════════════════════ */

.blog-hero {
  background: var(--nero);
  min-height: 25vh;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.blog-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--bianco);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.blog-card-image {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--oro);
  color: var(--nero);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  color: var(--grigio-testo);
  margin-bottom: 0.75rem;
}

.blog-card-dot {
  color: var(--oro);
}

.blog-card-body h2 {
  font-size: 1.15rem;
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.blog-card-body h2 a {
  color: var(--nero);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-card-body h2 a:hover {
  color: var(--oro-scuro);
}

.blog-card-body p {
  font-size: 0.85rem;
  color: var(--grigio-testo);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.blog-card-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--oro-scuro);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-card-link:hover {
  color: var(--oro);
}

/* Blog Article Hero */
.blog-article-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.blog-article-hero-img {
  position: absolute;
  inset: 0;
}

.blog-article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}

.blog-article-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 3rem;
}

.blog-article-category {
  display: inline-block;
  background: var(--oro);
  color: var(--nero);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.blog-article-hero-content h1 {
  font-size: 2.2rem;
  color: var(--bianco);
  max-width: 700px;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.blog-article-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(250,250,248,0.7);
}

/* Blog Article Content */
.blog-article-content {
  max-width: 720px;
  margin: 2rem auto 3rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #333;
}

.blog-article-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  color: var(--nero);
}

.blog-article-content p {
  margin-bottom: 1.25rem;
}

.article-lead {
  font-size: 1.15rem;
  color: var(--grigio-testo);
  line-height: 1.7;
  border-left: 3px solid var(--oro);
  padding-left: 1.25rem;
  margin-bottom: 2rem;
}

.blog-article-content ul, .blog-article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.blog-article-content li {
  margin-bottom: 0.5rem;
}

.blog-article-content strong {
  color: var(--nero);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.article-table th {
  background: var(--nero);
  color: var(--bianco);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
}

.article-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--grigio-caldo);
}

.article-table tr:nth-child(even) td {
  background: rgba(245, 240, 232, 0.5);
}

/* Blog Article CTA */
.blog-article-cta {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--crema);
  border-radius: 16px;
  margin-top: 3rem;
}

.blog-article-cta h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.blog-article-cta p {
  color: var(--grigio-testo);
  margin-bottom: 1.5rem;
}

.blog-article-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Blog Responsive */
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-article-hero-content h1 { font-size: 1.5rem; }
  .blog-article-content { font-size: 0.95rem; }
  .blog-article-cta-buttons { flex-direction: column; align-items: center; }
  .article-table { font-size: 0.75rem; }
  .article-table th, .article-table td { padding: 0.5rem; }
}

/* ── Brand SEO Description ─────────────────────────────── */
.brand-seo-section {
  margin: 3rem 0;
  padding: 2rem;
  background: var(--crema);
  border-radius: 12px;
  border-left: 3px solid var(--oro);
}

.brand-seo-section h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--nero);
}

.brand-seo-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--grigio-testo);
}

/* ═══════════════════════════════════════════════════════════
   ADMIN BACKOFFICE & CLIENT PORTAL
   ═══════════════════════════════════════════════════════════ */

/* Login Screen */
.admin-login-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 2rem;
}

.admin-login-card {
  background: var(--bianco);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

.admin-login-header {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1.5rem;
}

.admin-login-card h2 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--nero);
}

.admin-field {
  margin-bottom: 1rem;
}

.admin-field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--grigio-testo);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-field input,
.admin-field select,
.admin-field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--grigio-caldo);
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  transition: border-color 0.2s;
  background: var(--bianco);
  box-sizing: border-box;
}

.admin-field input:focus,
.admin-field select:focus {
  border-color: var(--oro);
  outline: none;
}

.admin-error {
  background: #fee;
  color: #a33;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.admin-login-btn {
  width: 100%;
  margin-top: 0.5rem;
}

.client-login-subtitle {
  font-size: 0.85rem;
  color: var(--grigio-testo);
  margin-top: -1rem;
  margin-bottom: 1.5rem;
}

.client-login-help {
  text-align: center;
  font-size: 0.75rem;
  color: var(--grigio-testo);
  margin-top: 1rem;
}

.client-login-help a {
  color: var(--oro-scuro);
}

/* Dashboard */
.admin-topbar {
  background: var(--nero);
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-topbar-left {
  display: flex;
  align-items: center;
}

.admin-topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-user-label {
  color: rgba(250,250,248,0.6);
  font-size: 0.75rem;
}

.admin-container {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

/* Stats */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-stat-card {
  background: var(--bianco);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border-left: 3px solid var(--grigio-caldo);
}

.admin-stat-card.admin-stat-new { border-left-color: #60a5fa; }
.admin-stat-card.admin-stat-progress { border-left-color: var(--oro); }
.admin-stat-card.admin-stat-done { border-left-color: #34d399; }

.admin-stat-value {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--nero);
}

.admin-stat-label {
  font-size: 0.7rem;
  color: var(--grigio-testo);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* Actions */
.admin-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.admin-search input {
  padding: 0.5rem 1rem;
  border: 1px solid var(--grigio-caldo);
  border-radius: 8px;
  font-size: 0.8rem;
  width: 280px;
  font-family: var(--font-body);
}

.admin-search input:focus {
  border-color: var(--oro);
  outline: none;
}

.admin-filter-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.admin-filter-group select {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--grigio-caldo);
  border-radius: 8px;
  font-size: 0.75rem;
  font-family: var(--font-body);
  background: var(--bianco);
}

/* Table */
.admin-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bianco);
}

.admin-table th {
  background: var(--nero);
  color: var(--bianco);
  padding: 0.75rem 1rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  font-weight: 600;
}

.admin-table td {
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.admin-table tr:hover td {
  background: rgba(201, 168, 76, 0.03);
}

.admin-qty {
  font-weight: 700;
  font-size: 0.9rem;
}

.admin-loading, .admin-empty {
  text-align: center;
  padding: 2rem;
  color: var(--grigio-testo);
  font-style: italic;
}

/* Status Badges */
.admin-status {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.admin-status-da_confermare {
    background-color: #f1f5f9;
    color: #475569;
}
.admin-status-confermato {
    background-color: #eef2ff;
    color: #4f46e5;
}
.admin-status-spedito {
    background-color: #e0f2fe;
    color: #0284c7;
}
.admin-status-nuovo {
  background: #dbeafe;
  color: #1e40af;
}

.admin-status-lavorazione {
  background: #fef3c7;
  color: #92400e;
}

.admin-status-completato {
  background: #d1fae5;
  color: #065f46;
}

.admin-btn-view {
  padding: 4px 12px;
  border: 1px solid var(--oro);
  border-radius: 6px;
  background: none;
  color: var(--oro-scuro);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-btn-view:hover {
  background: var(--oro);
  color: var(--nero);
}

/* Modal */
.admin-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.admin-modal-content {
  background: var(--bianco);
  border-radius: 16px;
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}

.admin-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--grigio-testo);
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.admin-detail-item label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--grigio-testo);
  letter-spacing: 0.05em;
}

.admin-detail-item p {
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

.admin-detail-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--grigio-caldo);
}

.admin-status-select {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--grigio-caldo);
  border-radius: 8px;
  font-size: 0.8rem;
  font-family: var(--font-body);
}

/* Client Tabs */
.client-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--grigio-caldo);
}

.client-tab {
  padding: 0.75rem 1.5rem;
  border: none;
  background: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--grigio-testo);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
  font-family: var(--font-body);
}

.client-tab:hover {
  color: var(--nero);
}

.client-tab.active {
  color: var(--oro-scuro);
  border-bottom-color: var(--oro);
}

/* Address Cards */
.client-address-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.client-address-header h3 {
  font-size: 1.1rem;
}

.client-address-list {
  display: grid;
  gap: 0.75rem;
}

.client-address-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--bianco);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border-left: 3px solid var(--oro);
}

.client-address-info strong {
  font-size: 0.9rem;
}

.client-address-dept {
  color: var(--grigio-testo);
  font-size: 0.8rem;
}

.client-address-info p {
  font-size: 0.8rem;
  color: var(--grigio-testo);
  margin-top: 0.25rem;
}

.client-address-phone, .client-address-notes {
  font-size: 0.75rem;
}

.client-address-delete {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #ccc;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0 0.25rem;
}

.client-address-delete:hover {
  color: #e55;
}

.client-address-empty {
  text-align: center;
  padding: 2rem;
  color: var(--grigio-testo);
}

/* Address Form */
.client-address-form {
  background: var(--crema);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.client-address-form h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.address-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.address-full {
  grid-column: 1 / -1;
}

.address-form-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Upload Area */
.client-upload-area {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bianco);
  border: 2px dashed var(--grigio-caldo);
  border-radius: 16px;
}

.client-upload-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.client-upload-area h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.client-upload-area p {
  color: var(--grigio-testo);
  font-size: 0.85rem;
}

.client-upload-format {
  background: var(--crema);
  border-radius: 8px;
  padding: 1rem;
  margin: 1.5rem auto;
  max-width: 500px;
}

.client-upload-format code {
  font-size: 0.7rem;
  color: var(--grigio-testo);
}

.client-upload-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.client-upload-success {
  color: #065f46;
  background: #d1fae5;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* Admin Responsive */
@media (max-width: 768px) {
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-actions { flex-direction: column; }
  .admin-search input { width: 100%; }
  .admin-topbar { flex-direction: column; gap: 0.5rem; text-align: center; }
  .admin-detail-grid { grid-template-columns: 1fr; }
  .client-tabs { overflow-x: auto; }
  .client-tab { white-space: nowrap; font-size: 0.7rem; padding: 0.6rem 1rem; }
  .address-grid { grid-template-columns: 1fr; }
  .client-upload-actions { flex-direction: column; }
}


/* Admin Custom Buttons */
.admin-btn-dark {
    background-color: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
    font-weight: 500;
}
.admin-btn-dark:hover {
    background-color: #e2e8f0 !important;
}

/* CRM Tabs & Security */
.inner-tab { padding: 8px 16px; border:none; background:transparent; cursor:pointer; border-bottom:2px solid transparent; font-weight:600; color:#666; outline:none; font-size:14px; }
.inner-tab:hover { color:#111; }
.inner-tab.active { border-bottom-color:#ca8a04; color:#ca8a04; }
.inner-content { display:none; }
.inner-content.active { display:block; }
.admin-input-ro { width:100%; padding:0.4rem 0; border:1px solid transparent; background:transparent; font-family:inherit; color:#111; font-weight:500; font-size:0.95rem; }
.admin-input-ro.editing { border-color:#d1d5db; background:#fff; padding:0.4rem 0.5rem; border-radius:4px; }
input[type="checkbox"].admin-input-ro { width:auto; }

