/* Oller_Psicoesport — prova "bolder" (només portada: Serveis i Com treballo).
   Fa servir només el que la marca ja té: els xebrons ›› del logo, el blau i Montserrat.
   Per treure-ho: elimina l'enllaç a aquest fitxer de src/_layout/head.html i torna a generar. */

/* ---------- Serveis: un ›› gegant, el motiu del logo, darrere de les targetes ---------- */
#serveis,#servicios{position:relative;overflow:hidden;isolation:isolate;}
#serveis::before,#servicios::before{
  content:"››";
  position:absolute;z-index:-1;
  right:-.04em;top:.02em;
  font-family:var(--font-display);font-weight:700;
  font-size:clamp(320px,40vw,580px);line-height:.8;letter-spacing:-.12em;
  color:var(--brand-blue);opacity:.09;
  pointer-events:none;user-select:none;
}
#serveis .section-head h2,#servicios .section-head h2,
[aria-labelledby="proces-title"] .section-head h2{font-size:clamp(34px,4vw,48px);}
#serveis .section-head,#servicios .section-head,[aria-labelledby="proces-title"] .section-head{max-width:860px;}

/* ---------- Com treballo: de tres targetes a un recorregut 01 ›› 02 ›› 03 ---------- */
[aria-labelledby="proces-title"] .steps{gap:var(--space-12);}
[aria-labelledby="proces-title"] .steps li{
  position:relative;background:none;border:0;box-shadow:none;border-radius:0;
  padding:var(--space-6) 0 0;border-top:2px solid var(--brand-blue);
}
[aria-labelledby="proces-title"] .steps li::before{
  font-size:clamp(64px,7vw,96px);line-height:1;letter-spacing:-.04em;font-weight:700;
  margin-bottom:var(--space-4);color:var(--brand-blue);
}
[aria-labelledby="proces-title"] .steps h3{font-size:24px;margin-bottom:var(--space-3);}
[aria-labelledby="proces-title"] .steps p{font-size:17px;line-height:1.6;}
/* els ›› entre passos: el camí avança */
[aria-labelledby="proces-title"] .steps li:not(:last-child)::after{
  content:"››";position:absolute;top:-1px;right:calc(-1 * var(--space-12) / 2);
  transform:translate(50%,-50%);padding:0 8px;background:var(--surface-white);
  font-family:var(--font-display);font-weight:700;font-size:28px;line-height:1;letter-spacing:-.1em;
  color:var(--brand-blue);
}

@media (max-width:960px){
  #serveis::before,#servicios::before{top:auto;bottom:-.08em;transform:none;font-size:300px;}
  [aria-labelledby="proces-title"] .steps{gap:var(--space-8);}
  [aria-labelledby="proces-title"] .steps li:not(:last-child)::after{display:none;}
}
