/* Base */

html {
  scroll-behavior: smooth;
}

body,
.sora-500 {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

body {
  font-weight: 400;
}

/* Layout */

/* Navbar sticky con effetto glass scuro */
.navbar-sticky {
  position: sticky;
  top: 0;
  z-index: 1030;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 0.32s ease, backdrop-filter 0.32s ease, -webkit-backdrop-filter 0.32s ease;
}

.navbar-sticky.is-scrolled {
  background: rgba(0, 0, 0, 0.42) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 153px;
  min-height: 36px;
}

.navbar-logo {
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.navbar-logo-full {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.navbar-logo-icon {
  position: absolute;
  left: 0;
  opacity: 0;
  transform: translateY(4px) scale(0.82);
}

.navbar-sticky.is-scrolled .navbar-logo-full {
  opacity: 0;
  transform: translateY(-4px) scale(0.92);
}

.navbar-sticky.is-scrolled .navbar-logo-icon {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Offcanvas contatti coerente con il tema dark/cyan */
.contact-offcanvas {
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(8, 234, 208, 0.16), transparent 34%),
    linear-gradient(180deg, #000000, #070a0f);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

/* Background nero dim con accento cyan, allineato all'offcanvas */
.bg-gradiend-black-dim {
  background:
    radial-gradient(circle at top right, rgba(8, 234, 208, 0.28), transparent 38%),
    radial-gradient(circle at bottom left, rgba(8, 234, 208, 0.28), transparent 38%),
    linear-gradient(180deg, #000000, #070a0f);
}

@media (max-width: 767.98px) {
  .bg-gradiend-black-dim {
    background:
      radial-gradient(circle at top right, rgba(8, 234, 208, 0.28), transparent 38%),
      radial-gradient(circle at bottom left, rgba(8, 234, 208, 0.28), transparent 38%),
      linear-gradient(180deg, #000000, #070a0f);
  }
}

.contact-offcanvas .offcanvas-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-offcanvas .offcanvas-body {
  display: flex;
  align-items: center;
  padding: 1.5rem;
}

.contact-offcanvas-content {
  position: relative;
}


.contact-offcanvas h3 {
  color: #ffffff;
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
}

.contact-offcanvas p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.7;
}

.contact-offcanvas p:last-of-type {
  margin-bottom: 2rem;
}

/* Hero acustica AI: visual SVG inline con profondita e movimento morbido */
.bg-abstract-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
}

.bg-abstract-hero::before,
.bg-abstract-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bg-abstract-hero::before {
  display: none;
}

.bg-abstract-hero::after {
  display: none;
}

.audio-fluid-hero {
  isolation: isolate;
  background: transparent;
}

.audio-fluid-hero::before {
  display: none;
}

.bg-abstract-hero > :not(.audio-fluid-canvas):not(.hero-scroll-indicator):not(.hero-radial-light):not(.hero-spectrogram):not(.hero-particles):not(.hero-audio-visual) {
  position: relative;
  z-index: 6;
}

.audio-intelligence-hero {
  min-height: 760px;
  --hero-mx: 0;
  --hero-my: 0;
  --hero-light-x: 50%;
  --hero-light-y: 42%;
  animation: hero-fade-in 1.15s ease-out both;
}

.hero-radial-light,
.hero-spectrogram,
.hero-particles,
.hero-audio-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-radial-light {
  display: none;
  z-index: 2;
  transform: translate3d(calc(var(--hero-mx) * 18px), calc(var(--hero-my) * 12px), 0);
  background:
    radial-gradient(circle at 50% 43%, rgba(8, 234, 208, 0.16), transparent 24%),
    radial-gradient(circle at 45% 54%, rgba(117, 77, 255, 0.12), transparent 34%);
  filter: blur(18px);
  opacity: 0.58;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-spectrogram {
  display: none;
  z-index: 3;
  opacity: 0.13;
  background:
    linear-gradient(90deg, transparent 8%, rgba(8, 234, 208, 0.28) 8.3%, transparent 8.8%, transparent 18%, rgba(77, 132, 255, 0.18) 18.3%, transparent 19%),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(255, 255, 255, 0.07) 18px 19px, transparent 19px 38px);
  background-size: 480px 100%, 100% 76px;
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 66%);
  transform: translate3d(calc(var(--hero-mx) * -12px), calc(var(--hero-my) * -8px), 0);
}

.hero-audio-visual {
  z-index: 4;
  display: grid;
  place-items: center;
  transform: translate3d(calc(var(--hero-mx) * 22px), calc(var(--hero-my) * 16px), 0);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-visual-glow {
  position: absolute;
  width: min(76vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(8, 234, 208, 0.22) 0%, rgba(45, 105, 255, 0.13) 36%, rgba(112, 60, 255, 0.09) 53%, transparent 72%);
  filter: blur(48px);
  opacity: 0.76;
  animation: visual-glow-breathe 7.8s ease-in-out infinite;
}

.hero-audio-visual svg {
  position: relative;
  width: 112vw;
  max-width: none;
  height: auto;
  margin-top: 10px;
  margin-left: 0;
  opacity: 0.98;
  filter:
    drop-shadow(0 0 20px rgba(8, 234, 208, 0.34))
    drop-shadow(0 0 54px rgba(95, 74, 255, 0.24));
  transform-origin: center;
  animation: onda-elastic-sweep 22s cubic-bezier(0.45, 0, 0.2, 1) infinite;
  will-change: transform, opacity, filter;
}

.hero-audio-visual svg > g,
.hero-audio-visual .acoustic-field-core,
.hero-audio-visual .acoustic-ring-a,
.hero-audio-visual .acoustic-ring-b,
.hero-audio-visual .acoustic-ring-c {
  transform-origin: center;
  transform-box: fill-box;
}

.hero-audio-visual .acoustic-field-core {
  animation: acoustic-core-drift 14s ease-in-out infinite;
}

.hero-audio-visual .acoustic-ring-a {
  animation: acoustic-ring-a 9.6s ease-in-out infinite;
}

.hero-audio-visual .acoustic-ring-b {
  animation: acoustic-ring-b 12s ease-in-out infinite;
}

.hero-audio-visual .acoustic-ring-c {
  animation: acoustic-ring-c 10.8s ease-in-out infinite;
}

.hero-audio-visual .acoustic-pulse-node {
  animation: acoustic-node-pulse 3.8s ease-in-out infinite;
}

.hero-audio-visual .acoustic-overlay {
  transform-origin: center;
  mix-blend-mode: screen;
  animation: acoustic-overlay-drift 16s linear infinite;
}

.hero-particles {
  z-index: 5;
  transform: translate3d(calc(var(--hero-mx) * -28px), calc(var(--hero-my) * -18px), 0);
}

.hero-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(150, 250, 255, 0.86);
  box-shadow:
    0 0 10px rgba(8, 234, 208, 0.72),
    0 0 24px rgba(103, 85, 255, 0.28);
  opacity: 0.68;
  animation: particle-float 9s ease-in-out infinite;
}

.hero-particles span:nth-child(1) { left: 16%; top: 28%; animation-delay: -1.4s; }
.hero-particles span:nth-child(2) { left: 23%; top: 63%; animation-delay: -4.7s; }
.hero-particles span:nth-child(3) { left: 34%; top: 18%; animation-delay: -6.1s; }
.hero-particles span:nth-child(4) { left: 42%; top: 75%; animation-delay: -2.2s; }
.hero-particles span:nth-child(5) { left: 51%; top: 22%; animation-delay: -7.5s; }
.hero-particles span:nth-child(6) { left: 59%; top: 68%; animation-delay: -3.2s; }
.hero-particles span:nth-child(7) { left: 67%; top: 31%; animation-delay: -5.1s; }
.hero-particles span:nth-child(8) { left: 76%; top: 59%; animation-delay: -8.4s; }
.hero-particles span:nth-child(9) { left: 82%; top: 24%; animation-delay: -2.8s; }
.hero-particles span:nth-child(10) { left: 12%; top: 48%; animation-delay: -6.8s; }
.hero-particles span:nth-child(11) { left: 88%; top: 44%; animation-delay: -4s; }
.hero-particles span:nth-child(12) { left: 48%; top: 48%; animation-delay: -9s; }
.hero-particles span:nth-child(13) { left: 18%; top: 76%; width: 2px; height: 2px; animation-delay: -7.2s; }
.hero-particles span:nth-child(14) { left: 29%; top: 38%; width: 5px; height: 5px; animation-delay: -1.9s; }
.hero-particles span:nth-child(15) { left: 39%; top: 57%; width: 2px; height: 2px; animation-delay: -5.6s; }
.hero-particles span:nth-child(16) { left: 62%; top: 16%; width: 3px; height: 3px; animation-delay: -8.1s; }
.hero-particles span:nth-child(17) { left: 72%; top: 78%; width: 5px; height: 5px; animation-delay: -3.7s; }
.hero-particles span:nth-child(18) { left: 91%; top: 66%; width: 2px; height: 2px; animation-delay: -6.4s; }

.hero-copy {
  position: relative;
  z-index: 6;
  transform: translate3d(calc(var(--hero-mx) * -8px), calc(var(--hero-my) * -5px), 0);
  text-shadow: 0 20px 70px rgba(0, 0, 0, 0.74);
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: 112vw;
  aspect-ratio: 1;
  background-image: url("../images/onda01.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.5;
  filter:
    drop-shadow(0 0 24px rgba(8, 234, 208, 0.32))
    drop-shadow(0 0 58px rgba(95, 74, 255, 0.2));
  transform: translate(calc(-50% + 18px), calc(-50% - 12px)) scale(1);
  animation: onda-overlay-elastic 22s cubic-bezier(0.45, 0, 0.2, 1) infinite;
  pointer-events: none;
}

.hero-kicker {
  margin-bottom: 1rem;
  color: rgba(138, 247, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: heading-focus-in 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
  will-change: opacity, transform;
}

.hero-subtitle {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.6;
}


.audio-fluid-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.42;
  background: transparent;
  pointer-events: none;
  transform: translateZ(0);
}

.hero-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 54px;
  color: #ffffff;
  pointer-events: none;
  transform: translateX(-50%);
}

.scroll-mouse {
  position: relative;
  display: block;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 22px rgba(8, 234, 208, 0.22);
}

.scroll-mouse__wheel {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 9px;
  border-radius: 999px;
  background: #08EAD0;
  box-shadow: 0 0 12px rgba(8, 234, 208, 0.82);
  transform: translateX(-50%);
  animation: scroll-mouse-wheel 1.65s ease-in-out infinite;
}

.scroll-mouse::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -15px;
  width: 7px;
  height: 7px;
  border-right: 2px solid rgba(8, 234, 208, 0.8);
  border-bottom: 2px solid rgba(8, 234, 208, 0.8);
  transform: translateX(-50%) rotate(45deg);
  animation: scroll-mouse-arrow 1.65s ease-in-out infinite;
}

/* Box video con immagine di sfondo e overlay scuro */
.bg-abstract-video {
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 34vw, 496px);
  border-radius: 48px !important;
  background-color: #000000;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.34) 54%, rgba(0, 0, 0, 0.1) 100%),
    url("../images/bg-video-box.jpg");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

.bg-abstract-video > * {
  position: relative;
  z-index: 1;
}

/* Pulsante play con alone animato */
.play-video {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  transition: transform 0.35s ease-in-out, box-shadow 0.35s ease-in-out;
}

.play-video::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(8, 234, 208, 0.46);
  border-radius: 50%;
  animation: play-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

.play-video:hover {
  transform: scale(1.04);
  box-shadow: 0 0 32px rgba(8, 234, 208, 0.24);
}

@media (max-width: 767.98px) {
  .audio-fluid-canvas {
    opacity: 0.36;
    filter: none;
  }

  .bg-abstract-video {
    min-height: 360px;
    border-radius: 28px !important;
  }

  h1:not(.to-left-anim):not(.to-right-anim),
  h2:not(.to-left-anim):not(.to-right-anim),
  h3:not(.to-left-anim):not(.to-right-anim),
  h4:not(.to-left-anim):not(.to-right-anim),
  h5:not(.to-left-anim):not(.to-right-anim),
  h6:not(.to-left-anim):not(.to-right-anim) {
    animation-name: heading-focus-in-mobile;
    will-change: opacity, transform;
  }

  .scroll-reveal-lines.is-mobile-reveal {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    will-change: opacity, transform;
  }

  .scroll-reveal-lines.is-mobile-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  h1:not(.hero-title),
  h2,
  h3,
  h4,
  h5,
  h6,
  .scroll-reveal-lines {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
    transition: none;
    will-change: auto;
  }

}
/* Typography */

.sora-400 {
  font-weight: 400;
}

.sora-500 {
  font-weight: 500;
}

.instrument-serif-regular-italic {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: italic;
}

.text-gradient-cyan-violet {
  color: #00BCD4 !important;
}

/* Entrata sfumata e progressivamente nitida per tutti i titoli */
h1:not(.to-left-anim):not(.to-right-anim),
h2:not(.to-left-anim):not(.to-right-anim),
h3:not(.to-left-anim):not(.to-right-anim),
h4:not(.to-left-anim):not(.to-right-anim),
h5:not(.to-left-anim):not(.to-right-anim),
h6:not(.to-left-anim):not(.to-right-anim) {
  animation: heading-focus-in 1.35s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: opacity, transform;
}

/* Reveal iniziale del titolo hero */
.hero-title {
  overflow: hidden;
  animation: heading-focus-in 1.35s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
  will-change: opacity, transform;
}

.hero-copy.vision-reveal .hero-kicker,
.hero-copy.vision-reveal .hero-title {
  animation: none;
  will-change: auto;
}

.hero-title .vision-reveal-line {
  display: inline-block;
}

.hero-title-wrap {
  transform: translateY(-56px);
}

.scroll-reveal-lines {
  overflow: hidden;
}

.scroll-reveal-line {
  display: block;
  opacity: 1;
  transform: none;
}

.scroll-reveal-lines.is-letter-reveal .scroll-reveal-line {
  opacity: 1;
  transform: none;
  filter: none;
}

.reveal-word {
  display: inline-block;
  white-space: nowrap;
}

.reveal-char {
  display: inline-block;
  opacity: 0.14;
  transform: translate3d(0, 0.36em, 0);
  transition:
    opacity 0.34s ease-out,
    transform 0.34s ease-out;
  will-change: opacity, transform;
}

.reveal-char.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.vision-reveal-line {
  display: block;
}

.vision-reveal h2 {
  animation: none;
  will-change: auto;
}

.vision-reveal .reveal-char {
  opacity: 0;
  transform: translate3d(0, 0.34em, 0);
  filter: blur(5px);
  transition:
    opacity 0.34s ease-out,
    transform 0.34s ease-out,
    filter 0.34s ease-out;
}

.vision-reveal .reveal-char.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

/* Immagini card bianche di default, colorate all'hover */
.card .card-body > img.ai-img {
  filter: brightness(0) invert(1) grayscale(1) !important;
  opacity: 0.2;
  transition:
    opacity 0.75s cubic-bezier(0.45, 0.05, 0.25, 1),
    filter 0.75s cubic-bezier(0.45, 0.05, 0.25, 1),
    transform 0.75s cubic-bezier(0.45, 0.05, 0.25, 1);
}

.card:hover .card-body > img.ai-img {
  filter: none !important;
  opacity: 1;
  transform: translateY(-4px);
}

/* Chiusura scenografica prima del footer */
.synosia-final-reveal {
  position: relative;
  min-height: clamp(620px, 92vh, 900px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000000;
}

.synosia-final-reveal::before,
.synosia-final-reveal::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.synosia-final-reveal::before {
  display: none;
}

.synosia-final-reveal::after {
  display: none;
}

.final-reveal-shell {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 0 0 clamp(2rem, 5vw, 4rem);
}

.final-reveal-shell::before {
  display: none;
}

.final-reveal-kicker {
  margin-bottom: clamp(2rem, 5vw, 4rem);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.final-reveal-logo {
  display: block;
  width: min(78vw, 920px);
  max-width: 100%;
  height: auto;
  max-height: 42vh;
  object-fit: contain;
  margin: 0 auto;
  -webkit-filter:
    drop-shadow(0 0 34px rgba(8, 234, 208, 0.16))
    drop-shadow(0 34px 90px rgba(0, 0, 0, 0.72));
  filter:
    drop-shadow(0 0 34px rgba(8, 234, 208, 0.16))
    drop-shadow(0 34px 90px rgba(0, 0, 0, 0.72));
}

.final-reveal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem clamp(1.1rem, 3vw, 2.4rem);
  max-width: 880px;
  margin: clamp(2.1rem, 5vw, 4.5rem) auto 0;
}

.final-reveal-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.95rem, 1.3vw, 1.12rem);
  text-decoration: none;
  transition: color 0.28s ease, transform 0.28s ease;
}

.final-reveal-links a:hover {
  color: #00BCD4;
  transform: translateY(-2px);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Sezione numeri e approfondimento vision ispirata a layout editoriali essenziali */
.synosia-impact-section {
  position: relative;
  padding: clamp(6rem, 11vw, 11rem) 0 clamp(4rem, 9vw, 8rem);
  overflow: hidden;
}

.impact-kicker {
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.impact-stat {
  margin: 0 auto clamp(3.25rem, 6vw, 5.25rem);
  font-family: "Open Sans", Arial, sans-serif;
}

.impact-stat:last-child {
  margin-bottom: 0;
}

.impact-stat-number {
  color: #ffffff;
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 300;
  line-height: 0.84;
  letter-spacing: 0;
  font-size: clamp(4.4rem, 11vw, 10.5rem);
}

.impact-stat-value,
.impact-stat-number sup {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: normal;
}

.impact-stat-number sup {
  top: -0.12em;
  margin-left: 0.04em;
  font-size: 0.52em;
}

.impact-stat-unit {
  color: #ffffff;
  font-size: 0.62em;
}

.impact-stat p {
  max-width: 760px;
  margin: clamp(1rem, 2vw, 1.6rem) auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: clamp(1.05rem, 1.65vw, 1.45rem);
  line-height: 1.25;
}

.synosia-impact-section .impact-stat-number {
  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: clamp(4.4rem, 11vw, 10.5rem) !important;
  line-height: 0.84 !important;
}

.synosia-impact-section .impact-stat-value,
.synosia-impact-section .impact-stat-number sup {
  font-family: "Instrument Serif", Georgia, serif !important;
}

.synosia-impact-section .impact-stat-unit,
.synosia-impact-section .impact-stat p,
.synosia-impact-section .impact-kicker {
  font-family: "Open Sans", Arial, sans-serif !important;
}

.synosia-vision-depth {
  padding: clamp(5rem, 10vw, 10rem) 0 clamp(5rem, 10vw, 9rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 84% 18%, rgba(117, 77, 255, 0.16), transparent 30%),
    radial-gradient(circle at 10% 88%, rgba(8, 234, 208, 0.11), transparent 32%);
}

.vision-depth-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}

.vision-depth-heading {
  position: sticky;
  top: 112px;
}

.vision-depth-heading span {
  display: inline-block;
  margin-bottom: 1.2rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.vision-depth-heading h2 {
  margin: 0;
  font-size: clamp(2.45rem, 5.8vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.vision-depth-copy p {
  margin: 0 0 clamp(2rem, 4vw, 3.6rem);
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.18rem, 2.1vw, 1.72rem);
  line-height: 1.58;
}

.vision-depth-copy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .synosia-final-reveal {
    min-height: 560px;
  }

  .final-reveal-shell {
    padding: 0 0 2rem;
  }

  .final-reveal-logo {
    width: min(82vw, 420px);
    max-width: 100%;
    max-height: 34vh;
  }

  .final-reveal-links {
    gap: 0.75rem 1.25rem;
    margin-top: 2rem;
  }

  .final-reveal-links a {
    font-size: 0.95rem;
  }

  h1:not(.hero-title),
  h2,
  h3,
  h4,
  h5,
  h6,
  .scroll-reveal-lines {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
    transition: none;
    will-change: auto;
  }

}

@media (max-width: 991.98px) {
  .vision-depth-grid {
    grid-template-columns: 1fr;
  }

  .vision-depth-heading {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .synosia-impact-section {
    overflow: visible;
    padding: 5rem 0 5.5rem !important;
  }

  .impact-kicker {
    margin-bottom: 2.8rem;
  }

  .impact-stat {
    margin-bottom: 2.75rem;
  }

  .impact-stat-number {
    font-size: clamp(3.5rem, 16vw, 5.8rem);
  }

  .synosia-impact-section .impact-stat-number {
    font-size: clamp(3.5rem, 16vw, 5.8rem) !important;
  }

  .impact-stat p {
    max-width: 320px;
    font-size: 1rem;
    line-height: 1.35;
  }

  .synosia-vision-depth {
    padding: 4.5rem 0 5rem;
  }

  .vision-depth-heading h2 {
    font-size: clamp(2.3rem, 11vw, 3.4rem);
    line-height: 1.02;
  }

  .vision-depth-copy p {
    font-size: 1.08rem;
    line-height: 1.65;
  }
}

.card-action {
  margin-top: 1.25rem !important;
  text-align: right;
}

.card-action .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.card-action .btn:hover {
  color: #000000;
  background: #08EAD0;
  border-color: #08EAD0;
}

/* Sizing */

.w100-h180 {
  width: 100%;
  height: 180px;
}

.fit-content {
  width: fit-content;
}

.size-180 {
  width: 180px;
  height: 180px;
}

.mh-380 {
  min-height: 380px;
}

@media (max-width: 767.98px) {
  .mh-380 {
    min-height: 280px;
  }
  
}
.h-hero{
  height: 800px
}

/* Media query */

@media (max-width: 991.98px) {
  .h-hero {
    height: auto;
    min-height: 720px;
  }
}

@media (max-width: 767.98px) {
  .audio-intelligence-hero {
    min-height: 620px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .audio-intelligence-hero::before {
    display: block;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-image: url("../images/onda01.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 88%;
    opacity: 0.24;
    transform: translateZ(0);
    animation: signal-breathe-mobile 16s ease-in-out infinite;
    will-change: transform, opacity;
  }

  .hero-audio-visual {
    display: none;
    inset: 0;
    padding-top: 0;
    transform: none !important;
    transition: none;
  }

  .hero-audio-visual::before,
  .hero-audio-visual::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 0;
    width: 112vw;
    height: clamp(320px, 54vh, 480px);
    background-image: url("../images/onda01.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
  }

  .hero-audio-visual::before {
    opacity: 0.62;
    transform: translate(-50%, -50%);
    animation: none;
  }

  .hero-audio-visual::after {
    display: none;
  }

  .hero-audio-visual svg {
    display: none;
  }

  .hero-visual-glow {
    display: none;
  }

  .hero-particles {
    transform: none;
  }

  .hero-particles span {
    width: 3px;
    height: 3px;
    box-shadow: 0 0 8px rgba(8, 234, 208, 0.54);
    animation: particle-float 13s ease-in-out infinite;
    opacity: 0.52;
    will-change: transform, opacity;
  }

  .hero-particles span:nth-child(n+10) {
    display: none;
  }

  .hero-copy {
    padding-top: 0;
    transform: none !important;
  }

  .hero-copy::before {
    display: none;
  }

  .hero-kicker {
    font-size: 0.68rem;
    margin-bottom: 0.65rem;
  }

  .hero-title {
    font-size: clamp(2.45rem, 12vw, 3.4rem);
    line-height: 1.02;
    margin-bottom: 0.9rem !important;
  }

  .hero-subtitle {
    max-width: 320px;
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .audio-fluid-canvas {
    inset: 0;
    width: 100% !important;
    height: 100%;
    min-height: 100%;
    transform: translateZ(0);
  }

  .hero-title-wrap {
    transform: translateY(-38px);
  }
}

/* Animations */

@keyframes hero-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Respiro leggero del background hero */
@keyframes signal-breathe {
  0%,
  100% {
    transform: scale(1) translate3d(0, 0, 0) rotate(-1.4deg);
    opacity: 0.84;
    filter: brightness(1);
  }
  50% {
    transform: scale(1.07) translate3d(0, -14px, 0) rotate(1.4deg);
    opacity: 1;
    filter: brightness(1.12);
  }
}

@keyframes signal-breathe-mobile {
  0%,
  100% {
    transform: scale(1) translate3d(0, 0, 0) rotate(-0.9deg);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.045) translate3d(0, -8px, 0) rotate(0.9deg);
    opacity: 0.3;
  }
}

/* Da sfocato/tenue a nitido per i titoli */
@keyframes heading-focus-in {
  0% {
    opacity: 0;
    transform: translate3d(28px, 8px, 0);
  }
  38% {
    opacity: 0.58;
    transform: translate3d(12px, 3px, 0);
  }
  68% {
    opacity: 0.9;
    transform: translate3d(2px, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heading-focus-in-mobile {
  0% {
    opacity: 0;
    transform: translate3d(18px, 8px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Alone del bottone play */
@keyframes play-pulse {
  0% {
    opacity: 0.76;
    transform: scale(0.82);
  }
  100% {
    opacity: 0;
    transform: scale(1.38);
  }
}

@keyframes scroll-mouse-wheel {
  0%,
  100% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, 12px);
  }
}

@keyframes scroll-mouse-arrow {
  0%,
  100% {
    opacity: 0.28;
    transform: translate(-50%, -2px) rotate(45deg);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, 5px) rotate(45deg);
  }
}

@media (prefers-reduced-motion: reduce) and (hover: hover) and (pointer: fine) {
  .bg-abstract-hero::before,
  .hero-audio-visual svg,
  .hero-audio-visual svg > g,
  .hero-audio-visual .acoustic-field-core,
  .hero-audio-visual .acoustic-overlay,
  .hero-audio-visual .acoustic-pulse-node,
  .hero-visual-glow,
  .hero-copy::before,
  .hero-particles span,
  .play-video::after,
  .hero-scroll-indicator,
  .scroll-mouse__wheel,
  .scroll-mouse::after,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  .text-gradient-cyan-violet {
    animation: none;
  }

  .scroll-reveal-line {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .vision-reveal .reveal-char {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

@keyframes onda-elastic-sweep {
  0%,
  100% {
    opacity: 0.86;
    transform: translate3d(-4.8vw, 0, 0) scaleX(1.035) scaleY(0.985);
    filter:
      drop-shadow(0 0 16px rgba(8, 234, 208, 0.24))
      drop-shadow(0 0 42px rgba(95, 74, 255, 0.18));
  }
  28% {
    transform: translate3d(3.4vw, 0, 0) scaleX(0.972) scaleY(1.012);
  }
  50% {
    opacity: 0.98;
    transform: translate3d(4.8vw, 0, 0) scaleX(1.026) scaleY(0.99);
    filter:
      drop-shadow(0 0 24px rgba(8, 234, 208, 0.36))
      drop-shadow(0 0 58px rgba(95, 74, 255, 0.25));
  }
  72% {
    transform: translate3d(-3.2vw, 0, 0) scaleX(0.982) scaleY(1.008);
  }
}

@keyframes acoustic-breathe-mobile {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(1);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.015);
  }
}

@keyframes acoustic-bg-breathe-mobile {
  0%,
  100% {
    opacity: 0.54;
    transform: translate(calc(-50% - 5vw), calc(-50% + 5px)) scaleX(1.035) scaleY(0.99);
  }
  28% {
    transform: translate(calc(-50% + 3.5vw), calc(-50% + 5px)) scaleX(0.975) scaleY(1.01);
  }
  50% {
    opacity: 0.66;
    transform: translate(calc(-50% + 5vw), calc(-50% + 5px)) scaleX(1.02) scaleY(0.992);
  }
  72% {
    transform: translate(calc(-50% - 3.5vw), calc(-50% + 5px)) scaleX(0.982) scaleY(1.008);
  }
}

@keyframes acoustic-ring-a {
  0%,
  100% { opacity: 0.62; transform: scale(0.992) rotate(0deg); }
  50% { opacity: 0.94; transform: scale(1.018) rotate(1.2deg); }
}

@keyframes acoustic-core-drift {
  0%,
  100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(2px, -3px, 0) scale(1.01); }
}

@keyframes acoustic-ring-b {
  0%,
  100% { opacity: 0.52; transform: scale(1.012) rotate(0deg); }
  50% { opacity: 0.82; transform: scale(0.988) rotate(-1.4deg); }
}

@keyframes acoustic-ring-c {
  0%,
  100% { opacity: 0.46; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.78; transform: scale(1.026) rotate(0.9deg); }
}

@keyframes acoustic-node-pulse {
  0%,
  100% { opacity: 0.5; filter: brightness(0.95); }
  50% { opacity: 1; filter: brightness(1.3); }
}

@keyframes visual-glow-breathe {
  0%,
  100% { opacity: 0.48; transform: scale(0.96); }
  50% { opacity: 0.82; transform: scale(1.06); }
}

@keyframes onda-overlay-elastic {
  0%,
  100% {
    opacity: 0.38;
    transform: translate(calc(-50% - 4vw), calc(-50% - 12px)) scaleX(1.03) scaleY(0.988);
  }
  28% {
    transform: translate(calc(-50% + 3vw), calc(-50% - 12px)) scaleX(0.978) scaleY(1.01);
  }
  50% {
    opacity: 0.52;
    transform: translate(calc(-50% + 4vw), calc(-50% - 12px)) scaleX(1.018) scaleY(0.992);
  }
  72% {
    transform: translate(calc(-50% - 3vw), calc(-50% - 12px)) scaleX(0.986) scaleY(1.006);
  }
}

@keyframes text-overlay-breathe-mobile {
  0%,
  100% {
    opacity: 0.34;
    transform: translate(calc(-50% + 8px), calc(-50% + 4px)) scale(0.99) rotate(-0.45deg);
  }
  50% {
    opacity: 0.46;
    transform: translate(calc(-50% + 8px), calc(-50% + 4px)) scale(1.025) rotate(0.45deg);
  }
}

@keyframes particle-float {
  0%,
  100% { transform: translate3d(0, 0, 0) scale(0.82); opacity: 0.36; }
  45% { transform: translate3d(14px, -22px, 0) scale(1.16); opacity: 0.88; }
  70% { transform: translate3d(-10px, -12px, 0) scale(0.94); opacity: 0.56; }
}

@keyframes spectrogram-drift {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 88px 88px, 88px 88px, 140px 0; }
}

@keyframes acoustic-overlay-drift {
  from { transform: rotate(0deg) scale(1); opacity: 0.75; }
  50% { transform: rotate(2.4deg) scale(1.018); opacity: 1; }
  to { transform: rotate(0deg) scale(1); opacity: 0.75; }
}
