/* Врачи: круглые фото с пунктирным кольцом и «лапкой», клик открывает окно с подробностями */
.lv-doctors { padding-block: clamp(56px, 8vw, 104px); background-color: var(--lv-cream); }
.lv-doctors__head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.lv-doctors__title { margin: 0 0 12px; font-size: clamp(28px, 3.2vw, 44px); }
.lv-doctors__lead { margin: 0; font-size: 18px; color: var(--lv-text-muted); }

.lv-doctors__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.lv-doc__btn { display: flex; flex-direction: column; align-items: center; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: center; color: inherit; font: inherit; }

.lv-doc__media { position: relative; display: block; width: min(100%, 280px); aspect-ratio: 1; margin-bottom: 20px; }
.lv-doc__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.lv-doc__ring circle { fill: none; stroke: #cdbfb6; stroke-width: 1.6px; stroke-dasharray: 6 6; }
.lv-doc__photo { position: absolute; inset: 11px; border-radius: 50%; overflow: hidden; background: var(--lv-sand); transition: transform .3s ease; }
.lv-doc__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.lv-doc__paw { position: absolute; right: -10px; top: -26px; width: 34%; fill: rgba(244, 136, 106, .38); pointer-events: none; transition: transform .3s ease; }

/* Стрелка: подсказка, что карточка кликабельна */
.lv-doc__go {
	position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
	background: var(--lv-green); color: #fff; box-shadow: 0 8px 18px rgba(30, 95, 58, .3); transition: transform .25s, background .25s;
}
.lv-doc__name { font: 800 21px/1.2 var(--lv-font-head); color: var(--lv-green); margin-bottom: 4px; padding-inline: 6px; }
.lv-doc__role { font-size: 16px; line-height: 1.4; color: var(--lv-text-muted); padding-inline: 6px; }

.lv-doc__btn:hover .lv-doc__ring circle, .lv-doc__btn:focus-visible .lv-doc__ring circle { stroke: var(--lv-coral); animation: lv-dash .5s linear infinite; }
.lv-doc__btn:hover .lv-doc__photo, .lv-doc__btn:focus-visible .lv-doc__photo { transform: scale(1.03); }
.lv-doc__btn:hover .lv-doc__paw, .lv-doc__btn:focus-visible .lv-doc__paw { transform: rotate(6deg) translateY(-3px); }
.lv-doc__btn:hover .lv-doc__go, .lv-doc__btn:focus-visible .lv-doc__go { transform: translate(3px, -3px); background: var(--lv-coral); }
.lv-doc__btn:focus-visible { outline: 3px solid var(--lv-coral); outline-offset: 6px; border-radius: 24px; }
@media (prefers-reduced-motion: reduce) { .lv-doc__btn:hover .lv-doc__ring circle, .lv-doc__btn:focus-visible .lv-doc__ring circle { animation: none; } }

/* Окно с описанием */
.lv-dlg { padding: 0; border: 0; border-radius: 28px; background: var(--lv-ivory); color: var(--lv-text); width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: hidden; box-shadow: 0 30px 80px rgba(14, 33, 22, .4); }
.lv-dlg::backdrop { background: rgba(14, 33, 22, .66); }
.lv-dlg[open] { display: block; }
.lv-dlg__body { max-height: calc(100vh - 48px); overflow-y: auto; overscroll-behavior: contain; }
.lv-dlg__close { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--lv-cream); color: var(--lv-green); cursor: pointer; }
.lv-dlg__close:hover, .lv-dlg__close:focus-visible { background: var(--lv-green); color: #fff; outline: 0; }
html.lv-lock-dlg { overflow: hidden; }

.lv-dlg .lv-doc__more { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; }
.lv-dlg .lv-doc__more[hidden] { display: grid !important; }
.lv-doc__more-photo { background: var(--lv-sand); }
.lv-doc__more-photo img { display: block; width: 100%; height: 100%; min-height: 100%; object-fit: cover; object-position: 50% 20%; }
.lv-doc__more-body { padding: clamp(24px, 4vw, 44px); padding-right: clamp(24px, 4vw, 56px); }
.lv-doc__more-name { margin: 0 0 6px; font-size: clamp(24px, 2.6vw, 32px); padding-right: 40px; }
.lv-doc__more-role { margin: 0 0 14px; font: 700 17px/1.3 var(--lv-font-head); color: var(--lv-coral); }
.lv-doc__more-exp { display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: var(--lv-cream); color: var(--lv-green); font: 800 14px/1.3 var(--lv-font-head); }
.lv-doc__more-dirs { margin: 0 0 14px; font-weight: 700; }
.lv-doc__more-bio { font-size: 17px; line-height: 1.65; }
.lv-doc__more-bio p { margin: 0 0 12px; }
.lv-doc__more-bio p:last-child { margin-bottom: 0; }

@media (max-width: 1099px) { .lv-doctors__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 20px; } }
@media (max-width: 599px) {
	.lv-doctors__grid { gap: 40px 12px; }
	.lv-doc__media { width: min(100%, 190px); margin-bottom: 16px; }
	.lv-doc__go { width: 38px; height: 38px; right: 2px; bottom: 2px; }
	.lv-doc__name { font-size: 17px; }
	.lv-doc__role { font-size: 14px; }
	.lv-dlg { border-radius: 22px; }
	.lv-dlg .lv-doc__more { grid-template-columns: 1fr; }
	.lv-doc__more-photo img { aspect-ratio: 4 / 3; height: auto; max-height: 300px; }
}

/* Страница /Наши-врачи/: один столбец, слева фото, справа текст, без окна */
.lv-doctors--list { padding-top: clamp(40px, 6vw, 80px); }
.lv-doctors--list .lv-doctors__head { margin-bottom: clamp(28px, 4vw, 48px); }
.lv-dl { list-style: none; margin: 0 auto; padding: 0; max-width: 960px; display: grid; gap: 28px; }
.lv-dl__card { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; padding: clamp(24px, 3.5vw, 40px); background: #fff; border-radius: 32px; box-shadow: 0 10px 30px rgba(30, 95, 58, .08); }
.lv-dl__media { width: 260px; margin: 18px 0 0; }
.lv-dl__card:hover .lv-doc__ring circle { stroke: var(--lv-coral); animation: lv-dash .5s linear infinite; }
.lv-dl__name { margin: 0 0 6px; font-size: clamp(24px, 2.6vw, 32px); }
.lv-dl__role { margin: 0 0 14px; font: 700 18px/1.3 var(--lv-font-head); color: var(--lv-coral); }
.lv-dl__dirs { margin: 0 0 14px; font-weight: 700; line-height: 1.5; }
.lv-dl__bio { font-size: 17px; line-height: 1.7; }
.lv-dl__bio p { margin: 0 0 12px; }
.lv-dl__bio p:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .lv-dl__card:hover .lv-doc__ring circle { animation: none; } }
@media (max-width: 719px) {
	.lv-dl__card { grid-template-columns: 1fr; justify-items: center; text-align: left; }
	.lv-dl__body { width: 100%; }
	.lv-dl__media { width: min(100%, 230px); margin-top: 24px; }
}
