/* ===== Single doctor page (built on services-landing.css) ===== */

/* ---------- hero ---------- */
.doc-hero__grid {
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
}

.doc-hero__name {
  font-size: 2.6vw;
}

.doc-hero__spec {
  max-width: 36vw;
}

.doc-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6vw;
  margin: 0 0 1.8vw;
  padding: 0;
  list-style: none;
}

.doc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.5vw 1vw;
  border-radius: 999px;
  background: #f1f4f8;
  font-size: 0.9375vw;
  color: #3f4141;
}

.doc-chip b {
  font-weight: 700;
  color: #1c1c1c;
}

.doc-chip > svg {
  width: 1.1vw;
  height: 1.1vw;
  color: var(--main-color, #1d3077);
  flex-shrink: 0;
}

.doc-chip .doctor-stars {
  display: inline-flex;
  gap: 2px;
}

.doc-hero__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 1.4vw;
  overflow: hidden;
  background: linear-gradient(180deg, #eef2f7 0%, #e3e9f1 100%);
}

.doc-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.doc-hero__photo-empty {
  position: absolute;
  inset: 0;
}

/* ---------- about + facts ---------- */
.doc-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22vw;
  gap: 3vw;
  align-items: start;
}

.doc-content {
  font-size: 0.9895833333vw;
  line-height: 1.65;
  color: #3f4141;
}

.doc-content > *:first-child {
  margin-top: 0;
}

.doc-content p {
  margin: 0 0 1em;
}

.doc-content h3 {
  margin: 1.8vw 0 0.8vw;
  font-size: 1.25vw;
  font-weight: 700;
  line-height: 1.3;
  color: #1c1c1c;
}

.doc-content ul,
.doc-content ol {
  margin: 0 0 1em;
  padding: 0;
  list-style: none;
}

.doc-content li {
  position: relative;
  padding: 0.75vw 0 0.75vw 1.8vw;
  border-bottom: 1px solid #edf0f4;
}

.doc-content li:last-child {
  border-bottom: 0;
}

.doc-content li::before {
  content: "";
  position: absolute;
  left: 0.2vw;
  top: calc(0.75vw + 0.55em);
  width: 0.5vw;
  height: 0.5vw;
  min-width: 7px;
  min-height: 7px;
  border-radius: 50%;
  background: var(--main-color, #1d3077);
}

.doc-content em {
  display: inline-block;
  padding: 0.5vw 0.9vw;
  border-radius: 0.6vw;
  background: #f6f8fb;
  font-style: normal;
  color: #6b7280;
}

.doc-facts {
  position: sticky;
  top: 5vw;
  padding: 1.6vw;
  border-radius: 1.2vw;
  background: #f6f8fb;
}

.doc-facts__title {
  font-size: 1.15vw;
  font-weight: 700;
  color: #1c1c1c;
  margin-bottom: 1vw;
}

.doc-facts__list {
  margin: 0 0 1.4vw;
}

.doc-facts__list > div {
  padding: 0.7vw 0;
  border-bottom: 1px solid #e3e8ef;
}

.doc-facts__list > div:last-child {
  border-bottom: 0;
}

.doc-facts__list dt {
  font-size: 0.78vw;
  color: #6b7280;
  margin-bottom: 0.2vw;
}

.doc-facts__list dd {
  margin: 0;
  font-size: 0.9375vw;
  font-weight: 600;
  line-height: 1.4;
  color: #1c1c1c;
}

.doc-facts__btn {
  width: 100%;
}

.doc-facts__phone {
  display: block;
  margin-top: 0.8vw;
  text-align: center;
  font-size: 0.85vw;
  color: #6b7280;
  text-decoration: none;
}

.doc-facts__phone:hover {
  color: var(--main-color, #1d3077);
}

/* ---------- services ---------- */
.doc-services__price {
  font-size: 0.9375vw;
  font-weight: 600;
  color: #1c1c1c;
}

/* ---------- video ---------- */
.doc-video__card {
  max-width: 44vw;
}

/* ---------- related ---------- */
.doc-related {
  padding-top: 4vw;
}

@media (max-width: 1024px) {
  .doc-hero__grid {
    grid-template-columns: 1fr;
  }

  .doc-hero__photo {
    order: -1;
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
    border-radius: 18px;
  }

  .doc-hero__name {
    font-size: 28px;
  }

  .doc-hero__spec {
    max-width: none;
  }

  .doc-hero__chips {
    gap: 8px;
    margin-bottom: 20px;
  }

  .doc-chip {
    padding: 8px 14px;
    font-size: 14px;
  }

  .doc-chip > svg {
    width: 18px;
    height: 18px;
  }

  .doc-about__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .doc-content {
    font-size: 15px;
  }

  .doc-content h3 {
    margin: 24px 0 10px;
    font-size: 19px;
  }

  .doc-content li {
    padding: 10px 0 10px 22px;
  }

  .doc-content li::before {
    left: 2px;
    top: calc(10px + 0.55em);
  }

  .doc-content em {
    padding: 8px 12px;
    border-radius: 10px;
  }

  .doc-facts {
    position: static;
    padding: 20px 16px;
    border-radius: 16px;
  }

  .doc-facts__title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .doc-facts__list {
    margin-bottom: 16px;
  }

  .doc-facts__list > div {
    padding: 10px 0;
  }

  .doc-facts__list dt {
    font-size: 13px;
  }

  .doc-facts__list dd {
    font-size: 15px;
  }

  .doc-facts__phone {
    margin-top: 10px;
    font-size: 14px;
  }

  .doc-services__price {
    font-size: 14px;
  }

  .doc-video__card {
    max-width: none;
  }
}
