/* ════════════════════════════════════════════════════════════════════
   VAI FERRO BIKE — style.css v3.0  Dark-first, Bebas Neue + Inter.
   ════════════════════════════════════════════════════════════════════ */


/* ─── TOKENS DARK ───────────────────────────────────────────────── */
:root {
  --bg: #080808;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --surface-3: #222;
  --border: rgba(255, 255, 255, .07);
  --border-hover: rgba(255, 255, 255, .15);
  --text: #C8C8C0;
  --text-muted: rgba(200, 200, 192, .65);
  --text-subtle: rgba(200, 200, 192, .35);
  --text-inverse: #080808;
  --accent: #F5C518;
  --accent-hover: #F7D04A;
  --accent-dim: rgba(245, 197, 24, .1);
  --accent-glow: rgba(245, 197, 24, .22);
  --gold: #D4A853;
  --gold-dim: rgba(212, 168, 83, .12);
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;
  --r-full: 999px;
  --shadow-card: 0 1px 3px rgba(0, 0, 0, .6), 0 4px 20px rgba(0, 0, 0, .4);
  --shadow-float: 0 8px 40px rgba(0, 0, 0, .7), 0 2px 8px rgba(0, 0, 0, .4);
  --shadow-glow: 0 0 40px var(--accent-glow), 0 4px 20px rgba(0, 0, 0, .5);
  --container: 1280px;
  --gap: clamp(16px, 3vw, 28px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: .15s;
  --t-mid: .35s;
  --t-slow: .6s;
}

/* ─── TOKENS LIGHT ──────────────────────────────────────────────── */
[data-theme="light"] {
  --bg: #F5F5F2;
  --surface: #FFFFFF;
  --surface-2: #EAEAE6;
  --surface-3: #E2E2DE;
  --border: rgba(0, 0, 0, .08);
  --border-hover: rgba(0, 0, 0, .18);
  --text: #141413;
  --text-muted: rgba(20, 20, 19, .72);
  --text-subtle: rgba(20, 20, 19, .42);
  --text-inverse: #F5F5F2;
  --accent: #E6B800;
  --accent-hover: #F5C518;
  --accent-dim: rgba(230, 184, 0, .12);
  --accent-glow: rgba(230, 184, 0, .28);
  --gold: #C49A2A;
  --gold-dim: rgba(196, 154, 42, .12);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 20px rgba(0, 0, 0, .08);
  --shadow-float: 0 8px 30px rgba(0, 0, 0, .12), 0 2px 8px rgba(0, 0, 0, .06);
  --shadow-glow: 0 0 30px var(--accent-glow), 0 4px 18px rgba(0, 0, 0, .08);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--t-mid) var(--ease-out), color var(--t-mid) var(--ease-out)
}

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

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

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

input,
textarea,
select {
  font-family: inherit;
  color: inherit
}

ul,
ol {
  list-style: none
}

::selection {
  background: var(--accent);
  color: #fff
}

/* ─── PAGE TRANSITIONS ──────────────────────────────────────────── */
body {
  opacity: 1;
  transition: opacity .3s ease
}

body.page-leaving {
  opacity: 0
}

@keyframes pageEnter {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

body.page-entering {
  animation: pageEnter .4s ease forwards
}

/* ─── SKIP LINK ─────────────────────────────────────────────────── */
.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  transform: translateY(-200%);
  transition: transform var(--t-fast) ease
}

.skip-link:focus {
  transform: translateY(0)
}

/* ─── LAYOUT ─────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px)
}

.container-sm {
  max-width: 800px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px)
}

.section {
  padding-block: clamp(64px, 10vw, 120px)
}

.section-sm {
  padding-block: clamp(40px, 6vw, 72px)
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────── */
h1,
.h1 {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: .9;
  text-transform: uppercase
}

h2,
.h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: .95;
  text-transform: uppercase
}

h3,
.h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1;
  text-transform: uppercase
}

h4 {
  font-size: 1.05rem;
  font-weight: 600
}

p {
  line-height: 1.7
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px
}

[data-theme="light"] .eyebrow {
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: var(--r-sm)
}

.lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 60ch;
  line-height: 1.7
}

.accent-text {
  color: var(--accent)
}

.gradient-text {
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

/* ─── BUTTONS ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border-radius: var(--r-full);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), background var(--t-fast) ease;
  will-change: transform
}

.btn:active {
  transform: scale(.97) !important
}

.btn-primary {
  background: var(--accent);
  color: #1a1a1a;
  box-shadow: 0 4px 20px var(--accent-glow)
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 32px var(--accent-glow);
  transform: translateY(-2px)
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover)
}

.btn-ghost:hover {
  border-color: var(--text-muted);
  background: rgba(0, 0, 0, .04);
  transform: translateY(-2px)
}

.btn-surface {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border)
}

.btn-surface:hover {
  background: var(--surface-3);
  border-color: var(--border-hover);
  transform: translateY(-1px)
}

.btn-sm {
  height: 40px;
  padding: 0 20px;
  font-size: 13px
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center
}

/* ─── CHIPS ───────────────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted)
}

.badge-accent {
  background: var(--accent-dim);
  border-color: rgba(230, 184, 0, .35);
  color: #8A6D00
}

.badge-gold {
  background: var(--gold-dim);
  border-color: rgba(196, 154, 42, .35);
  color: #7A5A14
}

/* ─── HEADER ──────────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-block: 20px;
  transition: padding var(--t-mid) var(--ease-out), background var(--t-mid) var(--ease-out), border-color var(--t-mid) ease, box-shadow var(--t-mid) ease;
  border-bottom: 1px solid transparent
}

.header.scrolled {
  padding-block: 12px;
  background: rgba(8, 8, 8, .88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, .5)
}

[data-theme="light"] .header.scrolled {
  background: rgba(245, 245, 242, .92);
  border-color: var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .08)
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0
}

.brand-mark {
  width: 38px;
  height: 38px;
  color: var(--accent);
  flex-shrink: 0
}

.brand-mark svg {
  width: 100%;
  height: 100%
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--border)
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1
}

.brand-name strong {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: .06em
}

.brand-name span {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: .04em
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px
}

.nav a {
  padding: 8px 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--r-sm);
  transition: color var(--t-fast) ease, background var(--t-fast) ease;
  position: relative
}

.nav a:hover,
.nav a.active {
  color: var(--text)
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent)
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0
}

.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-full);
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: color var(--t-fast) ease, border-color var(--t-fast) ease, background var(--t-fast) ease
}

.theme-toggle:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: var(--surface-2)
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  color: var(--text);
  transition: background var(--t-fast) ease, border-color var(--t-fast) ease
}

.menu-toggle:hover {
  background: var(--surface-2);
  border-color: var(--border-hover)
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t-mid) var(--ease-out), opacity var(--t-fast) ease
}

.menu-toggle::before,
.menu-toggle::after {
  content: ''
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(6.5px) rotate(45deg)
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
  transform: scaleX(0)
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-6.5px) rotate(-45deg)
}

/* ─── MOBILE DRAWER ───────────────────────────────────────────────── */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1001;
  pointer-events: none
}

.mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--t-mid) ease
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 100%);
  background: var(--surface);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform var(--t-mid) var(--ease-out);
  overflow-y: auto
}

.mobile-drawer.open {
  pointer-events: all
}

.mobile-drawer.open .mobile-drawer__backdrop {
  opacity: 1
}

.mobile-drawer.open .mobile-drawer__panel {
  transform: translateX(0)
}

.mobile-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px
}

.mobile-drawer__close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: color var(--t-fast) ease, background var(--t-fast) ease
}

.mobile-drawer__close:hover {
  color: var(--text);
  background: var(--surface-2)
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1
}

.mobile-nav a {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--r-md);
  transform: translateX(30px);
  opacity: 0;
  transition: color var(--t-fast) ease, background var(--t-fast) ease, transform var(--t-mid) var(--ease-out), opacity var(--t-mid) ease
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--text);
  background: var(--surface-2)
}

.mobile-drawer.open .mobile-nav a {
  transform: translateX(0);
  opacity: 1
}

.mobile-drawer.open .mobile-nav a:nth-child(1) {
  transition-delay: .05s
}

.mobile-drawer.open .mobile-nav a:nth-child(2) {
  transition-delay: .08s
}

.mobile-drawer.open .mobile-nav a:nth-child(3) {
  transition-delay: .11s
}

.mobile-drawer.open .mobile-nav a:nth-child(4) {
  transition-delay: .14s
}

.mobile-drawer.open .mobile-nav a:nth-child(5) {
  transition-delay: .17s
}

.mobile-drawer.open .mobile-nav a:nth-child(6) {
  transition-delay: .20s
}

.mobile-drawer__footer {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px
}

.mobile-drawer__footer .btn {
  width: 100%
}

/* ─── STICKY BAR (mobile) ─────────────────────────────────────────── */
.sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 8px 12px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  background: rgba(8, 8, 8, .92);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  gap: 8px
}

[data-theme="light"] .sticky-bar {
  background: rgba(245, 245, 242, .96)
}

/* ─── HERO ────────────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  position: relative;
  padding-top: 100px
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .22
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 65% 40%, rgba(255, 77, 0, .07) 0%, transparent 60%), linear-gradient(to bottom, rgba(8, 8, 8, .4) 0%, transparent 30%, transparent 60%, var(--bg) 100%)
}

[data-theme="light"] .hero__bg-gradient {
  background: radial-gradient(ellipse 80% 60% at 65% 40%, rgba(230, 184, 0, .1) 0%, transparent 60%), linear-gradient(to bottom, rgba(245, 245, 242, .5) 0%, transparent 30%, transparent 60%, var(--bg) 100%)
}

[data-theme="light"] .hero-gallery::after {
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.25) 100%)
}

[data-theme="light"] .hero__stat strong {
  color: var(--accent)
}

[data-theme="light"] .hero__stat-div {
  background: var(--border)
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-block: 80px
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center
}

.hero__kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  justify-content: center
}

/* ─── SLOGAN TIPOGRAFICO HERO ─────────────────────────────────── */
.hero__slogan {
  font-family: var(--font-heading);
  font-size: clamp(4.5rem, 14vw, 13rem);
  line-height: .88;
  text-transform: uppercase;
  letter-spacing: -.02em;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: .05em
}

.hero__slogan-row {
  display: block;
  color: var(--text)
}

.hero__slogan-row.hero__slogan-accent {
  color: var(--accent)
}

.hero__lead {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: 32px
}

.hero__cta {
  margin-bottom: 40px
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border)
}

.hero__stat {
  display: flex;
  flex-direction: column
}

.hero__stat strong {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1
}

.hero__stat span {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: .05em;
  margin-top: 2px
}

.hero__stat-div {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin-inline: 8px
}

/* ─── HERO GALLERY (foto negozio in dissolvenza) ───────────────────── */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center
}

.hero-gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  max-height: 480px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
  box-shadow: var(--shadow-float)
}

.hero-gallery::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
  z-index: 2
}

.hero-gallery__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .9s ease;
  z-index: 1
}

.hero-gallery__slide.active {
  opacity: 1
}

.hero-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 8s ease
}

.hero-gallery__slide.active img {
  transform: scale(1.06)
}

.hero-gallery__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3
}

.hero-gallery__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--t-fast) ease, transform var(--t-fast) ease
}

.hero-gallery__dot.active {
  background: var(--accent);
  transform: scale(1.35)
}

.hero-gallery__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px;
  color: var(--text-subtle);
  text-align: center
}

.hero-gallery__placeholder svg {
  width: 80%;
  max-width: 340px
}

.hero-gallery__placeholder p {
  font-size: 12px;
  color: var(--text-subtle);
  line-height: 1.6
}


/* ─── PAGE HERO ───────────────────────────────────────────────────── */
.page-hero {
  padding-top: clamp(120px, 18vw, 180px);
  padding-bottom: clamp(48px, 8vw, 80px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border)
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 30% 50%, rgba(255, 77, 0, .04) 0%, transparent 60%)
}

.page-hero__inner {
  position: relative;
  z-index: 1
}

.page-hero__kicker {
  margin-bottom: 20px
}

.page-hero__title {
  margin-bottom: 20px
}

.page-hero__lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 55ch;
  margin-bottom: 32px
}

/* ─── SECTION HEADING ─────────────────────────────────────────────── */
.section-heading {
  margin-bottom: clamp(40px, 5vw, 64px)
}

.section-heading.center {
  text-align: center
}

.section-heading.center .lead {
  margin-inline: auto
}

.section-heading h2 {
  margin-bottom: 16px
}

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

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

.reveal-delay-1 {
  transition-delay: .1s
}

.reveal-delay-2 {
  transition-delay: .2s
}

.reveal-delay-3 {
  transition-delay: .3s
}

.reveal-delay-4 {
  transition-delay: .4s
}

/* ─── SERVICE CARDS ───────────────────────────────────────────────── */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap)
}

.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--t-mid) ease, transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) ease;
  display: flex;
  flex-direction: column;
  color: inherit
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-dim) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-mid) ease
}

.service-card:hover {
  border-color: rgba(230, 184, 0, .4);
  transform: translateY(-6px);
  box-shadow: var(--shadow-float)
}

.service-card:hover::before {
  opacity: 1
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--accent-dim);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #8A6D00;
  transition: background var(--t-mid) ease, transform var(--t-mid) var(--ease-out)
}

.service-card:hover .service-card__icon {
  background: var(--accent);
  color: #1a1a1a;
  transform: scale(1.06)
}

.service-card__icon svg {
  width: 26px;
  height: 26px
}

.service-card__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 12px
}

.service-card h3 {
  margin-bottom: 12px
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 24px
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
  transition: gap var(--t-fast) ease
}

.service-card:hover .service-card__link {
  gap: 12px
}

/* ─── STATS ───────────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden
}

.stat-item {
  background: var(--surface);
  padding: 32px 24px;
  text-align: center;
  transition: background var(--t-fast) ease
}

.stat-item:hover {
  background: var(--surface-2)
}

.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1;
  color: var(--accent);
  display: block;
  margin-bottom: 8px
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: .04em
}

/* ─── MARQUEE ─────────────────────────────────────────────────────── */
.marquee-section {
  padding-block: clamp(40px, 6vw, 64px);
  border-block: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface)
}

.marquee-track {
  display: flex;
  gap: 20px;
  animation: marquee 38s linear infinite;
  width: max-content
}

.marquee-track:hover {
  animation-play-state: paused
}

@keyframes marquee {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

.marquee-item {
  flex-shrink: 0;
  max-width: 320px;
  padding: 20px 24px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg)
}

.marquee-item__stars {
  display: flex;
  gap: 3px;
  color: var(--gold);
  margin-bottom: 12px;
  font-size: 13px
}

.marquee-item__text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 12px
}

.marquee-item__author {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600
}

/* ─── EDITORIAL SPLIT ─────────────────────────────────────────────── */
.editorial-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center
}

.editorial-split.reverse>*:first-child {
  order: 2
}

.editorial-split.reverse>*:last-child {
  order: 1
}

.editorial-visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface-2);
  border: 1px solid var(--border)
}

.editorial-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.editorial-visual__ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--text-subtle);
  padding: 32px;
  text-align: center
}

.editorial-visual__ph svg {
  width: 72px;
  height: 72px;
  opacity: .25
}

.editorial-visual__ph span {
  font-size: 13px
}

.editorial-copy .eyebrow {
  margin-bottom: 16px
}

.editorial-copy h2 {
  margin-bottom: 20px
}

.editorial-copy p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 15px
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-block: 24px
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px
}

.why-icon {
  width: 32px;
  height: 32px;
  background: var(--accent-dim);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 1rem
}

.why-text strong {
  display: block;
  font-size: .95rem;
  margin-bottom: 2px
}

.why-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5
}

/* ─── PRODUCT GRID ────────────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--gap)
}

/* ─── PRODUCT CARD ────────────────────────────────────────────────── */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: default;
  transition: border-color var(--t-mid) ease, transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) ease;
  display: flex;
  flex-direction: column
}

.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-float)
}

.product-card__visual {
  position: relative;
  aspect-ratio: 3/2;
  background: var(--surface-2);
  overflow: hidden;
  cursor: pointer;
}

.product-card__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .45) 100%);
  pointer-events: none;
  z-index: 1
}

[data-theme="light"] .product-card__visual::after {
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .15) 100%)
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
  display: block
}

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

.product-card__icon {
  color: var(--text-subtle);
  width: 72px;
  height: 72px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%)
}

.product-card__icon svg {
  width: 100%;
  height: 100%
}

.product-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t-fast) ease
}

[data-theme="light"] .product-card__overlay {
  background: rgba(255, 255, 255, .55)
}

.product-card:hover .product-card__overlay {
  opacity: 1
}

.product-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1
}

.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px
}

.product-card__cat {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--accent)
}

.product-card__brand {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500
}

.product-card__name {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.7rem);
  line-height: 1.05;
  margin-bottom: 8px
}

.product-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin-bottom: 16px
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border)
}

.product-card__price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  line-height: 1
}

.btn-vedi-dettagli {
  min-height: 44px; /* Ensure 44x44px minimum touch target size */
}

/* Skeleton */
.product-skeleton {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  animation: skPulse 1.5s ease infinite
}

.product-skeleton__visual {
  aspect-ratio: 4/3;
  background: var(--surface-2)
}

.product-skeleton__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.product-skeleton__line {
  height: 12px;
  background: var(--surface-3);
  border-radius: var(--r-sm)
}

.product-skeleton__line.wide {
  width: 80%
}

.product-skeleton__line.mid {
  width: 60%
}

.product-skeleton__line.short {
  width: 40%
}

@keyframes skPulse {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .5
  }
}

/* ─── PRODUCT MODAL ───────────────────────────────────────────────── */
.product-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-mid) var(--ease-out);
}

.product-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.product-modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.product-modal__sheet {
  position: absolute;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-float);
}

@media (max-width: 767px) {
  .product-modal {
    align-items: flex-end;
    padding: 0;
  }

  .product-modal__sheet {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 90vh;
    border-radius: 24px 24px 0 0;
    border-bottom: none;
    border-top: 1px solid var(--border);
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-out);
  }

  .product-modal.open .product-modal__sheet {
    transform: translateY(0);
  }

  .product-modal__handle {
    display: block;
    width: 36px;
    height: 4px;
    background: var(--border-hover);
    border-radius: 2px;
    margin: 12px auto 0;
  }

  .product-modal__close {
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
  }

  [data-theme="light"] .product-modal__close {
    background: rgba(0, 0, 0, .08);
    border: 1px solid var(--border);
    color: var(--text)
  }

  .product-modal__visual {
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 350px;
    max-height: 55vh;
  }
}

@media (min-width: 768px) {
  .product-modal__sheet {
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 1000px;
    max-height: calc(100vh - 64px);
    border-radius: var(--r-xl);
    transform: translate(-50%, -40%) scale(0.95);
    opacity: 0;
    transition: transform 0.4s var(--ease-out), opacity 0.3s ease;
  }

  .product-modal.open .product-modal__sheet {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.product-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
}

.product-modal__close:hover {
  background: var(--surface-3);
  transform: scale(1.05);
}

.product-modal__close svg {
  width: 20px;
  height: 20px;
}

.product-modal__handle {
  display: none;
}

.product-modal__layout {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
}

@media (min-width: 768px) {
  .product-modal__layout {
    flex-direction: row;
    overflow: hidden;
  }
}

.product-modal__visual {
  flex: 1.2;
  background: var(--surface);
  min-height: 320px;
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

[data-theme="light"] .product-modal__visual {
  background: var(--surface);
}

@media (min-width: 768px) {
  .product-modal__visual {
    border-bottom: none;
    border-right: 1px solid var(--border);
    min-height: 480px;
  }
}

.product-modal__content {
  flex: 1;
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}

.product-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.product-modal__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
  margin-top: -8px;
}

.product-modal__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: -8px;
}

.product-modal__desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.product-modal h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.feature-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.feature-tag svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}

.size-chips-list,
.info-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-chip--lg {
  padding: 6px 16px;
  font-size: 14px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
}

.info-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--surface-2);
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 500;
}

.product-modal__note {
  font-size: 13px;
  color: var(--gold);
  background: var(--gold-dim);
  padding: 12px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(212, 168, 83, 0.2);
}

.product-modal__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .product-modal__actions {
    flex-direction: row;
  }

  .product-modal__actions .btn {
    flex: 1;
  }
}

/* ─── CAROUSEL MODAL ────────────────────────────────────────────── */
.carousel {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.carousel__slide {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  overflow: hidden;
  padding: 40px 48px;
  box-sizing: border-box;
  border-radius: var(--r-md);
}

@media (max-width: 767px) {
  .carousel__slide {
    padding: 24px 16px;
  }
}

.carousel__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(20px) brightness(0.4);
  transform: scale(1.15);
  z-index: 1;
}

[data-theme="light"] .carousel__bg {
  filter: blur(20px) brightness(0.55);
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
  cursor: zoom-in;
  transition: transform var(--t-fast) ease;
}

.carousel__fallback {
  color: var(--border);
  position: relative;
  z-index: 2;
}

.carousel__fallback svg {
  width: 80px;
  height: 80px;
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}

.carousel__btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.carousel__btn svg {
  width: 20px;
  height: 20px;
}

.carousel__btn--prev {
  left: 16px;
}

.carousel__btn--next {
  right: 16px;
}

.carousel__dots {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: background 0.3s, transform 0.3s;
}

[data-theme="light"] .carousel__dot {
  background: rgba(0, 0, 0, .2)
}

.carousel__dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ─── LIGHTBOX ────────────────────────────────────────────────────── */
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-mid) var(--ease-out);
}

.image-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox img {
  width: 100%;
  height: 100%;
  max-width: 88vw;
  max-height: 88vh;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
  object-fit: contain;
  border-radius: var(--r-lg);
  transform: scale(0.95);
  transition: transform var(--t-mid) var(--ease-out);
  cursor: zoom-out;
}

.image-lightbox.open img {
  transform: scale(1);
}

.image-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background var(--t-fast);
  z-index: 2;
}

.image-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .image-lightbox__close {
  background: rgba(0, 0, 0, .08);
  color: var(--text);
  border: 1px solid var(--border-hover)
}

[data-theme="light"] .image-lightbox__close:hover {
  background: rgba(0, 0, 0, .14)
}

/* Modal Mobile Bottom Sheet rules consolidated above */

/* ─── FILTER BAR ──────────────────────────────────────────────────── */
.filter-section {
  position: sticky;
  top: 76px;
  z-index: 100;
  padding-block: 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 8, 8, .92);
  backdrop-filter: blur(16px);
  margin-bottom: 32px
}

[data-theme="light"] .filter-section {
  background: rgba(245, 245, 242, .97)
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px
}

.filter-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  flex-shrink: 0
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
  min-width: 0
}

.filter-pill {
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: all var(--t-fast) ease
}

.filter-pill:hover {
  border-color: var(--border-hover);
  color: var(--text)
}

.filter-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff
}

.filter-sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto
}

.sort-select {
  appearance: none;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 6px 32px 6px 16px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(245,245,240,0.4)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color var(--t-fast) ease
}

[data-theme="light"] .sort-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(15,15,13,0.4)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
}

.sort-select:hover {
  border-color: var(--border-hover)
}

.search-wrap {
  position: relative;
  margin-bottom: 16px
}

.search-wrap__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none
}

.search-input {
  width: 100%;
  height: 48px;
  padding: 0 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  color: var(--text);
  font-size: 14px;
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease
}

.search-input::placeholder {
  color: var(--text-subtle)
}

.search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim)
}

.search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border-radius: var(--r-full);
  transition: color var(--t-fast) ease, background var(--t-fast) ease
}

.search-clear:hover {
  color: var(--text);
  background: var(--surface-2)
}

.product-count {
  font-size: 13px;
  color: var(--text-muted);
  padding-bottom: 16px
}

.demo-banner {
  background: var(--accent-glow);
  border: 1px solid rgba(255, 77, 0, .2);
  border-radius: var(--r-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 24px
}

[data-theme="light"] .demo-banner {
  background: var(--accent-dim);
  border-color: rgba(230, 184, 0, .25);
  color: #4a3b00
}

/* ─── CONTACT ─────────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px
}

.contact-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px
}

.contact-row {
  display: flex;
  gap: 16px;
  align-items: flex-start
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  color: var(--text-muted)
}

.contact-icon--wa {
  color: #25D366;
  background: rgba(37, 211, 102, .1);
  border-color: rgba(37, 211, 102, .2)
}

.contact-icon svg {
  width: 22px;
  height: 22px
}

.contact-row strong {
  display: block;
  font-size: 14px;
  margin-bottom: 3px
}

.contact-row p,
.contact-row a {
  font-size: 14px;
  color: var(--text-muted)
}

.contact-row a:hover {
  color: var(--accent)
}

.contact-link--wa {
  color: #25D366;
  font-weight: 600
}

.contact-link--wa:hover {
  color: #2beb72
}

.contact-row--wa {
  background: rgba(37, 211, 102, .06);
  border: 1px solid rgba(37, 211, 102, .15);
  border-radius: var(--r-md);
  padding: 16px;
  margin-top: 8px
}

.hours-table {
  margin-top: 24px;
  border-top: 1px solid var(--border);
  padding-top: 24px
}

.hours-table h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px
}

.hours-table__icon {
  display: inline-flex;
  color: var(--accent)
}

.hours-table__icon svg {
  width: 16px;
  height: 16px
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px
}

.hours-row:last-child {
  border-bottom: none
}

.hours-row.today {
  color: var(--accent);
  font-weight: 600
}

.hours-row span:last-child {
  color: var(--text-muted)
}

.hours-row.today span:last-child {
  color: var(--accent)
}

.map-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden
}

.map-frame iframe {
  width: 100%;
  height: 340px;
  display: block;
  border: none;
  filter: grayscale(.25) contrast(.9)
}

.map-card__ctas {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.map-card__ctas .btn {
  width: 100%
}

/* ─── CHI SIAMO ───────────────────────────────────────────────────── */
.team-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px
}

/* Grid wrapper: 1 colonna di default (solo titolare).
   JS aggiunge .cs-team-grid--duo quando anche il socio è presente → 2 colonne su desktop. */
#cs-team-grid {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

#cs-team-grid.cs-team-grid--duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.team-photo {
  width: 140px;
  height: 140px;
  border-radius: var(--r-full);
  overflow: hidden;
  background: var(--surface-2);
  border: 2px solid var(--border);
  flex-shrink: 0;
  position: relative
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.team-photo__ph {
  color: var(--text-subtle);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%)
}

.team-photo__ph svg {
  width: 60px;
  height: 60px
}

.team-info h2 {
  margin-bottom: 4px
}

.team-info .eyebrow {
  margin-bottom: 12px
}

.team-info p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7
}

.photo-grid-cs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap)
}

.photo-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface-2);
  position: relative
}

.photo-frame.tall {
  aspect-ratio: 3/4
}

.photo-frame.wide {
  aspect-ratio: 16/9;
  grid-column: 1/-1
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.photo-frame__ph {
  color: var(--text-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px;
  text-align: center
}

.photo-frame__ph svg {
  width: 48px;
  height: 48px;
  opacity: .25
}

.photo-frame__ph span {
  font-size: 13px
}

/* ─── MINI CARDS ──────────────────────────────────────────────────── */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap)
}

.mini-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: border-color var(--t-fast) ease, transform var(--t-mid) var(--ease-out)
}

.mini-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px)
}

.mini-card__icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px
}

.mini-card__icon svg {
  width: 22px;
  height: 22px
}

.mini-card h4 {
  font-size: 1rem;
  margin-bottom: 8px
}

.mini-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6
}

/* ─── CTA BAND ────────────────────────────────────────────────────── */
.cta-band {
  background: var(--surface);
  border-block: 1px solid var(--border);
  padding-block: clamp(64px, 10vw, 100px);
  text-align: center;
  position: relative;
  overflow: hidden
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(255, 77, 0, .05) 0%, transparent 60%)
}

[data-theme="light"] .cta-band::before {
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(230, 184, 0, .1) 0%, transparent 60%)
}

.cta-band__inner {
  position: relative;
  z-index: 1
}

.cta-band h2 {
  margin-bottom: 16px
}

.cta-band p {
  color: var(--text-muted);
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: 32px;
  font-size: 15px
}

.cta-band .btn-row {
  justify-content: center
}

/* ─── STEPS ───────────────────────────────────────────────────────── */
.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative
}

.steps-timeline::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: var(--border)
}

.step-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding-block: 24px
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: var(--r-full);
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: background var(--t-mid) ease, border-color var(--t-mid) ease
}

.step-item:hover .step-num {
  background: var(--accent-dim);
  border-color: rgba(230, 184, 0, .45)
}

.step-content h4 {
  margin-bottom: 8px
}

.step-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6
}

/* ─── SCENARIOS ───────────────────────────────────────────────────── */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap)
}

.scenario-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  text-align: center;
  transition: border-color var(--t-mid) ease, transform var(--t-mid) var(--ease-out)
}

.scenario-card:hover {
  border-color: rgba(230, 184, 0, .35);
  transform: translateY(-4px)
}

.scenario-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--r-full);
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin: 0 auto 20px
}

.scenario-card__icon svg {
  width: 32px;
  height: 32px
}

.scenario-card h4 {
  margin-bottom: 12px
}

.scenario-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6
}

/* ─── FOOTER ──────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding-block: clamp(48px, 6vw, 72px)
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px
}

.footer-brand .brand {
  margin-bottom: 20px
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 35ch;
  line-height: 1.6
}

.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: 20px
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--t-fast) ease
}

.footer-links a:hover {
  color: var(--text)
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-subtle)
}


/* ─── RESPONSIVE ──────────────────────────────────────────────────── */
@media(max-width:1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

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

  .service-cards {
    grid-template-columns: 1fr
  }

  .hero__inner {
    padding-block: 48px
  }

  .hero__slogan {
    font-size: clamp(3rem, 18vw, 7rem)
  }

  h1,
  h2 {
    text-wrap: balance;
  }

  .editorial-split {
    grid-template-columns: 1fr
  }

  .editorial-split.reverse>*:first-child {
    order: unset
  }

  .editorial-split.reverse>*:last-child {
    order: unset
  }

  .scenarios-grid {
    grid-template-columns: 1fr
  }
}

@media(max-width:768px) {
  .nav {
    display: none
  }

  .menu-toggle {
    display: flex
  }

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

  /* Task 3: Sticky Floating Pill */
  .sticky-bar {
    display: flex;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: calc(100% - 32px);
    max-width: 400px;
    border-radius: var(--r-full);
    box-shadow: var(--shadow-float);
    padding: 8px;
    border-top: none;
    border: 1px solid var(--border);
  }

  .sticky-bar .btn {
    min-height: 44px;
  }

  /* Ensure touch target */
  .contact-layout {
    grid-template-columns: 1fr
  }

  .team-card {
    grid-template-columns: 1fr;
    text-align: center
  }

  #cs-team-grid.cs-team-grid--duo {
    grid-template-columns: 1fr;
  }

  .mini-grid {
    grid-template-columns: 1fr
  }

  .photo-grid-cs {
    grid-template-columns: 1fr
  }

  .photo-frame.wide {
    grid-column: unset
  }

  .footer-grid {
    grid-template-columns: 1fr
  }

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

  .product-grid {
    grid-template-columns: 1fr
  }

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

  /* Ottimizzazione spazio Filtri Mobile */
  .filter-section {
    padding-block: 8px;
    margin-bottom: 16px;
    position: static;
    max-width: 100%;
  }

  .search-wrap {
    margin-bottom: 8px;
  }

  .search-input {
    height: 44px;
    font-size: 16px;
  }

  /* 16px prevents iOS zoom */
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    max-width: 100%;
  }

  .filter-label {
    display: none;
  }

  .filter-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    min-width: 0;
    max-width: 100%;
  }

  .filter-pills::-webkit-scrollbar {
    display: none;
  }

  .filter-pill {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 6px 14px;
    font-size: 13px;
  }

  .filter-sort-wrap {
    margin-left: 0;
    width: 100%;
  }

  .sort-select {
    width: 100%;
    height: 44px;
    font-size: 16px;
  }

  .product-card__body {
    padding: 16px;
  }



  /* Task 2: Mobile Drawer potenziato */
  .mobile-drawer__panel {
    width: min(400px, 92vw);
  }

  .mobile-drawer__backdrop {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .mobile-nav a {
    font-size: clamp(1.3rem, 5vw, 1.6rem);
    font-family: var(--font-heading);
    padding-block: 16px;
    text-transform: uppercase;
    min-height: 44px;
  }

  /* Task 4: Padding e respiri generali */
  .service-card,
  .mini-card,
  .team-card {
    padding: 24px;
  }

  /* Bug 1: Hero mobile - riduce altezza minima e padding */
  .hero {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 40px
  }

  /* Bug 2: Spazi verticali sezioni su mobile */
  .section {
    padding-block: clamp(40px, 8vw, 64px)
  }

  .section-sm {
    padding-block: clamp(24px, 5vw, 40px)
  }

  .hero__inner {
    padding-block: 32px
  }

  .hero__slogan {
    font-size: clamp(3rem, 16vw, 6rem);
    margin-bottom: 24px
  }

  .hero__lead {
    font-size: 1rem;
    margin-bottom: 24px
  }

  .hero__cta {
    margin-bottom: 24px
  }

  /* Bug 3: Stats grid - 3 elementi su riga unica per mobile stretto */
  .stats-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .stat-item {
    padding: 20px 12px
  }

  .stat-num {
    font-size: clamp(1.8rem, 6vw, 2.5rem)
  }

  /* Bug 4: Modal foto - sfondo coerente con lo sheet */
  .product-modal__visual {
    background: var(--surface);
    min-height: 220px;
    height: 36vh
  }

  [data-theme="light"] .product-modal__visual {
    background: var(--surface)
  }

  .contact-row--wa {
    padding: 20px
  }

  .contact-link--wa {
    font-size: 16px
  }
}

/* ─── NEW EDITORIAL HOMEPAGE ───────────────────────────────────── */
.hero--editorial {
  min-height: 90svh;
}

@media (max-width: 400px) {
  .hero__slogan {
    font-size: clamp(3rem, 18vw, 4.5rem) !important;
  }
}

.ed-services-section {
  padding-top: 0;
}

.ed-services-list {
  border-top: 1px solid var(--border);
}

.ed-service {
  display: grid;
  grid-template-columns: 40px 1fr 48px;
  align-items: center;
  gap: 32px;
  padding: 40px 16px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  border-radius: var(--r-md);
  transition: background var(--t-fast) ease, transform var(--t-fast) ease;
}

.ed-service:hover {
  background: var(--surface-2);
}

.ed-service__num {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--text-muted);
}

.ed-service__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ed-service__content h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 0;
  transition: color var(--t-fast) ease;
}

.ed-service:hover .ed-service__content h2 {
  color: var(--accent);
}

.ed-service__content p {
  font-size: clamp(13px, 2vw, 15px);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  margin: 0;
}

.ed-service__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background var(--t-fast) ease, color var(--t-fast) ease, transform var(--t-mid) var(--ease-out), border-color var(--t-fast) ease;
}

.ed-service:hover .ed-service__arrow {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateX(8px);
}

@media (max-width: 768px) {
  .ed-service {
    grid-template-columns: 30px 1fr;
    gap: 16px;
    padding: 32px 12px;
  }
  .ed-service__arrow {
    display: none;
  }
}

.photo-editorial {
  position: relative;
  padding-block: 40px;
}

.photo-editorial__inner {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface-2);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.photo-editorial__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.photo-editorial__text {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px;
  background: rgba(8, 8, 8, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--r-md);
}

[data-theme="light"] .photo-editorial__text {
  background: rgba(255, 255, 255, 0.6);
}

.photo-editorial__text h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin: 0;
  color: #fff;
  line-height: 0.9;
}

[data-theme="light"] .photo-editorial__text h2 {
  color: #111;
}

@media (max-width: 768px) {
  .photo-editorial__inner {
    min-height: 320px;
  }
  .photo-editorial__text h2 {
    font-size: 2.2rem;
  }
}

.stat-editorial-section {
  padding-top: 40px;
}

.stat-editorial-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
  gap: 24px;
}

.stat-editorial-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.stat-editorial-num {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: 0.9;
  color: var(--text);
}

.stat-editorial-label {
  font-size: clamp(14px, 2vw, 16px);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 12px;
}

@media (max-width: 768px) {
  .stat-editorial-grid {
    flex-direction: column;
    padding: 40px 0;
    gap: 40px;
  }
}

.final-cta-section {
  text-align: center;
  padding-block: clamp(80px, 12vw, 140px);
}

.final-cta h2 {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  margin-bottom: 48px;
}

/* STATIC ED-SERVICE (No hover) */
.ed-service--static { cursor: default !important; }
.ed-service--static:hover { background: var(--surface-2) !important; border-color: var(--border) !important; transform: none !important; }
.ed-service--static:hover .ed-service__content h2 { color: var(--text) !important; }
