/* ==========================================================================
   SERVIZI — SOLUZIONI PER INVESTITORI  (Figma 180:2607)
   Reuses page-hero--short, breadcrumb, page-kicker, value-list (.values),
   the ESG showcase (.esg-showcase/.esg-feature, from sections/esg.css) and
   .featured-project verbatim. This file holds only what's genuinely new to
   this page: the intro grid-2 wrapper (same small-and-page-specific call as
   General Contractor's .gc-intro), the video teaser, the process-intro
   wrapper around the reused showcase, the stats band, and the 2-col value
   comparison.
   ========================================================================== */

/* --- Intro (breadcrumb + kicker/H1 left / copy right, .grid-2) ------------ */
.si-intro {
  padding-top: 64px;      /* measured: hero bottom (554) → crumb top (618) — same constant as every inner page */
  padding-bottom: 117px;  /* measured: copy bottom (~927, the taller column) → next kicker top (1044) */
}
.si-intro__kicker { margin: 0 0 24px; }   /* measured: kicker bottom (747) → heading top (774) */
.si-intro__heading { margin: 0; }
.si-intro__copy { margin: 0; }

/* --- Video teaser ----------------------------------------------------------
   Figma 180:2608 (image) + 180:2609 (rgba(36,36,36,.2) wash) + 180:2709
   (centred play button, confirmed via get_screenshot — no exported asset,
   built as a plain CSS circle + clip-path triangle, same technique already
   used for .hero__toggle's play/pause icons). Contained within the
   container (1280 wide), not full-bleed — unlike every other photo band on
   this site so far. No real video shipped yet — same "drop the file in"
   placeholder pattern as the homepage hero (see FIGMA-MAP §5b). */
.si-video-section { padding-bottom: 167px; }  /* measured: video bottom (2378) → next kicker top (2475... via process-intro) ≈ 97, plus this section's own top gap; see .si-process-intro padding-top too */
.video-teaser {
  position: relative;
  border-radius: var(--radius-frame);
  overflow: hidden;
  aspect-ratio: 1280 / 718;
  background: var(--aec-antracite);
}
.video-teaser__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-teaser__wash {
  position: absolute;
  inset: 0;
  background: rgba(36, 36, 36, .2);
  pointer-events: none;
}
.video-teaser__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--aec-antracite);
  transition: background var(--dur) var(--ease);
}
.video-teaser__play:hover { background: var(--c-surface); }
.video-teaser__play span {
  width: 18px;
  height: 22px;
  margin-left: 3px;   /* optical centring — a triangle's visual weight sits left of its bounding box */
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
/* Once playing, hand off to the native controls entirely. */
.video-teaser.is-playing .video-teaser__wash,
.video-teaser.is-playing .video-teaser__play { display: none; }

/* --- "Il nostro processo integrato" — kicker+subhead/copy, then the reused
   ESG showcase panel underneath. */
.si-process-intro { padding-top: 100px; }   /* measured: video bottom (2378) → kicker top (2475) ≈ 97 */
.si-process-intro__kicker { margin: 0 0 var(--space-40); }
.si-process-intro__lead { margin: 0; }
.si-process-intro__copy { margin: 0; }
.si-process-intro .esg-showcase { margin-top: var(--space-40); }

/* --- Stats band — Figma 180:2610 (flat #3f3f3f, not a named palette token —
   measured directly, distinct from --aec-antracite) + 5 stat pairs. Kicker
   switches to white here (checked, not assumed — every other page's kicker
   is red, but red-on-red/dark needed the same white override the storia
   band already established). */
.stats-band {
  background: #3f3f3f;
  padding: 60px 0;
}
.stats-band__kicker { margin: 0 0 var(--space-40); color: var(--c-text-invert); }
.stats-band__grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.stats-band__number {
  margin: 0;
  font-weight: 500;
  font-size: 55px;
  line-height: 42px;
  color: var(--c-text-invert);
}
.stats-band__label {
  margin: 8px 0 0;
  font-weight: 400;
  font-size: 17px;
  line-height: 22px;
  text-transform: uppercase;
  color: var(--c-text-invert);
}

/* --- "Il valore che generiamo" — kicker + lead (left rail) / 2-col
   comparison (right), each column two stacked heading+rule+desc blocks. */
.value-compare { padding: var(--space-120) 0; }
.value-compare__kicker { margin: 0 0 var(--space-40); }
.value-compare__layout {
  display: grid;
  grid-template-columns: 406px 1fr 1fr;
  gap: 48px;
}
.value-compare__lead { margin: 0; }
.value-compare__col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.value-compare__heading {
  margin: 0 0 16px;
  font-weight: 400;
  font-size: 21px;
  line-height: 1.3;
  color: var(--c-text);
}
.value-compare__rule { margin: 0 0 16px; }
.value-compare__desc { margin: 0; }

@media (max-width: 1024px) {
  .value-compare__layout { grid-template-columns: 1fr; gap: var(--space-40); }
  .stats-band__grid { flex-wrap: wrap; gap: var(--space-40) 24px; }
}

/* --- "Scopri tutti i progetti" — same PULSANTE-at-18px override as
   General Contractor's .gc-viewall; kept page-local rather than shared
   since it's two declarations. */
.si-viewall-wrap { padding: 69px 0 60px; }
.si-viewall { font-size: 18px; line-height: 34px; }
