/* V20: compact, image-led Services hero. Scoped to the Services page. */
.services-hero-v20 {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(700px, 79svh);
  padding: 155px 0 92px;
  overflow: hidden;
  background: none !important;
  background-attachment: scroll;
}
.services-hero-v20::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../img/services-hero.jpg") center 45% / cover no-repeat;
  transform: scale(1.025);
  pointer-events: none;
}
.services-hero-v20::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(4,13,17,.95) 0%, rgba(4,13,17,.84) 45%, rgba(4,13,17,.39) 100%);
  pointer-events: none;
}
.services-hero-v20 .services-hero-content { position: relative; z-index: 1; }
.services-hero-copy { max-width: 850px; }
.services-hero-v20 .services-hero-kicker {
  margin-bottom: 18px;
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: #8adfac;
}
.services-hero-v20 h1 {
  max-width: 880px;
  margin: 0 0 24px;
  font-size: clamp(2.6rem, 5.15vw, 5rem);
  line-height: 1.06;
  letter-spacing: -.05em;
}
.services-hero-v20 .services-hero-lead {
  max-width: 690px;
  margin: 0 0 29px;
  font-size: clamp(1.06rem, 1.4vw, 1.22rem);
  line-height: 1.68;
  color: #dbe8e6;
}
.services-hero-tags { display: flex; flex-wrap: wrap; gap: 11px; margin-bottom: 34px; }
.services-hero-tags span {
  border: 1px solid rgba(138,223,172,.31);
  border-radius: 999px;
  padding: 9px 15px;
  font-size: .9rem;
  font-weight: 600;
  color: #e7f7f2;
  background: rgba(8,40,36,.53);
  backdrop-filter: blur(7px);
}
.services-hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.services-hero-actions .btn { border-radius: 10px; }
.services-hero-actions .btn span { margin-left: 9px; }
.services-hero-contact {
  color: #f4fffb;
  text-decoration: none;
  font-weight: 650;
  border-bottom: 1px solid rgba(138,223,172,.5);
  padding-bottom: 5px;
  transition: color .2s, border-color .2s;
}
.services-hero-contact:hover { color: #8adfac; border-color: #8adfac; }
#elenco-servizi { scroll-margin-top: 105px; }
body.light-mode .services-hero-v20::after {
  background: linear-gradient(90deg, rgba(233,248,242,.96) 0%,rgba(231,247,240,.88) 44%,rgba(227,246,237,.37) 100%);
}
body.light-mode .services-hero-v20 h1 { color: #123a35; }
body.light-mode .services-hero-v20 .services-hero-kicker { color: #087b68; }
body.light-mode .services-hero-v20 .services-hero-lead { color: #365850; }
body.light-mode .services-hero-tags span {
  color: #164d42;
  border-color: rgba(15,115,92,.2);
  background: rgba(255,255,255,.68);
}
body.light-mode .services-hero-contact { color: #135e50; border-bottom-color: rgba(10,100,79,.5); }
body.light-mode .services-hero-contact:hover { color: #087b68; }
@media (max-width: 900px) {
  .services-hero-v20 { min-height: 620px; padding: 125px 0 80px; }
  .services-hero-v20::before { background-position: 62% center; }
}
@media (max-width: 620px) {
  .services-hero-v20 { min-height: auto; padding: 125px 0 74px; }
  .services-hero-v20 h1 { font-size: clamp(2.25rem, 9vw, 3.1rem); }
  .services-hero-tags { gap: 8px; }
  .services-hero-tags span { font-size: .8rem; padding: 8px 11px; }
  .services-hero-v20::after { background: linear-gradient(90deg, rgba(4,13,17,.96), rgba(4,13,17,.72)); }
  body.light-mode .services-hero-v20::after { background: linear-gradient(90deg, rgba(233,248,242,.97), rgba(233,248,242,.77)); }
}
@media (prefers-reduced-motion: reduce) { .services-hero-v20 * { scroll-behavior: auto; } }
