/* صفحه نمونه‌کارها — هویت پرنیان دیتا (#B11E24) */

.pd-port-crumb {
  padding: 18px 0 0;
  font-size: 13px;
  color: var(--text-mute);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pd-port-crumb a { color: var(--text-mute); }
.pd-port-crumb a:hover { color: var(--accent); }
.pd-port-crumb svg { width: 12px; height: 12px; }

.pd-port-hero {
  position: relative;
  padding: 28px 0 40px;
  overflow: hidden;
}
.pd-port-hero::before {
  content: "";
  position: absolute;
  inset: -30% auto auto 10%;
  width: 48vw;
  height: 48vw;
  max-width: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  pointer-events: none;
}
.pd-port-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  position: relative;
}
.pd-port-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}
.pd-port-hero h1 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.25;
}
.pd-port-lead {
  margin: 14px 0 22px;
  color: var(--text-mute);
  font-size: 16px;
  line-height: 1.9;
  max-width: 42rem;
}
.pd-port-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.pd-port-stats {
  display: grid;
  gap: 12px;
}
.pd-port-stats article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 16px;
}
.pd-port-stats b {
  display: block;
  font-size: 28px;
  color: var(--accent);
  line-height: 1.1;
}
.pd-port-stats span {
  color: var(--text-mute);
  font-size: 13px;
}

.pd-port-section { padding: 28px 0 48px; }
.pd-port-muted { background: var(--surface-2); }
.pd-port-head { margin-bottom: 22px; max-width: 40rem; }
.pd-port-head h2 { margin: 0 0 8px; font-size: clamp(22px, 2.4vw, 30px); }
.pd-port-head p { margin: 0; color: var(--text-mute); }

.pd-port-featured.studio-work {
  grid-template-columns: 1fr 1fr;
}
.pd-port-featured .studio-shot-card:first-child {
  grid-column: span 1;
}

.pd-port-search {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  align-items: center;
}
.pd-port-search-field {
  flex: 1;
  min-width: min(100%, 240px);
  position: relative;
}
.pd-port-search-field svg {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--text-mute);
  pointer-events: none;
}
.pd-port-search-field input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 42px 12px 14px;
  background: #fff;
  font: inherit;
}
.pd-port-search-field input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.pd-port-filter-label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
}
.pd-port-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.pd-port-tabs::-webkit-scrollbar { height: 6px; }
.pd-port-tabs::-webkit-scrollbar-thumb { background: #d9d4d1; border-radius: 99px; }
.pd-port-tab {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}
.pd-port-tab:hover,
.pd-port-chip:hover { border-color: var(--accent); color: var(--accent); }
.pd-port-tab:focus-visible,
.pd-port-chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.pd-port-tab.is-active,
.pd-port-chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.pd-port-tab small,
.pd-port-chip span {
  font-size: 11px;
  opacity: .75;
  font-weight: 700;
}
.pd-port-tab-ico {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(177, 30, 36, 0.08);
  color: var(--accent);
}
.pd-port-tab.is-active .pd-port-tab-ico {
  background: rgba(255,255,255,.18);
  color: #fff;
}

.pd-port-more {
  margin: 8px 0 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  padding: 4px 16px 8px;
}
.pd-port-more summary {
  cursor: pointer;
  padding: 12px 0;
  font-weight: 700;
  font-size: 14px;
  list-style: none;
}
.pd-port-more summary::-webkit-details-marker { display: none; }
.pd-port-chip-row {
  display: grid;
  gap: 8px;
  padding: 0 0 14px;
}
.pd-port-chip-row b {
  font-size: 12px;
  color: var(--text-mute);
}
.pd-port-chip-row > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pd-port-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  cursor: pointer;
}

.pd-port-grid-wrap { min-height: 200px; transition: opacity 180ms ease; }
.pd-port .studio-work { gap: 18px; }

.pd-port-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 16px;
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: 18px;
}
.pd-port-empty h3 { margin: 0 0 8px; }
.pd-port-empty p { margin: 0 0 16px; color: var(--text-mute); }

.pd-port-pagination {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}
.pd-port-pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pd-port-pagination .page-link {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: inherit;
  text-decoration: none;
  padding: 0 10px;
}
.pd-port-pagination .page-item.active .page-link {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.pd-port-pagination .page-item.disabled .page-link {
  opacity: .45;
}

.pd-port-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.pd-port-steps article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 18px;
}
.pd-port-steps b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  margin-bottom: 12px;
}
.pd-port-steps h3 { margin: 0 0 8px; font-size: 16px; }
.pd-port-steps p { margin: 0; color: var(--text-mute); font-size: 14px; }

.pd-port-industries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.pd-port-industries a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
  min-height: 112px;
  cursor: pointer;
}
.pd-port-industries a:hover { border-color: var(--accent); }
.pd-port-industries strong { font-size: 14px; }
.pd-port-industries small { color: var(--text-mute); }

.pd-port-faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 18px;
  margin-bottom: 10px;
}
.pd-port-faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
}
.pd-port-faq p,
.pd-port-faq a { color: var(--text-mute); }
.pd-port-faq a { color: var(--accent); }
.pd-port-faq p { margin: 0 0 14px; }

.pd-port-cta {
  background: #1a1a1a;
  color: #f3f0ee;
  padding: 48px 0;
  text-align: center;
}
.pd-port-cta h2 { margin: 0 0 10px; color: #fff; }
.pd-port-cta p { margin: 0 auto 20px; max-width: 36rem; color: #c9c3c0; }
.pd-port-cta .studio-btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,.25);
}

@media (max-width: 960px) {
  .pd-port-hero-grid,
  .pd-port-featured.studio-work,
  .pd-port-steps,
  .pd-port-industries { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .pd-port-hero-grid,
  .pd-port-featured.studio-work,
  .pd-port-steps,
  .pd-port-industries { grid-template-columns: 1fr; }
  .pd-port-tab { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .pd-port-tab,
  .pd-port-grid-wrap { transition: none; }
}
