/* Leapr - paginile interioare (Dev2, 2 octombrie 2026): /services/, /how-we-work/, /about/, /blog/ si
   articolele. Peste sistemul comun din styles.css (Dev1): aici doar ce e specific unei pagini, prefixat cu
   clasa de pe <body> (.p-services, .p-how, .p-about, .p-blog, .p-post). Tokenurile vin din :root-ul lui
   Dev1. Marimi doar din scara Tailwind, spatieri doar 0/2/4/8/12/16/24/32/40/48/64/80/96, easing --ease.
   Fara tranzitii pe opacity/transform/filter: pe elementele cu data-reveal/split/stagger le anima GSAP.
   Testele: tests/pages.test.js. */

/* /services/ ---------------------------------------------------------------------------------------- */

.p-services .page-hero .display { max-width: 16ch; }

/* Cuprinsul celor patru servicii, sub titlu: ancore spre blocurile de mai jos. */
.p-services .svc-index { display: grid; margin: 48px 0 0; max-width: 960px; border-top: 1px solid var(--line); }
.p-services .svc-index__link {
  display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: 18px; line-height: 28px; font-weight: 600; color: var(--white); text-decoration: none;
  transition: color 0.5s var(--ease);
}
.p-services .svc-index__link:hover { color: var(--sky); }
.p-services .svc-index__num { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; color: var(--sky); }
@media (min-width: 768px) {
  .p-services .svc-index { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}

/* Mesajul central, mare, pe fondul de noapte. */
.p-services .svc-statement__title { max-width: 16ch; }
@media (min-width: 900px) {
  .p-services .svc-statement__title { font-size: 60px; line-height: 1; }
}

/* Cele patru servicii: rand cu rand, titlul in stanga, detaliile in dreapta. */
.p-services .svc-list { border-top: 1px solid var(--hairline); }
.p-services .svc { display: grid; gap: 24px; padding: 48px 0; border-bottom: 1px solid var(--hairline); }
.p-services .svc__num { margin: 0 0 16px; font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: 0.08em; color: var(--blue-ink); }
.p-services .svc__title { font-size: 30px; line-height: 36px; letter-spacing: -0.02em; color: var(--ink); }
.p-services .svc__summary { margin: 16px 0 0; max-width: 40ch; font-size: 18px; line-height: 28px; }
.p-services .svc__body > p { margin: 0 0 24px; }
.p-services .svc__label {
  margin: 0 0 12px; font-size: 12px; line-height: 16px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-ink);
}
.p-services .svc__list { display: grid; gap: 12px; margin: 0 0 24px; padding: 0; list-style: none; }
.p-services .svc__list li { position: relative; padding-left: 32px; color: var(--ink-2); }
/* Semnul din fata: arcul mic din "a"-ul logo-ului, ca la .eyebrow. */
.p-services .svc__list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 8px;
  border: 2px solid var(--blue); border-bottom: 0; border-radius: 16px 16px 0 0;
}
.p-services .svc__body > .svc__fit {
  margin: 0 0 24px; padding: 16px 24px; border-radius: 16px;
  background: var(--white); box-shadow: inset 0 0 0 1px var(--hairline);
}
.p-services .svc__fit strong { font-weight: 600; color: var(--ink); }
@media (min-width: 900px) {
  .p-services .svc { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; padding: 64px 0; }
  .p-services .svc__title { font-size: 36px; line-height: 40px; }
}

/* De ce un singur plan: textul in stanga, principiile ca linii in dreapta. */
.p-services .svc-fit { display: grid; gap: 48px; }
.p-services .svc-fit__more { margin: 32px 0 0; }
.p-services .svc-fit__list > li { font-size: 20px; line-height: 28px; font-weight: 600; }
@media (min-width: 900px) {
  .p-services .svc-fit { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: end; }
}

/* /how-we-work/ ------------------------------------------------------------------------------------- */

.p-how .page-hero .display { max-width: 12ch; }

/* Pasii: numarul mare ramane langa text cat citesti pasul (sticky pe ecrane late). */
.p-how .steps { display: grid; }
.p-how .step { display: grid; gap: 16px; padding: 48px 0; border-bottom: 1px solid var(--hairline); }
.p-how .step:first-child { padding-top: 0; }
.p-how .step:last-child { border-bottom: 0; padding-bottom: 0; }
.p-how .step__aside { display: flex; align-items: baseline; gap: 16px; }
.p-how .step__num { margin: 0; font-size: 48px; line-height: 1; font-weight: 600; letter-spacing: -0.04em; color: var(--blue-ink); }
.p-how .step__name {
  margin: 0; font-size: 12px; line-height: 16px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-ink);
}
.p-how .step__title { font-size: 30px; line-height: 36px; letter-spacing: -0.03em; color: var(--ink); }
.p-how .step__text { margin: 24px 0 0; max-width: 680px; font-size: 18px; line-height: 28px; }
.p-how .step__cols { display: grid; gap: 32px; margin: 40px 0 0; padding: 32px 0 0; border-top: 1px solid var(--hairline); }
.p-how .step__label {
  margin: 0 0 16px; font-size: 12px; line-height: 16px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-ink);
}
.p-how .step__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.p-how .step__list li { position: relative; padding-left: 32px; color: var(--ink-2); }
.p-how .step__list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 8px;
  border: 2px solid var(--blue); border-bottom: 0; border-radius: 16px 16px 0 0;
}
.p-how .step__you { margin: 0; color: var(--ink-2); }
.p-how .step__more { margin: 32px 0 0; }
@media (min-width: 768px) {
  .p-how .step__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .p-how .step { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; padding: 80px 0; }
  .p-how .step__aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; flex-direction: column; gap: 16px; }
  .p-how .step__num { font-size: 96px; }
  .p-how .step__title { font-size: 48px; line-height: 1; }
}

/* Principiile, pe noapte: sase carduri. */
.p-how #principles .card__title { font-size: 20px; line-height: 28px; }

/* /about/ ------------------------------------------------------------------------------------------- */

.p-about .page-hero .display { max-width: 15ch; }

/* Titlul in stanga, textul in dreapta (Who we are, Where we work). */
.p-about .about-split { display: grid; gap: 32px; }
.p-about .about-prose { max-width: 680px; font-size: 18px; line-height: 28px; }
.p-about .about-prose p { margin: 0 0 24px; }
.p-about #where .about-prose p { color: var(--text-2); }
@media (min-width: 900px) {
  .p-about .about-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
}

/* Cui ne adresam: o fraza mare, pe noapte. */
.p-about .about-statement { max-width: 18ch; }
@media (min-width: 900px) {
  .p-about .about-statement { font-size: 60px; line-height: 1; }
}

/* Valorile: cinci linii, numele in stanga, fraza in dreapta. */
.p-about .about-value { display: grid; gap: 8px; }
.p-about .about-value__name { font-size: 20px; line-height: 28px; letter-spacing: -0.01em; color: var(--ink); }
.p-about .about-value__text { margin: 0; font-size: 18px; line-height: 28px; }
@media (min-width: 768px) {
  .p-about .about-value { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: baseline; }
  .p-about .about-value__name { font-size: 24px; line-height: 32px; }
}

/* /blog/ -------------------------------------------------------------------------------------------- */

.p-blog .page-hero .display { max-width: 15ch; }
.p-blog .blog-card { min-height: 100%; }
.p-blog .blog-card .card__title { display: block; font-weight: 600; color: var(--ink); }
.p-blog .blog-card .card__text { display: block; }
.p-blog .blog-card__more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px;
  font-weight: 600; color: var(--blue-ink);
}
.p-blog .blog-card__more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Articolele (templates/post.html) ------------------------------------------------------------------ */

.p-post .page-hero .title { max-width: 22ch; }
.p-post .prose blockquote p { margin: 0; }
.p-post .prose h3 { color: var(--ink); }
/* "Read next": un singur card spre articolul urmator, sub text, pe aceeasi coloana. */
.p-post .post-next { max-width: 680px; margin: 64px 0 0; }
.p-post .post-next .eyebrow { margin-bottom: 16px; }
.p-post .post-next__card { gap: 8px; }
.p-post .post-next__card .card__title { display: block; font-size: 20px; line-height: 28px; font-weight: 600; color: var(--ink); }
.p-post .post-next__card .card__text { display: block; }
