/* پروفایل عمومی آزمایشگاه — سرو از /lab-booking/static */
:root {
  --lp-blue: #0d9488;
  --lp-cyan: #14b8a6;
  --lp-ink: #0f172a;
  --lp-muted: #64748b;
  --lp-line: #e2e8f0;
  --lp-teal-deep: #0f766e;
  --lp-surface: #f0fdfa;
  --font: 'Vazirmatn', Tahoma, sans-serif;
}
body.lab-profile-page {
  margin: 0;
  font-family: var(--font);
  color: var(--lp-ink);
  background: var(--lp-surface);
}
.lp-nav {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 20;
}
.lp-nav__bar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-block: 1rem;
}
.lp-brand {
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  font-size: 1.1rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.lp-hero {
  position: relative;
  min-height: 280px;
  padding: 5.5rem 0 2.75rem;
  color: #fff;
  overflow: hidden;
}
.lp-hero--solid {
  background-color: var(--lp-header-bg, #0f766e) !important;
}
.lp-hero__cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  pointer-events: none;
}
.lp-hero__cover--solid {
  transform: none;
  background-image: none !important;
  background-color: var(--lp-header-bg, #0f766e) !important;
}
.lp-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(19,78,74,0.82) 45%, rgba(13,148,136,0.58) 100%);
}
.lp-hero > .container {
  position: relative;
  z-index: 2;
}
.lp-hero__card {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 1.1rem;
  align-items: center;
  flex-wrap: wrap;
}
.lp-logo {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  background: #fff;
  border: 3px solid rgba(255,255,255,0.55);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  color: var(--lp-blue);
  box-shadow: 0 12px 32px rgba(0,0,0,0.22);
  flex-shrink: 0;
}
.lp-logo img { width: 100%; height: 100%; object-fit: cover; }
.lp-hero__text { flex: 1; min-width: 0; }
.lp-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}
.lp-badge {
  display: inline-block;
  background: #fff7ed;
  color: #c2410c;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
}
.lp-badge--home {
  background: rgba(14, 116, 144, 0.92);
  color: #fff;
}
.lp-hero h1 {
  font-size: clamp(1.35rem, 3.2vw, 2.1rem);
  font-weight: 900;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
  color: inherit;
  line-height: 1.25;
}
.lp-rating { margin-bottom: 0.55rem; }
.lp-loc {
  opacity: 0.92;
  margin: 0;
  line-height: 1.55;
  color: inherit;
  font-size: 0.92rem;
}

/* نوار اکشن زیر هدر */
.lp-cta-bar {
  position: relative;
  z-index: 4;
  margin-top: -1.25rem;
  margin-bottom: 0.25rem;
}
.lp-cta-bar__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 18px;
  padding: 0.85rem;
  box-shadow: 0 16px 40px -22px rgba(15, 41, 66, 0.4);
}
.lp-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none !important;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.lp-cta i { flex-shrink: 0; }
.lp-cta--primary {
  background: #0f766e !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.22);
}
.lp-cta--primary:hover,
.lp-cta--primary:focus {
  background: #0d9488 !important;
  color: #fff !important;
  transform: translateY(-1px);
}
.lp-cta--secondary {
  background: #ecfdf5 !important;
  color: #0f766e !important;
  border: 1px solid #99f6e4;
}
.lp-cta--secondary:hover,
.lp-cta--secondary:focus {
  background: #d1fae5 !important;
  color: #0f766e !important;
}
.lp-cta--ghost {
  background: #f8fafc !important;
  color: #334155 !important;
  border: 1px solid #e2e8f0;
}
.lp-cta--ghost:hover,
.lp-cta--ghost:focus {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

/* رنگ هدر روشن → متن تیره */
.lp-hero--light { color: #0f172a; }
.lp-hero--light .lp-brand {
  color: #0f172a;
  text-shadow: none;
}
.lp-hero--light .lp-loc,
.lp-hero--light .lp-hero h1 { color: #0f172a; }
.lp-hero--light .lb-stars__meta,
.lp-hero--light .lp-rating .lb-stars__meta { color: #475569 !important; }

.lp-main {
  margin-top: 1rem;
  padding-bottom: 3.5rem;
  position: relative;
  z-index: 3;
}
.lp-panel {
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 18px;
  padding: 1.25rem 1.35rem;
  margin-bottom: 1rem;
  box-shadow: 0 12px 36px -20px rgba(15,41,66,0.35);
}
.lp-panel h2 {
  font-size: 1.05rem;
  font-weight: 900;
  margin: 0 0 0.85rem;
}
.lp-bio {
  margin: 0;
  line-height: 1.85;
  white-space: pre-wrap;
}
.lp-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}
.lp-list li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  line-height: 1.6;
}
.lp-list i { color: #0d9488; margin-top: 0.2rem; }
.lp-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}
.lp-gallery__item {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--lp-line);
}
.lp-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.lp-tags span {
  background: #f0fdfa;
  color: var(--lp-blue);
  border: 1px solid #99f6e4;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
}
.lp-dl { margin: 0; }
.lp-dl > div { margin-bottom: 0.85rem; }
.lp-dl dt {
  font-size: 0.75rem;
  color: var(--lp-muted);
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.lp-dl dd { margin: 0; font-weight: 600; line-height: 1.55; }
.lp-dl a { color: var(--lp-blue); text-decoration: none; }
.lp-footer {
  background: var(--lp-ink);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
}
.lp-footer a { color: #7dd3fc; text-decoration: none; margin: 0 0.35rem; }

.lb-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  color: #f59e0b;
  font-size: 0.9rem;
  flex-wrap: wrap;
}
.lb-stars__meta {
  margin-right: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.lp-rating .lb-stars__meta { color: rgba(255,255,255,0.88); }
.lp-reviews { display: grid; gap: 0.85rem; }
.lp-review {
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  background: #f8fffe;
}
.lp-review__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
}
.lp-review__body {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #334155;
}

/* موبایل / اپ */
@media (max-width: 991.98px) {
  .lp-cta-bar__inner {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767.98px) {
  .lp-hero {
    min-height: 0;
    padding: 4.25rem 0 2rem;
  }
  .lp-hero__card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .lp-logo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    font-size: 1.6rem;
  }
  .lp-hero h1 {
    font-size: 1.35rem;
  }
  .lp-loc {
    font-size: 0.86rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .lp-cta-bar {
    margin-top: -0.85rem;
    padding-inline: 0;
  }
  .lp-cta-bar .container {
    padding-inline: 0.75rem;
  }
  .lp-cta-bar__inner {
    border-radius: 16px;
    padding: 0.7rem;
    gap: 0.5rem;
  }
  .lp-cta {
    width: 100%;
    justify-content: flex-start;
    min-height: 52px;
    border-radius: 12px;
    font-size: 0.95rem;
  }
  .lp-cta--primary {
    order: -1;
  }
  .lp-main {
    margin-top: 0.85rem;
    padding-bottom: 5.5rem;
  }
  .lp-panel {
    border-radius: 14px;
    padding: 1rem 1.05rem;
  }
  .lp-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .lp-side .btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 575.98px) {
  .lp-nav__bar { padding-block: 0.85rem; }
  .lp-brand { font-size: 1rem; }
  .lp-hero { padding-top: 3.75rem; }
}
