@import url("../vrachi/style.css");

/* Doctor profile pages. */
.dp-hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 104px;
  color: #fff;
  background:
    radial-gradient(70% 90% at 92% 0%, #0d6d60 0%, transparent 62%),
    radial-gradient(50% 80% at 0% 100%, #0a574d 0%, transparent 60%),
    var(--deep);
}
.dp-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 36px;
  font-size: 13px;
  color: var(--on-deep-muted);
}
.dp-crumbs a { color: inherit; text-decoration: none; }
.dp-crumbs a:hover { color: #fff; }
.dp-crumbs [aria-current] { color: #fff; }
.dp-hero .label { color: var(--mint); }
.dp-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 56px;
  align-items: center;
}
.dp-hero h1 {
  margin-top: 14px;
  color: #fff;
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.dp-hero__spec {
  display: block;
  margin-top: 10px;
  color: var(--mint);
  font-size: .58em;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.dp-hero__lead {
  max-width: 54ch;
  margin-top: 20px;
  color: var(--on-deep-muted);
  font-size: 19px;
  line-height: 1.55;
}
.dp-hero__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.dp-hero__acts .btn-ghost-l,
.dp-cta__acts .btn-ghost-l {
  background: #17695f;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .28);
}
.dp-hero__acts .btn-ghost-l:hover,
.dp-cta__acts .btn-ghost-l:hover { background: #2a766d; }
.dp-hero__note { margin-top: 16px; color: var(--on-deep-muted); font-size: 13px; }
.dp-portrait {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 380px;
  margin: 0;
  overflow: hidden;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 30px 60px -24px rgb(0 0 0 / .5);
}
.dp-portrait img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.dp-portrait figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgb(0 46 40 / .86);
  backdrop-filter: blur(8px);
  color: var(--on-deep-muted);
  font-size: 13px;
}
.dp-portrait figcaption b { color: #fff; }

.dp-facts { position: relative; z-index: 2; margin-top: -52px; }
.dp-facts ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--sh-2);
}
.dp-facts li { padding: 24px 26px; border-right: 1px solid var(--line); }
.dp-facts li:last-child { border-right: 0; }
.dp-facts b { display: block; color: var(--ink); font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; }
.dp-facts span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.35; }

.dp-subnav { padding: 28px 0 0; }
.dp-subnav .wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.dp-subnav a {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.dp-subnav a:hover { background: var(--soft); }

.dp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.dp-main h2,
.dp-qual h2,
.dp-faq h2 { margin-top: 12px; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.dp-main p { margin-top: 16px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.dp-principle {
  margin: 26px 0 0;
  padding: 20px 24px;
  border-left: 3px solid var(--brand);
  border-radius: 0 16px 16px 0;
  background: var(--mist);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
}
.dp-inline-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 26px; }
.dp-aside { position: sticky; top: 96px; display: grid; gap: 16px; }

.dp-book { display: grid; gap: 12px; padding: 24px; }
.dp-book .label { margin-bottom: 2px; }
.dp-book h3 { font-size: 24px; line-height: 1.1; letter-spacing: -0.02em; }
.dp-book p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.dp-book .btn { width: 100%; }
.dp-book .fine { color: var(--muted); font-size: 12px; }
.dp-reviews-link { color: var(--brand); font-size: 13px; font-weight: 600; text-decoration: none; }
.dp-reviews-link:hover { color: var(--brand-hover); }

.dp-other { display: grid; gap: 8px; padding: 20px; border-radius: 20px; background: var(--mist); }
.dp-other > b { margin-bottom: 4px; font-size: 15px; }
.dp-other-card { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: inherit; text-decoration: none; }
.dp-other-card img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgb(10 95 85 / .12); }
.dp-other-card b { display: block; font-size: 14px; line-height: 1.2; }
.dp-other-card small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.dp-other-card:hover b { color: var(--brand); }

.dp-focus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dp-focus-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px;
  color: inherit;
  text-decoration: none;
}
.dp-focus-card h3 { margin-top: 4px; font-size: 19px; line-height: 1.2; }
.dp-focus-card p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.dp-focus-card .ico { width: 56px; height: 56px; border-radius: 16px; }
.dp-focus-card .ico img { width: 100%; height: 100%; object-fit: contain; }
.dp-focus-card .more { margin-top: auto; padding-top: 8px; color: var(--brand); }
.dp-focus-card:hover h3 { color: var(--brand); }

.dp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.dp-step { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; }
.dp-step__num { color: var(--brand); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.dp-step h3 { font-size: 18px; line-height: 1.2; }
.dp-step p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.dp-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; }
.dp-principle-card { padding: 20px 22px; border-radius: 16px; background: var(--mist); }
.dp-principle-card b { display: block; font-size: 16px; }
.dp-principle-card p { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.5; }

.dp-qual__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.dp-qual h2 { margin-top: 12px; }
.dp-timeline {
  position: relative;
  display: grid;
  gap: 26px;
  margin: 28px 0 0;
  padding: 0 0 0 26px;
  list-style: none;
  border-left: 1px solid var(--line);
}
.dp-timeline li { position: relative; }
.dp-timeline li::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--mist);
}
.dp-tag { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--bg); color: var(--brand); font-size: 12px; font-weight: 700; }
.dp-timeline h3 { margin-top: 8px; font-size: 18px; line-height: 1.25; }
.dp-timeline p { margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 1.5; }

.dp-faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.dp-faq-list { display: grid; gap: 10px; margin-top: 8px; }
.dp-faq__aside { position: sticky; top: 96px; display: grid; gap: 12px; padding: 24px; }
.dp-faq__aside h3 { margin-top: 4px; font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; }
.dp-faq__aside p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.dp-faq__aside .btn { width: 100%; }
.dp-faq-item { overflow: hidden; border-radius: 16px; background: var(--bg); box-shadow: var(--sh-1); }
.dp-faq-item summary { display: flex; align-items: center; gap: 14px; padding: 20px 22px; list-style: none; cursor: pointer; }
.dp-faq-item summary::-webkit-details-marker { display: none; }
.dp-faq__n { flex: none; color: var(--brand); font-size: 12px; font-weight: 700; }
.dp-faq__q { flex: 1; font-size: 17px; font-weight: 600; line-height: 1.35; }
.dp-faq__pm {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--brand);
  transition: transform .25s;
}
.dp-faq__pm svg { width: 16px; height: 16px; }
.dp-faq-item[open] .dp-faq__pm { transform: rotate(45deg); }
.dp-faq__a { padding: 0 22px 20px 56px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.dp-faq__a p { margin: 0; }
.dp-faq__foot { margin-top: 20px; color: var(--muted); font-size: 14px; }
.dp-faq__foot a { color: var(--brand); font-weight: 600; text-decoration: none; }

.dp-articles__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dp-article { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; color: inherit; text-decoration: none; }
.dp-article h3 { font-size: 19px; line-height: 1.3; }
.dp-article .more { margin-top: auto; padding-top: 8px; color: var(--brand); }
.dp-article:hover h3 { color: var(--brand); }

.dp-cta {
  padding: 64px 0;
  color: #fff;
  background:
    radial-gradient(60% 100% at 100% 0%, #0d6d60, transparent 60%),
    var(--deep);
}
.dp-cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.dp-cta .label { color: var(--mint); }
.dp-cta h2 { margin-top: 12px; color: #fff; font-size: clamp(28px, 3vw, 40px); }
.dp-cta p { max-width: 60ch; margin-top: 10px; color: var(--on-deep-muted); }
.dp-cta__acts { display: flex; flex-wrap: wrap; gap: 12px; }
.dp-about,
.dp-help,
.dp-visit,
.dp-qual,
.dp-faq,
.dp-articles,
.dp-cta { scroll-margin-top: 96px; }

@media (max-width: 1100px) {
  .dp-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .dp-portrait { justify-self: start; max-width: 320px; }
  .dp-facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dp-facts li:nth-child(2) { border-right: 0; }
  .dp-facts li:nth-child(1),
  .dp-facts li:nth-child(2) { border-bottom: 1px solid var(--line); }
  .dp-layout,
  .dp-qual__grid { grid-template-columns: 1fr; gap: 32px; }
  .dp-faq__grid { grid-template-columns: 1fr; gap: 32px; }
  .dp-faq__aside { position: static; }
  .dp-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .dp-focus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dp-articles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .dp-hero { padding: 28px 0 88px; }
  .dp-crumbs { margin-bottom: 22px; }
  .dp-hero h1 { font-size: clamp(32px, 9vw, 44px); }
  .dp-hero__lead { font-size: 17px; }
  .dp-hero__acts { flex-direction: column; align-items: stretch; }
  .dp-hero__acts .btn { width: 100%; }
  .dp-portrait { max-width: 280px; }
  .dp-facts { margin-top: -40px; }
  .dp-facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dp-facts li { padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .dp-facts li:nth-child(2n) { border-right: 0; }
  .dp-facts li:nth-child(3),
  .dp-facts li:nth-child(4) { border-bottom: 0; }
  .dp-subnav .wrap { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .dp-subnav a { flex: none; }
  .dp-aside { grid-template-columns: 1fr; }
  .dp-focus-grid,
  .dp-steps,
  .dp-principles,
  .dp-articles__grid { grid-template-columns: 1fr; }
  .dp-faq__a { padding-left: 22px; }
  .dp-cta .wrap { align-items: flex-start; }
  .dp-cta__acts { width: 100%; flex-direction: column; align-items: stretch; }
  .dp-cta__acts .btn { width: 100%; }
}
