/*
 * Stilurile extensiei „Portofoliu" (1.1.0 — refăcute după owner: „ca design e
 * groaznic, vreau altceva mai modern"). Fișier propriu, servit din folderul extensiei
 * (`/extensii/portofoliu/style.css?v=<versiune>`), nu clase Tailwind: `tailwind.config.js`
 * nu scanează `extensions/`, deci o clasă folosită numai aici nu s-ar genera niciodată.
 *
 * Linia designului: fără chenare și fără cutii — fotografia rotunjită, cu umbră moale
 * și mișcare la hover, E cartela; textul stă direct pe pagină, cu titluri mari și
 * strânse, etichete subțiri, categorie ca pastilă de sticlă peste fotografie, săgeată
 * rotundă care apare la hover. Culorile vin din variabilele temei (paleta clientului).
 * Prefixul claselor: `pf-`.
 */

.pf-sectiune { padding: 88px 0; }
.pf-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.pf-pagina { max-width: 1200px; margin: 0 auto; padding: 56px 24px 88px; }
.pf-pagina-cap { margin-bottom: 36px; }
.pf-sectiune-cap { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.pf-sectiune-titlu { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; color: var(--sd-heading, #0f172a); margin: 0 0 14px; font-family: var(--font-heading, inherit); }
.pf-sectiune-sub { color: var(--sd-text, #475569); font-size: 17.5px; line-height: 1.6; margin: 0; }
.pf-inchis .pf-sectiune-titlu, .pf-inchis .pf-h2 { color: #ffffff; }
.pf-inchis .pf-sectiune-sub, .pf-inchis .pf-gol { color: rgba(255, 255, 255, .72); }
.pf-h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -.025em; font-weight: 800; color: var(--sd-heading, #0f172a); margin: 0 0 12px; font-family: var(--font-heading, inherit); text-wrap: balance; }
.pf-h1-mare { font-size: clamp(38px, 5.6vw, 68px); }
.pf-h2 { font-size: 24px; letter-spacing: -.01em; font-weight: 800; color: var(--sd-heading, #0f172a); margin: 44px 0 16px; font-family: var(--font-heading, inherit); }
.pf-lead { font-size: 19px; line-height: 1.6; color: var(--sd-text, #475569); margin: 0; max-width: 60ch; }
.pf-text { color: var(--sd-text, #475569); line-height: 1.75; margin: 0 0 12px; white-space: pre-line; }
.pf-meta { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--sd-muted, #64748b); margin: 0 0 8px; font-weight: 700; }
.pf-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--sd-muted, #64748b); font-weight: 700; margin: 0 0 12px; }
.pf-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-secondary, #c9a96e); flex: 0 0 auto; }
.pf-eyebrow-light { color: rgba(255, 255, 255, .85); }
.pf-gol { color: var(--sd-muted, #64748b); text-align: center; padding: 32px 0; }
.pf-centrat { text-align: center; }
.pf-sectiune-btn { margin: 48px 0 0; }

/* ── butoane, etichete, filtre ────────────────────────────────────────── */
.pf-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; background: var(--sd-heading, #0f172a); color: #ffffff; font-weight: 600; font-size: 15px; text-decoration: none; line-height: 1; border: 1.5px solid var(--sd-heading, #0f172a); transition: transform .18s ease, background .18s ease, color .18s ease; }
.pf-btn:hover { transform: translateY(-2px); background: var(--color-primary, #1a3c5e); border-color: var(--color-primary, #1a3c5e); }
.pf-btn-ghost { background: transparent; color: var(--sd-heading, #0f172a); }
.pf-btn-ghost:hover { background: var(--sd-heading, #0f172a); color: #ffffff; }
.pf-btn-block { display: flex; justify-content: center; width: 100%; margin-top: 20px; }
.pf-inchis .pf-btn { background: #ffffff; color: var(--sd-heading, #0f172a); border-color: #ffffff; }
.pf-inchis .pf-btn-ghost { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, .6); }
.pf-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 14px 0 0; }
.pf-tags li, .pf-tags span { font-size: 12px; font-weight: 600; letter-spacing: .02em; padding: 5px 11px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--sd-heading, #0f172a) 14%, transparent); color: var(--sd-text, #475569); background: transparent; }
.pf-tags-mari li { font-size: 13.5px; padding: 7px 15px; }
.pf-tags-light span { background: rgba(255, 255, 255, .14); color: #ffffff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.pf-inchis .pf-tags li { border-color: rgba(255, 255, 255, .28); color: rgba(255, 255, 255, .85); }
.pf-filtre { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0 0 36px; border-bottom: 1px solid var(--sd-border, #e2e8f0); }
.pf-chip { position: relative; display: inline-block; padding: 12px 2px 14px; color: var(--sd-muted, #64748b); font-size: 14.5px; font-weight: 600; text-decoration: none; transition: color .15s ease; }
.pf-chip::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--sd-heading, #0f172a); transform: scaleX(0); transition: transform .2s ease; }
.pf-chip:hover { color: var(--sd-heading, #0f172a); }
.pf-chip.is-active { color: var(--sd-heading, #0f172a); }
.pf-chip.is-active::after { transform: scaleX(1); }
.pf-inchis .pf-filtre { border-color: rgba(255, 255, 255, .18); }
.pf-inchis .pf-chip { color: rgba(255, 255, 255, .65); }
.pf-inchis .pf-chip:hover, .pf-inchis .pf-chip.is-active { color: #ffffff; }
.pf-inchis .pf-chip::after { background: #ffffff; }
.pf-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; font-size: 14px; color: var(--sd-heading, #0f172a); text-decoration: none; }
.pf-more span { display: inline-block; transition: transform .2s ease; }
.pf-more:hover span { transform: translateX(4px); }
.pf-inchis .pf-more { color: #ffffff; }
.pf-pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 22px 0 0; }
.pf-pills li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--sd-section, #f8fafc); border: 1px solid var(--sd-border, #e2e8f0); font-size: 13.5px; font-weight: 600; color: var(--sd-heading, #0f172a); }
.pf-pills li span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--sd-muted, #64748b); }

/* ── imagini: rapoarte, pastila de categorie, săgeata ─────────────────── */
.pf-card-media, .pf-row-media, .pf-tile { position: relative; overflow: hidden; background: var(--sd-section, #f1f5f9); display: block; border-radius: 22px; }
.pf-card-media picture, .pf-row-media picture, .pf-tile picture, .pf-hero picture, .pf-ed-cover picture, .pf-cover picture, .pf-galerie-item picture { display: block; width: 100%; height: 100%; }
.pf-card-media img, .pf-row-media img, .pf-tile img, .pf-hero img, .pf-ed-cover img, .pf-galerie-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.pf-r-4x3 { aspect-ratio: 4 / 3; }
.pf-r-16x9 { aspect-ratio: 16 / 9; }
.pf-r-1x1 { aspect-ratio: 1 / 1; }
.pf-r-3x4 { aspect-ratio: 3 / 4; }
.pf-r-auto img { height: auto; }
.pf-img-gol { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 64px; font-weight: 800; letter-spacing: -.04em; color: color-mix(in srgb, var(--color-primary, #1a3c5e) 28%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary, #1a3c5e) 10%, var(--sd-section, #f1f5f9)), color-mix(in srgb, var(--color-secondary, #c9a96e) 18%, var(--sd-section, #f1f5f9))); }
.pf-r-auto .pf-img-gol { position: relative; aspect-ratio: 4 / 3; }
.pf-chip-media { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--sd-heading, #0f172a); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset; }
.pf-arrow { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #ffffff; color: var(--sd-heading, #0f172a); font-size: 20px; opacity: 0; transform: translate(6px, 6px) scale(.9); transition: opacity .25s ease, transform .3s cubic-bezier(.2, .7, .2, 1); box-shadow: 0 8px 20px -8px rgba(15, 23, 42, .4); }
.pf-card:hover .pf-arrow { opacity: 1; transform: none; }

/* ── CARTELE ──────────────────────────────────────────────────────────── */
.pf-grid { display: grid; gap: 40px 28px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pf-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pf-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pf-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pf-card { display: flex; flex-direction: column; break-inside: avoid; }
.pf-card-media { box-shadow: 0 24px 50px -28px rgba(15, 23, 42, .45); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease; }
.pf-card:hover .pf-card-media { transform: translateY(-6px); box-shadow: 0 34px 60px -28px rgba(15, 23, 42, .5); }
.pf-card:hover .pf-card-media img { transform: scale(1.06); }
.pf-card-body { padding: 20px 4px 0; display: flex; flex-direction: column; flex: 1 1 auto; }
.pf-card-title { font-size: 21px; line-height: 1.22; letter-spacing: -.015em; font-weight: 800; margin: 0; color: var(--sd-heading, #0f172a); font-family: var(--font-heading, inherit); }
.pf-card-title a { color: inherit; text-decoration: none; }
.pf-card-title a:hover { color: var(--color-primary, #1a3c5e); }
.pf-card-text { color: var(--sd-text, #475569); font-size: 15px; line-height: 1.55; margin: 10px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pf-card-fields { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 12px 0 0; font-size: 13.5px; }
.pf-card-fields div { display: contents; }
.pf-card-fields dt { color: var(--sd-muted, #64748b); font-weight: 600; }
.pf-card-fields dd { margin: 0; color: var(--sd-heading, #0f172a); }
/* doar linkurile din VALORI (dd) — nu și butonul din bandă, care își are cerneala lui */
.pf-card-fields dd a, .pf-fisa-lista dd a, .pf-row-fields dd a, .pf-fisa-banda dd a { color: var(--color-primary, #1a3c5e); }
.pf-card .pf-more { margin-top: auto; padding-top: 16px; }
.pf-inchis .pf-card-title, .pf-inchis .pf-card-fields dd { color: #ffffff; }
.pf-inchis .pf-card-text, .pf-inchis .pf-meta, .pf-inchis .pf-card-fields dt { color: rgba(255, 255, 255, .7); }
.pf-inchis .pf-card-media { box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7); }

/* ── MOZAIC — coloane CSS, cartelele își țin raportul natural ─────────── */
.pf-masonry { column-count: 3; column-gap: 28px; }
.pf-masonry.pf-cols-2 { column-count: 2; }
.pf-masonry.pf-cols-3 { column-count: 3; }
.pf-masonry.pf-cols-4 { column-count: 4; }
.pf-masonry .pf-card { display: inline-flex; width: 100%; margin: 0 0 40px; }

/* ── PLĂCUȚE — fotografia cu titlul peste ea ──────────────────────────── */
.pf-tiles { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pf-tiles.pf-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pf-tiles.pf-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pf-tiles.pf-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pf-tile { text-decoration: none; color: #ffffff; box-shadow: 0 24px 50px -28px rgba(15, 23, 42, .45); }
.pf-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 23, 42, 0) 40%, rgba(15, 23, 42, .78) 100%); transition: background .3s ease; }
.pf-tile:hover::after { background: linear-gradient(180deg, rgba(15, 23, 42, .1) 0%, rgba(15, 23, 42, .85) 100%); }
.pf-tile:hover img { transform: scale(1.06); }
.pf-tile-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 24px; display: flex; flex-direction: column; gap: 6px; transform: translateY(0); transition: transform .3s ease; }
.pf-tile-cat { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: rgba(255, 255, 255, .8); }
.pf-tile-title { font-size: 22px; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; font-family: var(--font-heading, inherit); }
.pf-tile-sub { font-size: 14px; color: rgba(255, 255, 255, .85); line-height: 1.5; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s ease, opacity .35s ease; }
.pf-tile:hover .pf-tile-sub { max-height: 90px; opacity: 1; }

/* ── RÂNDURI — imagine + text, alternând, cu numărul proiectului ─────── */
.pf-rows { display: flex; flex-direction: column; gap: 72px; }
.pf-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.pf-row:nth-child(even) .pf-row-media { order: 2; }
.pf-row-media { border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .45); }
.pf-row-media a { display: block; height: 100%; }
.pf-row:hover .pf-row-media img { transform: scale(1.04); }
.pf-row-body { min-width: 0; position: relative; }
.pf-row-index { display: block; font-size: 15px; font-weight: 800; letter-spacing: .1em; color: var(--color-secondary, #c9a96e); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.pf-row-title { font-size: clamp(26px, 3vw, 38px); line-height: 1.12; letter-spacing: -.02em; font-weight: 800; margin: 0 0 14px; color: var(--sd-heading, #0f172a); font-family: var(--font-heading, inherit); }
.pf-row-title a { color: inherit; text-decoration: none; }
.pf-row-text { color: var(--sd-text, #475569); font-size: 16.5px; line-height: 1.65; margin: 0; }
.pf-row-fields { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--sd-border, #e2e8f0); font-size: 14px; }
.pf-row-fields div { display: contents; }
.pf-row-fields dt { color: var(--sd-muted, #64748b); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: 12px; }
.pf-row-fields dd { margin: 0; color: var(--sd-heading, #0f172a); font-weight: 500; }
.pf-row-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pf-inchis .pf-row-title, .pf-inchis .pf-row-fields dd { color: #ffffff; }
.pf-inchis .pf-row-text, .pf-inchis .pf-row-fields dt { color: rgba(255, 255, 255, .72); }
.pf-inchis .pf-row-fields { border-color: rgba(255, 255, 255, .18); }

/* ── VITRINĂ — primul pe toată lățimea, restul în grilă ───────────────── */
.pf-vitrina { display: flex; flex-direction: column; gap: 44px; }
.pf-hero { position: relative; display: block; border-radius: 28px; overflow: hidden; aspect-ratio: 21 / 9; min-height: 360px; text-decoration: none; color: #ffffff; background: var(--sd-section, #f1f5f9); box-shadow: 0 34px 70px -34px rgba(15, 23, 42, .55); }
.pf-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 23, 42, 0) 30%, rgba(15, 23, 42, .55) 100%); }
.pf-hero:hover img { transform: scale(1.03); }
.pf-hero-text { position: absolute; left: 28px; bottom: 28px; z-index: 1; max-width: 620px; display: flex; flex-direction: column; gap: 10px; padding: 26px 30px; border-radius: 22px; background: rgba(15, 23, 42, .42); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .16); }
.pf-hero-meta { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: rgba(255, 255, 255, .8); }
.pf-hero-title { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; font-family: var(--font-heading, inherit); }
.pf-hero-sub { font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .88); max-width: 52ch; }

/* ── DETALIU — clasic ─────────────────────────────────────────────────── */
.pf-detaliu { padding: 44px 0 88px; }
.pf-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 28px; color: var(--sd-muted, #64748b); text-decoration: none; font-size: 14px; font-weight: 600; }
.pf-back:hover { color: var(--sd-heading, #0f172a); }
.pf-back-light { color: rgba(255, 255, 255, .8); display: flex; width: fit-content; }
.pf-back-light:hover { color: #ffffff; }
.pf-detaliu-cap { margin-bottom: 36px; max-width: 900px; }
.pf-cover { margin: 0 0 56px; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 8; background: var(--sd-section, #f1f5f9); box-shadow: 0 40px 80px -40px rgba(15, 23, 42, .5); }
.pf-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-fara-coperta .pf-detaliu-cap { margin-bottom: 8px; padding-bottom: 28px; border-bottom: 1px solid var(--sd-border, #e2e8f0); }
.pf-detaliu-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.pf-detaliu-main .pf-h2:first-child { margin-top: 0; }
.pf-continut { color: var(--sd-text, #475569); line-height: 1.8; font-size: 17px; }
.pf-continut p { margin: 0 0 18px; }
.pf-continut img { max-width: 100%; height: auto; border-radius: 16px; }
.pf-continut h2, .pf-continut h3 { color: var(--sd-heading, #0f172a); margin: 30px 0 10px; letter-spacing: -.01em; }
.pf-fisa { position: sticky; top: 96px; background: var(--sd-section, #f8fafc); border-radius: 24px; padding: 28px; }
.pf-fisa-titlu { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--sd-muted, #64748b); margin: 0 0 14px; font-weight: 700; }
.pf-fisa-lista { margin: 0; }
.pf-fisa-lista > div { padding: 12px 0; border-top: 1px solid color-mix(in srgb, var(--sd-heading, #0f172a) 8%, transparent); }
.pf-fisa-lista dt { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--sd-muted, #64748b); font-weight: 700; margin-bottom: 4px; }
.pf-fisa-lista dd { margin: 0; color: var(--sd-heading, #0f172a); font-weight: 600; line-height: 1.5; }
.pf-fisa-lista .pf-tags { margin-top: 6px; }
.pf-fisa-gazda { text-align: center; font-size: 12.5px; color: var(--sd-muted, #64748b); margin: 10px 0 0; }
.pf-fisa-eticheta { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--sd-muted, #64748b); font-weight: 700; margin: 30px 0 8px; }

/* ── DETALIU — editorial ──────────────────────────────────────────────── */
.pf-detaliu-editorial { padding-top: 0; }
.pf-ed-cover { position: relative; min-height: min(76vh, 680px); background: var(--sd-inverse, #0f172a); overflow: hidden; display: flex; align-items: flex-end; }
.pf-fara-coperta .pf-ed-cover { min-height: 0; background: radial-gradient(1200px 500px at 20% 0%, color-mix(in srgb, var(--color-primary, #1a3c5e) 55%, var(--sd-inverse, #0f172a)), var(--sd-inverse, #0f172a)); }
.pf-ed-cover picture { position: absolute; inset: 0; }
.pf-ed-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 23, 42, .1) 0%, rgba(15, 23, 42, .5) 55%, rgba(15, 23, 42, .92) 100%); }
.pf-fara-coperta .pf-ed-cover::after { display: none; }
.pf-ed-cover-text { position: relative; z-index: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 72px 24px 56px; color: #ffffff; }
.pf-ed-title { font-size: clamp(36px, 6vw, 72px); line-height: 1.02; letter-spacing: -.03em; font-weight: 800; margin: 0 0 16px; font-family: var(--font-heading, inherit); text-wrap: balance; max-width: 16ch; }
.pf-ed-sub { font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, .88); max-width: 58ch; margin: 0; }
.pf-fisa-banda { background: var(--sd-card, #ffffff); border-bottom: 1px solid var(--sd-border, #e2e8f0); }
.pf-fisa-banda-in { display: flex; flex-wrap: wrap; gap: 10px 44px; align-items: center; padding-top: 24px; padding-bottom: 24px; }
.pf-fisa-banda-in > div { display: flex; flex-direction: column; gap: 3px; }
.pf-fisa-banda dt { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--sd-muted, #64748b); font-weight: 700; }
.pf-fisa-banda dd { margin: 0; color: var(--sd-heading, #0f172a); font-weight: 700; font-size: 15.5px; }
.pf-fisa-banda-btn { margin-left: auto; }
.pf-ed-body { max-width: 820px; padding-top: 44px; }

/* ── galerie, alte proiecte ───────────────────────────────────────────── */
.pf-galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pf-galerie-item { display: block; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--sd-section, #f1f5f9); box-shadow: 0 20px 40px -24px rgba(15, 23, 42, .4); }
.pf-galerie-item:first-child:nth-last-child(n+3) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.pf-galerie-item:hover img { transform: scale(1.05); }
.pf-altele { margin-top: 72px; }
.pf-altele .pf-centrat { margin-top: 36px; }

/* ── ecran îngust ─────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
    .pf-grid, .pf-tiles, .pf-grid.pf-cols-4, .pf-tiles.pf-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pf-masonry, .pf-masonry.pf-cols-4 { column-count: 2; }
    .pf-detaliu-grid { grid-template-columns: 1fr; gap: 40px; }
    .pf-fisa { position: static; }
    .pf-row { grid-template-columns: 1fr; gap: 26px; }
    .pf-row:nth-child(even) .pf-row-media { order: 0; }
    .pf-arrow { opacity: 1; transform: none; }
}
@media (max-width: 640px) {
    .pf-sectiune { padding: 56px 0; }
    .pf-grid, .pf-tiles, .pf-grid.pf-cols-2, .pf-tiles.pf-cols-2 { grid-template-columns: 1fr; gap: 32px; }
    .pf-masonry, .pf-masonry.pf-cols-2 { column-count: 1; }
    .pf-hero { aspect-ratio: auto; min-height: 460px; }
    /* pe îngust textul stă JOS, deci voalul urcă de jos, nu din stânga */
    .pf-hero::after { background: linear-gradient(180deg, rgba(15, 23, 42, .05) 0%, rgba(15, 23, 42, .45) 45%, rgba(15, 23, 42, .9) 100%); }
    .pf-hero-text { left: 14px; right: 14px; bottom: 14px; padding: 20px 20px; }
    .pf-galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .pf-galerie-item:first-child:nth-last-child(n+3) { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
    .pf-cover { aspect-ratio: 4 / 3; border-radius: 20px; }
    .pf-fisa-banda-btn { margin-left: 0; width: 100%; }
    .pf-fisa-banda-btn .pf-btn { width: 100%; justify-content: center; }
    .pf-rows { gap: 52px; }
    .pf-tile-sub { max-height: 90px; opacity: 1; }
}

/* ── LIGHTBOX-ul galeriei (Alpine; teleportat în <body>) ──────────────── */
.pf-galerie-zona { position: relative; }
.pf-galerie-item { position: relative; }
.pf-galerie-lupa { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: #0f172a; display: flex; align-items: center; justify-content: center; font-size: 18px; opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .3s ease; }
.pf-galerie-item:hover .pf-galerie-lupa { opacity: 1; transform: none; }
.pf-lb[x-cloak] { display: none !important; }
.pf-lb { position: fixed; inset: 0; z-index: 9999; background: rgba(8, 12, 20, .94); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 72px 56px; }
.pf-lb-stage { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 0; }
.pf-lb-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.pf-lb-close, .pf-lb-nav { position: absolute; display: flex; align-items: center; justify-content: center; border: 0; cursor: pointer; color: #ffffff; background: rgba(255, 255, 255, .1); border-radius: 50%; transition: background .15s ease; line-height: 1; }
.pf-lb-close:hover, .pf-lb-nav:hover { background: rgba(255, 255, 255, .22); }
.pf-lb-close { top: 16px; right: 16px; width: 46px; height: 46px; font-size: 30px; }
.pf-lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 38px; padding-bottom: 6px; }
.pf-lb-prev { left: 14px; }
.pf-lb-next { right: 14px; }
.pf-lb-counter { position: absolute; top: 26px; left: 24px; color: rgba(255, 255, 255, .75); font-size: 13px; font-weight: 700; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.pf-lb-titlu { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .8); font-size: 14px; margin: 0; }
@media (max-width: 640px) {
    .pf-lb { padding: 64px 8px 48px; }
    .pf-lb-nav { width: 42px; height: 42px; font-size: 30px; background: rgba(255, 255, 255, .16); }
    .pf-lb-prev { left: 6px; }
    .pf-lb-next { right: 6px; }
    .pf-galerie-lupa { opacity: 1; transform: none; }
}
