/* ══════════════════════════════════════════════════════════
   PORTFOLIO PAGE — Clear Vision
══════════════════════════════════════════════════════════ */

/* Pre-hide GSAP targets */
.pf-eyebrow,
.pf-hero__title,
.pf-hero__sub,
.pf-hero__stats { opacity: 0; }

/* ── ZOOM REVEAL HERO (37eventsa technique) ───────────── */
.pf-scroll-section {
  position: relative;
  /* Very tall to allow scrolling while the effect plays out */
  height: 250vh;
  background: var(--clr-bg-deep);
}

.pf-scroll-container {
  /* Gets pinned by GSAP */
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.sticky-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 1. Revealed Content (Bottom layer) */
.reveal-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pf-reveal-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.pf-reveal-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pf-reveal-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5, 6, 10, 0.4) 0%, rgb(37 174 225 / 80%) 100%);
}

.pf-reveal-text {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  /* Will be animated by GSAP */
  opacity: 0;
  transform: translateY(100px);
}

.pf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 24px;
  border-radius: 99px;
  border: 1px solid rgba(0,171,193,0.35);
  background: rgba(0,171,193,0.07);
  color: var(--clr-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.pf-zoom-title {
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
  background: linear-gradient(135deg, #FFFFFF 0%, #A5B4CB 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}
.pf-zoom-title .text-cyan { -webkit-text-fill-color: var(--clr-primary); }

.pf-zoom-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
  flex-wrap: wrap;
}

.pf-zoom-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.pf-zoom-stat-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pf-zoom-stat-num {
  font-size: 4rem;
  font-weight: 900;
  color: #fff;
  font-family: var(--font-en);
  line-height: 1;
}

.pf-zoom-stat-plus {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.pf-zoom-stat-lbl {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pf-zoom-stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.15);
}

/* 2. Mask Layer (Top layer) */
.zoom-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
  /* Desktop: fill by width */
  width: 100vw;
  min-width: 1000px;
  height: auto;
}

/* 3. Scroll Indicator (Top layer) */
.pf-scroll-indicator {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 50;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s;
}
.pf-scroll-mouse {
  width: 24px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  position: relative;
}
.pf-scroll-mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 6px;
  background: var(--clr-primary);
  border-radius: 4px;
  animation: pf-mouse-wheel 2s infinite ease-in-out;
}
@keyframes pf-mouse-wheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 12px); opacity: 0; }
}
.pf-scroll-indicator span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.6);
}

/* ── FILTER NAV ───────────────────────────────────────── */
.pf-filter-nav {
  position: sticky;
  top: 72px;
  z-index: 99;
  background: rgba(8,14,26,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: box-shadow 0.3s;
}

.pf-filter-nav.is-shadowed { box-shadow: 0 4px 32px rgba(0,0,0,0.4); }

.pf-filter-nav__inner {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.pf-filter-nav__inner::-webkit-scrollbar { display: none; }

.pf-filter-btn {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 8px 22px;
  border-radius: 99px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--clr-text-muted);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
}

.pf-filter-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.pf-filter-btn.active {
  background: rgba(0,171,193,0.12);
  border-color: rgba(0,171,193,0.4);
  color: var(--clr-primary);
}

/* ── TAG VARIANTS ─────────────────────────────────────── */
.pf-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pf-tag--cyan    { background: rgba(0,171,193,0.12); border: 1px solid rgba(0,171,193,0.35); color: var(--clr-primary); }
.pf-tag--outline { background: transparent; border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.6); }
.pf-tag--blue    { background: rgba(74,158,255,0.1); border: 1px solid rgba(74,158,255,0.3); color: #4A9EFF; }
.pf-tag--amber   { background: rgba(251,191,36,0.1); border: 1px solid rgba(251,191,36,0.3); color: #FBbf24; }
.pf-tag--green   { background: rgba(34,197,94,0.1);  border: 1px solid rgba(34,197,94,0.3);  color: #4ade80; }
.pf-tag--purple  { background: rgba(168,85,247,0.1); border: 1px solid rgba(168,85,247,0.3); color: #c084fc; }
.pf-tag--orange  { background: rgba(249,115,22,0.1); border: 1px solid rgba(249,115,22,0.3); color: #fb923c; }

/* ── FEATURED PROJECT ─────────────────────────────────── */
.pf-featured {
  position: relative;
  padding: 120px 0;
  background: var(--clr-bg-deep);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}

.pf-featured__glow {
  position: absolute;
  top: -100px;
  left: -150px;
  width: 600px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(0,171,193,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.pf-featured__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 100px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.pf-featured__img-wrap {
  position: relative;
  height: 100%;
  min-height: 380px;
}

.pf-featured__clients {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.pf-client-badge {
  padding: 5px 14px;
  border-radius: 99px;
  background: rgba(0,171,193,0.06);
  border: 1px solid rgba(0,171,193,0.15);
  color: var(--clr-primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Featured eyebrow — editorial line style */
.pf-featured__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--clr-primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.pf-featured__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--clr-primary);
  flex-shrink: 0;
}

.pf-featured__title {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #FFFFFF 0%, #A5B4CB 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pf-featured__title .text-cyan { -webkit-text-fill-color: var(--clr-primary); }

.pf-featured__desc {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  line-height: 1.85;
  margin-bottom: 40px;
}

.pf-featured__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── GRID ─────────────────────────────────────────────── */
.pf-grid-section {
  padding: 100px 0 140px;
  background: var(--clr-bg-deep);
}

.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Wide card — full row, inner 2-col grid */
.pf-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 52% 1fr;
  overflow: hidden;
}

.pf-card--wide .pf-card__img-wrap {
  aspect-ratio: unset;
  min-height: 340px;
  height: 100%;
}

.pf-card--wide .pf-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 44px;
  gap: 12px;
}

[dir="rtl"] .pf-card--wide {
  grid-template-columns: 1fr 52%;
}

/* Card */
.pf-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pf-card:hover {
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* Card image */
.pf-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

/* Overlay — slides up from bottom on hover */
.pf-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px 24px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.pf-card:hover .pf-card__overlay { opacity: 1; }

.pf-card__overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 99px;
  background: rgba(255,255,255,0.92);
  color: #050a0f;
  font-weight: 700;
  font-size: 0.78rem;
  text-decoration: none;
  transition: gap 0.2s ease;
}
.pf-card__overlay-btn:hover { gap: 12px; }

/* Card body */
.pf-card__body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.pf-card__category {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.pf-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  margin: 0;
}

.pf-card__desc {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin: 0;
  margin-top: 2px;
}

/* ── FILTER ANIMATION ─────────────────────────────────── */
.pf-card, .pf-featured {
  transition: opacity 0.4s, transform 0.4s cubic-bezier(0.16,1,0.3,1);
}

.pf-card.pf-hidden {
  display: none;
}

/* ── EMPTY STATE ──────────────────────────────────────── */
.pf-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--clr-text-muted);
}

.pf-empty i {
  font-size: 3rem;
  opacity: 0.25;
  display: block;
  margin-bottom: 16px;
}

/* ── DATA ANIMATE ─────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── CTA ──────────────────────────────────────────────── */
.pf-cta {
  position: relative;
  padding: 120px 0;
  background: var(--clr-bg-deep);
  border-top: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  text-align: center;
}

.pf-cta__glow {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(0,171,193,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.pf-cta__inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.pf-cta__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0,171,193,0.1);
  border: 1px solid rgba(0,171,193,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 1.4rem;
  color: var(--clr-primary);
}

.pf-cta__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #FFFFFF 0%, #A5B4CB 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pf-cta__sub {
  font-size: 1rem;
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
}

.pf-cta__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── RTL ──────────────────────────────────────────────── */
[dir="rtl"] .pf-reveal-text { direction: rtl; }
[dir="rtl"] .pf-zoom-title { line-height: 1.35; padding-top: 10px; }
[dir="rtl"] .pf-featured__title { line-height: 1.4; }
[dir="rtl"] .pf-cta__title { line-height: 1.4; }
[dir="rtl"] .pf-card__title { line-height: 1.45; }
[dir="rtl"] .pf-featured__inner { direction: rtl; }
[dir="rtl"] .pf-featured__glow { left: auto; right: -150px; }
[dir="rtl"] .pf-card__client { direction: rtl; }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1200px) {
  .pf-grid { grid-template-columns: repeat(2, 1fr); }
  .pf-card--wide { grid-column: 1 / -1; }
  .pf-featured__inner { gap: 64px; }
}

@media (max-width: 1024px) {
  .pf-featured__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .pf-featured__inner > *:first-child { order: 2; }
  .pf-featured__inner > *:last-child  { order: 1; }
  .pf-card--wide { grid-template-columns: 1fr; }
  .pf-card--wide .pf-card__img-wrap { min-height: 260px; height: 260px; }
  .pf-card--wide .pf-card__body { padding: 32px; }
  [dir="rtl"] .pf-card--wide { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .pf-scroll-section { height: 200vh; }
  .pf-zoom-title { font-size: clamp(2.5rem, 8vw, 3.5rem); }
  .pf-zoom-stats { gap: 24px; }
  .pf-zoom-stat-divider { display: none; }
  .pf-featured { padding: 70px 0; }
  .pf-grid { grid-template-columns: 1fr; }
  .pf-grid-section { padding: 60px 0 80px; }
  .pf-filter-btn { font-size: 0.78rem; padding: 7px 16px; }
  .pf-cta { padding: 80px 0; }
  .zoom-image { height: auto; min-width: unset; }
  .pf-card__body { padding: 24px; }
}

@media (max-width: 480px) {
  .pf-featured__ctas { flex-direction: column; }
  .pf-cta__btns { flex-direction: column; align-items: center; }
}

/* ══════════════════════════════════════════════════════════
   CARD VISUAL — full-bleed image, no shell
══════════════════════════════════════════════════════════ */
.pf-card__visual {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #070f1e;
}

/* ── Browser chrome strip (minimal, top only) ──────────── */
.pf-browser {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pf-browser__bar {
  background: #111827;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  flex-shrink: 0;
}

.pf-browser__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pf-browser__dot:nth-child(1) { background: rgba(255,95,86,0.5); }
.pf-browser__dot:nth-child(2) { background: rgba(255,189,46,0.5); }
.pf-browser__dot:nth-child(3) { background: rgba(39,201,63,0.5); }

/* Hide URL bar entirely */
.pf-browser__url { display: none; }

.pf-browser__screen {
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

.pf-browser__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

.pf-card:hover .pf-browser__screen img { transform: scale(1.04); }

/* Inset variant for duo layout */
.pf-browser--inset {
  width: 70%;
  height: auto;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  flex-shrink: 0;
}
.pf-browser--inset .pf-browser__screen {
  flex: unset;
  aspect-ratio: 16 / 9;
}

/* ── Duo (browser + phone side by side) ─────────────────── */
.pf-card__visual--duo {
  display: flex;
  align-items: flex-end;
  padding: 24px 20px 0;
  background: #0a1422;
  gap: 0;
}

/* ── Phone frame ─────────────────────────────────────────── */
.pf-phone {
  width: 22%;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: #0a1628;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  margin-left: -10px;
  align-self: flex-end;
}

.pf-phone__notch {
  height: 10px;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pf-phone__notch::after {
  content: '';
  width: 28px; height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
}

.pf-phone__screen {
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #0d1f3c;
}
.pf-phone__screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ── ResLude CSS mockup (featured section) ─────────────── */
.pf-mock {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  background: #070f1e;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
}

.pf-mock__bar {
  background: rgba(255,255,255,0.04);
  padding: 8px 14px;
  display: flex; align-items: center; gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.pf-mock__dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.pf-mock__dot:nth-child(1) { background: #ff5f56; }
.pf-mock__dot:nth-child(2) { background: #ffbd2e; }
.pf-mock__dot:nth-child(3) { background: #27c93f; }

.pf-mock__url {
  flex: 1; margin-left: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px; padding: 2px 12px;
  font-size: 0.62rem; color: rgba(255,255,255,0.28);
  font-family: var(--font-en);
}

.pf-mock__body { flex: 1; display: flex; overflow: hidden; min-height: 0; }

.pf-mock__sidebar {
  width: 100px; flex-shrink: 0;
  background: rgba(255,255,255,0.02);
  border-right: 1px solid rgba(255,255,255,0.05);
  padding: 14px 8px;
  display: flex; flex-direction: column; gap: 2px;
}

.pf-mock__nav {
  padding: 7px 8px;
  border-radius: 6px;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-en);
  display: flex; align-items: center; gap: 7px;
  transition: background 0.2s;
}

.pf-mock__nav.is-active {
  background: rgba(0,171,193,0.15);
  color: #00abc1;
}

.pf-mock__nav i { font-size: 0.7rem; width: 12px; }

.pf-mock__main {
  flex: 1; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
  overflow: hidden;
}

.pf-mock__kpis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  flex-shrink: 0;
}

.pf-mock__kpi {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px; padding: 8px;
  text-align: center;
  border-top: 2px solid var(--kc, #00abc1);
}

.pf-mock__kpi-num {
  font-size: 1rem; font-weight: 700;
  color: var(--kc, #00abc1);
  font-family: var(--font-en); line-height: 1;
}

.pf-mock__kpi-lbl {
  font-size: 0.52rem;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-en);
  margin-top: 3px;
}

.pf-mock__section-title {
  font-size: 0.6rem; font-weight: 600;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-en);
  text-transform: uppercase; letter-spacing: 1px;
  flex-shrink: 0;
}

.pf-mock__proj-row {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px; padding: 7px 10px;
  flex-shrink: 0;
}

.pf-mock__proj-info { flex-shrink: 0; width: 140px; }

.pf-mock__proj-name {
  font-size: 0.6rem; font-weight: 600;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-en);
}

.pf-mock__proj-agency {
  font-size: 0.52rem; color: rgba(255,255,255,0.3);
  font-family: var(--font-en); margin-top: 1px;
}

.pf-mock__proj-bar {
  flex: 1; height: 5px;
  background: rgba(255,255,255,0.07);
  border-radius: 99px; overflow: hidden;
}

.pf-mock__proj-fill {
  height: 100%; border-radius: 99px;
  width: 0; /* animated by GSAP */
  transition: none;
}

.pf-mock__proj-badge {
  font-size: 0.52rem; font-weight: 700;
  padding: 2px 8px; border-radius: 20px;
  font-family: var(--font-en);
  flex-shrink: 0; text-transform: uppercase; letter-spacing: 0.5px;
}
.badge--active { background: rgba(0,171,193,0.15); color: #00abc1; }
.badge--review { background: rgba(168,85,247,0.15); color: #a855f7; }
.badge--done   { background: rgba(34,197,94,0.15);  color: #22c55e; }

/* featured wrapper needs full height */
.pf-featured__img-wrap {
  position: relative;
  height: 100%;
  min-height: 380px;
}

/* hide broken-image icon when portfolio screenshots don't exist yet */
.pf-browser__screen img,
.pf-browser__screen video {
  color: transparent;
}

/* ── Reslude Mock UI Mobile Fix ── */
@media (max-width: 767px) {
  .pf-mock__sidebar {
    width: 40px;
    padding: 14px 4px;
    align-items: center;
  }
  .pf-mock__nav span { display: none; }
  .pf-mock__nav { padding: 8px; justify-content: center; }
  .pf-mock__nav i { font-size: 1rem; margin: 0; }
  
  .pf-mock__kpis { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .pf-mock__proj-info { width: 90px; }
  .pf-mock__proj-name { font-size: 0.6rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pf-mock__proj-badge { font-size: 0.45rem; padding: 2px 5px; }

  /* Client badges container */
  .pf-featured__clients {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .pf-client-badge {
    font-size: 0.65rem;
    padding: 6px 14px;
  }
}
.pf-phone__screen img {
  background: #0d1f3c;
}
