/* ═══════════════════════════════════════════════════════════════════
   assets/css/pages.css — modul PAGINI (v3.36): template Text + Despre noi
   Mobile first. Culori brand: --brand-navy, --brand-blue, --brand-coral.
   ═══════════════════════════════════════════════════════════════════ */

/* ───── comune ───── */
.pg { overflow-x: clip; }
.pg-h1 { font-weight: 900; color: var(--brand-navy); line-height: 1.12; letter-spacing: -.01em; font-size: 30px; margin: 0 0 18px; }
.pg-h1--light { color: #fff; margin: 0; }
.pg-hero { position: relative; overflow: hidden; background: var(--brand-navy); }
.pg-hero .imgfit { min-height: 200px; } /* v3.43.2: cadru 16:5; pe mobil min. 200px pentru titlu (sau poza „-mob”) */
.pg-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,63,94,.15) 0%, rgba(18,63,94,.75) 100%); }
.pg-hero__inner { position: absolute; left: 0; right: 0; bottom: 22px; }
.pg-text { padding: 28px 0 56px; }
.pg-prose { color: #374151; font-size: 15px; line-height: 1.7; max-width: 820px; }
.pg-prose h2 { font-size: 22px; font-weight: 800; color: var(--brand-navy); margin: 28px 0 10px; line-height: 1.2; }
.pg-prose h3 { font-size: 18px; font-weight: 800; color: var(--brand-navy); margin: 22px 0 8px; }
.pg-prose p { margin: 0 0 14px; }
.pg-prose ul, .pg-prose ol { margin: 0 0 14px; padding-left: 22px; }
.pg-prose li { margin: 4px 0; }
.pg-prose a { color: var(--brand-blue); text-decoration: underline; text-underline-offset: 2px; }
.pg-prose img { max-width: 100%; height: auto; border-radius: 14px; }
.pg-prose table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0 0 16px; display: block; overflow-x: auto; }
.pg-prose th, .pg-prose td { border: 1px solid #e5e7eb; padding: 8px 10px; text-align: left; }
.pg-prose blockquote { border-left: 3px solid var(--brand-blue); padding: 6px 14px; margin: 0 0 14px; color: #4b5563; background: #f6f8fb; border-radius: 0 10px 10px 0; }

/* ───── DESPRE NOI ───── */
.ab { --ab-g50: #f5f7fb; --ab-g400: #9aa4b2; --ab-g600: #5b6775; }
.ab-wrap { padding-top: 12px; } /* v3.37.2: tot conținutul în .container-app (max 1520px, ca restul paginilor) */
.ab-split { display: grid; grid-template-columns: 1fr; border-radius: 20px; overflow: hidden; }
.ab-pad { padding: 36px 20px 40px; background: var(--ab-g50); }
.ab-photo { position: relative; aspect-ratio: 6 / 5; background: #e9eef4; overflow: hidden; } /* v3.43.2: cadru 6:5 = poza 1200×1000 */
.ab-photo--empty { background: linear-gradient(135deg, #2f5f86, #4b86b4); }
.ab-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ab-g400); }
.ab-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brand-blue); border-radius: 2px; flex: none; }
.ab-h1, .ab-h2 { font-weight: 900; color: var(--brand-navy); line-height: 1.1; letter-spacing: -.01em; margin: 14px 0 14px; }
.ab-h1 { font-size: 34px; }
.ab-h2 { font-size: 28px; }
.ab-lead { font-size: 15px; color: var(--ab-g600); margin: 0 0 12px; line-height: 1.5; }
.ab-txt { font-size: 14px; color: var(--ab-g600); line-height: 1.65; margin: 0; }

/* v3.38 — varianta C: bandă bleu deschis, cifre mari navy, sufix albastru mic ridicat, separatoare fine */
.ab-stats { margin: 32px 0; padding: 28px 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 0; text-align: center; background: linear-gradient(90deg, #eaf6fd, #f3f8fd); border-radius: 20px; }
.ab-stat { position: relative; padding: 0 8px; }
.ab-stat:nth-child(even)::before { content: ""; position: absolute; left: 0; top: 14%; height: 72%; width: 1px; background: linear-gradient(180deg, transparent, #bfd9ec, transparent); }
.ab-num { font-weight: 900; font-size: clamp(30px, 11vw, 44px); color: var(--brand-navy); letter-spacing: -.04em; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ab-num__s { font-style: normal; color: var(--brand-blue); display: inline-block; margin-left: 2px; transform: scale(.6); opacity: 0; transition: transform .45s cubic-bezier(.34,1.56,.64,1), opacity .3s ease; }
.ab-num__s:not(:first-child) { font-size: .42em; vertical-align: top; }
.ab-num.is-done .ab-num__s, .ab-num:not(.is-counting) .ab-num__s { transform: none; opacity: 1; }
.ab-lab { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-navy); margin-top: 10px; }
.ab-sub { font-size: 11px; color: #7c8ea3; margin-top: 2px; }

.ab-feat { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 16px; }
.ab-f { display: flex; gap: 12px; align-items: flex-start; }
.ab-f__ic { flex: none; width: 36px; height: 36px; color: var(--brand-blue); }
.ab-f__ic svg { width: 100%; height: 100%; display: block; }
.ab-f b { font-size: 13px; color: var(--ab-g600); line-height: 1.35; font-weight: 700; padding-top: 4px; }

.ab-cta { margin: 24px 0 44px; background: var(--brand-navy); color: #fff; border-radius: 22px; padding: 40px 22px; text-align: center; }
.ab-cta__h { margin: 0 0 12px; font-size: 24px; font-weight: 900; line-height: 1.15; color: #fff; }
.ab-cta__p { margin: 0; font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.5; }
.ab-cta__p b { display: block; color: #fff; margin-top: 4px; }
.ab-cta__btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; background: var(--brand-blue); color: #fff; font-weight: 800; font-size: 13px; padding: 12px 22px; border-radius: 999px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.ab-cta__btn svg { width: 16px; height: 16px; }
.ab-cta__btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,163,229,.35); }

/* reveal la scroll */
.ab-reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 70ms); }
.ab-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ab-reveal { opacity: 1; transform: none; transition: none; } .ab-num__s { transition: none; transform: none; opacity: 1; } }

/* ≥640px */
@media (min-width: 640px) {
  .pg-h1 { font-size: 36px; }
  .ab-pad { padding: 48px 32px; }
  .ab-stats { grid-template-columns: repeat(4, 1fr); padding: 40px 20px; margin: 48px 0; border-radius: 24px; }
  .ab-stat:nth-child(n+2)::before { content: ""; position: absolute; left: 0; top: 14%; height: 72%; width: 1px; background: linear-gradient(180deg, transparent, #bfd9ec, transparent); }
  .ab-num { font-size: 48px; }
  .ab-feat { grid-template-columns: repeat(3, 1fr); }
}
/* ≥1024px: split 50/50 */
@media (min-width: 1024px) {
  .pg-h1 { font-size: 44px; }
  .ab-split { grid-template-columns: 1fr 1fr; }
  .ab-split--hero .ab-photo { order: 2; }
  .ab-split--rev .ab-photo { order: -1; }
  .ab-photo { min-height: 0; } /* desktop: tot 6:5 (coloana 50%) */
  .ab-split { border-radius: 28px; }
  .ab-pad { padding: 72px 64px; display: flex; flex-direction: column; justify-content: center; }
  .ab-h1 { font-size: 46px; }
  .ab-h2 { font-size: 38px; }
  .ab-lead { font-size: 17px; }
  .ab-txt { font-size: 15px; }
  .ab-stats { padding: 44px 32px; margin: 64px 0; border-radius: 28px; }
  .ab-num { font-size: 64px; }
  .ab-lab { font-size: 12px; }
  .ab-sub { font-size: 12px; }
  .ab-cta { max-width: 960px; margin: 40px auto 72px; padding: 64px 40px; border-radius: 28px; }
  .ab-cta__h { font-size: 36px; }
  .ab-cta__p { font-size: 15px; }
}
