/* ═══════════════════════════════════════════════════
   MOOD CHAIR — Design System & Styles
   Palette: deep black + neon accent (cyan/violet/magenta)
   Fonts: Clash Display (display) + Satoshi (body)
   ═══════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root {
  /* Type Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 5vw, 5.5rem);
  --text-hero: clamp(3rem, 0.5rem + 7.5vw, 8rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-interactive: 220ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Fonts */
  --font-display: 'Clash Display', 'Helvetica Neue', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;
}

/* ── DARK PALETTE (default — this product is always dark) ── */
:root,
[data-theme='dark'] {
  --color-bg: #080810;
  --color-surface: #0e0e1a;
  --color-surface-2: #12121f;
  --color-surface-offset: #181828;
  --color-border: #2a2a40;
  --color-divider: #1e1e30;

  --color-text: #e8e8f0;
  --color-text-muted: #8888a8;
  --color-text-faint: #4a4a68;
  --color-text-inverse: #080810;

  /* Neon accents */
  --accent: #a855f7;           /* violet */
  --accent-cyan: #06b6d4;      /* cyan */
  --accent-magenta: #ec4899;   /* magenta */
  --accent-green: #10b981;     /* emerald */
  --accent-yellow: #f59e0b;    /* amber */

  /* Glow colors per card */
  --glow-violet: 168, 85, 247;
  --glow-green: 16, 185, 129;
  --glow-yellow: 245, 158, 11;
  --glow-cyan: 6, 182, 212;

  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
  --shadow-md: 0 4px 16px rgb(0 0 0 / 0.5);
  --shadow-lg: 0 12px 40px rgb(0 0 0 / 0.6);
  --shadow-glow: 0 0 30px rgb(168 85 247 / 0.3), 0 0 80px rgb(168 85 247 / 0.12);
}

/* ── LIGHT MODE (minimal, still futuristic) ── */
[data-theme='light'] {
  --color-bg: #f4f4fc;
  --color-surface: #ffffff;
  --color-surface-2: #f9f9fe;
  --color-surface-offset: #ededf8;
  --color-border: #d4d4e8;
  --color-divider: #e4e4f0;

  --color-text: #0a0a18;
  --color-text-muted: #5a5a78;
  --color-text-faint: #a0a0be;
  --color-text-inverse: #ffffff;

  --accent: #7c3aed;
  --accent-cyan: #0891b2;
  --accent-magenta: #db2777;
  --accent-green: #059669;

  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.06);
  --shadow-md: 0 4px 16px rgb(0 0 0 / 0.08);
  --shadow-lg: 0 12px 40px rgb(0 0 0 / 0.12);
  --shadow-glow: 0 0 30px rgb(124 58 237 / 0.15), 0 0 80px rgb(124 58 237 / 0.06);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #080810;
    --color-surface: #0e0e1a;
    --color-surface-2: #12121f;
    --color-surface-offset: #181828;
    --color-border: #2a2a40;
    --color-divider: #1e1e30;
    --color-text: #e8e8f0;
    --color-text-muted: #8888a8;
    --color-text-faint: #4a4a68;
    --color-text-inverse: #080810;
    --accent: #a855f7;
    --accent-cyan: #06b6d4;
    --accent-magenta: #ec4899;
    --accent-green: #10b981;
    --shadow-glow: 0 0 30px rgb(168 85 247 / 0.3), 0 0 80px rgb(168 85 247 / 0.12);
  }
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-20);
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'], ol[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.1; font-family: var(--font-display); }
p, li { text-wrap: pretty; max-width: 72ch; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── SELECTION ── */
::selection { background: rgb(168 85 247 / 0.25); color: var(--color-text); }

/* ═══════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--space-4) var(--space-8);
  transition: background var(--transition-slow), backdrop-filter var(--transition-slow), border-color var(--transition-slow);
  border-bottom: 1px solid transparent;
  background-color: rgba(0, 0, 0, .5);
}

.site-header.scrolled {
  background: color-mix(in oklab, var(--color-bg) 80%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--color-border);
}

.header-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.logo { display: flex; align-items: center; }
.logo-svg { width: 160px; height: 36px; color: var(--color-text); transition: color var(--transition-fast); }
.logo:hover .logo-svg { color: var(--accent); }
.logo-img { width: 240px; height: auto;}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}
.nav-link:hover { color: var(--color-text); }

.lang-toggle {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}
.lang-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

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

/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: var(--space-32) var(--space-8) var(--space-20);
  overflow: hidden;
}

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

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-img.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--color-bg) 0%, rgb(8 8 16 / 0.7) 40%, rgb(8 8 16 / 0.3) 70%, transparent 100%),
    linear-gradient(to right, rgb(8 8 16 / 0.5) 0%, transparent 60%);
}

[data-theme='light'] .hero-overlay {
  background:
    linear-gradient(to top, var(--color-bg) 0%, rgb(244 244 252 / 0.8) 40%, rgb(244 244 252 / 0.4) 70%, transparent 100%),
    linear-gradient(to right, rgb(244 244 252 / 0.6) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--content-wide);
  width: 100%;
  margin: 0 auto;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  max-width: 16ch;
}

.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s forwards;
}
.hero-title .line:nth-child(1) { animation-delay: 0.5s; }
.hero-title .line:nth-child(2) { animation-delay: 0.7s; }

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

[data-theme='light'] .accent-word {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-cyan) 60%, var(--accent-magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 52ch;
  margin-bottom: var(--space-10);
  font-weight: 400;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.9s forwards;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 1.1s forwards;
}

/* Hero slideshow dots */
.hero-dots {
  position: absolute;
  bottom: var(--space-8);
  right: var(--space-8);
  z-index: 3;
  display: flex;
  gap: var(--space-2);
}
.dot {
  width: 8px; height: 8px;
  border-radius: var(--radius-full);
  background: rgb(255 255 255 / 0.3);
  border: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.dot.active { background: var(--accent); transform: scale(1.3); }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  opacity: 0;
  animation: fadeIn 1s 2s forwards;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s infinite;
}

/* ═══════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  background: var(--accent);
  color: white;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  transition: background var(--transition-interactive), box-shadow var(--transition-interactive), transform var(--transition-fast);
  box-shadow: 0 0 20px rgb(168 85 247 / 0.35);
}
.btn-primary:hover {
  background: color-mix(in oklab, var(--accent) 85%, white);
  box-shadow: 0 0 40px rgb(168 85 247 / 0.5), 0 4px 20px rgb(0 0 0 / 0.3);
  transform: translateY(-2px);
}
.btn-primary.btn-full { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  transition: border-color var(--transition-interactive), color var(--transition-interactive), background var(--transition-fast);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgb(168 85 247 / 0.05);
}

/* ═══════════════════════════════════════════════════
   SECTION COMMONS
   ═══════════════════════════════════════════════════ */
.label-chip {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding: var(--space-1) var(--space-4);
  border: 1px solid rgb(168 85 247 / 0.3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
  background: rgb(168 85 247 / 0.06);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-5);
  line-height: 1.05;
}

.section-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 56ch;
  margin-bottom: var(--space-16);
}

/* ═══════════════════════════════════════════════════
   AMBIENTI
   ═══════════════════════════════════════════════════ */
.ambienti {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) var(--space-8);
  background: var(--color-bg);
}

.section-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
}

.section-header { max-width: 640px; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.env-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), border-color var(--transition-interactive);
}

.env-card[data-color='violet']:hover {
  border-color: rgb(168 85 247 / 0.5);
  box-shadow: 0 0 40px rgb(var(--glow-violet) / 0.15), var(--shadow-lg);
  transform: translateY(-6px);
}
.env-card[data-color='green']:hover {
  border-color: rgb(16 185 129 / 0.5);
  box-shadow: 0 0 40px rgb(var(--glow-green) / 0.15), var(--shadow-lg);
  transform: translateY(-6px);
}
.env-card[data-color='yellow']:hover {
  border-color: rgb(245 158 11 / 0.5);
  box-shadow: 0 0 40px rgb(var(--glow-yellow) / 0.15), var(--shadow-lg);
  transform: translateY(-6px);
}

.card-img-wrap {
  position: relative;
  /*aspect-ratio: 4 / 3;*/
  overflow: hidden;
}
.card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.env-card:hover .card-img-wrap img { transform: scale(1.06); }

.card-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-surface) 0%, transparent 50%);
  pointer-events: none;
}

.card-body {
  padding: var(--space-6) var(--space-6) var(--space-8);
}
.card-number {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-2);
}
.card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.card-text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════
   FEATURES STRIP
   ═══════════════════════════════════════════════════ */
.features {
  padding: clamp(var(--space-12), 6vw, var(--space-24)) var(--space-8);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.features-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr); /* 4 items + 3 dividers */
  align-items: center;
  gap: 0;
}

.feat-item {
  padding: var(--space-6) var(--space-8);
  text-align: center;
}
.feat-icon {
  width: 44px; height: 44px;
  margin: 0 auto var(--space-4);
  color: var(--accent);
  opacity: 0.85;
}
.feat-icon svg { width: 100%; height: 100%; }

.feat-item h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}
.feat-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 24ch;
  margin: 0 auto;
}

.feat-divider {
  width: 1px;
  height: 60px;
  background: var(--color-border);
  justify-self: center;
}

/* ═══════════════════════════════════════════════════
   GALLERY STRIP
   ═══════════════════════════════════════════════════ */
.gallery-strip {
  padding: clamp(var(--space-16), 6vw, var(--space-24)) var(--space-8);
  background: var(--color-bg);
  overflow: hidden;
}

.gallery-track {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.gallery-item {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.gallery-item:nth-child(2) {
  margin-top: var(--space-12);
}
.gallery-item:nth-child(3) {
  margin-top: var(--space-6);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  filter: saturate(1.1);
}
.gallery-item:hover img { transform: scale(1.05); }

/* ═══════════════════════════════════════════════════
   CONTATTI
   ═══════════════════════════════════════════════════ */
.contatti {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) var(--space-8);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.contatti-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-12), 6vw, var(--space-24));
  align-items: start;
}

.contatti .section-title {
  font-size: var(--text-2xl);
}

.contatti-text .section-sub { margin-bottom: var(--space-6); }

.contact-detail { margin-top: var(--space-6); }
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--accent);
  font-weight: 500;
  transition: color var(--transition-fast);
}
.contact-link:hover { color: var(--accent-cyan); }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  background: var(--color-surface-2, var(--color-bg));
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.form-group label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  font-family: var(--font-display);
}
.form-group input,
.form-group textarea {
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-text-faint); }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgb(168 85 247 / 0.15);
}

.form-success {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--accent-green, #10b981);
  padding: var(--space-3);
  background: rgb(16 185 129 / 0.08);
  border-radius: var(--radius-md);
  border: 1px solid rgb(16 185 129 / 0.2);
}
.hidden { display: none; }

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.site-footer {
  padding: var(--space-8) var(--space-8);
  background: var(--color-bg);
  border-top: 1px solid var(--color-divider);
}
.footer-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-text-faint);
}
.footer-copy {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer-link {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}
.footer-link:hover { color: var(--accent); }

/* ═══════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════ */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.6); }
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .cards-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .contatti-inner { grid-template-columns: 1fr; }
  .features-inner {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto auto auto;
  }
  .feat-divider { display: none; }
  .gallery-track { grid-template-columns: 1fr 1fr; }
  .gallery-item:nth-child(3) { display: none; }
  .gallery-item:nth-child(2) { margin-top: var(--space-8); }
}

@media (max-width: 640px) {
  .site-header { padding: var(--space-3) var(--space-5); }
  .header-nav { gap: var(--space-4); }
  .nav-link { display: none; }
  .hero { padding: var(--space-24) var(--space-5) var(--space-16); align-items: flex-end; }
  .hero-cta { flex-direction: column; gap: var(--space-3); }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; text-align: center; }
  .ambienti, .contatti, .gallery-strip { padding-inline: var(--space-5); }
  .features { padding-inline: var(--space-5); }
  .features-inner { grid-template-columns: 1fr; }
  .feat-item { padding: var(--space-5); }
  .gallery-track { grid-template-columns: 1fr; }
  .gallery-item:nth-child(2), .gallery-item:nth-child(3) { display: none; }
  .gallery-item:nth-child(2) { margin-top: 0; }
  .contact-form { padding: var(--space-5); }
  .footer-inner { flex-direction: column; text-align: center; gap: var(--space-3); }
}
