/* ================================================================
   SPACESTUDIO — EDITORIAL DESIGN SYSTEM v2
   Direzione: Minimalista · Sofisticato · Alto contrasto editoriale
   ================================================================ */

/* ──────────────────────────────────────────────────────────────
   0. DESIGN TOKENS
────────────────────────────────────────────────────────────── */
:root {
  /* Light base (default) */
  --bg: #f7f7f7;
  --bg-alt: #efefef;
  --bg-pure: #ffffff;
  --fg: #232323;
  --fg-muted: rgba(35, 35, 35, 0.50);
  --fg-subtle: rgba(35, 35, 35, 0.22);
  --fg-hairline: rgba(35, 35, 35, 0.10);

  /* Dark section (inverted) */
  --dark-bg: #232323;
  --dark-fg: #f7f7f7;
  --dark-muted: rgba(247, 247, 247, 0.48);
  --dark-subtle: rgba(247, 247, 247, 0.18);
  --dark-hairline: rgba(247, 247, 247, 0.09);

  /* Accent — usato chirurgicamente */
  --accent: #c9d22b;
  --accent-dim: rgba(201, 210, 43, 0.15);

  /* Navbar capsule */
  --nav-h: 62px;
  --nav-top: 16px;
  --nav-max: 1100px;

  /* Glass */
  --glass-bg: rgba(247, 247, 247, 0.62);
  --glass-border: rgba(35, 35, 35, 0.08);
  --glass-blur: 24px;

  /* Typography */
  --font: 'Host Grotesk', system-ui, sans-serif;

  /* Spacing */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 2.5rem;
  --sp-xl: 4rem;
  --sp-2xl: 6rem;
  --sp-3xl: 8rem;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 150ms;
  --t-base: 300ms;
  --t-slow: 600ms;

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  /* card radius */
  --r-full: 9999px;

  --max-w: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  height: auto;
  min-height: 100vh;
  overflow-x: clip;
  /* clip invece di hidden: non crea scroll container e preserva position:sticky */
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  height: auto;
  min-height: 100vh;
  overflow-x: clip;
  /* clip invece di hidden: non crea scroll container e preserva position:sticky */
  -webkit-font-smoothing: antialiased;
}

/* Anti sub-pixel seam: previene la finissima linea scura ai bordi tra sezioni */
#hero,
.services-section,
#showcase,
.portfolio-section,
.who-section,
.who-centered-quote-block,
.clients-section {
  position: relative;
  margin-bottom: -1px;
  border: none !important;
  outline: none !important;
}

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

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

ul,
ol {
  list-style: none;
}

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

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

/* ──────────────────────────────────────────────────────────────
   2. TYPOGRAPHY HELPERS
────────────────────────────────────────────────────────────── */
.section-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: var(--sp-md);
}

.section-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.75;
}

.accent-text {
  font-style: italic;
}

/* solo enfasi tipografica, no colore pieno */

/* ──────────────────────────────────────────────────────────────
   3. LAYOUT
────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.section {
  padding-block: var(--sp-3xl);
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.section-header .section-subtitle {
  margin-inline: auto;
}

/* ──────────────────────────────────────────────────────────────
   4. DARK SECTION INVERSION
────────────────────────────────────────────────────────────── */
.dark-section {
  background: var(--dark-bg) !important;
  color: var(--dark-fg);
}

.dark-section .section-tag {
  color: var(--dark-muted);
}

.dark-section .section-title {
  color: var(--dark-fg);
}

.dark-section .section-subtitle {
  color: var(--dark-muted);
}

/* ──────────────────────────────────────────────────────────────
   5. BUTTONS
────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.8em 1.8em;
  border-radius: var(--r-full);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  transition: all var(--t-base) var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-primary {
  background: var(--fg);
  color: var(--bg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(35, 35, 35, 0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1.5px solid var(--fg-hairline);
}

.btn-ghost:hover {
  border-color: var(--fg);
  transform: translateY(-2px);
}

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

.btn-icon {
  font-size: 1.1em;
  transition: transform var(--t-base) var(--ease-out);
}

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

/* Hero buttons (dark context) */
.hero-section .btn-primary {
  background: var(--dark-fg);
  color: var(--dark-bg);
}

.hero-section .btn-ghost {
  color: var(--dark-fg);
  border-color: rgba(247, 247, 247, 0.2);
}

.hero-section .btn-ghost:hover {
  border-color: rgba(247, 247, 247, 0.6);
}

/* ──────────────────────────────────────────────────────────────
   6. NAVBAR – Floating Capsule / Liquid Glass
────────────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: var(--nav-top);
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  width: 90%;
  max-width: var(--nav-max);
  height: var(--nav-h);
  z-index: 1000;
  border-radius: var(--r-full);
  border: none !important;
  outline: none !important;
  background-clip: padding-box;
  transition: background var(--t-slow) var(--ease-inout),
    backdrop-filter var(--t-slow),
    box-shadow var(--t-slow);
}

#navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  box-shadow: 0 4px 32px rgba(35, 35, 35, 0.07);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-inline: 1.75rem;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  transition: opacity var(--t-base);
  flex: 0 0 auto;
}

.nav-logo:hover {
  opacity: 0.65;
}

.nav-logo-img {
  max-height: 40px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-link {
  display: inline-block;
  padding: 0.4em 0.85em;
  font-weight: 500;
  font-size: 0.87rem;
  color: var(--fg-muted);
  border-radius: var(--r-full);
  transition: color var(--t-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--fg);
}

.cta-link {
  color: var(--fg) !important;
  font-weight: 700;
  border-left: 1px solid var(--fg-hairline);
  margin-left: 0.6rem;
  padding-left: 1rem;
  border-radius: 0;
  position: relative;
}

.cta-link::after {
  content: '';
  position: absolute;
  bottom: 0.3em;
  right: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background: transparent;
  border: none;
  z-index: 10000;
  pointer-events: auto !important;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease-out), opacity var(--t-base);
  pointer-events: none;
}

.nav-toggle-checkbox:checked+.nav-toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle-checkbox:checked+.nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-toggle-checkbox:checked+.nav-toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ──────────────────────────────────────────────────────────────
   7. HERO (sempre dark — sfondo cinematografico per il 3D)
────────────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark-bg);
}

#fluidCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
  /* Cattura il mouse per simulare il fluido */
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  /* Lascia passare il mouse al fluido sottostante */
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 55%, transparent 20%, rgba(20, 20, 20, 0.75) 62%, #232323 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1300px;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  padding-top: calc(var(--nav-h) + var(--nav-top) + 1rem);
  animation: heroIn 1s var(--ease-out) 0.15s both;
  pointer-events: auto;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 247, 247, 0.4);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  font-weight: 800;
  line-height: 1.01;
  letter-spacing: -0.045em;
  color: var(--dark-fg);
  margin-bottom: 1.5rem;
  max-width: 1200px;
  margin-inline: auto;
}

.hero-title .accent-text {
  color: var(--accent) !important;
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  font-weight: 300;
  color: rgba(247, 247, 247, 0.45);
  line-height: 1.85;
  max-width: 440px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(247, 247, 247, 0.22);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(247, 247, 247, 0.22), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: .3;
    transform: scaleY(1)
  }

  50% {
    opacity: 1;
    transform: scaleY(1.1)
  }
}

/* ──────────────────────────────────────────────────────────────
   8. SERVICES – 4 card indipendenti arrotondate
────────────────────────────────────────────────────────────── */
.services-section {
  background: var(--bg);
  position: relative;
  margin-bottom: -1px;
  border: none !important;
  outline: none !important;
}

.services-section .container {
  max-width: 1400px;
}

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

.service-card {
  background: var(--bg-pure);
  border-radius: var(--r-xl);
  /* 24px — marcatamente arrotondati */
  border: none;
  box-shadow: 0 2px 20px rgba(35, 35, 35, 0.055), 0 1px 3px rgba(35, 35, 35, 0.035);
  padding: 2rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(35, 35, 35, 0.09), 0 2px 8px rgba(35, 35, 35, 0.05);
}

/* Linea accent — appare solo su hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2.25rem;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 0 0 2px 2px;
  transition: width var(--t-slow) var(--ease-out);
}

.service-card:hover::before {
  width: calc(100% - 4.5rem);
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.service-icon {
  width: 38px;
  height: 38px;
  color: var(--fg-muted);
  transition: color var(--t-base);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card:hover .service-icon {
  color: var(--fg);
}

.service-number {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: rgba(35, 35, 35, 0.06);
  line-height: 1;
  pointer-events: none;
  transition: color var(--t-base);
}

.service-card:hover .service-number {
  color: rgba(35, 35, 35, 0.1);
}

.service-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.service-desc {
  font-size: 1.15rem;
  font-weight: 400;
  color: #2d2d2d;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-list li {
  font-size: 1.1rem;
  font-weight: 500;
  color: #2d2d2d;
  padding-left: 1rem;
  position: relative;
  letter-spacing: 0.01em;
}

.service-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.6rem;
  line-height: 0.95;
}

/* ──────────────────────────────────────────────────────────────
   9. SHOWCASE – Center-Focus Parallax Slider
────────────────────────────────────────────────────────────── */
.showcase-section {
  background: #ffffff;
}

.showcase-pin-wrapper {
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
  width: 100%;
  position: relative;
}

.showcase-header-fixed {
  position: absolute;
  top: clamp(6rem, 12vh, 10rem);
  left: clamp(1.5rem, 6vw, 4rem);
  z-index: 10;
  pointer-events: none;
}

.showcase-header-fixed .section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 0;
  color: #111111;
}

.showcase-header-fixed .section-tag {
  color: rgba(17, 17, 17, 0.5);
}

/* ─────────────────────────────────────────────────────────────
   SHOWCASE – CSS Sticky + GSAP x-only (sistema indistruttibile)
   La sezione esterna crea la "pista di scroll" con altezza fissa.
   Il contenitore interno si blocca con CSS sticky (non GSAP pin).
   GSAP anima SOLO la proprietà x dei binari.
   ──────────────────────────────────────────────────────────── */
#showcase {
  position: relative;
  width: 100%;
  /* 100vh schermo + 7 card da 52vh di scroll = pista completa */
  height: 900vh;
  overflow: visible;
  background: #ffffff;
  margin: 0;
  padding: 0;
}

.portfolio-container {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #ffffff;
}

.portfolio-bg-container,
.portfolio-fg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.portfolio-card {
  width: var(--showcase-card-w, 52vh);
  height: var(--showcase-card-h, 65vh);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.portfolio-track-bg .portfolio-card img {
  width: 82%;
  height: 82%;
  object-fit: cover;
  opacity: 0.25;
  border-radius: 8px;
  transition: opacity 0.3s;
}

.portfolio-track-fg .portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  border-radius: 8px;
}

.portfolio-fg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 5;
  pointer-events: none;
  clip-path: inset(var(--showcase-clip-y, 17.5vh) calc(50vw - var(--showcase-card-w-half, 26vh)));
  -webkit-clip-path: inset(var(--showcase-clip-y, 17.5vh) calc(50vw - var(--showcase-card-w-half, 26vh)));
}

.portfolio-focus-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54vh;
  height: 67vh;
  transform: translate(-50%, -50%);
  border: 2px dashed #c9d22b;
  border-radius: 10px;
  z-index: 10;
  pointer-events: none;
}

/* Caption */
.slide-caption {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-inline: 0.5rem;
  opacity: 1;
  /* GSAP manipulerà l'opacity dell'intero slide, quindi qui resta a 1 */
}

.slide-caption .caption-client {
  color: #111111;
  font-weight: 700;
  font-size: 1.1rem;
}

.slide-caption .caption-type {
  color: #555555;
  font-weight: 500;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Progress bar — sottile linea accent */
.showcase-progress-bar {
  height: 1px;
  background: rgba(35, 35, 35, 0.1);
  margin-inline: clamp(1.25rem, 6vw, 4rem);
}

.showcase-progress-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.06s linear;
}

/* ──────────────────────────────────────────────────────────────
   10. CHI SIAMO – Layout editoriale monumentale
────────────────────────────────────────────────────────────── */

/* Sezione wrapper */
.who-section {
  background: #f7f7f7;
  color: #111111;
  padding: 18vh 8vw 0;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

/* ── BLOCCO 1: CLAIM MONUMENTALE ── */
.who-claim-block {
  max-width: 100%;
  margin-bottom: 14vh;
}

.who-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.45);
  margin-bottom: 2rem;
}

.who-claim-title {
  font-size: clamp(3rem, 6vw + 1rem, 7rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #111111;
  margin-bottom: 3rem;
  max-width: 18ch;
}

.who-title-green {
  color: #c9d22b;
  font-style: normal;
}

.who-title-black {
  color: #111111;
  font-style: normal;
}

.who-accent {
  font-style: italic;
  color: #c9d22b;
}

.who-claim-lead {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 400;
  color: rgba(17, 17, 17, 0.6);
  line-height: 1.8;
  max-width: 60ch;
}

/* ── BLOCCO 2: BODY GRID (backstage + manifesto) ── */
.who-body-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 8vh 6vw;
  align-items: start;
}

/* Colonna sinistra: immagine backstage + citazione */
.who-backstage-col {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
}

.showcase-backstage-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(17, 17, 17, 0.06);
}

.showcase-backstage-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.showcase-backstage-wrapper:hover img {
  transform: scale(1.03);
}

.backstage-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.55), transparent);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.backstage-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.backstage-sub {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.who-quote {
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 400;
  color: rgba(17, 17, 17, 0.55);
  line-height: 1.75;
  border-left: 2px solid #c9d22b;
  padding-left: 1.25rem;
  margin: 0;
}

/* Colonna destra: tag + griglia 4 pilastri + firma */
.who-manifesto-col {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.who-method-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.45);
}

.who-manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vh 4vw;
}

.who-manifesto-item {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.who-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #c9d22b;
  text-transform: uppercase;
}

.who-manifesto-title {
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  font-weight: 700;
  color: #111111;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 1.2rem 0;
}

.who-manifesto-body {
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(17, 17, 17, 0.58);
  line-height: 1.85;
  margin: 0;
}

/* ── CITAZIONE CENTRATA ── */
.who-centered-quote-block {
  background: #f7f7f7;
  display: flex;
  justify-content: center;
  padding: 12vh 8vw 12vh;
}

.who-centered-quote {
  max-width: 800px;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 700;
  font-style: italic;
  color: #111111;
  line-height: 1.55;
  text-align: center;
  letter-spacing: -0.02em;
  margin: 0;
  border: none;
  padding: 0;
  position: relative;
}

.who-centered-quote::before {
  content: '\201C';
  display: block;
  font-size: 4rem;
  line-height: 1;
  color: #c9d22b;
  margin-bottom: 1rem;
  font-style: normal;
}

/* Firma */
.who-signature {
  padding-top: 2rem;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sig-role {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.4);
}

.sig-name {
  font-size: 1rem;
  font-weight: 700;
  color: #111111;
  font-style: italic;
}

/* ──────────────────────────────────────────────────────────────
   11. CLIENT LOGOS – Marquee CSS infinito senza interruzioni
────────────────────────────────────────────────────────────── */
.clients-section {
  padding-block: var(--sp-xl);
  background: var(--bg-alt);
  border-top: 1px solid var(--fg-hairline);
  border-bottom: 1px solid var(--fg-hairline);
  overflow: hidden;
}

.clients-tag {
  display: block;
  text-align: center;
  margin-bottom: var(--sp-lg);
}

.marquee-wrapper {
  position: relative;
  overflow: hidden;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-alt), transparent);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-alt), transparent);
}

/* Il track contiene SET-A + SET-B identici.
   Animazione: da 0 → -50% (esattamente un set). Loop seamless. */
.marquee-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  animation: marqueeScroll 45s linear infinite;
  width: max-content;
}

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

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.marquee-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(35, 35, 35, 0.18);
  flex-shrink: 0;
}

.logo-text-only {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: rgba(35, 35, 35, 0.25);
  white-space: nowrap;
  transition: color var(--t-base);
}

.marquee-item:hover .logo-text-only {
  color: var(--fg);
}

.marquee-logo {
  height: 70px !important;
  /* Spinto a 70px per una visibilità perfetta */
  width: auto !important;
  object-fit: contain !important;
  margin: 0 45px !important;
  /* Più spazio tra un logo e l'altro */
  opacity: 0.65;
  transition: all 0.3s ease;
}

.marquee-logo:hover {
  opacity: 1 !important;
  transform: scale(1.05);
  /* Un leggerissimo zoom quando ci si passa sopra con il mouse */
}

/* ──────────────────────────────────────────────────────────────
   12. PORTFOLIO – Layout asimmetrico editoriale (REF-style)
────────────────────────────────────────────────────────────── */
.portfolio-section {
  background: var(--bg);
  overflow: hidden;
}

.portfolio-ref-wrapper {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  margin-top: 2rem;
}

/* Etichette ai 4 angoli */
.portfolio-ref-label {
  position: absolute;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.1;
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  pointer-events: none;
}

.portfolio-ref-label--top-left {
  top: 0;
  left: 0;
}

.portfolio-ref-label--top-right {
  top: 0;
  right: 0;
  text-align: right;
}

.portfolio-ref-label--bottom-left {
  bottom: 0;
  left: 0;
}

.portfolio-ref-label--bottom-right {
  bottom: 0;
  right: 0;
  text-align: right;
}

/* Griglia quadrata centrale */
.portfolio-ref-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  width: min(800px, 100%);
  aspect-ratio: 1;
  /* perfectly square */
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.portfolio-ref-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(35, 35, 35, 0.06);
  background: var(--bg-pure);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  /* Force square cards too */
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  will-change: transform;
}

.portfolio-ref-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Effetto mouse hover interattivo (CSS base + JS) */
.portfolio-ref-card:hover {
  transform: scale(1.08);
  z-index: 10;
  box-shadow: 0 16px 48px rgba(35, 35, 35, 0.2);
}

.portfolio-ref-img {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.portfolio-ref-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2);
  transition: transform var(--t-slow) var(--ease-out), filter var(--t-slow);
}

.portfolio-ref-card:hover .portfolio-ref-img img {
  transform: scale(1.05);
  filter: grayscale(0);
}

/* Metadati sopra l'immagine (stile sfumatura) */
.portfolio-ref-meta {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--t-base);
}

.portfolio-ref-card:hover .portfolio-ref-meta {
  opacity: 1;
}

.portfolio-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-bottom: 0.3rem;
}

.portfolio-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.25rem;
}

/* ──────────────────────────────────────────────────────────────
   13. PORTFOLIO MODALS
────────────────────────────────────────────────────────────── */
.clickable-project {
  cursor: pointer;
}

.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 5, 0.8) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px);
}

.modal-content {
  position: relative;
  width: 90vw;
  max-width: 1300px;
  height: 80vh;
  background: #0a0a0a !important;
  /* Nero opaco premium */
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  z-index: 2;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.modal-body-layout {
  display: grid !important;
  grid-template-columns: 0.8fr 1.2fr !important;
  /* Taglio asimmetrico moderno */
  width: 100%;
  height: 100%;
}

.modal-img-col {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.modal-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  /* Taglio perfetto senza distorsione */
  filter: grayscale(10%) contrast(105%);
}

.modal-text-col {
  padding: 6vw 5vw !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #0a0a0a;
}

.modal-category {
  font-family: 'Host Grotesk', sans-serif !important;
  font-size: 0.75rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.25em !important;
  color: #c9d22b !important;
  /* Il vostro iconico verde acido */
  margin-bottom: 12px !important;
}

.modal-title {
  font-family: 'Host Grotesk', sans-serif !important;
  font-size: calc(2.2rem + 1vw) !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.1 !important;
  margin-bottom: 24px !important;
  letter-spacing: -0.02em !important;
}

.modal-desc {
  font-family: 'Host Grotesk', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 300 !important;
  line-height: 1.7 !important;
  color: #a0a0a0 !important;
  max-width: 100% !important;
}

.close-modal {
  position: absolute !important;
  top: 30px;
  right: 30px;
  background: none !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 2.5rem !important;
  font-weight: 200 !important;
  cursor: pointer !important;
  z-index: 100 !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease !important;
  line-height: 1;
}

.close-modal:hover {
  transform: rotate(90deg) !important;
  color: #c9d22b !important;
}

/* ──────────────────────────────────────────────────────────────
   14. CONTACT FORM – underline-only · focus accent
────────────────────────────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.contact-info {
  position: sticky;
  top: calc(var(--nav-h) + var(--nav-top) + 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-lead {
  font-size: 0.98rem;
  font-weight: 400;
  color: var(--dark-muted);
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
}

.contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: rgba(247, 247, 247, 0.3);
}

.contact-link {
  color: var(--dark-muted);
  transition: color var(--t-fast);
}

.contact-link:hover {
  color: var(--dark-fg);
}

/* Form — campo underline only */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(247, 247, 247, 0.35);
}

/* INPUT: nessun bordo, nessun box — solo linea inferiore */
.form-input,
.form-select,
.form-textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(247, 247, 247, 0.18);
  border-radius: 0;
  padding: 0.6em 0;
  color: var(--dark-fg);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  width: 100%;
  outline: none;
  transition: border-color var(--t-base);
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(247, 247, 247, 0.2);
  font-style: italic;
}

/* Focus: la linea diventa verde acido */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-bottom-color: var(--accent);
  box-shadow: 0 1px 0 0 var(--accent);
}

.form-textarea {
  resize: none;
  min-height: 100px;
}

.form-error {
  font-size: 0.73rem;
  color: rgba(220, 80, 80, 0.8);
  min-height: 1em;
}

/* Select */
.select-wrapper {
  position: relative;
}

.select-arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: rgba(247, 247, 247, 0.3);
  pointer-events: none;
}

.form-select {
  padding-right: 1.5em;
  cursor: pointer;
}

.form-select option {
  background: var(--dark-bg);
  color: var(--dark-fg);
}

/* Checkbox */
.form-footer-group {
  flex-direction: column;
  gap: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.83rem;
  font-weight: 400;
  color: var(--dark-muted);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 1px solid rgba(247, 247, 247, 0.2);
  border-radius: 3px;
  background: transparent;
  appearance: none;
  cursor: pointer;
  position: relative;
  transition: background var(--t-fast), border-color var(--t-fast);
}

.checkbox-label input:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.checkbox-label input:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 2px;
  width: 6px;
  height: 3.5px;
  border-left: 1.5px solid #232323;
  border-bottom: 1.5px solid #232323;
  transform: rotate(-45deg);
}

.inline-link {
  color: rgba(247, 247, 247, 0.55);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.inline-link:hover {
  color: var(--dark-fg);
}

/* Submit button */
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-fg);
  cursor: pointer;
  padding: 0;
  letter-spacing: -0.01em;
  transition: color var(--t-base);
  position: relative;
}

.btn-submit::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--t-slow) var(--ease-out);
}

.btn-submit:hover::after {
  width: 100%;
}

.btn-submit:hover {
  color: rgba(247, 247, 247, 0.7);
}

.btn-submit .btn-icon {
  font-size: 1.2em;
  transition: transform var(--t-base) var(--ease-out);
}

.btn-submit:hover .btn-icon {
  transform: translateX(5px);
}

/* Success message */
.form-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-base), transform var(--t-base);
  border-top: 1px solid rgba(201, 210, 43, 0.2);
}

.form-success[aria-hidden="false"] {
  opacity: 1;
  transform: translateY(0);
}

.form-success svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────────────────────
   15. FOOTER
────────────────────────────────────────────────────────────── */
.site-footer {
  background: #c9d22b !important;
  color: #000000 !important;
  padding: 10vh 6vw 4vh 6vw;
  border: none;
  position: relative !important;
  overflow: hidden !important;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 16vh !important;
}

.footer-coord-block {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-coord-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #000000 !important;
  opacity: 0.5;
  /* Mantengo una sottile gerarchia visiva per i titoletti */
}

.footer-coord-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #000000 !important;
}

.footer-coord-content a {
  position: relative;
  width: fit-content;
  transition: transform var(--t-fast);
}

.footer-coord-content a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: #000000 !important;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-fast);
}

.footer-coord-content a:hover {
  transform: translateX(4px);
  color: rgba(0, 0, 0, 0.6) !important;
}

.footer-coord-content a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.local-time-indicator {
  color: #000000 !important;
}

.footer-mega-anchor {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.mega-footer-brand {
  font-family: 'Host Grotesk', sans-serif !important;
  text-transform: lowercase !important;
  font-size: 20vw !important;
  line-height: 0.7;
  letter-spacing: -0.03em;
  text-align: center;
  white-space: nowrap !important;

  position: absolute !important;
  bottom: -2.5vw !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 105vw !important;

  z-index: 0;
  pointer-events: none;
  user-select: none;
  color: #b5be22 !important;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.15) !important;
}

.mega-footer-brand span:first-child {
  font-weight: 700 !important;
}

.mega-footer-brand span:last-child {
  font-weight: 300 !important;
}

/* ──────────────────────────────────────────────────────────────
   16. SCROLL-DRIVEN ENTRY ANIMATIONS
────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes fadeUpIn {
      from {
        opacity: 0;
        transform: translateY(24px);
      }
    }

    @keyframes fadeOutExit {
      to {
        opacity: 0;
      }
    }

    .service-card,
    .portfolio-card,
    .manifesto-item {
      animation:
        fadeUpIn auto linear backwards,
        fadeOutExit auto linear forwards;
      animation-timeline: view();
      animation-range: entry 0% entry 22%, exit 88% exit 100%;
    }
  }
}

/* ──────────────────────────────────────────────────────────────
   17. RESPONSIVE
────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .who-section {
    padding: 12vh 6vw 14vh;
  }

  .who-body-grid {
    grid-template-columns: 1fr;
    gap: 5vh;
  }

  .who-backstage-col {
    position: static;
  }

  .showcase-backstage-wrapper {
    max-width: 420px;
  }

  .who-manifesto-grid {
    grid-template-columns: 1fr 1fr;
  }

  .who-manifesto-col {
    position: static;
  }

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

  .contact-info {
    position: static;
  }

  .portfolio-ref-wrapper {
    padding: 2rem;
  }

  .portfolio-ref-label {
    font-size: 1rem;
  }

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

  .footer-info-block {
    justify-content: flex-start;
  }

  .modal-inner {
    grid-template-columns: 1fr;
  }

  .modal-media {
    aspect-ratio: 16/9;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 54px;
    --nav-top: 10px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: calc(var(--nav-h) + var(--nav-top) + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background: rgba(247, 247, 247, 0.92) !important;
    backdrop-filter: blur(30px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    box-shadow: 0 8px 32px rgba(35, 35, 35, 0.1);
    z-index: 9999;
  }

  .nav-toggle-checkbox:checked~.nav-links {
    display: flex !important;
  }

  .nav-link {
    padding: 0.85em 1rem;
    border-radius: var(--r-md);
    font-size: 1rem;
  }

  .cta-link {
    border-left: none;
    margin-left: 0;
    padding-left: 1rem;
    border-radius: var(--r-md);
  }

  .cta-link::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: clamp(2.5rem, 12vw, 4.5rem);
  }

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

  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

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

  .showcase-slide {
    width: clamp(180px, 72vw, 280px);
  }

  .portfolio-ref-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .portfolio-ref-label {
    position: relative;
    display: block;
    text-align: left;
    margin-bottom: 0.5rem;
  }

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

  .footer-info-block {
    flex-direction: column;
    gap: 2rem;
  }

  :root {
    --showcase-card-w: 75vw;
    --showcase-card-h: 40vh;
    --showcase-card-w-half: 37.5vw;
    --showcase-clip-y: 30vh;
  }

  .marquee-track {
    gap: 0 !important;
  }

  .marquee-logo {
    margin: 0 5px !important;
    padding: 0 !important;
  }

  .footer-grid {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer-mega-anchor {
    font-size: 24vw;
    bottom: -1vw;
  }

  .showcase-header-fixed {
    top: calc(var(--nav-h) + var(--nav-top) + 0.5rem) !important;
    left: 1.5rem !important;
  }

  .showcase-header-fixed .section-title {
    font-size: 3rem !important;
    line-height: 1.1 !important;
  }

  .showcase-header-fixed .section-tag {
    font-size: 0.85rem !important;
  }

  .modal-body-layout {
    display: flex !important;
    flex-direction: column !important;
  }

  .modal-img-col {
    height: 40% !important;
    flex-shrink: 0;
  }

  .modal-text-col {
    height: 60% !important;
    overflow-y: auto !important;
    padding: 1.5rem !important;
    justify-content: flex-start !important;
  }

  .modal-title {
    font-size: 2rem !important;
  }
}

@media (max-width: 480px) {
  .section {
    padding-block: var(--sp-2xl);
  }

  .hero-title {
    font-size: clamp(2rem, 13vw, 3rem);
  }

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

  .modal-content {
    padding: 1.5rem;
  }

  .modal-stats {
    flex-wrap: wrap;
    gap: 1.25rem;
  }
}

/* Cookie & Privacy Modal */
.cookie-banner-box {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: calc(100% - 60px);
  max-width: 480px;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  border-radius: 12px;
  z-index: 99999;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: 'Host Grotesk', sans-serif;
  color: #fff;
}

.cookie-text p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #a0a0a0;
  margin: 0;
}

.cookie-text strong {
  color: #fff;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.cookie-btn {
  padding: 10px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-acid {
  background: #c9d22b;
  border: 1px solid #c9d22b;
  color: #000;
}

.btn-acid:hover {
  background: #b5be22;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
}

.cookie-link {
  background: none;
  border: none;
  color: #a0a0a0;
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
  margin-left: auto;
}

.cookie-link:hover {
  color: #c9d22b;
}

/* Stile Modale Legale */
.legal-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Host Grotesk', sans-serif;
}

.legal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(10px);
}

.legal-content {
  position: relative;
  width: 90vw;
  max-width: 700px;
  height: 75vh;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  z-index: 2;
  padding: 40px;
  color: #fff;
}

.legal-scroll-body {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding-right: 15px;
}

.legal-scroll-body h2 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.legal-date {
  color: #c9d22b;
  font-size: 0.8rem;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.legal-scroll-body h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-top: 25px;
  margin-bottom: 10px;
}

.legal-scroll-body p {
  color: #a0a0a0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.close-legal {
  position: absolute;
  top: 25px;
  right: 25px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
}

.close-legal:hover {
  color: #c9d22b;
}

/* Assicuriamoci che i tag strong nella modale siano sempre in grassetto */
.modal-desc strong {
  font-weight: 700 !important;
}