body {
  background-color: #000000;
  background-image: none;
}

section {
  padding: 100px 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
}

:root {
  --section-gap: 14px;
  --nav-pad-y: 0.625rem;
  --nav-logo-h: 4.25rem;
  --nav-logo-fill: 0.88;
  --nav-logo-size-mult: 1.125;
  --nav-total-h: calc(var(--nav-logo-h) + var(--nav-pad-y) * 2);
  --hero-stack-gap: 14px;
  --hero-nav-breath: clamp(24px, 3.5vh, 40px);
  --bg-dark-green: #050505;
  --bg-dark-green-gradient:
    radial-gradient(circle at 80% 20%, rgba(57, 255, 20, 0.12), transparent 35%),
    radial-gradient(circle at 20% 80%, rgba(57, 255, 20, 0.08), transparent 30%);
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
  pointer-events: none;
}

#preloader .about-intro-logo-wrap {
  width: 100%;
  padding: 0 5%;
  box-sizing: border-box;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.animate-fade-up,
.reveal-fade,
.reveal-bottom,
.reveal-right {
  opacity: 0;
  transition: all 0.8s ease-out;
}

.animate-fade-up,
.reveal-fade {
  transform: translateY(24px);
}

.reveal-bottom {
  transform: scale(0.8) translateY(16px);
}

.reveal-right {
  transform: translateX(100px);
}

.animate-fade-up.show,
.reveal-fade.show {
  opacity: 1;
  transform: translateY(0);
}

.hero-seq {
  transform: translateX(120px);
}

.hero-seq.show {
  opacity: 1;
  transform: translateX(0);
}

/* Index hero — animations (mobile + desktop) */
#hero .hero-title-desktop.hero-seq,
#hero .hero-title-mobile.hero-seq {
  transform: scale(0.9);
  transition-property: opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: ease-out;
}

#hero .hero-title-desktop.hero-seq.show,
#hero .hero-title-mobile.hero-seq.show {
  opacity: 1;
  transform: scale(1);
}

#hero .hero-lead.hero-seq {
  opacity: 0;
  transform: translateX(-120px);
  transition-property: opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: ease-out;
}

#hero .hero-lead.hero-seq.show {
  opacity: 1;
  transform: translateX(0);
}

#hero .button-container.hero-seq,
#hero .hero-phones.hero-seq,
#hero .stats-bar.hero-seq {
  transform: scale(0.8) translateY(16px);
  transition-property: opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: ease-out;
}

#hero .button-container.hero-seq.show,
#hero .hero-phones.hero-seq.show,
#hero .stats-bar.hero-seq.show {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.reveal-bottom.show {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.reveal-right.show {
  opacity: 1;
  transform: translateX(0);
}

.hero-seq-0 { transition-delay: 0s; }
.hero-seq-1 { transition-delay: 1s; }
.hero-seq-2 { transition-delay: 2s; }
.hero-seq-3 { transition-delay: 3s; }
.hero-seq-4 { transition-delay: 4s; }
.hero-seq-5 { transition-delay: 5s; }
.hero-seq-6 { transition-delay: 6s; }

.hero-mobile-only {
  display: none;
}

.hero-desktop-only {
  display: block;
}

.badge-text-mobile {
  display: none;
}

.hero-phones {
  display: none;
}

.method-grid .method-item:nth-child(1) { transition-delay: 0.1s; }
.method-grid .method-item:nth-child(2) { transition-delay: 0.2s; }
.method-grid .method-item:nth-child(3) { transition-delay: 0.3s; }
.method-grid .method-item:nth-child(4) { transition-delay: 0.4s; }

.case-grid .case-card:nth-child(1) { transition-delay: 0.1s; }
.case-grid .case-card:nth-child(2) { transition-delay: 0.2s; }
.case-grid .case-card:nth-child(3) { transition-delay: 0.3s; }
.case-grid .case-card:nth-child(4) { transition-delay: 0.4s; }

.case-grid.case-grid--showcase .case-card:nth-child(1) { transition-delay: 0.1s; }
.case-grid.case-grid--showcase .case-card:nth-child(2) { transition-delay: 0.2s; }

#cta-finale .reveal-fade:nth-child(1) { transition-delay: 0.1s; }
#cta-finale .reveal-fade:nth-child(2) { transition-delay: 0.2s; }
#cta-finale .reveal-fade:nth-child(3) { transition-delay: 0.3s; }
#cta-finale .reveal-fade:nth-child(4) { transition-delay: 0.4s; }
#cta-finale .reveal-fade:nth-child(5) { transition-delay: 0.5s; }

.header-shell {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  min-height: calc(var(--nav-logo-h) + var(--nav-pad-y) * 2);
  padding: var(--nav-pad-y) 5%;
  z-index: 10000;
  background-color: transparent;
  transition: background-color 0.25s ease;
  pointer-events: none;
}

.header-shell .logo,
.header-shell .logo a,
.header-shell .nav-toggle {
  pointer-events: auto;
}

.site-header {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.navbar {
  position: static;
  width: 100%;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 0;
  padding: 0;
  background-color: transparent;
  overflow: visible;
  pointer-events: none;
}

.header-shell.scrolled,
.header-shell:has(.navbar.scrolled) {
  background-color: #0a0a0a;
}

.nav-menu {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(10, 10, 10, 0.35);
  cursor: pointer;
  position: relative;
  z-index: 10003;
  pointer-events: auto;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: none;
  -webkit-tap-highlight-color: transparent;
}

.nav-backdrop.is-visible {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  cursor: pointer;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 1;
  align-self: center;
  height: var(--nav-logo-h);
  max-height: var(--nav-logo-h);
  min-width: 0;
  line-height: 0;
  overflow: hidden;
}

.logo a {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  width: auto;
  height: calc((var(--nav-logo-h) + var(--nav-pad-y) * 2) * var(--nav-logo-fill) * var(--nav-logo-size-mult));
  max-height: calc((var(--nav-logo-h) + var(--nav-pad-y) * 2) * var(--nav-logo-fill) * var(--nav-logo-size-mult));
  max-width: min(94vw, 72rem);
  object-fit: contain;
  object-position: left center;
  display: block;
  margin: 0;
  border: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 40px;
}

.cta-nav {
  margin-left: 22px;
}

.nav-links a {
  color: #ffffff;
  font-weight: 500;
}

.nav-links a:hover {
  color: #39ff14;
}

.cta-nav .cta-link {
  border: 1px solid #39ff14;
  color: #0a0a0a;
  background: #39ff14;
  border-radius: 50px;
  padding: 14px 26px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cta-nav .cta-link:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--nav-total-h) + 12px) 50px 48px;
  gap: 44px;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background-color: #050505;
  background-image: url("immagini/sfondoindex.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.hero-content {
  width: 50%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1a1a1a;
  border-radius: 999px;
  padding: 8px 14px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #39ff14;
}

.badge span {
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.hero-content h1 {
  font-size: clamp(3.45rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.text-green {
  color: #39ff14;
}

.hero-content p {
  margin-top: 14px;
  font-size: 1.08rem;
  line-height: 1.5;
  color: #cccccc;
  max-width: 620px;
}

.button-container {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button-container a {
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.6);
  letter-spacing: 0.01em;
}

.btn-primary {
  background-color: #39ff14;
  color: #0a0a0a;
  border-color: #39ff14;
}

.btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-secondary:hover {
  background-color: #39ff14;
  color: #0a0a0a;
}

.stats-bar {
  width: 100%;
  margin-top: 18px;
  padding: 14px 10px;
  display: flex;
  justify-content: space-between;
  background: rgba(10, 10, 10, 0.78);
  border-radius: 18px;
  backdrop-filter: blur(6px);
}

/* Index home hero — desktop only (#hero exists only on index.html) */
@media (min-width: 993px) {
  #hero {
    min-height: 100dvh;
    box-sizing: border-box;
    padding: calc(var(--nav-total-h) + var(--hero-nav-breath)) 50px 22px;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    contain: layout style;
  }

  #hero .hero-visual {
    align-self: center;
    margin-top: 0;
  }

  #hero .hero-content {
    flex: 1;
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    align-self: stretch;
    gap: var(--hero-stack-gap);
  }

  #hero .hero-content .badge,
  #hero .hero-content h1,
  #hero .hero-content p,
  #hero .hero-content .button-container,
  #hero .hero-content .stats-bar {
    margin-top: 0;
    margin-bottom: 0;
  }

  #hero .hero-content h1.hero-title-desktop {
    font-size: clamp(2.85rem, 4.8vw, 3.65rem);
    line-height: 1.06;
  }

  #hero .hero-content p.hero-lead {
    font-size: 1.02rem;
    line-height: 1.58;
    max-width: 620px;
    margin-top: 4px;
  }

  #hero .button-container {
    gap: 12px;
    margin-top: 4px;
  }

  #hero .button-container a {
    padding: 18px 32px;
    font-size: 1.1rem;
    font-weight: 700;
  }

  #hero .stats-bar {
    margin-top: 0;
    padding: 11px 8px;
    width: 100%;
  }

  #hero .hero-title-desktop.hero-seq,
  #hero .button-container.hero-seq,
  #hero .stats-bar.hero-seq {
    transition-duration: 0.65s;
  }

  #hero .hero-lead.hero-seq {
    transition-duration: 0.65s;
  }

  #hero .hero-seq-1 { transition-delay: 0.8s; }
  #hero .hero-seq-2 { transition-delay: 1.6s; }
  #hero .hero-seq-3 { transition-delay: 2.4s; }
  #hero .hero-seq-4 { transition-delay: 3.2s; }
  #hero .hero-seq-5 { transition-delay: 4s; }
}

.stat-item {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 2px 10px;
}

.stat-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.stat-number {
  color: #39ff14;
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 500;
}

.hero-visual {
  width: 50%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-placeholder {
  width: 100%;
  min-height: 0;
}

.method-section {
  padding: 100px 50px;
  margin-top: var(--section-gap);
  background-color: #000000;
  background-image: none;
}

.method-container {
  width: min(1280px, 100%);
  margin: 0 auto;
}

.method-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 42px;
}

.method-header h3,
.method-header .section-eyebrow,
.case-header .section-eyebrow {
  color: #39ff14;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.method-header .section-eyebrow,
.case-header .section-eyebrow {
  margin: 0 0 10px;
}

.section-title-xl {
  margin-top: 14px;
  color: #ffffff;
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  line-height: 1.12;
}

.method-header h2 {
  white-space: normal;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.method-highlight {
  margin-top: 20px;
  color: #39ff14;
  font-size: clamp(1.15rem, 2.1vw, 1.6rem);
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 15px;
}

.method-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.method-card {
  background: #0a0a0a;
  border: 1px solid rgba(57, 255, 20, 0.24);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.method-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #39ff14;
  color: #39ff14;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.method-image {
  width: 100%;
  min-height: 150px;
  aspect-ratio: 16 / 10;
  display: block;
  overflow: hidden;
  border-radius: 0;
  background: linear-gradient(145deg, rgba(57, 255, 20, 0.16), rgba(255, 255, 255, 0.05));
  border: 0;
}

.method-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.method-card-body {
  padding: 20px;
}

.method-card-body h3,
.method-card-body h4 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-top: 0;
}

.method-card-body p {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.6;
  font-size: 0.95rem;
  margin-top: 8px;
}

.case-studies-section {
  padding: 38px 50px 100px;
  margin-top: var(--section-gap);
  background-color: #000000;
}

.case-studies-container {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.case-grid.case-grid--showcase {
  display: grid;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 52px;
  box-sizing: border-box;
}

@media (min-width: 993px) {
  .case-studies-section {
    padding: 48px clamp(40px, 5vw, 56px) 108px;
  }

  .case-grid.case-grid--showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    gap: clamp(28px, 3.2vw, 40px);
    margin-bottom: 56px;
  }

  .case-grid.case-grid--showcase .case-card--premium {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
  }

  .case-grid.case-grid--showcase .case-card--premium .case-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .case-card--premium {
    padding: clamp(28px, 3.2vw, 40px);
    min-height: 100%;
  }

  .case-card--premium .case-thumb {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .case-card-title {
    font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  }

  .case-card-body {
    padding-top: clamp(22px, 2.8vw, 32px);
  }
}

.case-header {
  width: 100%;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 42px;
}

.case-header h3,
.case-header .section-eyebrow {
  color: #39ff14;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}

.case-header h2 {
  color: #ffffff;
}

.case-header p {
  color: #39ff14;
  margin-top: 12px;
  font-size: 1.02rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.case-cta {
  margin-top: 24px;
  border: 1px solid #39ff14;
  background: transparent;
  color: #39ff14;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.case-cta-bottom {
  margin-top: 12px;
  padding: 16px 34px;
  font-size: 1rem;
  font-weight: 800;
}

.case-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 60px;
}

.case-card {
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 12px;
}

.case-card--premium {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: clamp(24px, 3.5vw, 36px);
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.35s ease;
}

.case-card--premium.reveal-right {
  opacity: 0;
  transform: translateX(100px);
  transition:
    transform 0.8s ease-out,
    opacity 0.8s ease-out,
    border-color 0.3s ease,
    box-shadow 0.35s ease;
}

.case-card--premium.reveal-right.show {
  opacity: 1;
  transform: translateX(0);
}

.case-card--premium:hover {
  border-color: rgba(57, 255, 20, 0.28);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(57, 255, 20, 0.1);
}

.case-card--premium.reveal-right.show:hover {
  transform: translateY(-4px);
}

.case-thumb {
  height: 140px;
  border-radius: 10px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.1), rgba(57, 255, 20, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.case-card--premium .case-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: 0;
  padding: 10px;
  border-radius: 14px;
  background: #0a0a0a;
  overflow: visible;
}

.case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.case-card--premium .case-thumb img {
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.case-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: clamp(20px, 2.5vw, 28px);
  gap: 0;
}

.case-card-title {
  color: #ffffff;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
}

.case-card-subtitle {
  margin-top: 10px;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  font-weight: 600;
  color: #39ff14;
  line-height: 1.4;
}

.case-card-meta {
  margin-top: 12px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.68);
}

.case-card-meta-label {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

.case-card h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-top: 12px;
}

.case-kpi {
  margin-top: 6px;
  color: #39ff14;
  font-weight: 700;
  font-size: 0.92rem;
}

.case-stats {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #a3a3a3;
  font-size: 0.78rem;
}

#cta-finale {
  position: relative;
  margin: 0;
  padding: 0;
  border-radius: 0;
  overflow: hidden;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 18%),
    radial-gradient(ellipse at top center, rgba(57, 255, 20, 0.12) 0%, rgba(57, 255, 20, 0.05) 26%, rgba(57, 255, 20, 0) 62%),
    url("immagini/cta.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top: 0;
}

.cta-overlay {
  width: 100%;
  min-height: 470px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.cta-final-content {
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cta-final-badge {
  color: #39ff14;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.cta-final-content h2 {
  margin-top: 14px;
  color: #ffffff;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.12;
  font-weight: 800;
}

.cta-final-subtitle {
  margin-top: 16px;
  color: #d2d2d2;
  font-size: 1.06rem;
  line-height: 1.62;
  max-width: 760px;
}

.cta-final-button {
  margin-top: 24px;
  border: 1px solid #39ff14;
  background: #39ff14;
  color: #0a0a0a;
  border-radius: 999px;
  padding: 16px 28px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.cta-trust-row {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-trust-item {
  color: #ffffff;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-trust-item span:first-child {
  color: #39ff14;
  font-weight: 700;
}

.main-footer {
  background: #000000;
  color: #ffffff;
  margin-top: var(--section-gap);
  padding: clamp(72px, 10vw, 120px) clamp(24px, 4vw, 50px) clamp(28px, 4vw, 42px);
  box-sizing: border-box;
}

.footer-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.footer-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(32px, 5vw, 56px);
}

.footer-links-columns {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  align-items: flex-start;
  gap: clamp(32px, 4vw, 48px);
}

.footer-brand-block {
  width: 300px;
  max-width: 100%;
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand-block h3,
.footer-column h4 {
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-brand-block img {
  height: 92px;
  width: auto;
  display: block;
  margin: 0 0 22px;
}

.footer-brand-block p,
.footer-brand-text {
  color: #888888;
  max-width: 100%;
  line-height: 1.55;
  font-size: 0.95rem;
  text-align: left;
  margin-inline: 0;
}

.footer-links-columns .footer-column {
  min-width: 0;
  flex: 0 0 auto;
}

.footer-container > .footer-column {
  flex: 0 0 auto;
  min-width: 0;
}

/* Footer desktop — logo a sinistra, 3 colonne distribuite nello spazio restante */
@media (min-width: 769px) {
  .main-footer .footer-container {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: center;
    gap: clamp(48px, 6vw, 80px);
    width: 100%;
  }

  .main-footer .footer-brand-block {
    align-self: center;
    width: 300px;
    flex: none;
  }

  .main-footer .footer-nav-group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: clamp(48px, 6vw, 96px);
    align-items: start;
  }

  .main-footer .footer-links-columns {
    display: contents;
  }

  .main-footer .footer-nav-group > .footer-column,
  .main-footer .footer-links-columns > .footer-column {
    min-width: 0;
  }
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column li,
.footer-column a {
  color: #888888;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-column a:hover,
.sub-footer a:hover {
  color: #39ff14;
}

.sub-footer {
  width: 100%;
  margin: clamp(28px, 4vw, 42px) auto 0;
  padding-top: 18px;
  border-top: 1px solid #333333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
}

.sub-footer p {
  color: #888888;
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sub-footer a {
  color: #888888;
  transition: color 0.2s ease;
}

.nav-links a[aria-current="page"] {
  color: #39ff14;
}

.about-page section {
  box-sizing: border-box;
}

.about-page #cta-finale,
.about-page .main-footer {
  padding-left: 0;
  padding-right: 0;
}

.about-page #cta-finale {
  background-color: var(--bg-dark-green);
  background-image: var(--bg-dark-green-gradient);
}

.services-page {
  background-color: #000000;
}

.services-page #cta-finale,
.services-page #servizi-contatti,
.services-page .main-footer,
.cases-page #cta-finale,
.cases-page .main-footer {
  padding-left: 0;
  padding-right: 0;
}

.services-page #servizi-contatti {
  padding-top: 0;
  padding-bottom: 0;
}

.cases-page {
  background-color: #000000;
}

.cases-page #cta-finale {
  background-color: var(--bg-dark-green);
  background-image: var(--bg-dark-green-gradient);
}

.cta-final-content .cases-cta-full-actions {
  margin-top: 24px;
}

.cases-page .services-hero {
  padding: calc(var(--nav-total-h) + 48px) clamp(24px, 5vw, 56px) clamp(48px, 6vw, 72px);
}

.cases-editorial {
  padding: clamp(48px, 6vw, 72px) clamp(24px, 5vw, 56px) clamp(72px, 8vw, 100px);
  margin-top: 0;
}

.cases-editorial-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 10vw, 112px);
}

.cases-story {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
}

.cases-story--reverse {
  flex-direction: row-reverse;
}

.case-content {
  flex: 1;
  width: 50%;
  min-width: 0;
}

.case-content h3 {
  margin: 0 0 24px;
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #39ff14;
}

.case-row {
  margin: 0 0 18px;
  font-size: clamp(1rem, 1.6vw, 1.06rem);
  line-height: 1.72;
  color: #39ff14;
}

.case-row strong {
  color: #39ff14;
  font-weight: 700;
}

.case-row-value {
  color: #ffffff;
}

.case-row-value--quote {
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
}

.case-row--testimonial {
  margin-top: 28px;
  margin-bottom: 0;
}

.cases-story-media {
  flex: 1;
  width: 50%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.cases-story-media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(72vh, 680px);
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.cases-reveal {
  opacity: 0;
  transition: opacity 0.85s ease-out, transform 0.85s ease-out;
}

.cases-reveal--from-left {
  transform: translateX(-20px);
}

.cases-reveal--from-right {
  transform: translateX(20px);
}

.cases-reveal.show {
  opacity: 1;
  transform: translateX(0);
}

.cases-story:nth-child(1) .cases-reveal { transition-delay: 0.05s; }
.cases-story:nth-child(2) .cases-reveal { transition-delay: 0.1s; }
.cases-story:nth-child(3) .cases-reveal { transition-delay: 0.05s; }
.cases-story:nth-child(4) .cases-reveal { transition-delay: 0.1s; }

.services-method-flow .method-split:nth-child(1) .cases-reveal { transition-delay: 0.05s; }
.services-method-flow .method-split:nth-child(2) .cases-reveal { transition-delay: 0.1s; }
.services-method-flow .method-split:nth-child(3) .cases-reveal { transition-delay: 0.05s; }
.services-method-flow .method-split:nth-child(4) .cases-reveal { transition-delay: 0.1s; }

.services-method-tagline.cases-reveal { transition-delay: 0.05s; }

.services-value .about-values-head.cases-reveal { transition-delay: 0.05s; }

.services-values-grid .value-card:nth-child(1).cases-reveal { transition-delay: 0.05s; }
.services-values-grid .value-card:nth-child(2).cases-reveal { transition-delay: 0.1s; }
.services-values-grid .value-card:nth-child(3).cases-reveal { transition-delay: 0.15s; }

.services-contact-intro.cases-reveal { transition-delay: 0.05s; }
.services-contact-form-panel.cases-reveal { transition-delay: 0.1s; }

.cases-cta-full-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.contatti-page {
  width: 100%;
  flex: 1 0 auto;
  background-color: #000000;
}

.contatti-page .contatti-hero,
.contatti-page .contatti-main {
  margin-top: 0;
  box-sizing: border-box;
}

.contatti-page .main-footer {
  padding-left: 0;
  padding-right: 0;
}

.contatti-hero {
  padding: calc(var(--nav-total-h) + 48px) clamp(24px, 5vw, 56px) clamp(20px, 3vw, 28px);
  background-color: #000000;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(57, 255, 20, 0.1), transparent 35%),
    radial-gradient(circle at 20% 80%, rgba(57, 255, 20, 0.06), transparent 30%);
}

.contatti-hero-inner.services-hero-seq-wrap.is-visible h1.services-hero-fade {
  opacity: 1;
  transition-delay: 0.12s;
}

.contatti-hero-inner.services-hero-seq-wrap.is-visible .contatti-lead.services-hero-fade {
  opacity: 1;
  transition-delay: 0.58s;
}

.contatti-form-col.cases-reveal {
  transition-delay: 0.05s;
}

.contatti-info-box.cases-reveal {
  transition-delay: 0.1s;
}

.contatti-hero-inner {
  width: min(820px, 100%);
  margin: 0 auto;
  text-align: center;
}

.contatti-hero h1 {
  font-size: clamp(2.15rem, 4.8vw, 3.35rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.contatti-lead {
  margin-top: 20px;
  font-size: clamp(1.02rem, 1.9vw, 1.18rem);
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.76);
}

.contatti-main {
  padding: clamp(44px, 6vw, 64px) clamp(24px, 5vw, 56px) clamp(72px, 8vw, 100px);
}

.contatti-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.contatti-form-col {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

.contatti-form-panel,
.contatti-form-success {
  grid-area: 1 / 1;
  min-width: 0;
}

.contatti-form-panel {
  height: auto;
  padding: clamp(28px, 4vw, 36px);
  background: rgba(8, 8, 8, 0.88);
  border: 1px solid rgba(57, 255, 20, 0.22);
  border-radius: 18px;
  box-sizing: border-box;
}

.contatti-form-success {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  max-width: none;
  padding: clamp(32px, 5vw, 48px);
  text-align: center;
  background: rgba(8, 8, 8, 0.88);
  border: 1px solid rgba(57, 255, 20, 0.28);
  border-radius: 18px;
  box-sizing: border-box;
}

.contatti-form-success[hidden] {
  display: none !important;
}

.contatti-form-success p {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.contatti-info-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: auto;
  align-self: start;
  padding: clamp(28px, 4vw, 36px);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-sizing: border-box;
}

.contatti-info-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
}

.contatti-info-lead {
  margin-top: 16px;
  font-size: clamp(0.98rem, 1.6vw, 1.06rem);
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.72);
}

.contatti-info-list {
  list-style: none;
  margin: clamp(24px, 3vw, 32px) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.contatti-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.contatti-info-list a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease;
}

.contatti-info-list a:hover {
  color: #39ff14;
}

.contatti-wa-btn {
  margin-top: clamp(24px, 3vw, 32px);
  padding-top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border-radius: 999px;
  border: 1px solid #39ff14;
  background: transparent;
  color: #39ff14;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.contatti-wa-btn:hover {
  background: #39ff14;
  color: #0a0a0a;
  transform: translateY(-1px);
}

.cta-split-subtitle {
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
  text-align: left;
}

.cta-form-title {
  margin: 0 0 6px;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
}

.services-hero {
  padding: calc(var(--nav-logo-h) + var(--nav-pad-y) * 2 + 48px) 50px 80px;
  margin-top: 0;
  display: flex;
  justify-content: center;
  background-color: #000000;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(57, 255, 20, 0.12), transparent 35%),
    radial-gradient(circle at 20% 80%, rgba(57, 255, 20, 0.08), transparent 30%);
}

.services-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.services-hero-title {
  font-size: clamp(2.1rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 860px;
}

.services-hero-lead {
  margin-top: 24px;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.78);
  max-width: 780px;
}

.services-hero-fade {
  opacity: 0;
  transform: none;
  transition: opacity 0.85s ease-out;
}

.services-hero-seq-wrap.is-visible .services-hero-title.services-hero-fade {
  opacity: 1;
  transition-delay: 0.12s;
}

.services-hero-seq-wrap.is-visible .services-hero-lead.services-hero-fade {
  opacity: 1;
  transition-delay: 0.58s;
}

.services-method.method-section {
  padding-top: 72px;
  padding-bottom: 64px;
}

.hero-zoom-in {
  opacity: 0;
  transform: scale(0.3);
}

.hero-zoom-in.is-animated {
  animation: zoomIn 1.5s ease-out forwards;
}

.services-method {
  margin-top: var(--section-gap);
}

.services-method-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0;
}

.method-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px 64px;
  align-items: center;
  padding: 48px 0;
}

.method-split:first-child {
  padding-top: 0;
}

.method-split:last-child {
  padding-bottom: 0;
}

.method-split--reverse .method-split-card {
  order: 2;
}

.method-split--reverse .method-split-text {
  order: 1;
}

.services-method-flow .method-split:nth-child(1) {
  transition-delay: 0.1s;
}

.services-method-flow .method-split:nth-child(2) {
  transition-delay: 0.15s;
}

.services-method-flow .method-split:nth-child(3) {
  transition-delay: 0.2s;
}

.services-method-flow .method-split:nth-child(4) {
  transition-delay: 0.25s;
}

.method-split-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.method-split-card .method-number {
  width: 40px;
  height: 40px;
  font-size: 1rem;
}

.method-card--large {
  width: 100%;
}

.method-card--large .method-image {
  min-height: 240px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
}

.method-card--large .method-card-body {
  display: none;
}

.method-split-text {
  min-width: 0;
}

.method-split-title {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #39ff14;
  margin-bottom: 16px;
}

.method-split-copy {
  font-size: clamp(1.08rem, 1.85vw, 1.28rem);
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
}

.services-method-tagline--footer {
  margin: 48px auto 0;
  max-width: 920px;
  text-align: center;
  font-size: clamp(1.35rem, 2.8vw, 2.15rem);
  line-height: 1.15;
}

.services-value {
  margin-top: var(--section-gap);
  padding-inline: 50px;
  box-sizing: border-box;
}

.services-value .about-values-inner {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.services-value .method-header.about-values-head {
  width: 100%;
  max-width: 100%;
  margin-bottom: 42px;
  margin-inline: auto;
  text-align: center;
}

.services-page #servizi-contatti.services-cta,
.services-page #cta-finale.services-cta {
  background-color: var(--bg-dark-green);
  background-image: var(--bg-dark-green-gradient);
}

.services-contact-shell {
  width: 100%;
  padding: clamp(56px, 7vw, 80px) clamp(24px, 5vw, 56px);
  box-sizing: border-box;
}

.services-contact-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.services-contact-layout.is-success {
  grid-template-columns: 1fr;
  justify-items: center;
}

.services-contact-layout.is-success .services-contact-intro {
  display: none;
}

.services-contact-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(8px, 2vw, 16px) 0;
}

.services-contact-title {
  margin: 0;
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: #ffffff;
  max-width: 520px;
}

.services-contact-info {
  list-style: none;
  margin: clamp(24px, 3vw, 32px) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.services-contact-info li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.82);
}

.services-contact-info a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease;
}

.services-contact-info a:hover {
  color: #39ff14;
}

.services-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid rgba(57, 255, 20, 0.22);
  color: #39ff14;
}

.services-contact-icon svg {
  width: 22px;
  height: 22px;
}

.services-contact-form-panel {
  padding: clamp(28px, 4vw, 36px);
  background: rgba(8, 8, 8, 0.88);
  border: 1px solid rgba(57, 255, 20, 0.22);
  border-radius: 18px;
  box-sizing: border-box;
}

.services-netlify-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.services-netlify-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

.services-netlify-form input,
.services-netlify-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0a0a0a;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
  min-height: 48px;
}

.services-netlify-form textarea {
  min-height: 120px;
}

.services-netlify-form input::placeholder,
.services-netlify-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.services-netlify-form input:focus,
.services-netlify-form textarea:focus {
  outline: none;
  border-color: rgba(57, 255, 20, 0.55);
  box-shadow: 0 0 0 2px rgba(57, 255, 20, 0.12);
}

.services-netlify-submit {
  margin-top: 8px;
  width: 100%;
  border: 1px solid #39ff14;
  background: #39ff14;
  color: #0a0a0a;
  border-radius: 999px;
  padding: 16px 24px;
  font-size: 0.95rem;
  font-weight: 800;
  font-family: inherit;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.services-netlify-submit:hover:not(:disabled) {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.services-netlify-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

#success-message {
  padding: clamp(28px, 4vw, 40px);
  background: rgba(8, 8, 8, 0.88);
  border: 1px solid rgba(57, 255, 20, 0.28);
  border-radius: 18px;
  box-sizing: border-box;
}

#success-message p {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.services-contact-layout > .services-contact-success {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 48px);
  text-align: center;
  background: rgba(8, 8, 8, 0.88);
  border: 1px solid rgba(57, 255, 20, 0.28);
  border-radius: 18px;
  box-sizing: border-box;
}

.services-contact-success[hidden] {
  display: none !important;
}

.services-contact-success p {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.services-page #cta-finale .cta-overlay--split {
  min-height: auto;
  padding: 56px 50px;
  align-items: stretch;
  background: transparent;
}

.cta-overlay--dark {
  background: transparent;
}

.cta-split {
  width: min(1180px, 100%);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: clamp(24px, 4vw, 40px);
  text-align: left;
}

.cta-split-box {
  flex: 1;
  min-width: 0;
  padding: clamp(28px, 4vw, 36px);
  background: rgba(8, 8, 8, 0.88);
  border: 1px solid rgba(57, 255, 20, 0.22);
  border-radius: 18px;
  box-sizing: border-box;
}

.cta-split-box--copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.cta-split-box--copy h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.14;
  font-weight: 800;
  text-align: left;
  max-width: 520px;
}

.cta-split-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cta-action-btn {
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
  border: 1px solid transparent;
  letter-spacing: 0.01em;
}

.cta-action-btn--wa {
  background: #39ff14;
  color: #0a0a0a;
  border-color: #39ff14;
}

.cta-action-btn--call {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}

.cta-action-btn--call:hover {
  background: rgba(57, 255, 20, 0.12);
  border-color: #39ff14;
  color: #ffffff;
}

.cta-action-btn--wa:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.cta-contact-form {
  flex: 1;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(28px, 4vw, 36px);
  background: rgba(8, 8, 8, 0.88);
  border: 1px solid rgba(57, 255, 20, 0.22);
  border-radius: 18px;
}

.cta-contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

.cta-contact-form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0a0a0a;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cta-contact-form input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.cta-contact-form input:focus {
  outline: none;
  border-color: rgba(57, 255, 20, 0.55);
  box-shadow: 0 0 0 2px rgba(57, 255, 20, 0.12);
}

.cta-form-submit {
  margin-top: 6px;
  border: 1px solid #39ff14;
  background: #39ff14;
  color: #0a0a0a;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 0.92rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.cta-form-submit:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.services-values-grid .value-card:nth-child(1) {
  transition-delay: 0.1s;
}

.services-values-grid .value-card:nth-child(2) {
  transition-delay: 0.2s;
}

.services-values-grid .value-card:nth-child(3) {
  transition-delay: 0.3s;
}

@keyframes zoomIn {
  from {
    transform: scale(0.3);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.about-intro {
  padding: 0;
  background-color: #000000;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  width: min(1280px, 100%);
  margin: 0 auto;
  box-sizing: border-box;
  padding: calc(var(--nav-total-h) + 48px) 5% 100px;
  min-height: min(100dvh, 920px);
}

.about-intro-logo-col {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(320px, 42vh, 520px);
}

.about-intro-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding: clamp(12px, 2vw, 28px);
  transform-origin: center center;
}

.about-intro-logo {
  display: block;
  width: min(100%, 560px);
  max-height: min(72vh, 520px);
  height: auto;
  object-fit: contain;
  animation: zoomIn 1.5s ease-out forwards;
}

.about-intro-copy {
  max-width: none;
  margin: 0;
  padding: 0;
}

.about-intro-copy p {
  font-size: clamp(1.1rem, 1.6vw, 1.26rem);
  line-height: 1.88;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.about-intro-copy p:last-child {
  margin-bottom: 0;
}

.about-team {
  padding: 88px 5% 110px;
}

.about-team-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.about-team-title {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  line-height: 1.2;
  margin: 0 0 26px;
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}

.about-team-media {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  justify-content: center;
  align-self: center;
}

.about-photo {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(160deg, rgba(57, 255, 20, 0.08) 0%, transparent 42%),
    linear-gradient(200deg, #141414 0%, #0a0a0a 55%, #111811 100%);
  border: 1px solid rgba(57, 255, 20, 0.18);
  border-radius: 6px;
}

.about-team-copy {
  grid-column: 2;
  grid-row: 2;
}

.about-team-copy p {
  font-size: 1.02rem;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.25rem;
}

.about-team-copy p:last-child {
  margin-bottom: 0;
}

.about-values {
  padding: 72px 5% 110px;
}

.about-values-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.about-values-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.about-values-sub {
  margin-top: 16px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.values-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.values-grid.services-values-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  justify-items: stretch;
  box-sizing: border-box;
}

.values-grid .value-card:nth-child(1) {
  transition-delay: 0.1s;
}

.values-grid .value-card:nth-child(2) {
  transition-delay: 0.2s;
}

.values-grid .value-card:nth-child(3) {
  transition-delay: 0.3s;
}

.values-grid .value-card:nth-child(4) {
  transition-delay: 0.4s;
}

.value-card {
  padding: 30px 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.value-card:hover {
  border-color: rgba(57, 255, 20, 0.35);
  background: rgba(57, 255, 20, 0.04);
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: #39ff14;
}

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

.value-card h3 {
  font-size: 1.12rem;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 993px) {
  .nav-toggle {
    display: none !important;
  }

  .nav-backdrop {
    display: none !important;
    pointer-events: none !important;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 5%;
    left: auto;
    width: auto;
    height: calc(var(--nav-logo-h) + var(--nav-pad-y) * 2);
    margin: 0;
    padding: 0 var(--nav-pad-y);
    display: flex;
    transform: none;
    visibility: visible;
    pointer-events: none;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
    clip-path: none;
    z-index: 10001;
  }

  .nav-menu .nav-links,
  .nav-menu .cta-nav,
  .nav-menu a,
  .nav-menu .cta-link {
    pointer-events: auto;
  }

  .nav-menu.is-open {
    transform: none;
  }
}

@media (max-width: 992px) {
  :root {
    --section-gap: 11px;
  }

  .header-shell {
    padding: 16px 20px;
    pointer-events: none;
  }

  .navbar {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .logo {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 58px);
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    margin-left: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100dvh;
    height: 100svh;
    margin-left: 0;
    padding: calc(var(--nav-logo-h) + var(--nav-pad-y) * 2 + 28px) 24px 32px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 28px;
    background: #0a0a0a;
    border-left: 1px solid rgba(57, 255, 20, 0.22);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
    transform: translate3d(110%, 0, 0);
    transition: transform 0.35s ease, visibility 0.35s ease;
    z-index: 10002;
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: none;
    visibility: hidden;
    clip-path: inset(0 0 0 100%);
  }

  .nav-menu.is-open {
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
    visibility: visible;
    clip-path: none;
  }

  .nav-menu.is-open,
  .nav-menu.is-open a,
  .nav-menu.is-open .cta-nav .cta-link {
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-left: 0;
    width: 100%;
  }

  .nav-links a {
    font-size: 1.08rem;
  }

  .cta-nav {
    margin-left: 0;
    width: 100%;
  }

  .cta-nav .cta-link {
    width: 100%;
    padding: 14px 20px;
  }

  .logo img {
    max-width: min(58vw, 20rem);
  }

  .reveal-right {
    transform: translateX(36px);
  }

  .reveal-right.show {
    transform: translateX(0);
  }

  .case-card--premium.reveal-right {
    transform: translateX(36px);
  }

  .case-card--premium.reveal-right.show {
    transform: translateX(0);
  }

  .case-card--premium.reveal-right.show:hover {
    transform: translateY(-4px);
  }

  .hero-seq {
    transform: translateX(48px);
  }

  .hero-mobile-only {
    display: block;
  }

  .hero-desktop-only {
    display: none !important;
  }

  .badge-text-desktop {
    display: none;
  }

  .badge-text-mobile {
    display: inline;
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 0.8rem;
    font-weight: 500;
  }

  .hero {
    min-height: auto;
    padding: 0 20px 32px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background-color: #050505;
    background-image:
      radial-gradient(circle at 80% 20%, rgba(57, 255, 20, 0.12), transparent 35%),
      radial-gradient(circle at 20% 80%, rgba(57, 255, 20, 0.08), transparent 30%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .hero-visual {
    display: none;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-top: calc(var(--nav-logo-h) + var(--nav-pad-y) * 2 + 16px);
    overflow-wrap: anywhere;
  }

  .hero-content h1.hero-title-mobile {
    margin: 0 0 20px;
    font-size: clamp(1.75rem, 6.8vw, 2.125rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.03em;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero-title-line {
    display: block;
  }

  .hero-content p.hero-lead {
    margin: 0 0 28px;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    max-width: 100%;
  }

  .button-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    gap: 16px;
    flex-direction: column;
  }

  .hero .button-container a {
    width: 100%;
    max-width: 100%;
    min-height: 54px;
    padding: 14px 22px;
    font-size: clamp(0.78rem, 2.85vw, 0.88rem);
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    border-radius: 999px;
    letter-spacing: 0.01em;
    box-sizing: border-box;
  }

  #hero .hero-lead.hero-seq {
    transform: translateX(-48px);
  }

  #hero .hero-lead.hero-seq.show {
    transform: translateX(0);
  }

  .btn-primary {
    box-shadow: 0 10px 36px rgba(57, 255, 20, 0.28);
  }

  .btn-secondary {
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    margin-bottom: 32px;
  }

  .hero-phones {
    display: block;
    width: 100%;
    margin: 0 0 32px;
    line-height: 0;
  }

  .hero-phones img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
    animation: heroPhonesFloat 4.5s ease-in-out infinite;
  }

  @keyframes heroPhonesFloat {
    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-12px);
    }
  }

  .stats-bar {
    margin: 0;
    padding: 0 6px 8px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 12px;
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
  }

  .stat-item {
    min-width: 0;
    padding: 14px 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: center;
    align-items: center;
  }

  .stat-item:not(:last-child) {
    border-right: 0;
    border-bottom: 0;
  }

  .stat-item:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
  }

  .stat-item:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
  }

  .method-section {
    padding: 38px 24px 100px;
    margin-top: var(--section-gap);
  }

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

  .case-studies-section {
    padding: 38px 24px 100px;
    margin-top: var(--section-gap);
  }

  .case-grid--showcase {
    gap: 24px;
  }

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

  .case-cta-bottom {
    padding: 14px 28px;
  }

  #cta-finale {
    margin: 6px 0 0;
  }

  .cta-overlay {
    min-height: 420px;
    padding: 40px 20px;
  }

  .cta-final-button {
    margin-top: 18px;
    padding: 14px 24px;
  }

  .main-footer {
    margin-top: var(--section-gap);
    padding: 72px 24px 28px;
  }

  .footer-container {
    flex-wrap: wrap;
    gap: 32px 24px;
  }

  .footer-brand-block {
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
    align-items: center;
  }

  .footer-brand-block img {
    margin: 0 auto 22px;
  }

  .footer-brand-block p,
  .footer-brand-text {
    text-align: center;
  }

  .footer-links-columns {
    flex: 1 1 calc(50% - 12px);
    justify-content: space-around;
    gap: 24px;
  }

  .footer-container > .footer-column {
    flex: 1 1 calc(50% - 12px);
  }

  .sub-footer {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

  .about-team-title,
  .about-team-media,
  .about-team-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .about-photo {
    max-width: 380px;
  }

  .values-grid.services-values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100%;
  }

  .cases-editorial {
    padding: clamp(40px, 6vw, 56px) 24px clamp(72px, 8vw, 100px);
  }

  .cases-story,
  .cases-story--reverse {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .case-content,
  .cases-story-media {
    width: 100%;
    flex: none;
  }

  .cases-story-media {
    order: -1;
  }

  .cases-story-media img {
    max-height: none;
  }

  .about-intro-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: calc(var(--nav-total-h) + 36px);
    gap: 48px;
  }

  .about-intro-logo-col {
    min-height: 300px;
  }

  .method-split,
  .method-split--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 72px 0;
  }

  .method-split--reverse .method-split-card,
  .method-split--reverse .method-split-text {
    order: unset;
  }

  .method-split-card {
    order: 1;
  }

  .method-split-text {
    order: 2;
  }

  .method-card--large .method-image {
    min-height: 200px;
  }
}

@media (max-width: 768px) {
  .header-shell {
    --nav-logo-h: 3.75rem;
    --nav-pad-y: 0.5rem;
    min-height: calc(var(--nav-logo-h) + var(--nav-pad-y) * 2);
    padding-top: max(16px, env(safe-area-inset-top, 0px));
    padding-bottom: max(16px, var(--nav-pad-y));
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }

  .logo {
    height: var(--nav-logo-h);
    max-height: var(--nav-logo-h);
  }

  .logo img {
    --nav-logo-fill: 0.86;
    --nav-logo-size-mult: 1.125;
    height: calc((var(--nav-logo-h) + var(--nav-pad-y) * 2) * var(--nav-logo-fill) * var(--nav-logo-size-mult));
    max-height: calc((var(--nav-logo-h) + var(--nav-pad-y) * 2) * var(--nav-logo-fill) * var(--nav-logo-size-mult));
    max-width: min(52vw, 16rem);
  }

  :root {
    --section-gap: 8px;
  }

  .hero {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }

  .hero-content {
    padding-top: calc(var(--nav-logo-h) + var(--nav-pad-y) * 2 + 12px);
  }

  #hero .hero-content h1.hero-title-mobile {
    text-align: center;
    align-self: center;
    font-size: clamp(1.6875rem, 6.75vw, 2.0625rem);
    line-height: 1.08;
  }

  #hero .hero-content p.hero-lead {
    text-align: center;
    align-self: center;
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .hero .button-container a {
    min-height: 52px;
    padding: 14px 20px;
    font-size: clamp(0.76rem, 3vw, 0.86rem);
  }

  .about-team-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(24px, 5vw, 36px);
  }

  .about-team-title {
    order: 1;
    grid-column: auto;
    grid-row: auto;
    align-self: center;
    text-align: center;
    width: 100%;
    margin: 0;
  }

  .about-team-media {
    order: 2;
    grid-column: auto;
    grid-row: auto;
    width: 100%;
  }

  .about-team-copy {
    order: 3;
    grid-column: auto;
    grid-row: auto;
    width: 100%;
  }

  .contatti-info-box {
    order: -1;
  }

  .contatti-form-col {
    order: 1;
  }

  .stats-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 4px 8px;
    gap: 14px 12px;
  }

  .stat-item {
    flex: 0 1 calc(33.333% - 12px);
    max-width: calc(33.333% - 12px);
    padding: 12px 8px;
    min-width: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    text-align: center;
    align-items: center;
  }

  .stat-item:not(:last-child) {
    border-right: 0;
    border-bottom: 0;
  }

  .stat-item:nth-child(4),
  .stat-item:nth-child(5) {
    grid-column: unset;
    grid-row: unset;
  }

  .stat-number {
    font-size: 1.15rem;
  }

  .stat-label {
    font-size: 0.68rem;
    line-height: 1.35;
  }

  .method-section {
    padding: 38px 20px 100px;
    margin-top: var(--section-gap);
  }

  .method-header {
    margin-bottom: 30px;
  }

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

  .case-studies-section {
    padding: 38px 20px 100px;
    margin-top: var(--section-gap);
  }

  .case-grid.case-grid--showcase,
  .case-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .case-card--premium .case-thumb {
    min-height: 0;
    padding: 8px;
    overflow: visible;
  }

  .case-card--premium .case-thumb img {
    max-width: 100%;
    max-height: none;
  }

  .case-cta-bottom {
    width: auto;
    max-width: 92%;
    text-align: center;
    padding: 13px 20px;
    font-size: 0.9rem;
  }

  #cta-finale {
    margin: 6px 0 0;
  }

  .cta-overlay {
    min-height: 360px;
    padding: 30px 16px;
  }

  .cta-final-content h2 {
    font-size: clamp(1.8rem, 8.4vw, 2.3rem);
  }

  .cta-final-subtitle {
    margin-top: 12px;
    font-size: 0.97rem;
    line-height: 1.5;
  }

  .cta-final-button {
    margin-top: 14px;
    max-width: 92%;
    padding: 13px 18px;
    font-size: 0.85rem;
  }

  .cta-trust-row {
    margin-top: 14px;
    gap: 12px;
  }

  .main-footer {
    margin-top: 0;
    padding: 48px 20px 24px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
  }

  .footer-brand-block {
    width: 100%;
    flex: none;
    align-items: center;
  }

  .footer-brand-block img {
    margin: 0 auto 22px;
  }

  .footer-brand-block p,
  .footer-brand-text {
    text-align: center;
    max-width: none;
  }

  .footer-links-columns {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 24px;
  }

  .main-footer .footer-nav-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 24px;
  }

  .main-footer .footer-nav-group > .footer-column {
    width: 100%;
  }

  .footer-column ul {
    align-items: center;
  }

  .sub-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sub-footer p {
    justify-content: center;
  }

  .about-page #valori .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #cta-finale {
    margin: 0;
  }

  #cta-finale .cta-overlay {
    min-height: auto;
    padding: 36px 20px 24px;
    box-sizing: border-box;
  }

  .services-page #servizi-contatti .services-contact-shell {
    padding: 36px 20px 24px;
    box-sizing: border-box;
  }

  .about-intro-grid {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: calc(var(--nav-total-h) + 28px) 20px 72px;
    gap: 40px;
  }

  .about-intro-logo-col {
    order: -1;
    min-height: 280px;
  }

  .about-intro-logo {
    width: min(92vw, 440px);
    max-height: min(50vh, 400px);
  }

  .about-intro-copy {
    padding: 0;
  }

  .about-team,
  .about-values,
  .services-value {
    padding-left: 20px;
    padding-right: 20px;
  }

  .values-grid.services-values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    max-width: 100%;
  }

  .services-hero {
    padding: calc(var(--nav-logo-h) + var(--nav-pad-y) * 2 + 32px) 20px 56px;
  }

  .cases-editorial {
    padding: clamp(40px, 6vw, 56px) 20px 64px;
  }

  .cases-editorial-inner {
    gap: 64px;
  }

  .cases-story,
  .cases-story--reverse {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .case-content,
  .cases-story-media {
    width: 100%;
    flex: none;
  }

  .cases-story-media {
    order: -1;
  }

  .cases-cta-full-actions {
    width: 100%;
    flex-direction: column;
  }

  .cases-cta-full-actions .cta-action-btn {
    width: 100%;
    max-width: 320px;
  }

  .cta-split-subtitle {
    text-align: center;
    max-width: none;
  }

  .contatti-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contatti-hero {
    padding-top: calc(var(--nav-logo-h) + var(--nav-pad-y) * 2 + 32px);
    padding-bottom: clamp(16px, 3vw, 24px);
    padding-left: 20px;
    padding-right: 20px;
  }

  .contatti-main {
    padding: clamp(36px, 5vw, 48px) 20px 64px;
  }

  .contatti-wa-btn {
    margin-top: 28px;
  }

  .services-contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .services-contact-intro {
    align-items: center;
    text-align: center;
  }

  .services-contact-title {
    max-width: none;
    text-align: center;
  }

  .services-contact-info {
    align-items: flex-start;
    width: 100%;
    max-width: 340px;
    margin-inline: auto;
  }

  .services-contact-shell {
    padding: 48px 20px;
  }

  .services-hero-title {
    font-size: clamp(1.55rem, 6.6vw, 2rem);
    line-height: 1.14;
  }

  .services-hero-lead {
    margin-top: 20px;
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .services-page .method-section {
    padding: 72px 20px;
  }

  .method-split,
  .method-split--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 56px 0;
  }

  .method-split-card {
    order: 1;
  }

  .method-split-text {
    order: 2;
  }

  .method-card--large .method-image {
    min-height: 180px;
  }

  .method-split-title {
    font-size: clamp(1.5rem, 5.5vw, 1.85rem);
    margin-bottom: 16px;
  }

  .services-method-tagline--footer {
    font-size: clamp(1.2rem, 5vw, 1.65rem);
    margin-top: 36px;
  }

  .services-page #cta-finale .cta-overlay--split {
    padding: 40px 20px;
  }

  .cta-split {
    flex-direction: column;
  }

  .cta-split-box--copy {
    align-items: center;
    text-align: center;
  }

  .cta-split-box--copy h2 {
    text-align: center;
    max-width: none;
  }

  .cta-split-actions {
    justify-content: center;
    width: 100%;
  }

  .cta-contact-form {
    max-width: 100%;
    width: 100%;
  }

  .method-split-copy {
    font-size: 1.02rem;
    line-height: 1.72;
  }
}

.legal-page {
  flex: 1 0 auto;
  background-color: #000000;
}

.legal-hero {
  padding: calc(var(--nav-total-h) + 48px) clamp(24px, 5vw, 56px) clamp(32px, 4vw, 48px);
}

.legal-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  color: #ffffff;
}

.legal-hero p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
}

.legal-content {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 56px) clamp(72px, 8vw, 100px);
}

.legal-content h2 {
  margin: 36px 0 14px;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  font-weight: 700;
  color: #39ff14;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
}

.legal-content ul {
  margin: 12px 0 0 20px;
}

.legal-content a {
  color: #39ff14;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: #ffffff;
}

.legal-content code {
  font-size: 0.9em;
  color: #39ff14;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease;
  pointer-events: none;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 20px clamp(20px, 4vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner-copy {
  min-width: 0;
}

.cookie-banner-title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.cookie-banner-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.cookie-banner-text a {
  color: #39ff14;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner-accept {
  flex-shrink: 0;
  border: 1px solid #39ff14;
  background: #39ff14;
  color: #0a0a0a;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cookie-banner-accept:hover {
  background: transparent;
  color: #39ff14;
}

@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .cookie-banner-accept {
    width: 100%;
    text-align: center;
  }
}
