/* ─────────────────────────────────────────────────────────────
   Public Team Pages — hip, professional, sleek
   All classes prefixed .pt- to avoid clashes.
   ───────────────────────────────────────────────────────────── */

.pt-body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: #1a202c;
  background: #fafafa;
  -webkit-font-smoothing: antialiased;
}
.pt-main { min-height: 70vh; }
.pt-container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.pt-section { padding: 56px 0; }
@media (max-width: 640px) { .pt-section { padding: 40px 0; } }

.pt-section-head { text-align: center; margin-bottom: 32px; }
.pt-section-title {
  font-size: 30px; font-weight: 700; margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.pt-section-sub { color: #71717a; font-size: 15px; margin: 0; }

/* ── Hero (list page) ────────────────────────────────────── */
.pt-hero {
  padding: 88px 0 48px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(102,126,234,0.08), transparent 50%),
    radial-gradient(circle at 80% 10%, rgba(236,72,153,0.06), transparent 50%),
    linear-gradient(180deg, #fff 0%, #fafafa 100%);
  border-bottom: 1px solid #eef0f4;
}
.pt-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #667eea;
  padding: 6px 14px;
  background: rgba(102,126,234,0.08);
  border-radius: 999px;
  margin-bottom: 18px;
}
.pt-hero-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 16px;
  background: linear-gradient(135deg, #1a202c 0%, #475569 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pt-hero-sub {
  font-size: 18px;
  color: #52525b;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ── Team grid (list page) ───────────────────────────────── */
.pt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.pt-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid #eef0f4;
  transition: transform 0.35s cubic-bezier(.22,.61,.36,1), box-shadow 0.35s ease, border-color 0.2s ease;
  will-change: transform;
}
.pt-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px -16px rgba(15, 23, 42, 0.2);
  border-color: transparent;
}
.pt-card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #f4f4f5;
  overflow: hidden;
}
.pt-card-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.pt-card:hover .pt-card-photo { transform: scale(1.05); }
.pt-card-photo-empty {
  display: flex; align-items: center; justify-content: center;
  font-size: 64px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.pt-card-photo-empty span { opacity: 0.9; }
.pt-card-badge {
  position: absolute;
  bottom: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px;
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.pt-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pt-card-name {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 2px;
  letter-spacing: -0.01em;
}
.pt-card-specialty {
  font-size: 13px;
  color: #667eea;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pt-card-years {
  font-size: 13px;
  color: #71717a;
  margin-top: 2px;
}
.pt-card-years i { color: #f59e0b; }
.pt-card-cta {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #4f46e5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}
.pt-card:hover .pt-card-cta { gap: 10px; }

/* ── Buttons ─────────────────────────────────────────────── */
.pt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: inherit;
}
.pt-btn:hover { transform: translateY(-1px); }
.pt-btn-primary {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  color: #fff;
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.35);
}
.pt-btn-primary:hover { box-shadow: 0 12px 26px -4px rgba(15, 23, 42, 0.45); }
.pt-btn-ghost {
  background: #fff;
  border-color: #e2e8f0;
  color: #1a202c;
}
.pt-btn-ghost:hover { background: #f8fafc; border-color: #cbd5e1; }

/* ── Bottom CTA ──────────────────────────────────────────── */
.pt-bottom-cta-wrap { padding: 40px 0 72px; }
.pt-bottom-cta {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  color: #fff;
  text-align: center;
  padding: 48px 28px;
  border-radius: 20px;
  box-shadow: 0 22px 44px -20px rgba(15, 23, 42, 0.4);
}
.pt-bottom-cta h3 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}
.pt-bottom-cta .pt-btn {
  background: #fff;
  color: #1a202c;
  box-shadow: none;
}
.pt-bottom-cta .pt-btn:hover { background: #f1f5f9; box-shadow: 0 8px 20px rgba(0,0,0,0.2); }

.pt-empty {
  text-align: center;
  padding: 80px 20px;
  color: #94a3b8;
}
.pt-empty i { font-size: 44px; margin-bottom: 16px; display: block; }
.pt-empty p { font-size: 16px; margin: 0; }

/* ─────────────────────────────────────────────────────────
   DETAIL PAGE
   ───────────────────────────────────────────────────────── */
.pt-detail-body { background: #fff; }

.pt-detail-hero {
  position: relative;
  padding: 32px 0 56px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.pt-detail-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: blur(40px) saturate(1.1);
  transform: scale(1.1);
  opacity: 0.35;
  z-index: 0;
}
.pt-detail-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.95) 100%);
  z-index: 1;
}
.pt-detail-hero-inner { position: relative; z-index: 2; }

.pt-back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: #64748b; text-decoration: none;
  font-size: 14px; font-weight: 500;
  margin-bottom: 28px;
  transition: color 0.15s ease, gap 0.2s ease;
}
.pt-back-link:hover { color: #1a202c; gap: 12px; }

.pt-detail-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 720px) {
  .pt-detail-head { grid-template-columns: 1fr; gap: 20px; text-align: center; justify-items: center; }
}

.pt-detail-avatar-img {
  width: 220px; height: 220px;
  border-radius: 50%;
  background-size: cover; background-position: center;
  border: 6px solid #fff;
  box-shadow: 0 20px 44px -10px rgba(15,23,42,0.3);
  overflow: hidden;
}
.pt-detail-avatar-empty {
  display: flex; align-items: center; justify-content: center;
  font-size: 90px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
@media (max-width: 720px) {
  .pt-detail-avatar-img { width: 160px; height: 160px; }
  .pt-detail-avatar-empty { font-size: 64px; }
}

.pt-detail-name {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 10px;
}
.pt-detail-specialty {
  display: inline-block;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: #667eea;
  padding: 6px 14px;
  background: rgba(102,126,234,0.1);
  border-radius: 999px;
  margin-bottom: 14px;
}
.pt-detail-badges {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 24px;
  justify-content: inherit;
}
@media (max-width: 720px) { .pt-detail-badges { justify-content: center; } }
.pt-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px;
  background: rgba(15,23,42,0.05);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
}
.pt-badge i { color: #64748b; }
.pt-detail-cta-row {
  display: flex; gap: 12px; flex-wrap: wrap;
}
@media (max-width: 720px) { .pt-detail-cta-row { justify-content: center; } }

/* ── Bio ─────────────────────────────────────────────────── */
.pt-bio-wrap { max-width: 760px; }
.pt-bio-wrap .pt-section-title { text-align: center; margin-bottom: 24px; }
.pt-bio { font-size: 17px; line-height: 1.8; color: #334155; }
.pt-bio p { margin: 0 0 16px; }
.pt-bio p:last-child { margin: 0; }

/* ── Gallery ─────────────────────────────────────────────── */
.pt-gallery-section { background: #f8fafc; }
.pt-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.pt-gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 0; padding: 0;
  background: #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pt-gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px -10px rgba(15,23,42,0.25);
}
.pt-gallery-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.55s ease;
}
.pt-gallery-item:hover .pt-gallery-img { transform: scale(1.06); }
.pt-gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 16px 12px;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
  color: #fff;
  font-size: 13px;
  text-align: left;
  pointer-events: none;
}

/* ── Services block ──────────────────────────────────────── */
.pt-services-section { background: #fff; }
.pt-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
}
.pt-service {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.pt-service:hover {
  transform: translateX(3px);
  border-color: #667eea;
  box-shadow: 0 10px 24px -10px rgba(102,126,234,0.4);
}
.pt-service-main { flex: 1; min-width: 0; }
.pt-service-name { font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.pt-service-desc { font-size: 13px; color: #64748b; line-height: 1.5; }
.pt-service-meta {
  display: flex; gap: 14px; align-items: baseline;
  flex-shrink: 0;
}
.pt-service-dur { color: #94a3b8; font-size: 13px; white-space: nowrap; }
.pt-service-price { color: #1a202c; font-size: 17px; font-weight: 700; white-space: nowrap; }

/* ── Others (related team members) ───────────────────────── */
.pt-others-section { background: #f8fafc; }
.pt-others {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.pt-other {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pt-other:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px rgba(15,23,42,0.15);
}
.pt-other-photo {
  width: 48px; height: 48px;
  border-radius: 50%;
  background-size: cover; background-position: center;
  background-color: #f0f0f0;
  flex-shrink: 0;
}
.pt-other-photo-empty {
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.pt-other-info { min-width: 0; }
.pt-other-name {
  font-size: 14px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pt-other-specialty { font-size: 12px; color: #667eea; }

/* ── Lightbox ────────────────────────────────────────────── */
.pt-lightbox {
  position: fixed; inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
  animation: ptLbFade 0.2s ease;
}
@keyframes ptLbFade { from { opacity: 0; } to { opacity: 1; } }
.pt-lightbox[hidden] { display: none; }
.pt-lb-close,
.pt-lb-nav {
  position: absolute;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.15s ease;
  font-size: 18px;
}
.pt-lb-close:hover,
.pt-lb-nav:hover { background: rgba(255,255,255,0.2); }
.pt-lb-close { top: 24px; right: 24px; }
.pt-lb-prev  { left: 24px;  top: 50%; transform: translateY(-50%); }
.pt-lb-next  { right: 24px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .pt-lb-prev { left: 12px; } .pt-lb-next { right: 12px; }
  .pt-lb-close { top: 12px; right: 12px; }
}
.pt-lb-stage {
  position: relative;
  max-width: min(94vw, 1200px);
  max-height: 90vh;
  text-align: center;
  color: #fff;
}
.pt-lb-stage img {
  max-width: 100%; max-height: 82vh;
  border-radius: 10px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  display: block;
}
.pt-lb-cap {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
}
.pt-lb-count {
  position: absolute; top: -36px; left: 0;
  font-size: 13px; color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
}

/* ─────────────────────────────────────────────────────────
   BOOKING-WIDGET: worker gallery button + modal
   (loaded via admin-global.css / booking.css on widget page)
   ───────────────────────────────────────────────────────── */
.pt-w-gallery-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 6px;
  padding: 5px 10px;
  background: rgba(102,126,234,0.08);
  color: #4f46e5;
  border: 1px solid rgba(102,126,234,0.2);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  font-family: inherit;
}
.pt-w-gallery-link:hover { background: rgba(102,126,234,0.15); }
.pt-w-gallery-link:active { transform: translateY(1px); }
.pt-w-gallery-link i { font-size: 11px; }
