/* =========================================================
   staff.css — Staff subpages (clinic default)
   New layout:
   - ONE combined staff card (profile + bio + 2 focus tabs)
   - Quick booking section
   - Scalable services list (any count)
   - Testimonials section
   Uses tokens from base.css
   ========================================================= */

/* Page spacing */
.staff-profile {
  padding: 46px 0 26px;
}

.staff-section {
  padding: 76px 0;
}

/* Section header spacing */
.staff-section .section-head {
  max-width: 78ch;
  margin-bottom: 22px;
}

/* =========================
   Layout blocks
   ========================= */
.staff-profile-grid {
  display: grid;
  gap: 18px;
}

.staff-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.staff-card--profile {
  padding: 22px;
}

/* =========================
   Profile header (avatar + identity)
   ========================= */
.staff-profile-top {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  align-items: center;
}

.staff-avatar {
  width: 112px;
  height: 112px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.staff-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.staff-role {
  display: inline-block;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 0.82rem;
  color: rgba(18, 192, 138, .92);
  margin-bottom: 10px;
}

.staff-name {
  margin: 0 0 10px;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: var(--text);
}

.staff-tagline {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, .74);
  line-height: 1.75;
  max-width: 72ch;
}

.staff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Meta row (NOW ONLY 2 items) */
.staff-meta {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.staff-meta-item {
  border-radius: var(--radius-md);
  padding: 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.18);
}

.staff-meta-k {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 900;
  color: rgba(255, 255, 255, .60);
  margin-bottom: 6px;
}

.staff-meta-v {
  display: block;
  font-weight: 750;
  color: rgba(255, 255, 255, .90);
}

/* Divider inside main card */
.staff-divider {
  margin: 18px 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.10);
}

/* =========================
   Bio block inside card
   ========================= */
.staff-bio {
  display: grid;
  gap: 10px;
  max-width: 85ch;
}

.staff-bio p {
  margin: 0;
  color: rgba(255, 255, 255, .74);
  line-height: 1.75;
}

/* =========================
   Focus tabs (CSS-only)
   ========================= */
.staff-tabs {
  margin-top: 16px;
}

.staff-tabs input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.staff-tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.staff-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.14);
  color: rgba(255, 255, 255, .84);
  font-weight: 850;
  cursor: pointer;
  user-select: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.staff-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(18, 192, 138, 0.26);
  background: rgba(18, 192, 138, 0.08);
}

.staff-panels {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.14);
  padding: 14px 14px;
}

.staff-panel {
  display: none;
}

#focusA:checked~.staff-tabs .staff-panels .staff-panel--a {
  display: block;
}

#focusB:checked~.staff-tabs .staff-panels .staff-panel--b {
  display: block;
}

/* active tab styling */
#focusA:checked~.staff-tabs .staff-tab-bar label[for="focusA"],
#focusB:checked~.staff-tabs .staff-tab-bar label[for="focusB"] {
  border-color: rgba(18, 192, 138, 0.30);
  background: rgba(18, 192, 138, 0.12);
}

.staff-mini-title {
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, .92);
}

.staff-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.staff-bullets li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, .74);
  line-height: 1.65;
}

.staff-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(18, 192, 138, .88);
  box-shadow: 0 0 0 4px rgba(18, 192, 138, .14);
}

/* =========================
   Quick booking section
   ========================= */
.staff-quick {
  display: grid;
  gap: 14px;
}

.staff-quick .staff-card {
  padding: 18px;
}

.staff-quick h3 {
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.staff-muted {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, .70);
  line-height: 1.75;
}

.staff-quick-links {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.staff-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 12px 14px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);

  text-decoration: none;
  color: rgba(255, 255, 255, .86);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.staff-link span {
  font-weight: 900;
  opacity: 0.9;
}

.staff-link:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 192, 138, 0.28);
  background: rgba(18, 192, 138, 0.10);
}

.staff-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.14);
  color: rgba(255, 255, 255, .76);
}

.staff-note a {
  color: rgba(255, 255, 255, .92);
  font-weight: 850;
}

/* =========================
   Scalable service list (any count)
   ========================= */
.staff-services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.staff-svc {
  padding: 18px;
}

.staff-svc h3 {
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, .92);
}

.staff-svc p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, .70);
  line-height: 1.75;
}

.staff-svc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* =========================
   Service status note — subtle red
   ========================= */

.staff-svc-note {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
}

.staff-svc-note-label {
  padding: 6px 12px;
  border-radius: 999px;

  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .04em;

  color: rgba(255, 120, 120, .92);

  border: 1px solid rgba(255, 120, 120, .35);
  background: rgba(255, 120, 120, .08);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  transition: background .2s ease, border-color .2s ease;
}

/* =========================
   Testimonials
   ========================= */
.staff-testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.staff-quote {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.staff-quote p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.75;
}

.staff-quote span {
  color: rgba(255, 255, 255, .62);
  font-weight: 850;
}

/* =========================
   Sticky book bar (optional, keep)
   ========================= */
.staff-bookbar {
  position: sticky;
  bottom: 14px;
  z-index: 50;
  padding: 0 0 14px;
}

.staff-bookbar-inner {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(10, 10, 10, .42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
}

.staff-bookbar-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.staff-bookbar-name {
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, .92);
}

.staff-bookbar-sub {
  color: rgba(255, 255, 255, .62);
  font-size: 0.92rem;
}

.staff-bookbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 900px) {
  .staff-testimonials {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .staff-profile-top {
    grid-template-columns: 1fr;
  }

  .staff-avatar {
    width: 96px;
    height: 96px;
    border-radius: 22px;
  }

  .staff-bookbar-inner {
    border-radius: var(--radius-xl);
    align-items: flex-start;
  }
}

