@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

/* =========================
   RESET + VARIABLES
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #02050b;
  --bg-2: #050b14;
  --night: #07111f;
  --night-soft: #0b1728;
  --blue: #123a6f;
  --blue-light: #1f66b7;
  --text: #f7f9fc;
  --muted: #a7b2c3;
  --muted-2: #7f8b9b;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.075);
  --radius: 28px;
  --radius-lg: 42px;
  --container: min(1180px, calc(100vw - 42px));
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.28);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at 15% -10%, rgba(31, 102, 183, 0.34), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(18, 58, 111, 0.28), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(31, 102, 183, 0.10), transparent 36%),
    linear-gradient(180deg, #02040a 0%, #060b14 48%, #02050b 100%);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 12%, black, transparent 70%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 5, 11, 0.92) 0%, transparent 18%, transparent 82%, rgba(2, 5, 11, 0.92) 100%);
}

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

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

p,
h1,
h2,
h3 {
  margin: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.065em;
  line-height: 0.96;
}

main,
header,
footer,
section {
  position: relative;
  z-index: 1;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 112px 0;
}

.dark {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
}

.compact {
  padding: 44px 0;
}

/* =========================
   HEADER
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 5, 11, 0.68);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-wrap img {
  width: 92px;
  height: auto;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.32));
}

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

.desktop-nav a,
.mobile-menu a,
.footer-links a {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.desktop-nav a:hover,
.mobile-menu a:hover,
.footer-links a:hover {
  color: #ffffff;
}

.nav-cta,
.mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.nav-cta:hover,
.mobile-cta:hover {
  transform: translateY(-2px);
  background: #ffffff;
  color: #02050b;
  border-color: #ffffff;
}

.menu-btn {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-btn span {
  width: 18px;
  height: 2px;
  background: #ffffff;
  border-radius: 20px;
}

.mobile-menu {
  display: none;
  padding: 20px 22px 24px;
  background: rgba(2, 5, 11, 0.94);
  border-top: 1px solid var(--line-soft);
}

.mobile-menu.open {
  display: grid;
  gap: 18px;
}

/* =========================
   GENERIC ELEMENTS
========================= */

.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: #9db8dc;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 900;
}

.label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: #9db8dc;
  opacity: 0.9;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  color: #ffffff;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn.primary {
  background:
    linear-gradient(135deg, var(--blue-light), var(--blue) 52%, var(--night-soft));
  box-shadow: 0 20px 55px rgba(31, 102, 183, 0.24);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.075);
}

.section-head {
  max-width: 780px;
  margin-bottom: 44px;
}

.section-head h2,
.area-grid h2,
.instagram-box h2,
.contact-copy h2 {
  font-size: clamp(2.35rem, 4.8vw, 4.35rem);
  margin-bottom: 18px;
}

.section-head p,
.area-grid p,
.instagram-box p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 720px;
}

/* =========================
   HERO
========================= */

.hero {
  min-height: calc(100vh - 88px);
  padding-top: 78px;
  padding-bottom: 92px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.07fr 0.93fr;
  gap: 64px;
  align-items: center;
}

.hero-copy {
    max-width: 850px;
}

.hero h1 {
    font-size: clamp(4rem, 6vw, 6.5rem);
    line-height: .9;
    letter-spacing: -.07em;

    max-width: none;
}

.hero-text {
  margin-top: 30px;
  max-width: 580px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.38vw, 1.28rem);
  line-height: 1.58;
}

.hero-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* =========================
   HERO BUTTONS PREMIUM
========================= */

.hero-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.hero-cta .btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 60px;
  padding: 0 34px;

  border-radius: 999px;

  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;

  color: #ffffff;
  text-decoration: none;

  border: 1px solid rgba(255, 255, 255, 0.14);

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}

.hero-cta .btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.18),
    rgba(255,255,255,0) 58%
  );
  opacity: .75;
}

.hero-cta .btn::after {
  content: "";
  position: absolute;
  top: -80%;
  left: -30%;
  width: 45%;
  height: 260%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.22),
    transparent
  );
  transform: rotate(18deg) translateX(-140%);
  transition: transform .65s ease;
}

.hero-cta .btn:hover::after {
  transform: rotate(18deg) translateX(320%);
}

.hero-cta .btn:hover {
  transform: translateY(-4px);
}

/* Bottone principale */
.hero-cta .btn-primary {
  background:
    radial-gradient(circle at 25% 0%, rgba(255,255,255,.18), transparent 32%),
    linear-gradient(135deg, #246fc5 0%, #123a6f 55%, #07111f 100%);

  box-shadow:
    0 22px 52px rgba(31,102,183,.34),
    inset 0 1px 0 rgba(255,255,255,.20);
}

.hero-cta .btn-primary:hover {
  box-shadow:
    0 30px 72px rgba(31,102,183,.48),
    inset 0 1px 0 rgba(255,255,255,.24);
}

/* Bottone secondario */
.hero-cta .btn-ghost {
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-color: rgba(255,255,255,.20);

  box-shadow:
    0 18px 45px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.12);
}

.hero-cta .btn-ghost:hover {
  background: rgba(255,255,255,.095);
  border-color: rgba(255,255,255,.34);
}

/* Mobile */
@media (max-width: 620px) {
  .hero-cta {
    gap: 14px;
  }

  .hero-cta .btn {
    width: 100%;
    min-height: 58px;
  }
}

.trust-row {
  display: grid;
  gap: 15px;
  margin-top: 36px;
}

.trust-row span {
  position: relative;
  display: block;
  padding-left: 30px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
}

.trust-row span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #9db8dc);
  box-shadow: 0 0 20px rgba(157, 184, 220, 0.48);
}

.hero-panel {
  position: relative;
  min-height: 570px;
  padding: 1px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.035), rgba(31, 102, 183, 0.20));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 0%, rgba(255, 255, 255, 0.10), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(31, 102, 183, 0.34), transparent 34%);
  z-index: 0;
}

.hero-panel::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -24%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(31, 102, 183, 0.56), transparent 68%);
  filter: blur(22px);
  z-index: 0;
}

.panel-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 568px;
  border-radius: 0 0 40px 40px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 58px 48px 48px;
}

.panel-inner img {
  width: min(370px, 78%);
  margin: 0 auto;
  filter: drop-shadow(0 34px 60px rgba(0, 0, 0, 0.42));
}

.panel-content {
  width: 100%;
}

.panel-line {
  width: 100%;
  height: 1px;
  margin: 44px 0 28px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.20), transparent);
}

.panel-inner p {
  color: #dce6f5;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

/* =========================
   METRICS
========================= */

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.metric {
  min-height: 135px;
  padding: 26px;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow-soft);
}

.metric strong {
  color: #9db8dc;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.metric span {
  color: #edf3fb;
  font-size: 1.05rem;
  font-weight: 800;
}

/* =========================
   SERVICES
========================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(31, 102, 183, 0.20), transparent 68%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(157, 184, 220, 0.45);
  background: rgba(255, 255, 255, 0.065);
}

.card:hover::after {
  opacity: 1;
}

.service span,
.step span {
  color: #9db8dc;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 900;
}

.service h3 {
  margin: 28px 0 13px;
  font-size: 1.38rem;
}

.service p,
.step p {
  color: var(--muted);
}

/* =========================
   COLLABORATIONS
========================= */

.logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.logos-grid article {
  min-height: 124px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.020));
  display: grid;
  place-items: center;
  text-align: center;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.logos-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(157, 184, 220, 0.45);
  background: rgba(255, 255, 255, 0.065);
}

/* =========================
   METHOD
========================= */

.method-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: start;
}

.sticky-head {
  position: sticky;
  top: 122px;
}

.steps {
  display: grid;
  gap: 18px;
}

.step {
  padding: 32px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.022));
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.step:hover {
  transform: translateY(-6px);
  border-color: rgba(157, 184, 220, 0.45);
  background: rgba(255, 255, 255, 0.065);
}

.step h3 {
  font-size: 2rem;
  margin: 16px 0 12px;
}

/* =========================
   AREA + MAP
========================= */

.area-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 38px;
  align-items: center;
}

.map-card {
  min-height: 400px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.035);
}

.map-card iframe {
  width: 100%;
  height: 400px;
  border: 0;
  filter: grayscale(1) contrast(1.18) brightness(0.82);
}

/* =========================
   INSTAGRAM
========================= */

.instagram-box {
  padding: 36px;
  border: 1px solid var(--line-soft);
  border-radius: 34px;
  background:
    radial-gradient(circle at 90% 0%, rgba(31, 102, 183, 0.24), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.026));
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

/* =========================
   CONTACTS
========================= */

.contact-section {
  padding-bottom: 96px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
  align-items: stretch;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-cards a {
  display: grid;
  gap: 12px;
  padding: 32px;
  border-radius: 30px;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.022));
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.contact-cards a:hover {
  transform: translateY(-6px);
  border-color: rgba(157, 184, 220, 0.45);
  background: rgba(255, 255, 255, 0.065);
}

.contact-cards span {
  color: #9db8dc;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  font-weight: 900;
}

.contact-cards strong {
  color: #ffffff;
  font-size: 1.15rem;
  word-break: break-word;
}

.contact-cards small {
  color: var(--muted);
}

/* =========================
   FOOTER
========================= */

.footer {
  position: relative;
  z-index: 1;
  padding: 38px 0 52px;
  border-top: 1px solid var(--line-soft);
  background: rgba(2, 5, 11, 0.32);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer p {
  margin-top: 8px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

/* =========================
   FLOAT WHATSAPP
========================= */

.float-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, var(--blue-light), var(--blue), var(--night-soft));
  color: #ffffff;
  font-weight: 950;
  box-shadow: 0 18px 48px rgba(31, 102, 183, 0.32);
  transition: transform 0.25s ease;
}

.float-wa:hover {
  transform: translateY(-4px) scale(1.03);
}

/* =========================
   ANIMATIONS
========================= */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1120px) {
  .hero-grid,
  .method-grid,
  .area-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .hero-panel {
    max-width: 720px;
  }

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

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

  .sticky-head {
    position: static;
  }
}

@media (max-width: 850px) {
  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .nav {
    min-height: 78px;
  }

  .section {
    padding: 82px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 82px;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 14vw, 5.7rem);
    max-width: 10.2ch;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-panel {
    min-height: 430px;
    border-radius: 32px;
  }

  .panel-inner {
    min-height: 428px;
    border-radius: 30px;
    padding: 40px 28px 34px;
  }

  .panel-inner img {
    width: min(310px, 76%);
  }

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

  .instagram-box,
  .footer-grid {
    display: grid;
  }
}

@media (max-width: 620px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .logo-wrap img {
    width: 76px;
  }

  .hero h1 {
    font-size: 3.05rem;
    letter-spacing: -0.062em;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust-row span {
    font-size: 0.98rem;
  }

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

  .card {
    min-height: auto;
  }

  .map-card,
  .map-card iframe {
    min-height: 330px;
    height: 330px;
  }

  .instagram-box {
    padding: 28px;
  }

  .float-wa {
    width: 56px;
    height: 56px;
  }
}
@media (max-width: 850px) {
  .hero-title-marquee {
    max-width: 100%;
  }

  .hero-title-track {
    animation-duration: 16s;
  }

  .hero-title-track h1 {
    font-size: clamp(3rem, 14vw, 5.4rem);
  }
}
.logo-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 50px;
  padding: 8px 0;
}

.logo-marquee::before,
.logo-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 140px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #02050b, transparent);
}

.logo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #02050b, transparent);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  animation: logoScroll 28s linear infinite;
}

.logo-item {
  min-width: 260px;
  height: 118px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 32px;

  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.10);

  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.07), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.020));

  box-shadow:
    0 18px 48px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.06);

  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.03em;

  white-space: nowrap;
}

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

  to {
    transform: translateX(calc(-50% - 11px));
  }
}
@media (max-width: 620px) {
  .logo-item {
    min-width: 220px;
    height: 96px;
    font-size: 0.98rem;
  }

  .logo-track {
    gap: 14px;
    animation-duration: 22s;
  }

  .logo-marquee::before,
  .logo-marquee::after {
    width: 70px;
  }
}
.services-box-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 54px;
}

.service-box {
  min-height: 150px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.10);

  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.07), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.020));

  box-shadow:
    0 18px 48px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.06);
}

.service-box span {
  color: #9db8dc;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.service-box h3 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

@media (max-width: 1120px) {
  .services-box-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .services-box-grid {
    grid-template-columns: 1fr;
  }
}
/* FIX SFARFALLIO SCROLL */

body::before,
body::after {
  position: absolute;
}

.site-header {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(2, 5, 11, 0.96);
}

.hero-panel,
.card,
.service-box,
.metric,
.step,
.logos-grid article,
.contact-cards a,
.instagram-box,
.map-card {
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: auto;
}

.reveal {
  transition: opacity 0.45s ease, transform 0.45s ease;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
/* FIX PERFORMANCE SCROLL - VERSIONE LEGGERA */

body {
  background: #061225 !important;
}

body::before,
body::after {
  display: none !important;
}

* {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
}

.reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.hero-panel::before,
.hero-panel::after,
.card::after {
  display: none !important;
}

.hero-panel,
.card,
.service-box,
.metric,
.step,
.logos-grid article,
.contact-cards a,
.instagram-box,
.map-card {
  box-shadow: 0 12px 28px rgba(0,0,0,.22) !important;
}

.site-header {
  position: sticky;
  background: #03050a !important;
}
