/* ============ HEADER ============ */
.ic-hdr {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  z-index: var(--z-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease, height 0.25s ease;
}
.ic-hdr.scrolled {
  height: 52px;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--ic-rule);
}
.ic-hdr-logo {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ic-text);
  transition: opacity 0.2s ease;
}
@media (hover: hover) {
  .ic-hdr-logo:hover { opacity: 0.7; }
}
.ic-hdr-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.ic-hdr-nav a, .ic-hdr-nav button {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ic-text);
  transition: color 0.2s ease;
}
@media (hover: hover) {
  .ic-hdr-nav a:hover, .ic-hdr-nav button:hover { color: #BBBBBB; }
}
.ic-hdr-nav .is-active { color: var(--ic-green); }
.ic-hdr-services {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.ic-hdr-services::after {
  content: '▾';
  font-size: 16px;
  line-height: 1;
  opacity: 0.75;
  margin-left: 0;
}
@media (max-width: 900px) {
  .ic-hdr-services::after { font-size: 13px; }
}
.ic-hdr-services-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  min-width: 220px;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--ic-rule);
  border-radius: 4px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
/* Invisible hover bridge — fills the gap between Services link and dropdown
   so the cursor never leaves the :hover-active region during transit. */
.ic-hdr-services::before {
  content: '';
  position: absolute;
  top: 100%;
  left: -16px; right: -16px;
  height: 28px;
}
.ic-hdr-services:hover .ic-hdr-services-menu,
.ic-hdr-services:focus-within .ic-hdr-services-menu,
.ic-hdr-services.is-open .ic-hdr-services-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(12px);
}
/* Force-closed state — overrides :hover/:focus-within when user clicks to dismiss */
.ic-hdr-services.is-closed:hover .ic-hdr-services-menu,
.ic-hdr-services.is-closed:focus-within .ic-hdr-services-menu,
.ic-hdr-services.is-closed .ic-hdr-services-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
}
.ic-hdr-services-menu a {
  display: block;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ic-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.25s ease, text-shadow 0.25s ease, background 0.2s ease;
}
.ic-hdr-services-menu a:last-child { border-bottom: none; }
/* Project Management = always lit (orange) — featured item highlighted by default */
.ic-hdr-services-menu a.featured {
  color: var(--ic-orange);
  text-shadow: 0 0 14px rgba(var(--ic-orange-rgb), 0.55);
}
@media (hover: hover) {
  .ic-hdr-services-menu a.featured:hover {
    color: var(--ic-orange);
    text-shadow: 0 0 18px rgba(var(--ic-orange-rgb), 0.8);
  }
  .ic-hdr-services-menu a[href*="spotify"]:hover {
    color: var(--plat-spotify);
    text-shadow: 0 0 14px rgba(29, 185, 84, 0.6);
  }
  .ic-hdr-services-menu a[href*="youtube"]:hover {
    color: var(--plat-youtube);
    text-shadow: 0 0 14px rgba(255, 59, 48, 0.6);
  }
  .ic-hdr-services-menu a[href*="instagram"]:hover {
    color: var(--plat-instagram);
    text-shadow: 0 0 14px rgba(0, 178, 255, 0.6);
  }
  .ic-hdr-services-menu a[href*="tiktok"]:hover {
    color: #FFFFFF;
    text-shadow: 0 0 14px rgba(255, 0, 80, 0.5), 0 0 14px rgba(0, 230, 255, 0.5);
  }
}
.ic-hdr-cta {
  background: var(--ic-green-cta);
  color: #FFFFFF !important;
  padding: 10px 18px;
  border-radius: 4px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35), 0 0 1px rgba(0,0,0,0.5);
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
}
.ic-hdr-cta:hover {
  opacity: 0.9;
  box-shadow: 0 0 24px rgba(var(--ic-green-cta-rgb), 0.4);
}
.ic-hdr-burger {
  display: none;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
  /* Rimuove il 300ms delay del tap su iOS Safari + Android browser */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  /* Z-index sopra eventuali elementi grafici della header */
  z-index: 2;
}
.ic-hdr-burger::before, .ic-hdr-burger::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--ic-text);
  transition: transform 0.2s ease;
  /* I pseudo-elementi non devono catturare il tap (passa al button parent) */
  pointer-events: none;
}
.ic-hdr-burger::before { transform: translateY(-5px); }
.ic-hdr-burger::after  { transform: translateY(5px); }
.ic-hdr.is-open .ic-hdr-burger::before { transform: rotate(45deg); }
.ic-hdr.is-open .ic-hdr-burger::after  { transform: rotate(-45deg); }

.ic-hdr-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  padding: 88px 24px 32px;
  background: var(--ic-bg);
  overflow-y: auto;
  flex-direction: column;
  gap: 8px;
  z-index: calc(var(--z-header) + 1);
}
/* Selettore SIBLING: .ic-hdr-mobile e fratello di .ic-hdr (sono cugini sotto
   <ic-header>), quindi usiamo il sibling combinator. */
.ic-hdr.is-open + .ic-hdr-mobile { display: flex; }

/* Quando il mobile menu e aperto, mettiamo comunque uno sfondo opaco
   sull'header (la barra in alto resta visibile sopra il menu).
   Z-index sollevato sopra .ic-hdr-mobile cosi il pulsante burger (X)
   resta cliccabile per chiudere il menu. */
.ic-hdr.is-open,
.ic-hdr.is-open.scrolled {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: var(--ic-bg);
  z-index: calc(var(--z-header) + 2);
}
.ic-hdr-mobile-label {
  font-size: 10px;
  color: var(--ic-muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 16px 0 4px;
}
.ic-hdr-mobile a {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--ic-rule);
  border-radius: 6px;
  background: var(--ic-bg-soft);
  color: var(--ic-text);
  transition: color 0.25s ease, text-shadow 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}
/* Home isolata e centrata in cima al menu mobile (richiesta utente) */
.ic-hdr-mobile a.ic-hdr-mobile-home {
  text-align: center;
  margin-bottom: 8px;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.12);
  letter-spacing: 0.12em;
}
.ic-hdr-mobile a.ic-hdr-mobile-home.is-active {
  color: var(--ic-green);
  border-color: rgba(0, 255, 136, 0.35);
  text-shadow: 0 0 12px rgba(0, 255, 136, 0.4);
}
.ic-hdr-mobile a.featured {
  color: var(--ic-orange);
  border-color: rgba(var(--ic-orange-rgb), 0.35);
  text-shadow: 0 0 14px rgba(var(--ic-orange-rgb), 0.45);
}
.ic-hdr-mobile a.featured:hover,
.ic-hdr-mobile a.featured:active,
.ic-hdr-mobile a.featured.is-active {
  color: var(--ic-orange);
  text-shadow: 0 0 18px rgba(var(--ic-orange-rgb), 0.7);
}
.ic-hdr-mobile a[href*="spotify"]:hover,
.ic-hdr-mobile a[href*="spotify"]:active,
.ic-hdr-mobile a[href*="spotify"].is-active {
  color: var(--plat-spotify);
  text-shadow: 0 0 14px rgba(29, 185, 84, 0.6);
}
.ic-hdr-mobile a[href*="youtube"]:hover,
.ic-hdr-mobile a[href*="youtube"]:active,
.ic-hdr-mobile a[href*="youtube"].is-active {
  color: var(--plat-youtube);
  text-shadow: 0 0 14px rgba(255, 59, 48, 0.6);
}
.ic-hdr-mobile a[href*="instagram"]:hover,
.ic-hdr-mobile a[href*="instagram"]:active,
.ic-hdr-mobile a[href*="instagram"].is-active {
  color: var(--plat-instagram);
  text-shadow: 0 0 14px rgba(0, 178, 255, 0.6);
}
.ic-hdr-mobile a[href*="tiktok"]:hover,
.ic-hdr-mobile a[href*="tiktok"]:active,
.ic-hdr-mobile a[href*="tiktok"].is-active {
  color: #FFFFFF;
  text-shadow: 0 0 14px rgba(255, 0, 80, 0.5), 0 0 14px rgba(0, 230, 255, 0.5);
}
.ic-hdr-mobile .ic-hdr-cta {
  text-align: center;
  border-color: transparent;
  color: #FFFFFF !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35), 0 0 1px rgba(0,0,0,0.5) !important;
  padding: 14px 18px;
}

@media (max-width: 900px) {
  .ic-hdr-nav { display: none; }
  .ic-hdr-burger { display: inline-flex; }
  /* Keep header height constant on mobile so the burger doesn't shift
     during the scrolled transition — fixes the "tap misses after scroll" bug */
  .ic-hdr, .ic-hdr.scrolled { height: 64px; padding: 0 20px; }
  /* Bigger touch target for burger (>= 44px Apple HIG minimum) */
  .ic-hdr-burger { width: 48px; height: 48px; }
  /* Tap area visibile per debug — feedback al tap su Android/iOS */
  .ic-hdr-burger:active { background: rgba(255,255,255,0.06); border-radius: 50%; }
}

/* ============ FOOTER ============ */
.ic-ftr-root { position: relative; z-index: 2; }
.ic-ftr-block {
  background: var(--ic-bg);
  border-top: 1px solid var(--ic-rule);
  padding: 56px 28px 36px;
  text-align: center;
}
.ic-ftr-block-inner { max-width: 600px; margin: 0 auto; }
.ic-ftr-block-social {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 0 0 24px;
}
.ic-ftr-block-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--ic-muted);
  opacity: 0.55;
  transition: opacity 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.ic-ftr-block-social a:hover {
  opacity: 1;
  color: var(--ic-text);
  transform: translateY(-2px);
}
.ic-ftr-block-social svg { width: 20px; height: 20px; display: block; }
.ic-ftr-block-brand {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ic-muted);
  margin: 0 0 6px;
  text-transform: uppercase;
}
.ic-ftr-block-tagline,
.ic-ftr-block-address {
  font-size: 11px;
  color: var(--ic-muted);
  margin: 0 0 4px;
  letter-spacing: 0.04em;
  opacity: 0.7;
  line-height: 1.5;
}
.ic-ftr-block-copyright {
  font-size: 10px;
  color: var(--ic-muted);
  margin: 14px 0 0;
  letter-spacing: 0.08em;
  opacity: 0.55;
  text-transform: uppercase;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary {
  background: var(--ic-green-cta);
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35), 0 0 1px rgba(0,0,0,0.5);
  box-shadow: 0 0 0 1px rgba(var(--ic-green-cta-rgb), 0.3), 0 0 40px -10px rgba(var(--ic-green-cta-rgb), 0.5);
}
.btn-secondary {
  background: rgba(255,255,255,0.04);
  color: var(--ic-text);
  border-color: var(--ic-rule);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 0 30px -10px rgba(255,255,255,0.25);
}
@media (hover: hover) {
  .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(var(--ic-green-cta-rgb), 0.5), 0 0 60px -10px rgba(var(--ic-green-cta-rgb), 0.7);
  }
  .btn-secondary:hover {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.08);
  }
}
.btn-secondary::after {
  content: '▾';
  font-size: 18px;
  margin-left: 2px;
  line-height: 1;
}
.btn-dropdown { position: relative; display: inline-block; }

/* ============ HERO (homepage) ============ */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ic-bg);
  margin-top: -64px; /* eat the body padding-top so hero is true full-height */
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(10,10,10,0.7) 100%);
  z-index: 2;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 24px;
  width: 100%;
  max-width: 1400px;
}
.hero h1 {
  font-size: clamp(36px, 9.5vw, 195px); /* dialed back da 230 a 195: ICONENT AGENCY a 230px overflows viewport <2240px */
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin: 0 0 24px;
  text-shadow:
    0 0 40px rgba(0,0,0,0.55),
    0 4px 16px rgba(0,0,0,0.5),
    0 0 80px rgba(100,220,255,0.18);
  white-space: nowrap;
}
/* Mobile: ICONENT AGENCY SEMPRE su una riga, font scalato + tracking compresso */
@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(31px, 10vw, 58px); /* +10% ulteriore */
    letter-spacing: -0.04em;
  }
}
/* Mobile: alza il contenuto hero del ~15% per dare più spazio sopra */
@media (max-width: 768px) {
  .hero-content { transform: translateY(-15vh); }
}
.hero-tagline {
  font-size: clamp(14px, 1.4vw, 16px);
  color: #B8B8B8;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(0,0,0,0.8);
  max-width: 100%;
  padding: 0 1rem;
  text-wrap: balance;
  line-height: 1.6;
}
.hero-tagline .pipe {
  margin: 0 10px;
  color: var(--ic-green);
  opacity: 0.8;
}

/* Default: items + separatori inline su una riga */
.hero-tagline .ht-item,
.hero-tagline .ht-sep { display: inline; }

/* Desktop (>=901px): tutto sulla stessa riga con pipes visibili */
@media (min-width: 901px) {
  .hero-tagline { white-space: nowrap; }
}

/* Mobile (<=900px): animazione cascade — 3 voci in stack, una visibile alla volta.
   Loop 3s totali. Visibile 500ms + pausa nera 500ms per slot. */
@media (max-width: 900px) {
  .hero-tagline {
    position: relative;
    height: 34px;
    margin-top: -12px;      /* alza un po' tutto il blocco tagline */
    font-size: clamp(12px, 3.4vw, 14px);
    letter-spacing: 0.14em;
    white-space: nowrap;
  }
  .hero-tagline .ht-sep { display: none; }
  .hero-tagline .ht-item {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    white-space: nowrap;
    animation: ic-tagline-cycle 5s linear infinite;
    will-change: opacity, transform, text-shadow;
  }
  /* Cascade su 5s: slot 1.667s per parola.
     Uso nth-child (1,3,5) perché .ht-sep occupano gli indici 2,4. */
  .hero-tagline .ht-item:nth-child(1) { animation-delay:  0s;     }  /* Project Management */
  .hero-tagline .ht-item:nth-child(3) { animation-delay: -3.333s; }  /* Music Marketing   */
  .hero-tagline .ht-item:nth-child(5) { animation-delay: -1.667s; }  /* Distribuzione     */
}
/* Glitch tagline cycle (5s totali per parola):
   - 0-80ms   : glitch-in (chromatic in + fade)
   - 80-1080ms: hold pulito (1s con glow azzurro)
   - 1080-1330ms: glitch-out (chromatic + skew + jitter)
   - 1330-1667ms: pausa nera (337ms) prima della prossima parola */
@keyframes ic-tagline-cycle {
  /* Glitch-in */
  0%    { opacity: 0;   transform: translate(-50%, -50%);                 text-shadow: -2px 0 0 #00E6FF, 2px 0 0 #00FF88; }
  0.8%  { opacity: 0.6; transform: translate(calc(-50% - 1px), -50%);     text-shadow: -3px 0 0 #00E6FF, 3px 0 0 #00FF88; }
  1.6%  { opacity: 1;   transform: translate(-50%, -50%);                 text-shadow: 0 0 14px rgba(100, 220, 255, 0.4); }
  /* Hold pulito */
  21.6% { opacity: 1;   transform: translate(-50%, -50%);                 text-shadow: 0 0 14px rgba(100, 220, 255, 0.4); }
  /* Glitch-out */
  22.4% { opacity: 1;   transform: translate(calc(-50% + 2px), calc(-50% - 1px)) skewX(-2deg); text-shadow: -2px 0 0 #00E6FF, 2px 0 0 #00FF88; }
  23.2% { opacity: 0.85;transform: translate(calc(-50% - 2px), calc(-50% + 1px)) skewX(3deg);  text-shadow: -3px 0 0 #00E6FF, 3px 0 0 #00FF88; }
  24.0% { opacity: 0.55;transform: translate(calc(-50% + 1px), -50%) skewX(-1deg);             text-shadow: -2px 0 0 #00E6FF; }
  25.2% { opacity: 0.25;transform: translate(-50%, -50%);                                       text-shadow: none; }
  26.6% { opacity: 0;   transform: translate(-50%, -50%);                                       text-shadow: none; }
  /* Gap nero fino a fine slot */
  33.34%, 100% { opacity: 0; transform: translate(-50%, -50%); text-shadow: none; }
}
/* prefers-reduced-motion: tutte visibili, statiche, impilate verticalmente */
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .hero-tagline { height: auto; }
  .hero-tagline .ht-item {
    position: static;
    transform: none;
    opacity: 1;
    display: block;
    animation: none;
    text-shadow: none;
  }
}
@media (max-width: 480px) {
  .hero-tagline { letter-spacing: 0.15em; }
}
.hero-scroll-hint {
  position: absolute;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ic-muted);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 3;
  animation: ic-scroll-pulse 2s ease-in-out infinite;
}
.hero-scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 32px;
  background: var(--ic-muted);
  margin: 12px auto 0;
  opacity: 0.4;
}
/* Mobile: scroll hint 20% più in alto */
@media (max-width: 768px) {
  .hero-scroll-hint { bottom: calc(72px + 20vh); }
}
@keyframes ic-scroll-pulse {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(4px); }
}

/* Compact hero variant (about + service pages) */
.hero-compact {
  position: relative;
  padding: 144px 24px 86px;
  text-align: center;
  overflow: hidden;
}
.hero-compact h1 {
  font-size: clamp(40px, 8vw, 96px);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.hero-compact .hero-sub {
  font-size: clamp(14px, 1.6vw, 18px);
  color: var(--ic-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}
.hero-compact::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,255,136,0.08) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}
/* Animated flicker light (top-right corner) — color overridden per page */
.hero-compact::after {
  content: '';
  position: absolute;
  top: -180px;
  right: -240px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(0,255,136,0.55) 0%, rgba(0,255,136,0.18) 30%, transparent 70%);
  filter: blur(28px);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: -1;
  animation: ic-flicker 7s infinite ease-in-out;
}
@keyframes ic-flicker {
  0%, 100% { opacity: 0.50; transform: translate(0, 0); }
  18% { opacity: 0.45; transform: translate(2px, -1px); }
  34% { opacity: 0.58; transform: translate(-1px, 1px); }
  47% { opacity: 0.48; }
  61% { opacity: 0.60; transform: translate(1px, -2px); }
  72% { opacity: 0.47; }
  86% { opacity: 0.55; transform: translate(-2px, 1px); }
}
/* Hero H1 dotted fade-in dissolve — desktop only, one-shot on load.
   Single gentle phase: light spread + soft blur + cyan halo dissolve into clean text. */
@keyframes ic-h1-dissolve {
  0% {
    opacity: 0;
    letter-spacing: 0.12em;
    filter: blur(3px);
    text-shadow: 0 0 4px rgba(100, 220, 255, 0.4);
  }
  100% {
    opacity: 1;
    letter-spacing: -0.04em;
    filter: blur(0);
    text-shadow: none;
  }
}
@media (max-width: 900px) {
  .hero-compact::after {
    width: 280px; height: 280px;
    top: -110px; right: -150px;
    filter: blur(20px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-compact::after,
  .hero-compact h1 { animation: none !important; }
}

/* ============ MARQUEE (cities/services strip) ============ */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--ic-rule);
  border-bottom: 1px solid var(--ic-rule);
  padding: 18px 0;
  background: var(--ic-bg);
  white-space: nowrap;
  position: relative;
  z-index: var(--z-marquee);
}
.marquee-track {
  display: inline-block;
  animation: ic-marquee-slide 50s linear infinite;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ic-muted);
}
.marquee-track span { margin: 0 22px; }
.marquee-track .diamond {
  color: var(--ic-grey);
  margin: 0 14px;
  opacity: 0.6;
  font-size: 0.64em; /* -20% rispetto a 0.8em */
}
@keyframes ic-marquee-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 900px) {
  .marquee-track { font-size: 11px; letter-spacing: 0.16em; }
  .marquee-track span { margin: 0 14px; }
  .marquee-track .diamond { margin: 0 8px; }
}

/* ============ COMPARE CARDS ============ */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 48px 0 0;
}
.compare-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.005));
  border: 1px solid var(--ic-rule);
  padding: 36px;
  border-radius: 6px;
  position: relative;
}
.compare-card.good {
  border-color: rgba(0,255,136,0.3);
  box-shadow: 0 0 0 1px rgba(0,255,136,0.1), 0 0 60px -20px rgba(0,255,136,0.25);
}
.compare-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 16px;
}
.compare-card.bad .compare-label { color: var(--ic-grey); }
.compare-card.good .compare-label { color: var(--ic-green); }
.compare-card h3 {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
.compare-list li {
  padding: 14px 0 14px 24px;
  border-bottom: 1px solid var(--ic-rule);
  font-size: 14px;
  line-height: 1.5;
  position: relative;
}
.compare-list li:last-child { border-bottom: none; }
.compare-card.bad .compare-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--ic-grey);
  font-weight: 700;
}
.compare-card.good .compare-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--ic-green);
  font-weight: 700;
}
@media (max-width: 900px) {
  .compare { grid-template-columns: 1fr; }
  .compare-card { padding: 24px; }
  .compare-card h3 { font-size: 22px; }
}

/* ============ METHOD STEPS ============ */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 56px 0 0;
}
.method-step {
  border-top: 1px solid var(--ic-rule);
  padding-top: 28px;
  position: relative;
}
.method-step::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 32px;
  height: 1px;
  background: var(--ic-green);
}
/* Progressive tick: step 02 = 2 segments side-by-side, step 03 = 3 segments.
   Lines on the same horizontal axis with gaps between them. */
.method-step:nth-child(2)::before {
  width: 70px;
  background: linear-gradient(
    to right,
    var(--ic-green) 0 32px,
    transparent  32px 38px,
    var(--ic-green) 38px 70px
  );
}
.method-step:nth-child(3)::before {
  width: 108px;
  background: linear-gradient(
    to right,
    var(--ic-green) 0 32px,
    transparent  32px 38px,
    var(--ic-green) 38px 70px,
    transparent  70px 76px,
    var(--ic-green) 76px 108px
  );
}
.method-step-num {
  font-size: 11px;
  color: var(--ic-green);
  letter-spacing: 0.22em;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.method-step h3 {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  text-transform: uppercase;
}
.method-step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ic-muted);
}
@media (max-width: 900px) {
  .method-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .method-step h3 { font-size: 26px; }
}

/* ============ CTA BLOCK ============ */
.cta-block {
  text-align: center;
  padding: 90px 28px;
  background: var(--ic-bg);
  border-top: 1px solid var(--ic-rule);
  border-bottom: 1px solid var(--ic-rule);
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,255,136,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.cta-block > * { position: relative; z-index: 1; }
.cta-block h2 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
  text-transform: uppercase;
}
.cta-block h2 .accent { color: var(--ic-green); }
.cta-block > p {
  color: var(--ic-muted);
  margin: 0 auto 58px;
  max-width: 600px;
  font-size: 15px;
  line-height: 1.55;
}
.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.cta-block.has-open-dropdown { z-index: var(--z-cta-elevated); }
.cta-block.has-open-dropdown .cta-row,
.cta-block.has-open-dropdown .services-inline { position: relative; z-index: calc(var(--z-cta-elevated) + 1); }

/* Inline services reveal */
.services-inline {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.35s ease;
  width: 100%;
  margin-top: 0;
}
.services-inline.open {
  max-height: 600px;
  opacity: 1;
  margin-top: 24px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.service-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 10px;
  background: var(--ic-bg-soft);
  border: 1px solid var(--ic-rule);
  border-radius: 6px;
  color: var(--ic-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
  transition: all 0.2s ease;
}
.service-card:hover {
  border-color: rgba(0,255,136,0.4);
  color: var(--ic-green);
  transform: translateY(-2px);
}
.service-card.featured {
  background: rgba(var(--ic-orange-rgb), 0.06);
  border-color: rgba(var(--ic-orange-rgb), 0.3);
  color: var(--ic-orange);
  grid-column: 1 / -1;
  padding: 22px;
  font-size: 13px;
  text-shadow: 0 0 14px rgba(var(--ic-orange-rgb), 0.4);
}
.service-card[href*="spotify"]:hover {
  color: var(--plat-spotify) !important;
  border-color: rgba(29,185,84,0.5);
  text-shadow: 0 0 14px rgba(29,185,84,0.6);
  background: rgba(29,185,84,0.05);
}
.service-card[href*="youtube"]:hover {
  color: var(--plat-youtube) !important;
  border-color: rgba(255,59,48,0.5);
  text-shadow: 0 0 14px rgba(255,59,48,0.6);
  background: rgba(255,59,48,0.05);
}
.service-card[href*="instagram"]:hover {
  color: var(--plat-instagram) !important;
  border-color: rgba(0,178,255,0.5);
  text-shadow: 0 0 14px rgba(0,178,255,0.6);
  background: rgba(0,178,255,0.05);
}
.service-card[href*="tiktok"]:hover {
  color: #FFFFFF !important;
  border-color: rgba(255,255,255,0.6);
  text-shadow:
    0 0 14px rgba(255,255,255,0.7),
    0 0 4px rgba(255,0,80,0.5),
    0 0 4px rgba(0,230,255,0.5);
  background: rgba(255,255,255,0.06);
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.featured { grid-column: 1 / -1; }
  .cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 360px;
    margin: 0 auto;
  }
  .btn {
    justify-content: center;
    padding: 18px 24px;
    font-size: 13px;
    width: 100%;
    border-radius: 6px;
  }
  .btn-dropdown { width: 100%; }
  .cta-block { padding: 58px 20px; }
  .cta-block > p {
    margin-top: 0;
    margin-bottom: 50px;
    line-height: 1.7;
  }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; gap: 10px; }
  .service-card { padding: 16px 10px; font-size: 11px; }
}

/* ============ BLUR OVERLAY ============ */
.blur-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: var(--z-overlay-blur);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.blur-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ============ PARTNERS MARQUEE ============ */
.partners {
  padding: 72px 0;
  background: var(--ic-bg);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.partners-label {
  text-align: center;
  font-size: 11px;
  color: var(--ic-muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 32px;
}
.partners-track {
  display: flex;
  align-items: center;
  animation: ic-marquee-slide 35s linear infinite;
  width: max-content;
}
.partners-track > * { margin: 0 28px; flex-shrink: 0; }
.partner-logo {
  height: 140px;
  width: auto;
  max-width: 200px;
  opacity: 0.9;
  filter: brightness(0) invert(1);
  object-fit: contain;
  transition: opacity 0.2s ease;
}
.partner-logo--warner { height: 200px; max-width: 280px; }
.partner-logo--ingrooves { height: 161px; max-width: 230px; }
/* ADA: logo quadrato → dimensione ridotta per bilanciare visivamente i
   loghi rettangolari (Sony/Universal alti 140px ma "larghi") */
.partner-logo--ada { height: 100px; max-width: 100px; }
.partner-logo:hover { opacity: 1; }
.partner-text {
  font-size: 36px;
  font-weight: 800;
  color: var(--ic-text);
  letter-spacing: -0.01em;
  opacity: 0.9;
}
.partner-divider {
  color: var(--ic-grey);
  font-size: 9px; /* -20% rispetto a 11px */
  opacity: 0.5;
}
@media (max-width: 900px) {
  .partners { padding: 40px 0; }
  .partners-track > * { margin: 0 16px; }
  .partner-logo { height: 64px; max-width: 100px; }
  .partner-logo--warner { height: 100px; max-width: 140px; }
  .partner-logo--ingrooves { height: 74px; max-width: 115px; }
  .partner-logo--ada { height: 50px; max-width: 50px; }
  .partner-text { font-size: 20px; }
  .partner-divider { font-size: 6px; } /* -20% rispetto a 7px */
}
@media (max-width: 480px) {
  .partner-logo { height: 50px; max-width: 80px; }
  .partner-logo--warner { height: 80px; max-width: 110px; }
  .partner-logo--ingrooves { height: 58px; max-width: 90px; }
  .partner-text { font-size: 18px; }
}

/* ============ FAQ ============ */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--ic-rule);
  padding: 24px 0;
  cursor: pointer;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.faq-q::after {
  content: '+';
  font-size: 28px;
  font-weight: 300;
  color: var(--ic-muted);
  transition: color 0.25s ease, transform 0.3s ease;
  display: inline-block;
  line-height: 1;
}
.faq-item.open .faq-q::after {
  color: var(--ic-green);
  transform: rotate(45deg);
}
.faq-a {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ic-muted);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
}
.faq-item.open .faq-a {
  max-height: 600px;
  opacity: 1;
  margin: 16px 0 0;
}
@media (max-width: 900px) {
  .faq-q { font-size: 16px; }
}
@media (max-width: 480px) {
  .faq-q { font-size: 15px; padding-right: 12px; }
}

/* ============ MODAL (Calendly) ============ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  width: 100%;
  max-width: 1000px;
  height: 85vh;
  max-height: 750px;
  background: var(--ic-bg);
  border: 1px solid var(--ic-rule);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: rgba(255,255,255,0.2); }
.calendly-inline-widget {
  width: 100%;
  height: 100%;
  min-width: 320px;
}
@media (max-width: 900px) {
  .modal { height: 90vh; max-height: none; }
}

/* ============ BANNER FULL-WIDTH IMAGE ============ */
.banner-image {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 480px;
  overflow: hidden;
  background: var(--ic-bg);
  z-index: 2;
}
.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  object-position: center 70%;
}
.banner-image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, var(--ic-bg) 0%, var(--ic-bg) 4%, rgba(10,10,10,0.7) 12%, transparent 32%, transparent 68%, rgba(10,10,10,0.6) 88%, var(--ic-bg) 100%),
    linear-gradient(to right, var(--ic-bg) 0%, rgba(10,10,10,0.4) 6%, transparent 18%, transparent 82%, rgba(10,10,10,0.4) 94%, var(--ic-bg) 100%);
}
@media (max-width: 900px) {
  .banner-image { aspect-ratio: 4 / 3; }
}

/* ============ CALENDLY WIDGET — mask the footer privacy link ============
   The "Cookie Settings / Privacy Policy" link lives inside Calendly's
   cross-origin iframe so it can't be removed via parameters or CSS.
   This overlay covers the bottom strip of the widget with the same
   background color used by the embedded widget (#141414).
   NOTE: this is a visual mask only — the element still exists in the
   iframe DOM. Make sure your own privacy policy mentions Calendly. */
.calendly-inline-widget {
  position: relative;
}
.calendly-inline-widget::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44px;
  background: #141414;
  pointer-events: none;
  z-index: 10;
  border-radius: 0 0 8px 8px;
}
