/* =============================================
   CUSTOM PROPERTIES
   ============================================= */
:root {
  --navy: #1b2f5e;
  --navy-dark: #0e1d3d;
  --navy-mid: #243775;
  --sand: #FFD100;
  --sand-light: #FFF8C0;
  --white: #fff;
  --off-white: #f9f8f6;
  --gray-light: #f2f1ef;
  --gray-mid: #e2e1de;
  --text-dark: #1a1a2e;
  --text-mid: #4a4a6a;
  --text-light: #7a7a9a;
  --success: #22c55e;
  --error: #ef4444;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 4px rgba(27,47,94,0.08);
  --shadow-md: 0 4px 20px rgba(27,47,94,0.12);
  --shadow-lg: 0 16px 48px rgba(27,47,94,0.18);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --header-h: 90px;
  --filter-h: 56px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
.playfair { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 700; }
h1, h2, h3 { line-height: 1.2; }

/* =============================================
   UTILITY
   ============================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left  { opacity:0; transform:translateX(-44px); transition:opacity .75s ease, transform .75s ease; }
.fade-in-left.visible  { opacity:1; transform:translateX(0); }
.fade-in-right { opacity:0; transform:translateX(44px);  transition:opacity .75s ease, transform .75s ease; }
.fade-in-right.visible { opacity:1; transform:translateX(0); }
.fade-in-scale { opacity:0; transform:scale(0.9);        transition:opacity .6s ease, transform .6s ease; }
.fade-in-scale.visible { opacity:1; transform:scale(1); }

/* stagger — servizi */
.serv-card:nth-child(3n+2){transition-delay:.1s} .serv-card:nth-child(3n+3){transition-delay:.2s}
/* stagger — settori */
.settore:nth-child(4n+2){transition-delay:.08s} .settore:nth-child(4n+3){transition-delay:.16s} .settore:nth-child(4n+4){transition-delay:.24s}
/* stagger — step-card */
.step-card:nth-child(2){transition-delay:.14s} .step-card:nth-child(3){transition-delay:.28s}
/* stagger — features perche */
.feat:nth-child(even){transition-delay:.1s}
/* stagger — sostenibilità */
.sost-card:nth-child(2){transition-delay:.1s} .sost-card:nth-child(3){transition-delay:.2s} .sost-card:nth-child(4){transition-delay:.3s}
/* stagger — numeri */
.numero-item:nth-child(2){transition-delay:.1s} .numero-item:nth-child(3){transition-delay:.2s} .numero-item:nth-child(4){transition-delay:.3s}
/* stagger — faq */
.faq-item:nth-child(2){transition-delay:.07s} .faq-item:nth-child(3){transition-delay:.14s} .faq-item:nth-child(4){transition-delay:.21s} .faq-item:nth-child(5){transition-delay:.28s} .faq-item:nth-child(6){transition-delay:.35s}
/* stagger — timeline */
.tl-item:nth-child(2){transition-delay:.12s} .tl-item:nth-child(3){transition-delay:.24s} .tl-item:nth-child(4){transition-delay:.36s} .tl-item:nth-child(5){transition-delay:.48s} .tl-item:nth-child(6){transition-delay:.60s}
/* stagger — photo-strip */
.photo-strip-item:nth-child(2){transition-delay:.07s} .photo-strip-item:nth-child(3){transition-delay:.14s} .photo-strip-item:nth-child(4){transition-delay:.21s} .photo-strip-item:nth-child(5){transition-delay:.28s} .photo-strip-item:nth-child(6){transition-delay:.35s}
/* stagger — catalog accordion */
.cat-section:nth-child(2){transition-delay:.07s} .cat-section:nth-child(3){transition-delay:.14s} .cat-section:nth-child(4){transition-delay:.21s} .cat-section:nth-child(5){transition-delay:.28s}
/* stagger — contatti */
.cont-form { transition-delay: .14s; }
.cont-map  { transition-delay: .28s; }

/* tl-dot pop quando visibile */
@keyframes tl-dot-pop { 0%{transform:scale(0);opacity:0} 65%{transform:scale(1.4)} 100%{transform:scale(1);opacity:1} }
.tl-item.visible .tl-dot { animation: tl-dot-pop .55s cubic-bezier(.34,1.56,.64,1) both; }
.tl-item:nth-child(2).visible .tl-dot{animation-delay:.12s} .tl-item:nth-child(3).visible .tl-dot{animation-delay:.24s}
.tl-item:nth-child(4).visible .tl-dot{animation-delay:.36s} .tl-item:nth-child(5).visible .tl-dot{animation-delay:.48s}
.tl-item:nth-child(6).visible .tl-dot{animation-delay:.60s}

/* numero-val pop quando visibile */
@keyframes num-pop { 0%{transform:scale(0.7);opacity:0} 65%{transform:scale(1.1)} 100%{transform:scale(1);opacity:1} }
.numero-item.visible .numero-val { animation: num-pop .65s cubic-bezier(.34,1.56,.64,1) both; }
.numero-item:nth-child(2).visible .numero-val{animation-delay:.1s} .numero-item:nth-child(3).visible .numero-val{animation-delay:.2s} .numero-item:nth-child(4).visible .numero-val{animation-delay:.3s}

/* =============================================
   HEADER
   ============================================= */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 900;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
  background: transparent;
}
#site-header.scrolled {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: var(--shadow-md);
}
#site-header > .container { height: 100%; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}
.header-logo { position: relative; display: grid; margin-left: 4px; flex-shrink: 0; }
.header-logo-frame {
  grid-area: 1 / 1;
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  opacity: 1;
  transition: opacity .5s ease;
}
.header-logo-frame--scrolled { opacity: 0; pointer-events: none; }
#site-header.scrolled .header-logo-frame--default { opacity: 0; pointer-events: none; }
#site-header.scrolled .header-logo-frame--scrolled { opacity: 1; pointer-events: auto; }
.header-logo-frame::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  pointer-events: none;
  width: 42%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.22) 46%, rgba(255,255,255,.34) 50%, rgba(255,255,255,.22) 54%, transparent 100%);
  transform: translateX(-220%) skewX(-20deg);
}
.header-logo-frame.shine-active::after {
  animation: logo-shine-c 3.4s cubic-bezier(.37,0,.63,1) 1;
}
.header-logo-frame.shine-f::after {
  width: 30%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.05) 44%, rgba(255,255,255,.18) 50%, rgba(255,255,255,.05) 56%, transparent 100%);
  transform: translateX(-240%) skewX(-15deg);
}
.header-logo-frame.shine-f.shine-active::after {
  animation: logo-shine-f 6.5s cubic-bezier(.4,0,.4,1) 1;
}
@keyframes logo-shine-c {
  0%   { transform: translateX(-220%) skewX(-20deg); }
  100% { transform: translateX(320%) skewX(-20deg); }
}
@keyframes logo-shine-f {
  0%   { transform: translateX(-240%) skewX(-15deg); }
  100% { transform: translateX(340%) skewX(-15deg); }
}
.header-logo-frame--default { animation: cta-glow 2.8s ease-in-out infinite; }
.header-logo img { height: 60px; width: auto; display: block; transition: height var(--transition); filter: drop-shadow(0 2px 5px rgba(14,29,61,.25)); }
#site-header.scrolled .header-logo img { height: 52px; }
.header-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 18px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
}
.header-nav::-webkit-scrollbar { display: none; }
.header-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
  flex-shrink: 0;
  white-space: nowrap;
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--sand);
  transition: width var(--transition);
}
.header-nav a:hover::after { width: 100%; }
.header-nav a.nav-active::after { width: 100%; }
#site-header.scrolled .header-nav a { color: var(--navy); }
#site-header.scrolled .header-nav a.nav-active { color: var(--navy-dark); font-weight: 700; }

/* Back to top */
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-contact-links { display: flex; align-items: center; gap: 6px; }
.header-contact-link {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  color: var(--white); font-size: 0.8rem;
  border: 1.5px solid rgba(255,255,255,0.28);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  flex-shrink: 0;
}
.header-contact-link:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.55); }
#site-header.scrolled .header-contact-link { color: var(--navy); border-color: rgba(27,47,94,0.2); }
#site-header.scrolled .header-contact-link:hover { background: rgba(27,47,94,0.06); border-color: rgba(27,47,94,0.4); }
.header-sep { width: 1px; height: 20px; background: rgba(255,255,255,0.22); flex-shrink: 0; }
#site-header.scrolled .header-sep { background: rgba(27,47,94,0.14); }
@media (max-width: 900px) { .header-contact-links, .header-sep { display: none; } }

/* Ricerca header */
.header-search { position: relative; }
.header-search-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  color: var(--white); font-size: 0.8rem; background: none; cursor: pointer;
  border: 1.5px solid rgba(255,255,255,0.28);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  flex-shrink: 0;
}
.header-search-toggle:hover, .header-search-toggle.open { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.55); }
#site-header.scrolled .header-search-toggle { color: var(--navy); border-color: rgba(27,47,94,0.2); }
#site-header.scrolled .header-search-toggle:hover, #site-header.scrolled .header-search-toggle.open { background: rgba(27,47,94,0.06); border-color: rgba(27,47,94,0.4); }

.header-search-panel {
  position: absolute; top: calc(100% + 14px); right: 0;
  width: 380px; max-width: calc(100vw - 40px);
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 500; overflow: hidden;
}
.header-search-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }
.header-search-input-wrap {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid var(--gray-light);
}
.header-search-input-wrap i.fa-search { color: var(--text-light); font-size: 0.85rem; }
.header-search-input-wrap input {
  flex: 1; border: none; outline: none; font-family: inherit;
  font-size: 0.92rem; color: var(--text-dark); background: none;
}
.header-search-input-wrap input::placeholder { color: var(--text-light); }
.header-search-close {
  border: none; background: none; cursor: pointer; color: var(--text-light);
  font-size: 0.8rem; padding: 4px; flex-shrink: 0;
}
.header-search-close:hover { color: var(--text-dark); }
.header-search-results { max-height: 360px; overflow-y: auto; padding: 8px; }
.header-search-empty {
  padding: 20px 12px; text-align: center; color: var(--text-light); font-size: 0.85rem;
}
.header-search-result {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 12px; border-radius: var(--radius-sm);
  color: var(--text-dark); text-decoration: none;
  transition: background var(--transition);
}
.header-search-result:hover, .header-search-result.is-highlighted { background: var(--off-white); }
.header-search-result-name { font-size: 0.88rem; font-weight: 600; }
.header-search-result-cat {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--navy-mid); background: var(--sand-light); padding: 3px 8px; border-radius: 20px;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .header-search-panel { position: fixed; top: var(--header-h); left: 12px; right: 12px; width: auto; max-width: none; }
}
#cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--sand);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.85rem;
  transition: background var(--transition), transform var(--transition);
}
#cart-btn:hover { background: #e6bc00; transform: translateY(-1px); }
#cart-btn.hidden { display: none; }
#cart-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
#site-header.scrolled .hamburger span { background: var(--navy); }
.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); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--white);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  z-index: 899;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility .3s;
}
.mobile-nav.open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.mobile-nav a {
  padding: 14px 0;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--gray-mid);
  font-size: 1rem;
}
.mobile-nav a:last-child { border-bottom: none; }

/* =============================================
   HERO
   ============================================= */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero-dots {
  position: absolute;
  inset: -36px;
  background-image: radial-gradient(circle, rgba(255,209,0,0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  animation: dots-drift 20s linear infinite;
  will-change: transform;
}
@keyframes dots-drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(-32px, -32px); }
}
.section-dots {
  position: absolute;
  inset: -36px;
  z-index: 1;
  background-image: radial-gradient(circle, rgba(255,209,0,0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  animation: dots-drift 20s linear infinite;
  will-change: transform;
}
.section-dots--onlight {
  background-image: radial-gradient(circle, rgba(27,47,94,0.16) 1px, transparent 1px);
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}
.hero-shape-1 {
  width: 600px; height: 600px;
  background: var(--sand);
  top: -200px; right: -150px;
}
.hero-shape-2 {
  width: 400px; height: 400px;
  background: var(--white);
  bottom: -150px; left: -100px;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 80px 0;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,209,0,0.15);
  border: 1px solid rgba(255,209,0,0.3);
  color: var(--sand);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(8,15,38,.55), 0 1px 4px rgba(8,15,38,.4);
}
.hero-title span { color: var(--sand); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.92);
  font-weight: 300;
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.7;
  text-shadow: 0 2px 16px rgba(8,15,38,.5);
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  background: var(--sand);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(255,209,0,0.3);
}
.btn-primary:hover { background: #e6bc00; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,209,0,0.4); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.hero-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.stat-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 10px 18px;
  border-radius: 100px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}
.stat-chip i { color: var(--sand); font-size: 0.9rem; }
.hero-review-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
  transition: color .25s, border-color .25s;
}
.hero-review-link i { color: var(--sand); font-size: 0.78rem; }
.hero-review-link:hover { color: var(--white); border-color: var(--sand); }

/* hero — centrato solo su desktop */
@media (min-width: 769px) {
  .hero-content { margin: 0 auto; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
}

/* hero entrance — page load, staggered */
@keyframes hero-rise { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:none; } }
.hero-eyebrow { animation: hero-rise 0.6s cubic-bezier(.22,.68,0,1.2) 0.1s  both; }
.hero-title   { animation: hero-rise 0.7s cubic-bezier(.22,.68,0,1.2) 0.32s both; }
.hero-sub     { animation: hero-rise 0.6s cubic-bezier(.22,.68,0,1.2) 0.6s  both; }
.hero-ctas    { animation: hero-rise 0.55s cubic-bezier(.22,.68,0,1.2) 0.85s both; }
.hero-stats   { animation: hero-rise 0.5s  cubic-bezier(.22,.68,0,1.2) 1.08s both; }

/* =============================================
   CATEGORY FILTER
   ============================================= */
#category-filter {
  position: sticky;
  top: var(--header-h);
  z-index: 800;
  background: var(--white);
  border-bottom: 1px solid var(--gray-mid);
  box-shadow: var(--shadow-sm);
}
.filter-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.filter-inner::-webkit-scrollbar { display: none; }
.filter-tab {
  position: relative;
  padding: 16px 24px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-mid);
  white-space: nowrap;
  transition: color var(--transition);
  cursor: pointer;
  background: none;
  border: none;
  flex-shrink: 0;
}
.filter-tab::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--sand);
  border-radius: 3px 3px 0 0;
  transition: width var(--transition);
}
.filter-tab.active { color: var(--navy); }
.filter-tab.active::after { width: 100%; }
.filter-tab:hover { color: var(--navy); }

/* =============================================
   PRODUCT GRID SECTION
   ============================================= */
#catalog {
  padding: 48px 0 64px;
  position: relative;
  overflow: hidden;
  background: var(--off-white);
}
#catalog::before {
  content: '';
  position: absolute; inset: -10%;
  z-index: 0;
  background-image: url('../images/catalog-bg2.jpg');
  background-size: cover;
  background-position: center;
  animation: img-drift 58s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform;
}
#catalog::after {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(232,230,227,.92) 0%, rgba(232,230,227,.85) 12%, rgba(232,230,227,.45) 28%, rgba(232,230,227,.45) 100%);
}
#catalog .container { position: relative; z-index: 2; }
#catalog .section-dots--onlight {
  background-image: radial-gradient(circle, rgba(255,209,0,.42) 1.3px, transparent 1.3px);
}
.section-header { text-align: center; margin-bottom: 48px; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-mid);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 12px;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 480px;
  margin: 0 auto;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-mid);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card.hidden { display: none; }
.card-illustration {
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-bottom: 1px solid var(--gray-mid);
}
.card-illustration svg { width: 100%; max-width: 240px; height: 160px; }
.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.card-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--sand-light);
  color: var(--navy-dark);
  align-self: flex-start;
}
.card-badge.tessile { background: #e8f4fd; color: #1a6fa8; }
.card-badge.adesive { background: #fef3e2; color: #a05c00; }
.card-badge.stampa { background: #f0fdf4; color: #166534; }
.card-badge.packaging { background: #faf5ff; color: #6b21a8; }
.card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.card-desc {
  font-size: 0.75rem;
  color: var(--text-mid);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.card-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.card-chip {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--text-mid);
  background: var(--gray-light);
  padding: 4px 10px;
  border-radius: 100px;
}
.card-chip i { font-size: 0.7rem; color: var(--navy-mid); }
.card-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--gray-light);
}
.btn-configure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  background: var(--gray-light);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid transparent;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.btn-configure:hover {
  background: var(--sand);
  border-color: var(--sand);
  color: var(--navy-dark);
}

/* =============================================
   COME FUNZIONA
   ============================================= */
#come-funziona {
  padding: 80px 0;
  background: var(--gray-light);
  position: relative;
}
#come-funziona .section-eyebrow { color: var(--navy-mid); }
#come-funziona .section-title { color: var(--navy); }
#come-funziona .section-sub { color: var(--text-mid); }
#come-funziona .step-title { color: var(--navy); }
#come-funziona .step-desc { color: var(--text-mid); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 52px;
  left: calc(16.667% + 42px);
  right: calc(16.667% + 42px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--sand) 0, var(--sand) 8px, transparent 8px, transparent 18px);
  opacity: 0.55;
  z-index: 0;
}
.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.8rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  position: relative;
  box-shadow: 0 4px 20px rgba(27,47,94,0.2);
}
.step-number::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px dashed rgba(255,209,0,0.4);
}
.step-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.2rem;
  color: var(--navy-dark);
}
.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.step-desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* =============================================
   CTA SECTION
   ============================================= */
#cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,209,0,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}
.cta-content { position: relative; z-index: 1; }
.cta-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 12px;
}
.cta-sub { font-size: 1rem; color: rgba(255,255,255,0.7); margin-bottom: 32px; }
.btn-cta-mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  background: var(--sand);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 1rem;
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 4px 20px rgba(255,209,0,0.3);
}
.btn-cta-mail:hover { background: #e6bc00; transform: translateY(-2px); }

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 32px;
  border-top: 2px solid var(--sand);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 48px;
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}
.footer-logo img { height: 52px; margin-bottom: 16px; filter: brightness(0) invert(1) opacity(0.5); }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-contact a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--sand); }
.footer-contact i { color: var(--sand); width: 14px; }
.footer-nav { text-align: right; }
.footer-nav h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 16px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.footer-nav a { font-size: 0.88rem; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom span { color: var(--sand); }

/* =============================================
   LEGAL MODAL
   ============================================= */
#legal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14,29,61,0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s;
}
#legal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
#legal-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 700px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(14,29,61,0.3);
  transform: scale(0.96) translateY(14px);
  transition: transform 0.32s cubic-bezier(.22,.68,0,1.2);
}
#legal-overlay.open #legal-modal {
  transform: scale(1) translateY(0);
}
.legal-modal-header {
  background: var(--navy);
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.legal-modal-header h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  letter-spacing: 0.03em;
}
.legal-modal-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 6px;
  line-height: 1;
  border-radius: 4px;
  transition: color var(--transition);
}
.legal-modal-close:hover { color: var(--white); }
.legal-modal-body {
  padding: 32px;
  overflow-y: auto;
  flex: 1;
  font-size: 0.875rem;
  color: var(--text-dark);
  line-height: 1.85;
}
.legal-modal-body h3 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 28px 0 10px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--sand);
}
.legal-modal-body h3:first-child { margin-top: 0; }
.legal-modal-body p { margin: 0 0 10px; }
.legal-modal-body ul { margin: 0 0 10px; padding-left: 18px; }
.legal-modal-body ul li { margin-bottom: 4px; }
.legal-modal-body a { color: var(--navy); text-decoration: underline; }
.legal-modal-body strong { color: var(--navy-dark); }
.legal-titolare {
  background: var(--off-white, #f9f8f6);
  border-left: 3px solid var(--sand);
  padding: 16px 20px;
  margin: 0 0 26px;
  font-size: .85rem;
  line-height: 1.72;
  color: var(--text-dark);
}
.legal-updated {
  display: inline-block;
  margin-top: 24px;
  font-size: 0.78rem;
  color: #999;
  border-top: 1px solid #eee;
  padding-top: 16px;
  width: 100%;
}
@media (max-width: 600px) {
  #legal-modal { max-height: 92vh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  #legal-overlay { align-items: flex-end; padding: 0; }
  .legal-modal-body { padding: 24px 20px; }
  .legal-modal-header { padding: 18px 20px; }
}

/* =============================================
   CONFIGURATOR DRAWER
   ============================================= */
#drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14,29,61,0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
#drawer-overlay.open { opacity: 1; pointer-events: all; }
#configurator-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 480px;
  max-width: 100vw;
  background: var(--white);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(14,29,61,0.2);
}
#configurator-drawer.open { transform: translateX(0); }
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--gray-mid);
  gap: 16px;
  flex-shrink: 0;
}
.drawer-header-info { flex: 1; min-width: 0; }
.drawer-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-mid);
  margin-bottom: 2px;
}
.drawer-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drawer-close {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--gray-light);
  color: var(--text-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}
.drawer-close:hover { background: var(--navy); color: var(--white); }
.drawer-body {
  flex: 1;
  overflow-y: auto;
  /* NB: contenitore "semplice" (non flex) apposta: position:sticky su un
     figlio dentro un flex column + overflow-y:auto e' inconsistente su
     WebKit/Safari. La sticky (.drawer-illo-sticky) e il flex dei campi
     (.drawer-fields) sono due figli diretti separati di questo elemento. */
}
.drawer-fields {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.form-label span { color: var(--error); margin-left: 2px; }
.form-control {
  padding: 10px 14px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-control:focus {
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(27,47,94,0.1);
}
.form-control.error { border-color: var(--error); }
.form-control-unit {
  position: relative;
}
.form-control-unit .form-control { padding-right: 48px; }
.form-unit {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 600;
  pointer-events: none;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 560px) { .form-row.cols-3 { grid-template-columns: 1fr 1fr; } }
textarea.form-control { resize: vertical; min-height: 80px; }
.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--gray-mid);
  flex-shrink: 0;
}
.btn-add-cart {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  background: var(--sand);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 4px 16px rgba(255,209,0,0.3);
}
.btn-add-cart:hover { background: #e6bc00; transform: translateY(-1px); }
.btn-add-cart:active { transform: translateY(0); }

/* =============================================
   CART BAR
   ============================================= */
#cart-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 950;
  background: var(--navy-dark);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 -4px 24px rgba(14,29,61,0.3);
}
#cart-bar.visible { transform: translateY(0); }
.cart-bar-info {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.cart-bar-count {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.9rem;
}
.cart-bar-label { font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.85); }
.cart-bar-actions { display: flex; align-items: center; gap: 12px; }
.btn-clear {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  text-decoration: underline;
  transition: color var(--transition);
}
.btn-clear:hover { color: var(--white); }
.btn-send-quote {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  background: var(--sand);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.9rem;
  transition: background var(--transition), transform var(--transition);
}
.btn-send-quote:hover { background: #e6bc00; transform: translateY(-1px); }

/* =============================================
   CHECKOUT MODAL
   ============================================= */
#modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14,29,61,0.7);
  backdrop-filter: blur(6px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}
#modal-overlay.open { opacity: 1; pointer-events: all; }
#checkout-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 960px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform var(--transition);
}
#modal-overlay.open #checkout-modal { transform: translateY(0); }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid var(--gray-mid);
  background: var(--navy-dark);
  color: var(--white);
}
.modal-title { font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; gap: 12px; }
.modal-title i { color: var(--sand); }
.modal-close {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background var(--transition), color var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.2); color: var(--white); }
.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.modal-col { padding: 32px; }
.modal-col:first-child { border-right: 1px solid var(--gray-mid); background: var(--off-white); }
.modal-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-mid);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal-col-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-mid);
}
#cart-items-list { display: flex; flex-direction: column; gap: 12px; }
.cart-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px;
  border: 1px solid var(--gray-mid);
}
.cart-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 8px;
}
.cart-item-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}
.cart-item-remove {
  color: var(--error);
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.cart-item-remove:hover { opacity: 1; }
.cart-item-options {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cart-item-option {
  font-size: 0.78rem;
  color: var(--text-mid);
  display: flex;
  gap: 6px;
}
.cart-item-option strong {
  color: var(--text-dark);
  font-weight: 600;
  min-width: 80px;
}
.modal-form { display: flex; flex-direction: column; gap: 14px; }
.modal-form .form-group { gap: 5px; }
.modal-form .form-label { font-size: 0.8rem; }
.modal-form .form-control { font-size: 0.88rem; padding: 9px 13px; }
.btn-submit {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--sand);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 4px 16px rgba(255,209,0,0.3);
  margin-top: 8px;
}
.btn-submit:hover:not(:disabled) { background: #e6bc00; transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.submit-note {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.submit-note i { color: var(--navy-mid); }
.modal-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 32px;
  text-align: center;
  grid-column: 1 / -1;
}
.success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #dcfce7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--success);
  margin-bottom: 24px;
}
.success-title { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.success-sub { font-size: 0.95rem; color: var(--text-mid); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .modal-body { grid-template-columns: 1fr; }
  .modal-col:first-child { border-right: none; border-bottom: 1px solid var(--gray-mid); }
}
@media (max-width: 768px) {
  :root { --header-h: 76px; }
  #site-header .container { padding-left: 12px; }
  .header-logo { margin-left: 0; }
  .header-logo img { height: 44px; }
  #site-header.scrolled .header-logo img { height: 40px; }
  .header-nav { flex: 1; gap: 20px; }
  .header-nav a { font-size: 0.82rem; }
  .hamburger { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  #hero { display: flex; flex-direction: column; justify-content: flex-end; }
  #hero > .container { width: 100%; }
  .hero-content { padding: 0 0 36px; max-width: 100%; }
  .hero-eyebrow { font-size: 0.7rem; padding: 5px 14px; margin-bottom: 18px; }
  .hero-title { font-size: clamp(1.7rem, 7vw, 2.3rem); margin-bottom: 14px; }
  .hero-sub { font-size: 0.92rem; margin-bottom: 24px; }
  .hero-ctas { gap: 10px; margin-bottom: 24px; }
  .btn-primary, .btn-ghost { padding: 11px 18px; font-size: 0.85rem; justify-content: center; }
  .hero-stats { gap: 6px; flex-wrap: wrap; }
  .stat-chip { font-size: 0.7rem; padding: 7px 11px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { text-align: left; }
  .footer-nav ul { align-items: flex-start; }
  .footer-legal { text-align: left; }
  .footer-legal ul { align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  #cart-bar { flex-direction: column; gap: 12px; padding: 16px; }
  .cart-bar-actions { width: 100%; justify-content: space-between; }
  .btn-send-quote { flex: 1; justify-content: center; }
  #modal-overlay { padding: 0; align-items: flex-end; }
  #checkout-modal { border-radius: var(--radius-lg) var(--radius-lg) 0 0; max-height: 95vh; overflow-y: auto; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-ghost { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  #configurator-drawer { width: 100vw; }
  .container { padding: 0 16px; }
}

/* =============================================
   SPINNER
   ============================================= */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(27,47,94,0.2);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================
   HERO PHOTO BACKGROUND
   ============================================= */
#hero::after {
  content: '';
  position: absolute;
  inset: -10%;
  z-index: 0;
  background-image: url('../images/yellowstone-laboratorio.jpg');
  background-size: cover;
  background-position: center 30%;
  animation: img-drift 34s ease-in-out infinite;
  will-change: transform;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,29,61,.82) 0%, rgba(27,47,94,.62) 55%, rgba(36,55,117,.42) 100%);
  z-index: 1;
}
#hero .hero-dots, #hero .hero-shape { z-index: 2; }
#hero .container { z-index: 2; position: relative; }

/* Varianti hero per pagine prodotto dedicate: stessa struttura di #hero,
   solo l'immagine di sfondo cambia per riflettere il prodotto della pagina. */
#hero.hero-adesive::after { background-image: url('../images/etichette-adesive-hero.jpg'); }
#hero.hero-cartellini::after { background-image: url('../images/cartellini-hero.jpg'); background-position: center 35%; }
#hero.hero-termiche::after { background-image: url('../images/etichette-termiche-banner.jpg'); background-position: center 40%; }
#hero.hero-industriali::after { background-image: url('../images/etichette-industriali-hero.jpg'); background-position: center 35%; }
#hero.hero-jacquard::after { background-image: url('../images/etichette-jacquard-hero.jpg'); background-position: center 55%; }
#hero.hero-nastri::after { background-image: url('../images/nastri-stampati-hero.jpg'); background-position: center 40%; }
#hero.hero-ricamati::after { background-image: url('../images/nastri-ricamati-hero.jpg'); background-position: center 45%; }
#hero.hero-taffeta::after { background-image: url('../images/etichette-taffeta-hero.jpg'); background-position: center 45%; }
#hero.hero-ricamo::after { background-image: url('../images/ricamo-tessuto-hero.jpg'); background-position: center 40%; }
#hero.hero-serigrafica::after { background-image: url('../images/stampa-serigrafica-hero.jpg'); background-position: center 45%; }
#hero.hero-digitale::after { background-image: url('../images/stampa-digitale-hero.jpg'); background-position: center 60%; }
#hero.hero-caldo::after { background-image: url('../images/stampa-a-caldo-hero.jpg'); background-position: center 35%; }
#hero.hero-offset::after { background-image: url('../images/stampa-offset-hero.jpg'); background-position: center 35%; }
#hero.hero-packaging::after { background-image: url('../images/packaging-personalizzato-banner.jpg'); background-position: center 35%; }
#hero.hero-vetrofanie::after { background-image: url('../images/vetrofanie-hero.jpg'); background-position: center 40%; }
.hero-breadcrumb { font-size: .78rem; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.hero-breadcrumb a { color: rgba(255,255,255,.85); font-weight: 600; }
.hero-breadcrumb a:hover { color: var(--sand); }
.hero-breadcrumb i { font-size: .6rem; margin: 0 8px; }

/* =============================================
   PHOTO STRIP
   ============================================= */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  height: 420px;
}
.photo-strip-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.photo-strip-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--transition);
  display: block;
}
.photo-strip-item:hover img { transform: scale(1.06); }
.photo-strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,29,61,.75) 0%, rgba(14,29,61,.2) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0.55;
  transition: opacity 0.4s ease;
}
.photo-strip-item:hover .photo-strip-overlay { opacity: 1; }
.photo-strip-label {
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-left: 3px solid var(--sand);
  padding-left: 10px;
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(.22,.68,0,1.2), opacity 0.32s ease;
}
.photo-strip-item:hover .photo-strip-label {
  transform: translateY(0);
  opacity: 1;
}
@media (max-width: 900px) { .photo-strip { grid-template-columns: repeat(3, 1fr); height: 340px; } }
@media (max-width: 540px) { .photo-strip { grid-template-columns: repeat(2, 1fr); height: auto; } .photo-strip-item { height: 200px; } }

/* =============================================
   PRODUCT CARD PHOTO
   ============================================= */
.card-photo {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.card-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(27,47,94,.55) 100%);
}
.card-photo .card-svg-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .18;
}
.card-photo .card-svg-overlay svg { width: 120px; height: auto; }

/* =============================================
   ILLUSTRAZIONE PRODOTTO NEL DRAWER
   sticky in cima allo scroll della personalizzazione: si nasconde
   scorrendo verso il basso e ricompare scorrendo verso l'alto
   ============================================= */
.drawer-illo-sticky {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 16px 24px;
  background: var(--gray-light);
  border-bottom: 1px solid var(--gray-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .3s ease, opacity .3s ease;
}
.drawer-illo-sticky.illo-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.drawer-illo-sticky svg {
  width: 100%;
  max-width: 220px;
  height: 150px;
  display: block;
}

/* =============================================
   FILE UPLOAD ZONE
   ============================================= */
.upload-section { padding: 0 0 4px; }
.upload-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .02em;
  margin-bottom: 8px;
  display: block;
}
.upload-zone {
  border: 2px dashed var(--gray-mid);
  border-radius: 8px;
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  background: var(--off-white);
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--sand);
  background: var(--sand-light);
}
.upload-zone i { font-size: 1.6rem; color: var(--text-light); display: block; margin-bottom: 6px; }
.upload-zone p { font-size: .8rem; color: var(--text-mid); margin: 0; }
.upload-formats { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin-top: 8px; }
.upload-format-chip {
  font-size: .65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
  background: var(--gray-mid);
  color: var(--text-mid);
  letter-spacing: .04em;
}
.upload-file-list { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.upload-file-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: .8rem;
  color: var(--text-dark);
}
.upload-file-item i { color: var(--navy); }
.upload-file-size { color: var(--text-light); margin-left: 2px; font-size: .75rem; }
.upload-file-remove {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  font-size: .9rem;
  padding: 2px 4px;
  transition: color .2s;
}
.upload-file-remove:hover { color: var(--error); }

/* =============================================
   QTY PICKER
   ============================================= */
.qty-picker { display: grid; gap: 6px; margin-top: 2px; }
.qty-btn {
  padding: 12px 6px;
  min-height: 44px;
  border: 1.5px solid var(--gray-mid);
  border-radius: 7px;
  background: var(--white);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
  text-align: center;
  line-height: 1.2;
}
.qty-btn:hover { border-color: var(--sand); background: var(--sand-light); }
.qty-btn.active { border-color: var(--navy); background: var(--navy); color: var(--white); }
.qty-picker.error .qty-btn:not(.active) { border-color: var(--error); }
.qty-picker-altro { margin-top: 8px; display: none; }
.qty-picker-altro.visible { display: block; }

/* =============================================
   FORM CHECKBOX
   ============================================= */
.form-check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: .88rem;
  color: var(--text-dark);
  padding: 8px 12px;
  border: 1.5px solid var(--gray-mid);
  border-radius: 7px;
  transition: border-color .15s, background .15s;
}
.form-check-label:hover { border-color: var(--sand); background: var(--sand-light); }
.form-check-label:has(.form-check-input:checked) { border-color: var(--navy); background: var(--sand-light); }
.form-check-input { width: 17px; height: 17px; accent-color: var(--navy); cursor: pointer; flex-shrink: 0; }

/* =============================================
   CART ITEM FILES
   ============================================= */
.cart-item-files { font-size: .75rem; color: var(--text-light); margin-top: 4px; }
.cart-item-files i { margin-right: 3px; }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes float-shape {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(4deg); }
}

/* ── STAT CHIPS FLOAT ── */
@keyframes float-chip {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-7px); }
}
.hero-stats .stat-chip:nth-child(1) { animation: float-chip 3.4s ease-in-out infinite; }
.hero-stats .stat-chip:nth-child(2) { animation: float-chip 3.4s ease-in-out 0.55s infinite; }
.hero-stats .stat-chip:nth-child(3) { animation: float-chip 3.4s ease-in-out 1.1s infinite; }
.hero-stats .stat-chip:nth-child(4) { animation: float-chip 3.4s ease-in-out 1.65s infinite; }

/* ── BADGE PULSE ── */
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,209,0,0); }
  50%       { box-shadow: 0 0 0 16px rgba(255,209,0,0.1); }
}
.perche-badge { animation: badge-pulse 3s ease-in-out infinite; }

/* ── HERO CTA GLOW ── */
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(255,209,0,0.15); }
  50%       { box-shadow: 0 4px 36px rgba(255,209,0,0.45); }
}
.btn-primary { animation: cta-glow 2.8s ease-in-out infinite; }

/* ── MARQUEE ── */
@keyframes marquee-run {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-strip {
  background: var(--sand);
  overflow: hidden;
  padding: 13px 0;
  white-space: nowrap;
  user-select: none;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  animation: marquee-run 28s linear infinite;
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-dark);
}
.marquee-sep {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0.4;
  flex-shrink: 0;
}
.marquee-strip--navy { background: var(--navy-dark); }
.marquee-strip--navy .marquee-item { color: var(--sand); }
.marquee-strip--navy .marquee-sep  { background: var(--sand); opacity: 0.30; }
.marquee-strip--gray { background: var(--gray-mid); }
.marquee-strip--gray .marquee-item { color: var(--navy); }
.marquee-strip--gray .marquee-sep  { background: var(--navy-mid); opacity: 0.35; }
.marquee-track--rev { animation-direction: reverse; }

/* ── COUNTER ── */
.numero-val { transition: color 0.3s; }

/* ── IMMAGINE PERCHÉ NOI — DRIFT ── */
@keyframes img-drift {
  0%   { transform: scale(1.08) translate(0px,    0px);  }
  20%  { transform: scale(1.08) translate(-14px,  -9px); }
  40%  { transform: scale(1.08) translate(11px,  -16px); }
  60%  { transform: scale(1.08) translate(-8px,   11px); }
  80%  { transform: scale(1.08) translate(14px,    5px); }
  100% { transform: scale(1.08) translate(0px,    0px);  }
}
@keyframes img-drift-soft {
  0%   { transform: scale(1.22) translate(0px,    0px);  }
  20%  { transform: scale(1.22) translate(-14px,  -9px); }
  40%  { transform: scale(1.22) translate(11px,  -16px); }
  60%  { transform: scale(1.22) translate(-8px,   11px); }
  80%  { transform: scale(1.22) translate(14px,    5px); }
  100% { transform: scale(1.22) translate(0px,    0px);  }
}

/* ── BG DRIFT — sezioni con background-image ── */
@keyframes bg-drift-loop {
  0%   { background-position: 50% 50%; }
  20%  { background-position: 53% 47%; }
  40%  { background-position: 50% 54%; }
  60%  { background-position: 46% 51%; }
  80%  { background-position: 52% 46%; }
  100% { background-position: 50% 50%; }
}
@keyframes bg-drift-loop-hero {
  0%   { background-position: 50% 30%; }
  20%  { background-position: 53% 27%; }
  40%  { background-position: 50% 34%; }
  60%  { background-position: 46% 30%; }
  80%  { background-position: 52% 27%; }
  100% { background-position: 50% 30%; }
}

/* ── SERVIZI — ICONE RESPIRO ── */
@keyframes icon-breathe {
  0%, 100% { transform: scale(1);    }
  50%       { transform: scale(1.18); }
}
.serv-card:nth-child(1) .serv-icon i { animation: icon-breathe 3.8s ease-in-out infinite 0.0s; }
.serv-card:nth-child(2) .serv-icon i { animation: icon-breathe 3.8s ease-in-out infinite 0.5s; }
.serv-card:nth-child(3) .serv-icon i { animation: icon-breathe 3.8s ease-in-out infinite 1.0s; }
.serv-card:nth-child(4) .serv-icon i { animation: icon-breathe 3.8s ease-in-out infinite 1.5s; }
.serv-card:nth-child(5) .serv-icon i { animation: icon-breathe 3.8s ease-in-out infinite 2.0s; }
.serv-card:nth-child(6) .serv-icon i { animation: icon-breathe 3.8s ease-in-out infinite 2.5s; }
.serv-card:nth-child(7) .serv-icon i { animation: icon-breathe 3.8s ease-in-out infinite 3.0s; }
.serv-card:nth-child(8) .serv-icon i { animation: icon-breathe 3.8s ease-in-out infinite 3.5s; }
.serv-card:nth-child(9) .serv-icon i { animation: icon-breathe 3.8s ease-in-out infinite 4.0s; }

/* ── COME FUNZIONA — STEP NUMBERS GLOW ── */
@keyframes step-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(27,47,94,0); }
  50%       { box-shadow: 0 0 0 10px rgba(27,47,94,0.08); }
}
.step-card:nth-child(1) .step-number { animation: step-pop .6s cubic-bezier(.34,1.56,.64,1) forwards, step-glow 3s ease-in-out 1s infinite; }
.step-card:nth-child(2) .step-number { animation: step-pop .6s cubic-bezier(.34,1.56,.64,1) .15s forwards, step-glow 3s ease-in-out 1.8s infinite; }
.step-card:nth-child(3) .step-number { animation: step-pop .6s cubic-bezier(.34,1.56,.64,1) .30s forwards, step-glow 3s ease-in-out 2.6s infinite; }

/* ── GRAFICA — VIRGOLETTONE RESPIRO ── */
@keyframes quote-breathe {
  0%, 100% { opacity: 1; transform: translateY(0);   }
  50%       { opacity: 0.5; transform: translateY(-4px); }
}
.grafica-quote::before { animation: quote-breathe 4.5s ease-in-out infinite; }

/* ── GRAFICA — NUMERI 01/02/03 PULSE ── */
@keyframes num-pulse {
  0%, 100% { opacity: 0.35; }
  50%       { opacity: 0.65; }
}
.grafica-card:nth-child(1) .grafica-card-num { animation: num-pulse 3s ease-in-out infinite 0s; }
.grafica-card:nth-child(2) .grafica-card-num { animation: num-pulse 3s ease-in-out infinite 1s; }
.grafica-card:nth-child(3) .grafica-card-num { animation: num-pulse 3s ease-in-out infinite 2s; }

/* ── PRONTA CONSEGNA — BOTTONE EXPAND PULSE ── */
@keyframes expand-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(27,47,94,0); }
  50%       { box-shadow: 0 0 0 8px rgba(27,47,94,0.08); }
}
.btn-expand { animation: expand-pulse 2.5s ease-in-out infinite; }
@keyframes cart-bounce {
  0%,100% { transform: translateY(0); }
  30% { transform: translateY(-7px); }
  70% { transform: translateY(-2px); }
}
@keyframes step-pop {
  0% { transform: scale(0); opacity: 0; }
  65% { transform: scale(1.12); }
  100% { transform: scale(1); opacity: 1; }
}
.hero-shape-1 { animation: float-shape 12s ease-in-out infinite; }
.hero-shape-2 { animation: float-shape 16s ease-in-out infinite reverse; }
.cart-bar.bounce { animation: cart-bounce .45s ease; }
.step-circle.popped { animation: step-pop .55s var(--transition) forwards; }
.step-card.visible .step-number          { animation: step-pop .6s cubic-bezier(.34,1.56,.64,1) forwards,       step-glow 3s ease-in-out 1.0s infinite; }
.step-card:nth-child(2).visible .step-number { animation: step-pop .6s cubic-bezier(.34,1.56,.64,1) .15s forwards, step-glow 3s ease-in-out 1.8s infinite; }
.step-card:nth-child(3).visible .step-number { animation: step-pop .6s cubic-bezier(.34,1.56,.64,1) .30s forwards, step-glow 3s ease-in-out 2.6s infinite; }

/* =============================================
   MOBILE 2-COL GRID
   ============================================= */
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 768px)  { .product-grid { grid-template-columns: repeat(2,1fr); gap: 12px; } }
@media (max-width: 480px)  { .product-grid { grid-template-columns: 1fr; gap: 10px; } }

/* =============================================
   SVG ILLUSTRATION ANIMATION (float)
   ============================================= */
/* Il float e' animato via SMIL (<animateTransform>) dentro ogni singola
   illustrazione, sul gruppo .illo-body: cosi' l'ombra ellittica resta ferma
   mentre solo l'oggetto sopra si muove. Vedi oggetto SVGS piu' in basso nel file. */

/* =============================================
   CATEGORY ACCORDION
   ============================================= */
.cat-section { margin-bottom: 10px; border: 1px solid rgba(255,255,255,0.35); border-radius: var(--radius-md); overflow: hidden; background: rgba(255,255,255,0.10); backdrop-filter: blur(6px); box-shadow: 0 4px 24px rgba(0,0,0,.18); }
.cat-section-btn {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 18px 24px;
  background: var(--white); border: none; cursor: pointer; text-align: left;
  transition: background var(--transition); gap: 12px;
}
.cat-section-btn:hover { background: var(--gray-light); }
.cat-section-btn.open { background: var(--navy); }
.cat-section-btn.open .cat-section-title { color: var(--white); }
.cat-section-btn.open .cat-section-count { background: rgba(255,255,255,.18); color: var(--sand); }
.cat-section-btn.open .cat-section-icon { color: var(--sand); }
.cat-section-btn.open .cat-section-arrow { color: var(--sand); transform: rotate(180deg); }
.cat-section-left { display: flex; align-items: center; gap: 14px; }
.cat-section-icon { font-size: 1.15rem; color: var(--navy-mid); width: 26px; text-align: center; flex-shrink: 0; }
.cat-section-title { font-size: 1rem; font-weight: 700; color: var(--navy); }
.cat-section-count { font-size: .72rem; font-weight: 700; padding: 3px 11px; border-radius: 100px; background: var(--gray-light); color: var(--text-mid); margin-left: 4px; }
.cat-section-arrow { color: var(--text-light); font-size: .85rem; transition: transform var(--transition), color var(--transition); flex-shrink: 0; }
.cat-section-body { max-height: 0; overflow: hidden; transition: max-height .55s cubic-bezier(.4,0,.2,1); }
.cat-section-body.open { max-height: 4000px; }
.cat-section-inner { padding: 20px; }
.cat-section-body > .product-grid { padding: 20px; }

/* =============================================
   NUMERI BAND
   ============================================= */
.numeri-band { background: var(--navy-dark); padding: 56px 0; }
.numeri-inner {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.num-val {
  font-size: clamp(2rem,4vw,3rem); font-weight: 800; color: var(--sand);
  line-height: 1; margin-bottom: 8px; font-family: 'Playfair Display', serif;
}
.num-lbl { font-size: .78rem; color: rgba(255,255,255,.55); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
@media (max-width: 640px) { .numeri-inner { grid-template-columns: repeat(2,1fr); gap: 32px; } }

/* =============================================
   PRONTA CONSEGNA
   ============================================= */
#pronta-consegna { padding: 72px 0 48px; background: var(--off-white); position: relative; overflow: hidden; }
#pronta-consegna .container { max-width: 100%; padding: 0; position: relative; z-index: 2; }
#pronta-consegna .stock-hd { max-width: 760px; margin-left: auto; margin-right: auto; padding: 0 clamp(20px,5vw,64px); }
#pronta-consegna .stock-grid { padding: 0 clamp(20px,5vw,64px); }
#pronta-consegna .stock-expand,
#pronta-consegna .stock-footer { padding-left: clamp(20px,5vw,64px); padding-right: clamp(20px,5vw,64px); }
#pronta-consegna .stock-curtain { margin: 0; }
.stock-curtain {
  position: relative; max-height: 420px; overflow: hidden;
  transition: max-height .9s cubic-bezier(.4,0,.2,1);
  margin-bottom: 4px;
}
.stock-curtain::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 160px;
  background: linear-gradient(to bottom, transparent 0%, var(--off-white) 88%);
  pointer-events: none; transition: opacity .5s .2s;
}
.stock-curtain.open { max-height: 4000px; }
.stock-curtain.open::after { opacity: 0; }
.stock-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); gap: 10px; }
.stock-item {
  position: relative; border-radius: 8px; overflow: hidden;
  cursor: pointer; aspect-ratio: 1; background: var(--gray-mid);
}
.stock-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.stock-item:hover img { transform: scale(1.07); }
.stock-item-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(27,47,94,0); color: var(--white); font-size: 1.1rem;
  transition: background var(--transition);
}
.stock-item:hover .stock-item-overlay { background: rgba(27,47,94,.4); }
.stock-expand { display: flex; justify-content: center; margin: 20px 0 16px; }
.btn-expand {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 32px; border: 1.5px solid var(--navy); color: var(--navy);
  font-size: .78rem; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600;
  cursor: pointer; background: transparent; border-radius: 4px;
  transition: background var(--transition), color var(--transition);
}
.btn-expand:hover { background: var(--navy); color: var(--white); }
.stock-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; padding: 0 24px; margin-top: 16px;
}
.stock-note { font-size: .72rem; color: var(--text-light); font-style: italic; line-height: 1.65; max-width: 560px; }
.btn-sand {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; background: var(--sand); color: var(--navy-dark);
  font-weight: 700; font-size: .88rem; border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition);
  cursor: pointer; border: none; text-decoration: none;
}
.btn-sand:hover { background: #e6bc00; transform: translateY(-1px); }

/* Lightbox */
#stock-lb { display: none; position: fixed; inset: 0; z-index: 9000; background: rgba(5,10,25,.93); backdrop-filter: blur(8px); align-items: center; justify-content: center; }
#stock-lb.open { display: flex; }
#stock-lb-img { max-width: 88vw; max-height: 86vh; object-fit: contain; border-radius: 4px; box-shadow: 0 40px 100px rgba(0,0,0,.7); }
#stock-lb-close { position: absolute; top: 20px; right: 28px; font-size: 2.2rem; color: rgba(255,255,255,.6); cursor: pointer; background: none; border: none; line-height: 1; padding: 6px 10px; transition: color .2s; }
#stock-lb-close:hover { color: var(--sand); }
#stock-lb-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: .7rem; color: rgba(255,255,255,.38); letter-spacing: 2px; }
#stock-lb-prev, #stock-lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.55); font-size: 1rem; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; }
#stock-lb-prev { left: 24px; }
#stock-lb-next { right: 24px; }
#stock-lb-prev:hover, #stock-lb-next:hover { background: rgba(255,255,255,.1); color: var(--sand); border-color: var(--sand); }

/* =============================================
   POPUP PREVENTIVO
   ============================================= */
#promo-popup {
  position: fixed; bottom: 110px; left: 0; z-index: 9000;
  display: flex; align-items: stretch; flex-direction: row;
  transform: translateX(calc(-100% - 8px));
  transition: transform .55s cubic-bezier(.25,.46,.45,.94);
  pointer-events: none; filter: drop-shadow(5px 5px 22px rgba(0,0,0,.32));
}
#promo-popup.open { transform: translateX(0); pointer-events: all; }
#promo-popup.tabbed { transform: translateX(calc(-100% + 38px)); pointer-events: all; }
.promo-inner {
  width: 300px; background: rgba(12,24,58,.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,209,0,.22); border-right: none;
  padding: 36px 24px 22px; position: relative;
}
.promo-close {
  position: absolute; top: 10px; right: 12px;
  background: none; border: none; color: rgba(255,255,255,.4);
  font-size: 1.1rem; cursor: pointer; line-height: 1; transition: color .2s;
  padding: 4px;
}
.promo-close:hover { color: var(--sand); }
.promo-tab {
  width: 38px; background: rgba(12,24,58,.92);
  border-right: 3px solid var(--sand); border-left: none;
  border-top: 1px solid rgba(255,209,0,.22);
  border-bottom: 1px solid rgba(255,209,0,.22);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; cursor: pointer; padding: 18px 0; flex-shrink: 0; transition: background .2s;
}
.promo-tab:hover { background: var(--navy-mid); }
.promo-tab-label {
  writing-mode: vertical-rl; transform: rotate(0deg);
  font-size: .58rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.75); white-space: nowrap;
}
.promo-title {
  font-family: 'Playfair Display', serif; font-size: 1.2rem;
  color: var(--white); line-height: 1.3; margin-bottom: 10px;
}
.promo-title strong { color: var(--sand); font-style: italic; }
@media (max-width: 640px) {
  #promo-popup {
    bottom: 0; left: 0; right: 0;
    flex-direction: column; transform: translateY(100%); filter: none; width: 100%;
  }
  #promo-popup.open { transform: translateY(0); }
  #promo-popup.tabbed { transform: translateY(100%); pointer-events: none; }
  .promo-tab { display: none; }
  .promo-inner { width: 100%; border: none; border-top: 2px solid rgba(255,209,0,.35); }
}
.form-group {
  animation: fadeUp .25s ease both;
}
@keyframes fadeUp { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }

/* card stagger */
.product-card { --i: 0; }

/* Stock lightbox (new IDs) */
#stock-lightbox { display: flex; position: fixed; inset: 0; z-index: 9000; background: rgba(5,10,25,.93); backdrop-filter: blur(8px); align-items: center; justify-content: center; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease, visibility .3s; }
#stock-lightbox.open { opacity: 1; visibility: visible; pointer-events: auto; }
#lb-img { max-width: 88vw; max-height: 86vh; object-fit: contain; border-radius: 4px; box-shadow: 0 40px 100px rgba(0,0,0,.7); transform: scale(.96); transition: transform .3s var(--ease-out); }
#stock-lightbox.open #lb-img { transform: scale(1); }
#lb-close { position: absolute; top: 20px; right: 28px; font-size: 2.2rem; color: rgba(255,255,255,.6); cursor: pointer; background: none; border: none; line-height: 1; padding: 6px 10px; transition: color .2s; }
#lb-close:hover { color: var(--sand); }
#lb-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: .7rem; color: rgba(255,255,255,.38); letter-spacing: 2px; }
#lb-prev, #lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.55); font-size: 1rem; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; }
#lb-prev { left: 24px; }
#lb-next { right: 24px; }
#lb-prev:hover, #lb-next:hover { background: rgba(255,255,255,.1); color: var(--sand); border-color: var(--sand); }

/* Stock toggle button */
.stock-toggle-wrap { display: flex; justify-content: center; margin: 20px 0 0; }
.stock-toggle { display: inline-flex; align-items: center; gap: 10px; padding: 12px 32px; border: 1.5px solid var(--navy); color: var(--navy); font-size: .78rem; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; cursor: pointer; background: transparent; border-radius: 4px; transition: background var(--transition), color var(--transition); }
.stock-toggle:hover { background: var(--navy); color: var(--white); }

/* =============================================
   VETRINA-STYLE UTILITIES
   ============================================= */
:root { --ease-out: cubic-bezier(0.22,1,0.36,1); --serif: 'Playfair Display',Georgia,serif; }
.v-label { display:inline-block; font-size:.65rem; letter-spacing:4px; text-transform:uppercase; color:var(--sand); margin-bottom:14px; font-weight:600; }
.v-title { font-family:var(--serif); font-size:clamp(1.8rem,3.5vw,2.8rem); color:var(--navy); line-height:1.18; margin-bottom:22px; }
.v-title.light { color:var(--white); }
.v-divider { width:44px; height:2px; background:var(--sand); margin-bottom:32px; }
.v-divider.center { margin-left:auto; margin-right:auto; }
.btn-v-sand { display:inline-flex; align-items:center; gap:9px; font-size:.75rem; font-weight:600; letter-spacing:2px; text-transform:uppercase; padding:15px 38px; cursor: pointer; border:none; transition:all .3s var(--ease-out); background:var(--sand); color:var(--navy-dark); }
.btn-v-sand:hover { background:#ffe033; color:var(--navy-dark); }
.stitch-divider { border:none; height:40px; background:transparent; position:relative; overflow:visible; margin:0; }
.stitch-divider::after { content:''; display:block; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:90%; height:0; border-top: 2px dashed rgba(27,47,94,.12); }

/* =============================================
   I NOSTRI SERVIZI
   ============================================= */
#servizi {
  padding: 80px 0 160px;
  position: relative;
  overflow: hidden;
  background: var(--white);
}
@keyframes dots-drift-h {
  from { transform: translateX(0); }
  to   { transform: translateX(-36px); }
}
.servizi-dots {
  position: absolute; inset: 0 -40px;
  background-image: radial-gradient(circle, rgba(255,209,0,0.09) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none; z-index: 0;
  will-change: transform;
  animation: dots-drift-h 24s linear infinite;
}
.servizi-shape {
  position: absolute; border-radius: 50%;
  pointer-events: none; z-index: 0;
}
.servizi-shape-1 {
  width: 680px; height: 680px;
  background: var(--sand); opacity: 0.05;
  bottom: -260px; left: -160px;
  animation: float-shape 18s ease-in-out infinite;
}
.servizi-shape-2 {
  width: 300px; height: 300px;
  background: var(--white); opacity: 0.05;
  top: -70px; right: -70px;
  animation: float-shape 14s ease-in-out infinite reverse;
}
.servizi-shape-3 {
  width: 460px; height: 460px;
  background: var(--navy-mid); opacity: 0.13;
  top: 20%; right: 6%;
  animation: float-shape 22s ease-in-out 4s infinite;
}
#servizi .servizi-wrap { max-width: 1440px; padding: 0 40px; }
@media (min-width: 901px) {
  #servizi .servizi-wrap { max-width: 1600px; padding: 0 64px; }
}

/* ── HEADER TITOLO ── */
.servizi-hd { text-align:center; margin-bottom:0; position:relative; z-index:2; padding: 80px 0 52px; }
.servizi-hd .v-label { color:var(--navy-mid); font-size:.62rem; letter-spacing:.12em; text-transform:uppercase; }
.servizi-hd .v-title { color:var(--navy-dark); font-size:clamp(2rem,3.5vw,3.2rem); line-height:1.15; margin:8px 0 12px; text-shadow:none; }
.servizi-hd .v-divider { margin:0 auto; width:36px; height:2px; background:var(--sand); }

/* ── GRIGLIA EDITORIALE ── */
.servizi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 216px;
  grid-auto-flow: dense;
  gap: 10px;
  position: relative; z-index: 2;
}
.serv-card.wide { grid-column: span 2; }
.serv-card.wide .sc-body { padding: 22px 26px; }
.serv-card.wide .sc-body > i { width: 40px; height: 40px; font-size: 1.05rem; margin-bottom: 11px; }
.serv-card.wide .sc-body h3 { font-size: .74rem; }
.serv-card {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform .4s cubic-bezier(.25,.46,.45,.94), box-shadow .4s ease;
}
.serv-card::after {
  content: ''; position: absolute; inset: 0;
  background-image: var(--img);
  background-size: cover; background-position: center;
  z-index: 0;
  transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}
.serv-card.featured::after {
  animation: img-drift-soft 40s ease-in-out infinite;
}
.serv-card:hover:not(.featured)::after { transform: scale(1.05); }
.sc-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(8,15,38,.92) 0%, rgba(8,15,38,.52) 50%, rgba(8,15,38,.16) 100%);
  opacity: .5;
  transition: background .4s ease;
}
.serv-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.50); }
.serv-card:hover .sc-overlay { background: linear-gradient(to top, rgba(8,15,38,.78) 0%, rgba(8,15,38,.35) 50%, rgba(8,15,38,.08) 100%); }
.sc-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 2; padding: 18px 20px;
}
.sc-body > i {
  width: 34px; height: 34px;
  font-size: .95rem; color: var(--sand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,209,0,.45);
  backdrop-filter: blur(3px);
  transition: background .3s ease, transform .4s cubic-bezier(.34,1.56,.64,1);
}
.serv-card:hover .sc-body > i { background: rgba(255,209,0,.2); transform: rotate(14deg) scale(1.12); }
.sc-body h3 { font-size:.63rem; font-weight:700; color:var(--white); text-transform:uppercase; letter-spacing:.08em; line-height:1.3; margin:0; text-shadow:0 1px 8px rgba(0,0,0,.7); }
.serv-card.featured { grid-column: 1 / 3; grid-row: 1 / 3; }
.serv-card.featured .sc-body { padding: 30px 34px; }
.serv-card.featured .sc-body::before { content:''; display:block; width:36px; height:2px; background:var(--sand); margin-bottom:18px; }
.serv-card.featured .sc-body > i { width: 44px; height: 44px; font-size:1.25rem; margin-bottom:12px; }
.serv-card.featured .sc-body h3 { font-size:.82rem; margin-bottom:9px; }
.sc-desc { font-size:.74rem; color:rgba(255,255,255,.68); line-height:1.55; margin:0; }
.sc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: .74rem;
  font-weight: 700;
  color: var(--sand);
  transition: gap var(--transition);
}
.sc-link:hover { gap: 10px; }
.sc-link i { width: auto; height: auto; background: none; font-size: .68rem; margin: 0; }

.sc-arrow {
  position: absolute;
  right: 16px; bottom: 16px;
  z-index: 3;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,209,0,.45);
  backdrop-filter: blur(3px);
  color: var(--sand);
  transition: background .3s ease, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.sc-arrow i { font-size: .78rem; line-height: 1; transform: translateX(-1px); }
.serv-card:hover .sc-arrow { background: var(--sand); border-color: var(--sand); transform: scale(1.1); }
.serv-card:hover .sc-arrow i { color: var(--navy); }
.serv-card.featured .sc-arrow { right: 24px; bottom: 24px; }

/* Mobile */
@media(max-width:900px) {
  #servizi { padding: 60px 0 70px; }
  .servizi-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 160px; gap: 6px; }
  .serv-card.featured { grid-column: 1 / -1; grid-row: auto; }
}
@media(max-width:480px) {
  .servizi-grid { grid-template-columns: 1fr; grid-auto-rows: 155px; }
}

/* =============================================
   SETTORI DI RIFERIMENTO
   ============================================= */
#settori { padding:96px 0; background: linear-gradient(180deg, #0d1b38 0%, #172d58 48%, #0d1b38 100%); position:relative; overflow:hidden; }
.settori-hd { margin-bottom:64px; }
.settori-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.settore { border:1px solid rgba(255,255,255,.1); padding:38px 24px; text-align:center; cursor:pointer; transition:border-color .35s,background .35s,transform .35s var(--ease-out); }
.settore:hover { border-color:var(--sand); background:rgba(255,255,255,.04); transform:translateY(-5px); }
.settore i {
  width:56px; height:56px;
  font-size:1.3rem; color:var(--sand);
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 18px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  border:1px solid rgba(255,209,0,.25);
  transition:transform .35s var(--ease-out), background .35s;
}
.settore:hover i { transform:scale(1.12); background:rgba(255,255,255,.14); }
.settore h3 { font-family:var(--serif); font-size:.95rem; color:var(--white); margin-bottom:8px; }
.settore p { font-size:.73rem; color:rgba(255,255,255,.45); line-height:1.6; }
@media(max-width:1024px){.settori-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:600px){.settori-grid{grid-template-columns:repeat(2,1fr);gap:12px;}}

/* =============================================
   PERCHÉ SCEGLIERE YELLOWSTONE
   ============================================= */
#perche { padding:96px 0; background:var(--white); }
.perche-inner { display:grid; grid-template-columns:1.5fr 1fr; gap:64px; align-items:center; }
.perche-visual { position:relative; }
.perche-img-wrap { overflow:hidden; }
.perche-img { width:100%; height:auto; display:block; animation: img-drift 38s ease-in-out infinite; transform-origin: center center; }
.perche-badge { position:absolute; bottom:-28px; left:-28px; background:var(--navy); color:var(--white); padding:28px 24px; text-align:center; min-width:140px; z-index:2; }
.perche-badge .yr { font-family:'Playfair Display',serif; font-size:2.6rem; font-weight:700; color:var(--sand); line-height:1; }
.perche-badge .since { font-size:.6rem; letter-spacing:3px; text-transform:uppercase; opacity:.6; margin-top:6px; }
.perche-border { position:absolute; top:-20px; left:-20px; right:20px; bottom:20px; border:2px solid var(--sand); opacity:.3; pointer-events:none; z-index:-1; }
.features { display:grid; grid-template-columns:1fr 1fr; gap:28px; margin-top:8px; }
.feat { display:flex; gap:16px; }
.feat-ico { width:46px; height:46px; min-width:46px; border-radius:50%; background:linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); border:1px solid rgba(255,209,0,.35); box-shadow:0 4px 14px rgba(27,47,94,.18); display:flex; align-items:center; justify-content:center; margin-top:2px; flex-shrink:0; transition: background .3s ease, transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease; }
.feat-ico i { font-size:1rem; color:var(--sand); transition: color .3s ease; }
.feat:hover .feat-ico { background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%); transform: scale(1.08) rotate(-4deg); box-shadow:0 6px 20px rgba(27,47,94,.3); }
.feat:hover .feat-ico i { color: var(--white); }
.feat h4 { font-size:.88rem; font-weight:600; color:var(--navy); margin-bottom:7px; }
.feat p { font-size:.78rem; color:var(--text-mid); line-height:1.7; }
@media(max-width:900px){.perche-inner{grid-template-columns:1fr;gap:40px;} .perche-img{height:320px;} .features{grid-template-columns:1fr;}}

/* =============================================
   PRONTA CONSEGNA (migliorata)
   ============================================= */
#pronta-consegna { padding:96px 0 56px; background:var(--off-white); }
.stock-hd { margin-bottom:52px; }
.stock-hd p { max-width:640px; color:var(--text-mid); line-height:1.75; margin-top:8px; }
#pronta-consegna .stock-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; padding: 0 clamp(20px,5vw,64px); }

/* =============================================
   RECENSIONI
   ============================================= */
#recensioni { padding:96px 0; background:var(--gray-light); position:relative; overflow:hidden; }
.rev-shape { position:absolute; border-radius:50%; pointer-events:none; z-index:0; }
.rev-shape-1 { width:520px; height:520px; background:var(--sand); opacity:.08; top:-220px; left:-180px; animation:float-shape 18s ease-in-out infinite; }
.rev-shape-2 { width:340px; height:340px; background:var(--navy-mid); opacity:.06; bottom:-160px; right:8%; animation:float-shape 22s ease-in-out 3s infinite reverse; }
.rev-inner { display:grid; grid-template-columns:0.7fr 1fr; gap:56px; align-items:start; position:relative; z-index:2; }
.rev-side { position:relative; padding-top:8px; text-align:center; }
.rev-side .section-eyebrow { display:block; margin-bottom:10px; }
.rev-side .section-title { text-align:center; margin-bottom:18px; }
.rev-side-text { font-size:.95rem; color:var(--text-mid); line-height:1.75; max-width:420px; margin:0 auto 24px; }
/* Stelle di valutazione: soggetto principale del blocco testo, grandi e centrali */
.star-rating-hero { padding-bottom:24px; margin-bottom:24px; border-bottom:1px solid var(--gray-mid); }
.star-rating { display:inline-flex; flex-direction:row-reverse; gap:10px; }
.star-rating input { position:absolute; opacity:0; width:0; height:0; }
.star-rating label { cursor:pointer; font-size:3.1rem; color:rgba(27,47,94,.32) !important; text-transform:none; letter-spacing:0; font-weight:400; transition:color .18s, transform .18s; line-height:1; margin-bottom:0; display:inline-block; }
.star-rating label:hover, .star-rating label:hover ~ label { color:var(--sand-dark, var(--sand)) !important; transform:scale(1.15); }
.star-rating input:checked ~ label { color:var(--sand-dark, var(--sand)) !important; }
.star-rating input:focus-visible ~ label { outline:2px solid var(--sand-dark, var(--sand)); outline-offset:4px; }
.star-rating-hint { font-family:var(--serif); font-style:italic; font-size:1.05rem; color:var(--navy-mid); opacity:.6; margin-top:12px; transition:color .2s, opacity .2s; }
.star-rating-hint.is-set { color:var(--sand-dark, var(--navy)); opacity:1; }

.rev-side-note { display:flex; align-items:flex-start; gap:10px; font-size:.78rem; color:var(--navy-mid); background:rgba(255,255,255,.6); border:1px solid var(--gray-mid); padding:14px 16px; max-width:420px; line-height:1.6; margin:0 auto 28px; }
.rev-side-trust { display:flex; flex-direction:column; gap:14px; max-width:420px; margin:0 auto; }
.rev-trust-item { display:flex; align-items:center; justify-content:center; gap:12px; font-size:.85rem; color:var(--navy-mid); font-weight:600; }
.rev-trust-item i { width:34px; height:34px; flex-shrink:0; display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,.7); border:1px solid var(--gray-mid); border-radius:50%; color:var(--sand-dark, var(--navy)); font-size:.85rem; }
.rev-side-note i { color:var(--sand-dark, var(--navy)); margin-top:2px; }
.rev-stars-float { position:relative; height:38px; width:90px; margin:0 auto 8px; }
.rev-stars-float i { position:absolute; color:var(--sand); opacity:.85; }
.rev-star-1 { left:0; top:6px; font-size:1.5rem; animation:rev-float 4.5s ease-in-out infinite; }
.rev-star-2 { left:38px; top:-8px; font-size:1rem; animation:rev-float 3.6s ease-in-out infinite .4s; }
.rev-star-3 { left:66px; top:10px; font-size:1.15rem; animation:rev-float 5.2s ease-in-out infinite .9s; }
@keyframes rev-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(8deg); }
}

.rev-form-wrap { width:100%; background:linear-gradient(165deg, var(--navy) 0%, var(--navy-dark) 100%); padding:44px 40px; box-shadow:0 30px 70px rgba(14,25,55,.35); position:relative; overflow:hidden; }
.rev-form-wrap::before { content:''; position:absolute; top:-90px; right:-90px; width:220px; height:220px; border-radius:50%; background:rgba(255,255,255,.04); pointer-events:none; }

.rev-form-wrap .fg-line { margin-bottom:18px; position:relative; z-index:1; }
.rev-form-wrap .fg-line input, .rev-form-wrap .fg-line select, .rev-form-wrap .fg-line textarea { width:100%; background:transparent; border:none; border-bottom:1px solid rgba(255,255,255,.25); color:var(--white); padding:9px 2px; font-family:inherit; font-size:.9rem; outline:none; transition:border-color .3s; border-radius:0; appearance:auto; }
.rev-form-wrap .fg-line select { color-scheme: dark; }
.rev-form-wrap .fg-line select option { color: var(--navy-dark); }
.rev-form-wrap .fg-line input::placeholder, .rev-form-wrap .fg-line textarea::placeholder { color:rgba(255,255,255,.4); }
.rev-form-wrap .fg-line input:focus, .rev-form-wrap .fg-line select:focus, .rev-form-wrap .fg-line textarea:focus { border-color:var(--sand); }
.rev-form-wrap .btn-cont-submit { position:relative; z-index:1; margin-top:8px; }

.fg-line--products { border-bottom:1px solid rgba(255,255,255,.25); padding-bottom:14px; }
.rev-products-label { display:block; font-size:.68rem; font-weight:600; letter-spacing:.06em; color:rgba(255,255,255,.5); margin-bottom:10px; }
.rev-products-picker { display:flex; flex-wrap:wrap; gap:8px; }
.rev-prod-chip { font-family:inherit; font-size:.74rem; font-weight:600; color:rgba(255,255,255,.75); background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.2); padding:7px 13px; cursor:pointer; transition:all .2s; border-radius:100px; }
.rev-prod-chip:hover { border-color:rgba(255,255,255,.5); color:var(--white); }
.rev-prod-chip.is-selected { background:var(--sand); border-color:var(--sand); color:var(--navy-dark); }

@media(max-width:900px){
  .rev-inner { grid-template-columns:1fr; gap:36px; }
}
@media(max-width:700px){ .rev-form-wrap{padding:32px 26px;} .star-rating label{font-size:2.4rem;} }

/* =============================================
   CONTATTI
   ============================================= */
#contatti { padding:96px 0; background:var(--navy); position:relative; overflow:hidden; }
#contatti::before { content:''; position:absolute; bottom:-180px; left:-180px; width:550px; height:550px; border-radius:50%; background:rgba(255,255,255,.025); pointer-events:none; }
.contatti-inner { position:relative; z-index:2; display:grid; grid-template-columns:1fr 1.2fr 1.5fr; gap:60px; align-items:start; max-width:100%; padding:0 64px; box-sizing:border-box; }
.cont-info h2 { font-family:var(--serif); font-size:clamp(1.9rem,3vw,2.8rem); color:var(--white); line-height:1.18; margin-bottom:18px; }
.cont-info > p { font-size:.95rem; color:rgba(255,255,255,.58); line-height:1.82; margin-bottom:48px; }
.cont-items { display:flex; flex-direction:column; gap:26px; margin-bottom:46px; }
.cont-row { display:flex; gap:20px; align-items:flex-start; }
.cont-ico { width:46px; height:46px; min-width:46px; border:1px solid rgba(255,255,255,.18); display:flex; align-items:center; justify-content:center; color:var(--sand); flex-shrink:0; }
.cont-txt strong { display:block; font-size:.72rem; font-weight:600; letter-spacing:1.5px; text-transform:uppercase; color:rgba(255,255,255,.5); margin-bottom:4px; }
.cont-txt span { font-size:.9rem; color:rgba(255,255,255,.82); line-height:1.65; }
.cont-btns { display:flex; flex-wrap:wrap; gap:12px; }
.cbtn { display:inline-flex; align-items:center; gap:8px; padding:12px 22px; font-size:.72rem; font-weight:600; letter-spacing:1.5px; text-transform:uppercase; transition:all .3s; cursor: pointer; }
.cbtn-sand { background:var(--sand); color:var(--navy-dark); border:none; }
.cbtn-sand:hover { background:var(--white); color:var(--navy-dark); }
.cbtn-outline { border:1px solid rgba(255,255,255,.3); color:var(--white); background:none; }
.cbtn-outline:hover { border-color:var(--white); background:rgba(255,255,255,.06); }
.orari-box { background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); padding:28px; margin-top:36px; }
.orari-box h5 { font-size:.65rem; letter-spacing:3px; text-transform:uppercase; color:var(--sand); margin-bottom:18px; }
.orario-row { display:flex; justify-content:space-between; align-items:center; padding:9px 0; border-bottom:1px solid rgba(255,255,255,.06); }
.orario-row:last-child { border-bottom:none; }
.orario-row span { font-size:.82rem; color:rgba(255,255,255,.55); }
.orario-row strong { font-size:.82rem; color:rgba(255,255,255,.85); font-weight:400; }
.cont-form { display:flex; flex-direction:column; }
.cont-form h3 { font-family:var(--serif); font-size:1.25rem; color:var(--white); margin-bottom:6px; }
.cont-form > p { font-size:.82rem; color:rgba(255,255,255,.48); margin-bottom:26px; line-height:1.6; }
.cont-form .fg { margin-bottom:14px; }
.cont-form .fg label { display:block; font-size:.65rem; font-weight:600; letter-spacing:1.5px; text-transform:uppercase; color:rgba(255,255,255,.45); margin-bottom:6px; }
.cont-form .fg input,.cont-form .fg textarea { width:100%; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.15); color:var(--white); padding:11px 14px; font-family:inherit; font-size:.85rem; outline:none; transition:border-color .3s,background .3s; border-radius:0; }
.cont-form .fg input::placeholder,.cont-form .fg textarea::placeholder { color:rgba(255,255,255,.25); }
.cont-form .fg input:focus,.cont-form .fg textarea:focus { border-color:var(--sand); background:rgba(255,255,255,.1); }
.cont-form .form-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.btn-cont-submit { width:100%; padding:14px; background:var(--sand); color:var(--navy-dark); font-weight:700; font-size:.85rem; border:none; cursor: pointer; transition:background .25s; margin-top:4px; }
.btn-cont-submit:hover { background:#ffe033; }
.cont-form-msg { font-size:.82rem; margin-top:10px; min-height:20px; }
.cont-map { height:100%; min-height:480px; position:relative; }
.cont-map iframe { width:100%; height:100%; border:none; display:block; filter:grayscale(40%) contrast(1.05) brightness(.95); transition: filter 0.5s ease; }
.cont-map:hover iframe { filter: grayscale(0%) contrast(1) brightness(1); }
.map-label { position:absolute; bottom:0; left:0; right:0; background:rgba(14,29,61,.92); backdrop-filter:blur(8px); padding:18px 22px; display:flex; align-items:center; gap:12px; }
.map-label i { color:var(--sand); font-size:.85rem; }
.map-label span { font-size:.78rem; color:rgba(255,255,255,.7); line-height:1.5; }
@media(max-width:1100px){.contatti-inner{grid-template-columns:1fr 1fr; padding:0 40px;} .cont-map{display:none;}}
@media(max-width:700px){.contatti-inner{grid-template-columns:1fr; padding:0 20px;} .cont-form .form-row{grid-template-columns:1fr;}}

/* Numeri grid (new class names) */
.numeri-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.numero-item {}
.numero-val { font-size: clamp(2rem,4vw,3rem); font-weight: 800; color: var(--sand); line-height: 1; margin-bottom: 8px; font-family: 'Playfair Display', serif; }
.numero-label { font-size: .78rem; color: rgba(255,255,255,.55); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
@media (max-width: 640px) { .numeri-grid { grid-template-columns: repeat(2,1fr); gap: 32px; } }

/* Popup inner elements */
.promo-badge { display: inline-block; font-size: .65rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--navy-dark); background: var(--sand); padding: 3px 10px; border-radius: 100px; margin-bottom: 10px; }
.promo-sub { font-size: .82rem; color: rgba(255,255,255,.65); line-height: 1.6; margin-bottom: 20px; }
.promo-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px 16px; background: var(--sand); color: var(--navy-dark); font-weight: 700; font-size: .82rem; border: none; border-radius: 4px; cursor: pointer; transition: background .2s, transform .2s; }
.promo-btn:hover { background: #ffe033; transform: translateY(-1px); }

/* =============================================
   ACCORDION PREMIUM ENHANCEMENTS
   ============================================= */
.cat-section {
  transition: box-shadow var(--transition), border-color var(--transition);
}
.cat-section.open {
  box-shadow: 0 6px 28px rgba(27,47,94,0.13);
  border-color: rgba(27,47,94,0.22);
}
.cat-section-btn {
  padding: 20px 24px;
  background: rgba(255,255,255,0.38);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
}
.cat-section-btn.open {
  background: rgba(14,29,61,0.82);
  border-bottom: 3px solid var(--sand);
}
.cat-section-count {
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 100px;
  background: var(--gray-light);
  color: var(--text-mid);
  margin-left: 6px;
  flex-shrink: 0;
}
.cat-section-btn.open .cat-section-count {
  background: rgba(255,255,255,.18);
  color: var(--sand);
}
.cat-section-inner { padding: 22px 20px 20px; }

/* =============================================
   CARD VISUAL BADGE (overlay)
   ============================================= */
.card-illustration { position: relative; }
.card-visual-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.14);
}
.badge-hot      { background: var(--navy); color: var(--sand); }
.badge-fast     { background: #22c55e; color: #fff; }
.badge-fashion  { background: var(--sand); color: var(--navy-dark); }
.badge-industrial { background: #4a4a6a; color: #fff; }

/* =============================================
   CARD IDEALE PER
   ============================================= */
.card-ideal-per {
  font-size: 0.75rem;
  color: var(--text-mid);
  padding-top: 8px;
  margin-top: 2px;
  border-top: 1px solid var(--gray-light);
  line-height: 1.45;
}
.card-ideal-label {
  font-weight: 700;
  color: var(--navy-mid);
}

/* =============================================
   DRAWER TRUST BADGES
   ============================================= */
.drawer-trust-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}
.drawer-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--gray-light);
  padding: 5px 10px;
  border-radius: 100px;
  border: 1px solid var(--gray-mid);
}
.drawer-trust-chip i { color: var(--navy-mid); font-size: 0.65rem; }

/* form hint under fields */
.form-hint {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 4px;
  line-height: 1.45;
  font-style: italic;
}

/* =============================================
   MATERIALI E TECNICHE — CAROUSEL
   ============================================= */
#tecniche {
  padding: 96px 0 80px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.tecniche-hd {
  text-align: center;
  margin-bottom: 56px;
  padding: 0 24px;
}
.tecniche-hd .v-label { color: rgba(198,176,138,.75); }
.tecniche-hd .v-title { color: var(--white); }
.tec-carousel-outer {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 48px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 16%, #000 84%, transparent 100%);
  cursor: grab;
}
.tec-carousel-outer:active { cursor: grabbing; }
.tec-carousel-track {
  display: flex;
  align-items: center;
  gap: 28px;
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}
.tec-card {
  flex-shrink: 0;
  width: 340px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transform: scale(0.78);
  filter: blur(2.5px);
  opacity: 0.45;
  transition:
    transform 0.55s cubic-bezier(0.4,0,0.2,1),
    filter  0.55s cubic-bezier(0.4,0,0.2,1),
    opacity 0.55s cubic-bezier(0.4,0,0.2,1),
    border-color 0.55s,
    background 0.55s;
  pointer-events: none;
}
.tec-card.is-adjacent {
  transform: scale(0.89);
  filter: blur(1px);
  opacity: 0.68;
}
.tec-card.is-active {
  transform: scale(1.06);
  filter: blur(0);
  opacity: 1;
  border-color: var(--sand);
  background: rgba(255,255,255,0.1);
  pointer-events: auto;
}
.tec-card-ico {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(255,209,0,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--sand);
  margin-bottom: 18px;
}
.tec-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.tec-card p {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.68;
  margin: 0;
}
.tec-card .tec-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--sand);
  background: rgba(255,209,0,0.1);
  padding: 3px 10px;
  border-radius: 20px;
}
.tec-card .tec-category {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 6px;
}
.tec-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}
.tec-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
  border: none;
  padding: 0;
}
.tec-dot.active {
  background: var(--sand);
  transform: scale(1.4);
}
@media (max-width: 768px) {
  .tec-card { width: 270px; padding: 26px 22px; }
}

/* =============================================
   GRAFICA E PROGETTAZIONE
   ============================================= */
#grafica {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
  position: relative;
  overflow: hidden;
}
.grafica-panel-left {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 96px clamp(40px, 7vw, 110px);
}
.grafica-panel-left .section-dots { z-index: 2; }
.grafica-panel-left-bg {
  position: absolute;
  inset: -15%;
  z-index: 0;
  background: url('../images/grafica-stampa-dettaglio.jpg');
  background-size: cover;
  background-position: center center;
  animation: img-drift-soft 34s ease-in-out infinite;
}
.grafica-panel-left::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10,18,40,0.62);
}
.grafica-panel-left::before {
  content: '\f304';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  bottom: -40px;
  right: -20px;
  font-size: clamp(200px, 28vw, 380px);
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 2;
}
.grafica-panel-left-inner {
  position: relative;
  z-index: 3;
  max-width: 480px;
}
.grafica-panel-left .v-label { color: rgba(198,176,138,.8); }
.grafica-panel-left .v-title {
  color: var(--white);
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 24px;
}
.grafica-panel-left .v-divider { background: var(--sand); margin-bottom: 28px; }
.grafica-intro {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
  margin-bottom: 36px;
}
.grafica-quote {
  position: relative;
  margin: 0 0 40px;
  padding: 24px 24px 24px 56px;
  background: rgba(255,209,0,0.07);
  border-left: 3px solid var(--sand);
}
.grafica-quote::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  position: absolute;
  top: 8px;
  left: 16px;
  font-size: 3.5rem;
  color: var(--sand);
  line-height: 1;
  font-style: italic;
}
.grafica-quote p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin: 0;
  font-style: italic;
}
.grafica-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--sand);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  padding: 15px 32px;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
}
.grafica-cta:hover { opacity: 0.88; transform: translateX(4px); }
.grafica-panel-right {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px clamp(40px, 7vw, 110px);
}
.grafica-card {
  position: relative;
  z-index: 2;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0 24px;
  align-items: start;
  transition: background var(--transition);
}
.grafica-card:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.grafica-card::before {
  content: '';
  position: absolute;
  left: clamp(-110px, -7vw, -40px);
  top: 0; bottom: 0;
  width: 3px;
  background: var(--sand);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.grafica-card:hover::before { transform: scaleY(1); }
.grafica-card:hover { background: rgba(255,255,255,0.03); }
.grafica-card-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--sand);
  opacity: 0.35;
  line-height: 1;
  padding-top: 4px;
  transition: opacity var(--transition);
}
.grafica-card:hover .grafica-card-num { opacity: 0.8; }
.grafica-card-content {}
.grafica-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.grafica-card-ico {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,209,0,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--sand);
  flex-shrink: 0;
}
.grafica-card-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}
.grafica-card-content p {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin: 0;
}
@media (max-width: 1024px) {
  #grafica { grid-template-columns: 1fr; }
  .grafica-panel-left,
  .grafica-panel-right { padding: 72px 32px; }
  .grafica-panel-left-inner { max-width: 100%; }
  .grafica-card::before { left: -32px; }
}
@media (max-width: 600px) {
  .grafica-panel-left,
  .grafica-panel-right { padding: 56px 24px; }
  .grafica-card::before { left: -24px; }
}
@media (max-width: 768px) {
  .grafica-card { padding: 22px 0; }
  .grafica-card-num { font-size: 1.7rem; }
  .grafica-card-head { margin-bottom: 6px; gap: 10px; }
  .grafica-card-ico { width: 30px; height: 30px; font-size: .78rem; }
  .grafica-card-content h4 { font-size: .95rem; }
  .grafica-card-content p { font-size: .82rem; line-height: 1.65; }
}

/* =============================================
   COOKIE BANNER
   ============================================= */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--navy-dark);
  color: var(--white);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  max-width: 700px;
}
#cookie-banner p a {
  color: var(--sand);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn-accept {
  background: var(--sand);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: opacity var(--transition);
  white-space: nowrap;
}
.cookie-btn-accept:hover { opacity: 0.85; }
.cookie-btn-reject {
  background: transparent;
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
  white-space: nowrap;
}
.cookie-btn-reject:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }
@media (max-width: 600px) {
  #cookie-banner { flex-direction: column; align-items: flex-start; }
  .cookie-btns { width: 100%; }
  .cookie-btn-accept, .cookie-btn-reject { flex: 1; text-align: center; }
}

/* =============================================
   FAQ
   ============================================= */
#faq {
  padding: 0;
  display: flex;
  align-items: stretch;
  min-height: 620px;
  background: none;
  position: relative;
  overflow: hidden;
}
.faq-left {
  flex: 0 0 58%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.faq-content {
  width: 100%;
  max-width: 700px;
  padding: 96px 48px;
  position: relative;
  z-index: 2;
}
.faq-right {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--off-white);
}
.faq-right::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 200px; height: 100%;
  background: linear-gradient(to right, var(--off-white) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}
.faq-right::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--off-white);
  opacity: .35;
  z-index: 1;
  pointer-events: none;
}
.faq-slide {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: faq-crossfade 136s ease-in-out infinite, faq-zoom-out 136s linear infinite;
}
@keyframes faq-crossfade {
  0%     { opacity: 0; }
  2.21%  { opacity: 1; }
  5.88%  { opacity: 1; }
  8.09%  { opacity: 0; }
  100%   { opacity: 0; }
}
@keyframes faq-zoom-out {
  0%     { transform: scale(1.18); }
  8.09%  { transform: scale(1); }
  100%   { transform: scale(1); }
}
.faq-slide:nth-child(1)  { animation-delay: 0s;   }
.faq-slide:nth-child(2)  { animation-delay: 8s;   }
.faq-slide:nth-child(3)  { animation-delay: 16s;  }
.faq-slide:nth-child(4)  { animation-delay: 24s;  }
.faq-slide:nth-child(5)  { animation-delay: 32s;  }
.faq-slide:nth-child(6)  { animation-delay: 40s;  }
.faq-slide:nth-child(7)  { animation-delay: 48s;  }
.faq-slide:nth-child(8)  { animation-delay: 56s;  }
.faq-slide:nth-child(9)  { animation-delay: 64s;  }
.faq-slide:nth-child(10) { animation-delay: 72s;  }
.faq-slide:nth-child(11) { animation-delay: 80s;  }
.faq-slide:nth-child(12) { animation-delay: 88s;  }
.faq-slide:nth-child(13) { animation-delay: 96s;  }
.faq-slide:nth-child(14) { animation-delay: 104s; }
.faq-slide:nth-child(15) { animation-delay: 112s; }
.faq-slide:nth-child(16) { animation-delay: 120s; }
.faq-slide:nth-child(17) { animation-delay: 128s; }
.faq-hd {
  text-align: left;
  margin-bottom: 40px;
}
.faq-hd .v-divider { margin: 0; }
.faq-list {
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media(max-width:900px) {
  #faq { flex-direction: column; }
  .faq-left { flex: none; justify-content: center; }
  .faq-content { max-width: 100%; padding: 64px 24px 48px; }
  .faq-hd { text-align: center; }
  .faq-hd .v-divider { margin: 0 auto; }
  .faq-right { min-height: 280px; flex: none; }
  .faq-right::before { width: 100%; height: 100px; background: linear-gradient(to bottom, var(--off-white) 0%, transparent 100%); }
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--gray-mid);
  transition: box-shadow var(--transition), background var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-item.open {
  background: rgba(198,176,138,0.06);
  box-shadow: inset 3px 0 0 var(--sand), var(--shadow-sm);
}
.faq-item.open:hover {
  box-shadow: inset 3px 0 0 var(--sand), var(--shadow-md);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text-dark);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1.4;
}
.faq-q .faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  color: var(--navy);
  transition: background var(--transition), transform var(--transition);
}
.faq-item.open .faq-q .faq-icon {
  background: var(--sand);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), padding 0.35s;
  padding: 0 24px;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* =============================================
   STORIA / TIMELINE
   ============================================= */
#storia {
  background: linear-gradient(to bottom, rgba(244,242,238,.88) 0%, rgba(244,242,238,.8) 14%, rgba(244,242,238,.4) 32%, rgba(244,242,238,.4) 100%), url('../images/storia-macchina-vintage.jpg');
  background-size: cover;
  background-position: center 35%;
  padding: 88px 0 96px;
  position: relative;
  overflow: hidden;
}
#storia .storia-hd, #storia .timeline { position: relative; z-index: 2; }
#storia .section-dots--onlight {
  background-image: radial-gradient(circle, rgba(255,209,0,.42) 1.3px, transparent 1.3px);
}
#storia .v-title { text-shadow: 0 1px 4px rgba(244,242,238,.9), 0 2px 18px rgba(244,242,238,.9); }
.storia-hd { text-align: center; margin-bottom: 72px; }
.storia-hd p { max-width: 580px; margin: 10px auto 0; color: var(--text-mid); line-height: 1.75; font-size: .95rem; }
.timeline { position: relative; max-width: 920px; margin: 0 auto; padding: 0 24px; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent, var(--navy) 8%, var(--navy) 92%, transparent);
  opacity: .13;
}
.tl-item { display: grid; grid-template-columns: 1fr 56px 1fr; gap: 0 20px; margin-bottom: 40px; align-items: start; }
.tl-card {
  background: var(--white); border-radius: 10px; padding: 24px 28px;
  box-shadow: 0 2px 24px rgba(27,47,94,.07); border: 1px solid rgba(27,47,94,.07);
  transition: transform .3s ease, box-shadow .3s ease;
}
.tl-card:hover { transform: translateY(-2px); box-shadow: 0 6px 32px rgba(27,47,94,.11); }
.tl-item:not(.tl-r) .tl-card { text-align: right; }
.tl-item.tl-r .tl-card { text-align: left; }
.tl-year { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: 2.5px; color: var(--sand); text-transform: uppercase; margin-bottom: 10px; }
.tl-card h3 { font-family: var(--serif); font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.tl-card p { font-size: .86rem; color: var(--text-mid); line-height: 1.72; margin: 0; }
.tl-node { display: flex; align-items: flex-start; justify-content: center; padding-top: 22px; }
.tl-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--navy); border: 3px solid var(--sand); flex-shrink: 0; position: relative; z-index: 1; }
@media (max-width: 700px) {
  .storia-hd { margin-bottom: 48px; }
  .timeline { padding: 0 12px; }
  .tl-item { grid-template-columns: 1fr 26px 1fr; gap: 0 8px; margin-bottom: 24px; }
  .tl-node { padding-top: 12px; }
  .tl-dot { width: 11px; height: 11px; border-width: 2px; }
  .tl-card { padding: 16px 14px; }
  .tl-year { font-size: .58rem; margin-bottom: 6px; letter-spacing: 1.5px; }
  .tl-card h3 { font-size: .84rem; margin-bottom: 5px; }
  .tl-card p { font-size: .72rem; line-height: 1.55; }
}

/* =============================================
   SOSTENIBILITÀ
   ============================================= */
#sostenibilita { background: var(--white); padding: 88px 0 96px; position: relative; overflow: hidden; }
.sost-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px,5vw,64px); position: relative; z-index: 2; }
.sost-intro .v-label { display: block; margin-bottom: 14px; }
.sost-intro h2 { font-family: var(--serif); font-size: clamp(2rem,3vw,2.8rem); color: var(--navy); line-height: 1.18; margin-bottom: 20px; }
.sost-intro p { font-size: .95rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 32px; max-width: 440px; }
.sost-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(27,47,94,.05); border: 1px solid rgba(27,47,94,.1);
  border-radius: 50px; padding: 10px 22px;
  font-size: .75rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--navy);
}
.sost-badge i { color: #4e9468; font-size: .9rem; }
.sost-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sost-card {
  background: var(--off-white); border-radius: 12px; padding: 28px 22px;
  border: 1px solid rgba(27,47,94,.07);
  transition: transform .3s ease, box-shadow .3s ease;
}
.sost-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(27,47,94,.09); }
.sost-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(78,148,104,.12); display: flex; align-items: center; justify-content: center;
  color: #3d7d54; font-size: 1.05rem; margin-bottom: 16px;
  transition: background .3s ease;
}
.sost-icon i { transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.sost-card:hover .sost-icon { background: rgba(78,148,104,.24); }
.sost-card:hover .sost-icon i { transform: rotate(14deg) scale(1.12); }
.sost-card h4 { font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.sost-card p { font-size: .81rem; color: var(--text-mid); line-height: 1.68; margin: 0; }
.sost-card--wide { grid-column: 1 / -1; }
@media (max-width: 900px) { .sost-inner { grid-template-columns: 1fr; gap: 48px; } .sost-intro p { max-width: 100%; } }
@media (max-width: 480px) { .sost-cards { grid-template-columns: 1fr; } }

/* Immagini nuove sezioni */
.sost-visual-wrap {
  overflow: hidden; border-radius: 12px; margin-top: 28px;
  -webkit-mask-image: -webkit-radial-gradient(circle, #fff 100%, #000 100%);
  mask-image: radial-gradient(circle, #fff 100%, #000 100%);
  transform: translateZ(0);
}
.sost-visual { width: 100%; height: 200px; object-fit: cover; display: block; animation: img-drift-soft 42s ease-in-out infinite; transform-origin: center; }

/* =============================================
   MOBILE REFINEMENTS — solo mobile, desktop invariato
   ============================================= */

/* Photo strip: etichette sempre visibili su schermo touch */
@media (hover: none) {
  .photo-strip-label  { transform: none; opacity: 1; }
  .photo-strip-overlay { opacity: 0.78; }
}

/* ── Tablet / telefoni grandi (≤ 768px) ──────── */
@media (max-width: 768px) {

  /* Padding sezioni */
  #settori         { padding: 56px 0; }
  #perche          { padding: 56px 0 64px; }
  #storia          { padding: 56px 0 60px; }
  #pronta-consegna { padding: 48px 0 36px; }
  #come-funziona   { padding: 48px 0; }
  #sostenibilita   { padding: 56px 0 60px; }
  #contatti        { padding: 56px 0; }
  .numeri-band     { padding: 36px 0; }

  /* Intestazioni di sezione */
  .settori-hd    { margin-bottom: 40px; }
  .storia-hd     { margin-bottom: 44px; }
  .stock-hd      { margin-bottom: 36px; }
  .section-header { margin-bottom: 32px; }
  .sost-inner    { gap: 40px; }

  /* Contatti */
  .contatti-inner { padding: 0 24px; }
  .cont-items     { gap: 16px; margin-bottom: 28px; }

  /* Perché — badge e bordo decorativo */
  .perche-border { display: none; }
  .perche-badge  { bottom: 14px; left: 14px; padding: 16px 14px; min-width: 96px; }
  .perche-badge .yr { font-size: 1.9rem; }

  /* Step cards */
  .step-number { width: 64px; height: 64px; font-size: 1.45rem; margin-bottom: 16px; }
  .step-icon   { width: 40px; height: 40px; font-size: 1rem; margin-bottom: 12px; }
  .step-title  { font-size: 1rem; margin-bottom: 8px; }

  /* Stock footer */
  .stock-footer { flex-direction: column; align-items: flex-start; gap: 14px; }

  /* Photo strip — etichette sempre visibili su touch */
  .photo-strip-label  { transform: none; opacity: 1; }
  .photo-strip-overlay { opacity: 0.78; }

}

/* ── Telefoni piccoli (≤ 480px) ───────────────── */
@media (max-width: 480px) {

  /* Padding sezioni — ulteriormente compatto */
  #settori         { padding: 40px 0; }
  #perche          { padding: 40px 0 52px; }
  #storia          { padding: 40px 0 48px; }
  #pronta-consegna { padding: 36px 0 28px; }
  #come-funziona   { padding: 36px 0; }
  #sostenibilita   { padding: 40px 0 48px; }
  #contatti        { padding: 40px 0; }
  .numeri-band     { padding: 28px 0; }

  /* Hero */
  .hero-eyebrow { font-size: .68rem; padding: 5px 12px; }

  /* Settori */
  .settore   { padding: 24px 14px; }
  .settore i { font-size: 1.5rem; margin-bottom: 12px; }
  .settore h3 { font-size: .85rem; }
  .settore p  { font-size: .7rem; }

  /* Step cards */
  .step-number { width: 56px; height: 56px; font-size: 1.3rem; }
  .step-title  { font-size: .92rem; }
  .step-desc   { font-size: .82rem; }

  /* Catalog */
  .section-title     { font-size: clamp(1.5rem, 6vw, 2rem); }
  .cat-section-title { font-size: .85rem; }

  /* FAQ */
  .faq-content             { padding: 48px 16px 36px; }
  .faq-q                   { font-size: .88rem; padding: 14px 16px; }
  .faq-a                   { padding: 0 16px; font-size: .84rem; }
  .faq-item.open .faq-a    { padding: 0 16px 14px; }

  /* Timeline */
  .storia-hd { margin-bottom: 32px; }
  .tl-item   { grid-template-columns: 1fr 20px 1fr; gap: 0 6px; }
  .tl-card   { padding: 13px 11px; }
  .tl-card h3 { font-size: .76rem; }
  .tl-card p  { font-size: .67rem; line-height: 1.5; }
  .tl-year   { font-size: .54rem; }

  /* Grafica */
  .grafica-intro { font-size: .88rem; line-height: 1.75; }
  .grafica-quote { padding: 18px 18px 18px 44px; }
  .grafica-quote p { font-size: .84rem; }

  /* Sostenibilità */
  .sost-card     { padding: 20px 16px; }
  .sost-intro h2 { font-size: clamp(1.7rem, 6vw, 2.4rem); }

  /* Numeri */
  .numero-val   { font-size: clamp(1.8rem, 9vw, 2.6rem); }

  /* Perché — badge ancora più piccolo */
  .perche-badge    { bottom: 10px; left: 10px; padding: 12px 10px; min-width: 78px; }
  .perche-badge .yr { font-size: 1.5rem; }

  /* Contatti */
  .contatti-inner { padding: 0 16px; }
  .orari-box      { padding: 18px 14px; }
  .cbtn           { padding: 10px 14px; font-size: .68rem; }

}

/* =============================================
   PRELOADER
   ============================================= */
#site-preloader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ffffff;
  transition: opacity .7s ease, visibility .7s ease;
}
#site-preloader.preloader-hide { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  padding: 0 24px;
  animation: ps-content-in 1s cubic-bezier(.34,1.56,.64,1) .2s both;
  transform-origin: center center;
  transition: transform .9s cubic-bezier(.4,0,.2,1), opacity .5s ease .35s;
}
@keyframes ps-content-in {
  0%   { opacity: 0; transform: translateY(-46px); }
  100% { opacity: 1; transform: translateY(0); }
}
#site-preloader.preloader-dock .preloader-content {
  transform: translate(var(--dock-x, 0), var(--dock-y, 0)) scale(var(--dock-scale, 1));
  opacity: 0;
}
.preloader-logo { height: 84px; width: auto; margin-bottom: -14px; filter: drop-shadow(0 4px 18px rgba(14,29,61,.25)); }
.preloader-claim {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  color: var(--navy);
  letter-spacing: .02em;
}
@media (max-width: 600px) {
  .preloader-logo { height: 56px; margin-bottom: -9px; }
}
@media (prefers-reduced-motion: reduce) {
  .preloader-content { animation: none; }
}

/* =============================================
   PAGINE SERVIZIO DEDICATE (svc-*)
   Stili condivisi dalle pagine come
   etichette-adesive.html
   ============================================= */
.svc-breadcrumb { background: var(--off-white); padding: 14px 0; font-size: .8rem; color: var(--text-light); margin-top: var(--header-h); }
.svc-breadcrumb a { color: var(--navy); font-weight: 600; }
.svc-breadcrumb i { font-size: .6rem; margin: 0 8px; }

.svc-hero {
  background: linear-gradient(135deg, rgba(14,29,61,.94), rgba(27,47,94,.90) 55%, rgba(36,55,117,.82)), var(--svc-hero-img) center/cover no-repeat;
  color: var(--white);
  padding: 72px 0 88px;
  position: relative;
  overflow: hidden;
}
.svc-hero .container { position: relative; z-index: 1; }
.svc-hero-eyebrow { display:inline-flex; align-items:center; gap:8px; font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color: var(--sand); margin-bottom: 16px; }
.svc-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 18px; max-width: 720px; line-height: 1.15; }
.svc-hero p { font-size: 1.05rem; color: rgba(255,255,255,.82); max-width: 640px; line-height: 1.7; }
.svc-hero-cta { display:inline-flex; align-items:center; gap:10px; margin-top:30px; background: var(--sand); color: var(--navy-dark); font-weight:700; padding: 15px 30px; border-radius: var(--radius-sm); transition: var(--transition); }
.svc-hero-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.svc-hero-cta.outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.4); margin-left: 14px; }
.svc-hero-cta.outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

.svc-section { padding: 72px 0; position:relative; overflow:hidden; }
.svc-section.alt { background: var(--gray-light); }
.svc-section .section-dots { z-index: 0; }
.svc-section .servizi-shape { z-index: 0; }
.svc-section > .container { position:relative; z-index:1; }
.svc-section-hd { max-width: 640px; margin: 0 auto 44px; text-align:center; }
.svc-section-hd .section-eyebrow { display:block; margin-bottom:10px; }
.svc-section-hd h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.svc-section-hd p { color: var(--text-mid); }

.svc-intro { max-width: 760px; margin: 0 auto 8px; text-align:center; font-size:1.05rem; color: var(--text-mid); line-height:1.8; }

.svc-type-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.svc-type-card { background: var(--white); border-radius: var(--radius-md); padding: 30px; box-shadow: var(--shadow-sm); transition: var(--transition); }
.svc-type-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.svc-type-badge { display:inline-block; font-size:.68rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; background: var(--sand-light); color:#a05c00; padding:4px 10px; border-radius:20px; margin-bottom:14px; }
.svc-type-ico {
  width:52px; height:52px; border-radius:50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border: 1px solid rgba(255,209,0,.35);
  box-shadow: 0 4px 14px rgba(27,47,94,.18);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 16px;
  transition: transform .35s var(--transition), box-shadow .35s ease;
}
.svc-type-ico i { font-size:1.2rem; color: var(--sand); animation: icon-breathe 3.8s ease-in-out infinite; }
.svc-type-card:hover .svc-type-ico { transform: scale(1.1) rotate(-4deg); box-shadow: 0 6px 20px rgba(27,47,94,.3); }
.svc-type-card h3 { font-size:1.15rem; margin-bottom:10px; color: var(--navy-dark); }
.svc-type-card p { font-size:.9rem; color: var(--text-mid); line-height:1.6; margin-bottom:16px; }
.svc-type-meta { display:flex; gap:16px; font-size:.78rem; color: var(--text-light); border-top:1px solid var(--gray-mid); padding-top:14px; }
.svc-type-meta strong { color: var(--navy); display:block; font-size:.85rem; }

.svc-list-grid { display:flex; flex-wrap:wrap; justify-content:center; gap: 18px; }
.svc-list-card { flex: 1 1 220px; max-width: 280px; background: var(--white); border: 1px solid var(--gray-mid); border-radius: var(--radius-sm); padding: 22px 20px; transition: var(--transition); }
.svc-list-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: transparent; }
.svc-list-card h4 { font-size:.92rem; color: var(--navy-dark); margin-bottom:10px; display:flex; align-items:center; gap:10px; }
.svc-ico {
  width:34px; height:34px; min-width:34px; border-radius:50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border: 1px solid rgba(255,209,0,.35);
  display:flex; align-items:center; justify-content:center;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.svc-ico i { font-size:.78rem; color: var(--sand); animation: icon-breathe 4.2s ease-in-out infinite; }
.svc-list-card:hover .svc-ico { transform: scale(1.08) rotate(-4deg); }
.svc-list-card p { font-size: .82rem; color: var(--text-mid); line-height:1.55; margin:0; }
.svc-list-card:nth-child(1) .svc-ico i { animation-delay: 0s; }
.svc-list-card:nth-child(2) .svc-ico i { animation-delay: .5s; }
.svc-list-card:nth-child(3) .svc-ico i { animation-delay: 1s; }
.svc-list-card:nth-child(4) .svc-ico i { animation-delay: 1.5s; }
.svc-list-card:nth-child(5) .svc-ico i { animation-delay: 2s; }
.svc-list-card:nth-child(6) .svc-ico i { animation-delay: 2.5s; }
.svc-list-card:nth-child(7) .svc-ico i { animation-delay: 3s; }

.svc-settori-band { position:relative; overflow:hidden; padding:88px 0; background: linear-gradient(180deg, #0d1b38 0%, #172d58 48%, #0d1b38 100%); }
.svc-settori-band .settori-hd { text-align:center; position:relative; z-index:2; }
.svc-settori-band .settori-hd .v-divider { margin-left:auto; margin-right:auto; }
.svc-settori-band .settori-grid { position:relative; z-index:2; grid-template-columns: repeat(3,1fr); }
@media (max-width: 1024px) { .svc-settori-band .settori-grid { grid-template-columns: repeat(2,1fr); } }

.svc-faq { max-width: 780px; margin: 0 auto; }
.svc-faq-item { border-bottom: 1px solid var(--gray-mid); padding: 22px 0; }
.svc-faq-item h3 { font-size: 1rem; color: var(--navy-dark); margin-bottom: 10px; }
.svc-faq-item p { font-size: .9rem; color: var(--text-mid); line-height: 1.7; margin:0; }

.svc-cta {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white); text-align:center; padding: 64px 24px; border-radius: var(--radius-lg);
  margin: 0 24px;
}
.svc-cta h2 { font-size: clamp(1.5rem,3vw,2rem); margin-bottom:14px; }
.svc-cta p { color: rgba(255,255,255,.8); margin-bottom: 28px; max-width:560px; margin-left:auto; margin-right:auto; }

@media (max-width: 900px) {
  .svc-type-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .svc-breadcrumb { margin-top: 74px; }
  .svc-hero { padding: 40px 0 48px; }
  .svc-cta { margin: 0 16px; padding: 48px 20px; }
}

/* =============================================
   SVC PICKER — selettore tipologie interattivo
   ============================================= */
.svc-picker { max-width: 980px; margin: 0 auto; }
.svc-picker-tabs { display:flex; gap:10px; margin-bottom:32px; flex-wrap:wrap; justify-content:center; }
.svc-picker-tab {
  display:flex; align-items:center; gap:10px;
  padding: 14px 24px; border-radius: 40px;
  background: var(--white); border: 1px solid var(--gray-mid);
  font-size:.88rem; font-weight:600; color: var(--text-mid);
  transition: var(--transition);
}
.svc-picker-tab i { font-size:.9rem; color: var(--text-light); transition: var(--transition); }
.svc-picker-tab:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }
.svc-picker-tab.active { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: var(--shadow-md); }
.svc-picker-tab.active i { color: var(--sand); }

.svc-picker-panels { position:relative; }
.svc-picker-panel {
  display:none;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 44px 48px; box-shadow: var(--shadow-md);
  grid-template-columns: auto 1fr; gap: 36px; align-items:center;
}
.svc-picker-panel.active { display:grid; animation: pickerFade .45s cubic-bezier(.22,.68,0,1.2); }
@keyframes pickerFade { 0% { opacity:0; transform: translateY(14px); } 100% { opacity:1; transform: translateY(0); } }
.svc-picker-ico {
  width:84px; height:84px; border-radius:50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border: 1px solid rgba(255,209,0,.35);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.svc-picker-ico i { font-size:2rem; color: var(--sand); animation: icon-breathe 3.8s ease-in-out infinite; }
.svc-picker-badge { display:inline-block; font-size:.68rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; background: var(--sand-light); color:#a05c00; padding:4px 10px; border-radius:20px; margin-bottom:12px; }
.svc-picker-panel h3 { font-size:1.4rem; color: var(--navy-dark); margin-bottom:10px; }
.svc-picker-panel p { font-size:.95rem; color: var(--text-mid); line-height:1.7; margin-bottom:20px; max-width:520px; }
.svc-picker-meta { display:flex; flex-wrap:wrap; gap:28px; margin-bottom:24px; }
.svc-picker-meta div { font-size:.78rem; color: var(--text-light); }
.svc-picker-meta strong { display:block; font-size:1rem; color: var(--navy); font-weight:700; }
.svc-picker-cta { display:inline-flex; align-items:center; gap:10px; background: var(--sand); color: var(--navy-dark); font-weight:700; padding: 13px 26px; border-radius: var(--radius-sm); transition: var(--transition); font-size:.88rem; }
.svc-picker-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
@media (max-width: 700px) {
  .svc-picker-panel { grid-template-columns: 1fr; padding: 32px 24px; text-align:center; }
  .svc-picker-ico { margin: 0 auto; }
  .svc-picker-panel p { max-width: none; }
  .svc-picker-meta { justify-content:center; }
}

/* =============================================
   SVC SWATCHES — selettore materiali interattivo
   ============================================= */
.svc-swatches { display:flex; flex-direction:column; gap:28px; }
.svc-swatch-list { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.svc-swatch {
  display:inline-flex; align-items:center; gap:10px;
  padding: 11px 20px 11px 12px; border-radius: 40px;
  background: var(--white); border: 1px solid var(--gray-mid);
  font-size:.85rem; font-weight:600; color: var(--text-mid);
  transition: var(--transition);
}
.svc-swatch-dot { width:24px; height:24px; min-width:24px; border-radius:50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.svc-swatch-dot--ico { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); display:flex; align-items:center; justify-content:center; }
.svc-swatch-dot--ico i { color: var(--sand); font-size: .68rem; }
.svc-swatch-visual--ico { display:flex; align-items:center; justify-content:center; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%) !important; }
.svc-swatch-visual--ico i { font-size: 3.4rem; color: var(--sand); transition: opacity .3s ease, transform .3s ease; }
.svc-swatch:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }
.svc-swatch.active { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: var(--shadow-md); }
.svc-swatch.active .svc-swatch-dot { box-shadow: 0 0 0 3px rgba(255,209,0,.4); }

.svc-swatch-detail { display:grid; grid-template-columns: 320px 1fr; gap: 40px; align-items:center; background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); }
.svc-swatch-visual { width:100%; height:220px; border-radius: var(--radius-md); background: var(--sw); position:relative; overflow:hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); transition: background .45s ease; }
.svc-swatch-visual::after { content:''; position:absolute; inset:0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 45%, transparent 60%); animation: sheenDrift 5s ease-in-out infinite; }
@keyframes sheenDrift { 0%,100% { transform: translateX(-8%); } 50% { transform: translateX(8%); } }
.svc-swatch-visual-ico {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 92px; height: 92px; border-radius: 50%;
  background: rgba(255,255,255,.55); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.05rem; color: var(--navy-dark);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 8px 22px rgba(0,0,0,.08);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .3s ease;
}
.svc-swatch-info h3 { font-size:1.3rem; color: var(--navy-dark); margin-bottom:12px; transition: opacity .3s ease; }
.svc-swatch-info p { font-size:.95rem; color: var(--text-mid); line-height:1.7; margin-bottom:18px; transition: opacity .3s ease; }
.svc-swatch-tags { display:flex; flex-wrap:wrap; gap:8px; }
.svc-tag { font-size:.72rem; font-weight:700; color: var(--navy); background: var(--sand-light); padding:5px 12px; border-radius:20px; }
@media (max-width: 700px) {
  .svc-swatch-detail { grid-template-columns: 1fr; padding: 28px; }
  .svc-swatch-visual { height:160px; }
}

/* =============================================
   SVC TOGGLE — segmented control adesivo/stampa
   ============================================= */
.svc-toggle-wrap { display:flex; justify-content:center; margin-bottom:36px; }
.svc-toggle-group { position:relative; display:inline-flex; background: var(--gray-light); border-radius:40px; padding:4px; gap:4px; }
.svc-toggle-thumb { position:absolute; top:4px; bottom:4px; left:4px; width: calc(50% - 4px); background: var(--navy); border-radius:40px; transition: transform .4s cubic-bezier(.4,0,.2,1); z-index:0; }
.svc-toggle-btn { position:relative; z-index:1; padding:12px 28px; border-radius:40px; font-weight:700; font-size:.85rem; color: var(--text-mid); transition: color .3s ease; white-space:nowrap; }
.svc-toggle-btn.active { color: var(--white); }
.svc-toggle-panel { display:none; }
.svc-toggle-panel.active { display:block; animation: pickerFade .4s ease; }

/* =============================================
   SVC PROCESS — timeline lavorazione (es. jacquard)
   ============================================= */
.svc-process {
  position:relative; display:grid; grid-template-columns:repeat(4,1fr); gap:28px;
  /* la linea si calcola da queste variabili, non da un pixel indovinato:
     se cambia l'altezza del numero o del cerchio, la linea si riallinea da sola */
  --process-num-h: 20px;
  --process-num-gap: 6px;
  --process-ico-d: 52px;
}
.svc-process::before {
  content:''; position:absolute;
  top: calc(var(--process-num-h) + var(--process-num-gap) + var(--process-ico-d) / 2);
  left:12%; right:12%; height:2px;
  background-image: linear-gradient(to right, var(--gray-mid) 50%, transparent 50%);
  background-size: 16px 2px; background-repeat: repeat-x;
  z-index:0;
}
.svc-process-step { position:relative; z-index:1; text-align:center; }
.svc-process-num {
  font-family:'Playfair Display',serif; font-style:italic; font-weight:700; font-size:.85rem;
  color:var(--sand); opacity:.8;
  height: var(--process-num-h); line-height: var(--process-num-h);
  margin-bottom: var(--process-num-gap);
}
.svc-process-ico {
  width: var(--process-ico-d); height: var(--process-ico-d); border-radius:50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border: 1px solid rgba(255,209,0,.35);
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 16px; box-shadow: 0 4px 14px rgba(27,47,94,.18);
}
.svc-process-ico i { font-size:1.1rem; color:var(--sand); animation: icon-breathe 4s ease-in-out infinite; }
.svc-process-step:nth-child(2) .svc-process-ico i { animation-delay: .6s; }
.svc-process-step:nth-child(3) .svc-process-ico i { animation-delay: 1.2s; }
.svc-process-step:nth-child(4) .svc-process-ico i { animation-delay: 1.8s; }
.svc-process-step h3 { font-size:1rem; color:var(--navy-dark); margin-bottom:10px; }
.svc-process-step p { font-size:.85rem; color:var(--text-mid); line-height:1.65; }
@media (max-width: 900px) {
  .svc-process { grid-template-columns:1fr; gap:36px; }
  .svc-process::before { display:none; }
}

/* =============================================
   SVC SECTION — variante dark (pagine prodotto dedicate)
   ============================================= */
.svc-section.dark { background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%); }
.svc-section.dark .section-eyebrow { color: var(--sand); }
.svc-section.dark .svc-section-hd h2 { color: var(--white); }
.svc-section.dark .svc-section-hd p { color: rgba(255,255,255,.62); }

.svc-section.dark .svc-list-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.svc-section.dark .svc-list-card:hover { border-color: rgba(255,209,0,.5); box-shadow: none; }
.svc-section.dark .svc-list-card h4 { color: var(--white); }
.svc-section.dark .svc-list-card p { color: rgba(255,255,255,.62); }

.svc-section.dark .svc-process-num { color: rgba(255,255,255,.3); }
.svc-section.dark .svc-process-ico { background: rgba(255,255,255,.06); }
.svc-section.dark .svc-process-step h3 { color: var(--white); }
.svc-section.dark .svc-process-step p { color: rgba(255,255,255,.62); }
.svc-section.dark .svc-process::before { background: rgba(255,255,255,.14); }

.svc-section.dark .svc-swatch-detail { background: rgba(255,255,255,.05); box-shadow: none; border: 1px solid rgba(255,255,255,.1); }
.svc-section.dark .svc-swatch-info h3 { color: var(--white); }
.svc-section.dark .svc-swatch-info p { color: rgba(255,255,255,.68); }
.svc-section.dark .svc-swatch-visual-ico { background: rgba(255,255,255,.14); color: var(--sand); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 8px 22px rgba(0,0,0,.2); }
.svc-section.dark .svc-swatch { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.85); }
.svc-section.dark .svc-swatch:hover { border-color: var(--sand); color: var(--sand); }
.svc-section.dark .svc-swatch.active { background: var(--sand); border-color: var(--sand); color: var(--navy-dark); }
.svc-section.dark .svc-tag { background: rgba(255,209,0,.14); color: var(--sand); }

.svc-section.dark .svc-toggle-group { background: rgba(255,255,255,.08); }
.svc-section.dark .svc-toggle-btn { color: rgba(255,255,255,.55); }
.svc-section.dark .svc-toggle-btn.active { color: var(--navy-dark); }
.svc-section.dark .svc-toggle-thumb { background: var(--sand); }

/* Testo narrativo/storia: colonna leggibile, per sezioni con contenuto storico o di racconto */
.svc-story {
  max-width: 640px; margin: 0 auto; text-align: center;
  font-size: 1.1rem; line-height: 1.85; color: var(--text-mid);
}
.svc-section.dark .svc-story { color: rgba(255,255,255,.75); }
.svc-story p + p { margin-top: 18px; }
.svc-story strong { color: var(--navy-dark); font-weight: 700; }
.svc-section.dark .svc-story strong { color: var(--white); }

/* =============================================
   CONFIGURATORE INLINE — sezione prodotto singolo,
   sostituisce il drawer sulle pagine dedicate
   ============================================= */
.cfg-section { position: relative; padding: 64px 0 84px; background: var(--off-white); overflow: hidden; }
.cfg-section .section-dots { z-index: 0; }
.cfg-section > .container { position: relative; z-index: 1; }
.cfg-hd { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.cfg-hd .section-eyebrow { display:block; margin-bottom:10px; }
.cfg-hd h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.cfg-hd p { color: var(--text-mid); }

.cfg-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }
.cfg-fields { display: flex; flex-direction: column; gap: 30px; }
.cfg-group-title { font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; font-weight:700; color: var(--navy-mid); margin-bottom: 14px; }

.cfg-pill-row { display:flex; flex-wrap:wrap; gap:10px; }
.cfg-pill {
  padding: 11px 20px; border-radius: 30px; border: 1.5px solid var(--gray-mid);
  background: var(--white); font-size:.84rem; font-weight:600; color: var(--text-dark);
  cursor: pointer; transition: border-color .15s, background .15s, color .15s, transform .15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.cfg-pill i { font-size: .8rem; color: var(--navy-mid); transition: color .15s; }
.cfg-pill:hover { border-color: var(--sand); background: var(--sand-light); }
.cfg-pill.selected { border-color: var(--navy); background: var(--navy); color: var(--white); }
.cfg-pill.selected i { color: var(--sand); }

.cfg-select-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .cfg-select-grid { grid-template-columns: 1fr; } }

.cfg-extra { border-top: 1px solid var(--gray-mid); padding-top: 22px; }
.cfg-extra-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  font-size: .88rem; font-weight: 700; color: var(--navy);
  padding: 4px 0;
}
.cfg-extra-toggle i { transition: transform .3s ease; color: var(--navy-mid); }
.cfg-extra.open .cfg-extra-toggle i { transform: rotate(180deg); }
.cfg-extra-body { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.cfg-extra.open .cfg-extra-body { max-height: 2400px; }
.cfg-extra-body-inner { padding-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .cfg-extra-body-inner { grid-template-columns: 1fr; } }

.cfg-side { display: flex; flex-direction: column; gap: 6px; position: sticky; top: calc(var(--header-h) + 20px); }
.cfg-illo { display: flex; align-items: center; justify-content: center; padding: 4px 0 10px; background: none; box-shadow: none; }
.cfg-illo svg { width: 100%; max-width: 210px; height: auto; display: block; }
.cfg-illo .illo-body { animation: cfgIlloDrift 1.2s ease-out; }
@keyframes cfgIlloDrift { 0% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: translateY(0); } }

.cfg-summary {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius-lg); padding: 28px; color: var(--white);
  box-shadow: var(--shadow-lg);
}
.cfg-summary-badge { display:inline-block; font-size:.68rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color: var(--navy-dark); background: var(--sand); padding: 5px 12px; border-radius: 20px; margin-bottom: 14px; }
.cfg-summary h3 { font-size: 1.15rem; margin-bottom: 6px; }
.cfg-summary-meta { display:flex; gap:14px; font-size:.72rem; color: rgba(255,255,255,.6); margin-bottom: 18px; flex-wrap: wrap; }
.cfg-summary-list { list-style:none; display:flex; flex-direction:column; gap:8px; margin-bottom: 20px; min-height: 20px; }
.cfg-summary-list li { font-size:.8rem; color: rgba(255,255,255,.85); display:flex; justify-content:space-between; gap:10px; border-bottom: 1px dashed rgba(255,255,255,.15); padding-bottom:8px; }
.cfg-summary-list li span:first-child { color: rgba(255,255,255,.55); }
.cfg-summary-empty { font-size: .78rem; color: rgba(255,255,255,.45); font-style: italic; }
.cfg-summary-cta {
  display:flex; align-items:center; justify-content:center; gap:8px; width:100%;
  padding: 14px; border-radius: 30px; background: var(--sand); color: var(--navy-dark);
  font-weight: 700; font-size: .88rem; transition: transform .2s ease;
}
.cfg-summary-cta:hover { transform: translateY(-2px); }
.cfg-summary-trust { display:flex; flex-direction:column; gap:6px; margin-top: 16px; }
.cfg-summary-trust span { font-size:.7rem; color: rgba(255,255,255,.55); display:flex; align-items:center; gap:6px; }
.cfg-summary-trust i { color: var(--sand); width: 14px; }

@media (max-width: 980px) {
  .cfg-wrap { grid-template-columns: 1fr; }
  .cfg-side { position: static; order: -1; margin-bottom: 10px; }
  .cfg-illo svg { max-width: 170px; }
}

/* =============================================
   PRODOTTI CORRELATI — pagine prodotto dedicate
   ============================================= */
#correlati { padding: 80px 0; }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.rel-card {
  position: relative; display: block; border-radius: var(--radius-md); overflow: hidden;
  height: 260px; box-shadow: var(--shadow-sm); transition: transform .35s ease, box-shadow .35s ease;
}
.rel-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.rel-card::after {
  content: ''; position: absolute; inset: 0; background-size: cover; background-position: center;
  background-image: var(--img); transition: transform .5s ease;
}
.rel-card:hover::after { transform: scale(1.06); }
.rel-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,15,38,.92) 0%, rgba(8,15,38,.4) 55%, rgba(8,15,38,.08) 100%); }
.rel-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; z-index: 1; }
.rel-card-body h3 { color: var(--white); font-size: 1.02rem; margin-bottom: 6px; }
.rel-card-body p { color: rgba(255,255,255,.68); font-size: .8rem; line-height: 1.5; margin-bottom: 12px; }
.rel-card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--sand); font-size: .78rem; font-weight: 700; }
.rel-card:hover .rel-card-link { gap: 10px; }
