/* Integrations hero: explicit spacing (Tailwind pt-36/pb-40 utils are absent from the compiled CSS) */
.int-hero {
  padding-top: 136px;
  padding-bottom: 80px;
}
@media (min-width: 768px) {
  .int-hero {
    padding-top: 168px;
    padding-bottom: 112px;
  }
}

/* Hero titles — same scale as customer-stories .csp-h1 */
.hero-h1-mid {
  font-size: clamp(38px, 4.6vw, 72px);
  line-height: 1.06;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* Feature pages: hero title at 0.75× */
.feat-hero .hero-h1-mid {
  font-size: clamp(29px, 3.45vw, 54px);
}

/* Feature hero: header offset only (pt-28/pt-36 lasciavano troppo spazio) */
.feat-hero {
  padding-top: 112px;
  padding-bottom: 48px;
}
@media (min-width: 768px) {
  .feat-hero {
    padding-top: 144px;
    padding-bottom: 64px;
  }
}
.feat-hero-copy h1 {
  margin-top: 0;
}

.feat-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 768px) {
  .feat-hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    align-items: stretch;
  }
  .feat-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
.feat-hero-media {
  background: #F7F9FC;
  border-radius: 20px;
  overflow: hidden;
}
.feat-hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.feat-hero-media-sm img {
  width: 100%;
  margin-left: auto;
}
@media (max-width: 767px) {
  .feat-hero-media-sm img {
    margin-right: auto;
  }
}

/* Mobile 1:1 hero image for product pages */
.product-mobile-hero {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 32px;
}
.product-mobile-hero img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Noise overlay for photographic images */
.img-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  mix-blend-mode: overlay;
  background-repeat: repeat;
  background-size: 80px 80px;
  background-image: url(/assets/img/noise.webp);
  z-index: 1;
}

/* Integrations final CTA: extra bottom space before footer on mobile */
.int-bottom-cta {
  padding-top: 48px;
  padding-bottom: 96px;
}
@media (min-width: 768px) {
  .int-bottom-cta {
    padding-top: 96px;
    padding-bottom: 96px;
  }
}

/* Primary "Prenota una demo" button in page heroes */
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1.25;
  padding: 10px 16px;
}
@media (min-width: 768px) {
  .hero-cta-btn {
    font-size: 18px;
    padding: 15px 26px;
  }
}

