/* ==========================================================
   LOUD VISION DIGITAL — SERVIZI (tema fx-* / futuristico)
   Estende futuristic.css con le sezioni specifiche di questa pagina.
   ========================================================== */

/* ---------- hero "scroll story" (pinned, cambia ad ogni scroll) ---------- */
.fx-page-hero{
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 6% 100px;
  overflow: hidden;
}

.fx-hero-pin-stage{
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1300px;
  height: clamp(460px, 66vh, 680px);
  margin: 0 auto;
}

.fx-hero-seg{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 4%;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}

.fx-hero-seg--intro{
  opacity: 1;
}

/* i figli dell'intro partono visibili: e' il wrapper (via JS) a farli
   dissolvere insieme, non le loro regole di default (pensate per un
   hero-stage statico mai usato altrove) */
#svHeroIntro .fx-hero-sub{
  opacity: 1;
  transform: none;
}

.fx-page-hero .fx-hero-title{
  font-size: clamp(2.6rem, 7.8vw, 6.6rem);
}

.fx-page-hero .fx-hero-title .fx-line span{
  transform: none;
}

.fx-page-hero .fx-hero-title .fx-line:nth-child(2) span{
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--lv-text);
}

.fx-page-hero .fx-hero-sub{
  max-width: 560px;
  margin-top: 56px;
  font-size: 1.15rem;
  line-height: 1.75;
}

.fx-hero-seg__num{
  display: block;
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--lv-cyan);
}

.fx-hero-seg h2{
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 5.4vw, 4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
  color: var(--lv-text);
}

.fx-hero-seg p{
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--lv-soft);
}

/* ---------- scroll "wow" reveal (staggered fade + rise) ---------- */
.sv-reveal{
  opacity: 0;
  transform: translateY(32px);
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce){
  .sv-reveal{
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- generic section heading (kicker + h2 + lead) ---------- */
.fx-head{
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.fx-head h2{
  margin: 14px 0 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -.03em;
}

.fx-head p{
  margin: 18px 0 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--lv-soft);
}

.fx-head--left{
  margin-left: 0;
  text-align: left;
}

/* ---------- services grid: 3 columns ---------- */
.fx-cap-grid--3{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (min-width: 901px){
  .fx-cap-grid--3{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* bullet list inside a capability card */
.fx-cap-card ul{
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.fx-cap-card li{
  position: relative;
  padding-left: 18px;
  font-size: .86rem;
  line-height: 1.5;
  color: var(--lv-muted);
}

.fx-cap-card li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 1px;
  background: linear-gradient(90deg, var(--lv-cyan), var(--lv-violet));
}

/* overview / process / why cards: centered variant (no bullet list) */
.fx-cap-card--center{
  text-align: center;
}

.fx-cap-card--center .fx-cap-card__num{
  margin-left: auto;
  margin-right: auto;
}

/* ---------- responsive ---------- */
@media (max-width: 900px){
  .fx-page-hero{ padding: 120px 6% 60px; }
  .fx-hero-pin-stage{ height: clamp(400px, 64vh, 560px); }
  .fx-cap-grid--3{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 560px){
  .fx-hero-pin-stage{ height: clamp(420px, 70vh, 540px); }
  .fx-hero-seg__num{ font-size: 13px; margin-bottom: 14px; }
  .fx-cap-grid--3{ grid-template-columns: 1fr; }
  .fx-head{ margin-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce){
  .fx-hero-seg,
  .fx-hero-seg--intro{
    opacity: 1 !important;
    transform: none !important;
    position: relative !important;
    display: none;
  }
  .fx-hero-seg--intro{ display: flex; }
}
