/* УРО-ПРО Сочи. Адаптивный дизайн без внешних зависимостей. */
:root {
    --c-text: #263a3b;
    --c-muted: #677575;
    --c-bg: #fff;
    --c-surface: #f4f6f4;
    --c-line: #dfe5e1;
    --c-accent: #ce293c;
    --c-accent-dark: #ac1d2e;
    --c-focus: #087d7e;
    --container: 1320px;
    --font: 'Segoe UI', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font: 16px/1.6 var(--font); color: var(--c-text); background: var(--c-bg); }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3 { margin-top: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 5px; }
.container { width: min(100% - 80px, var(--container)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 8px 12px; background: #fff; }
.skip-link:focus { left: 8px; top: 8px; }
.main { flex: 1 0 auto; }
.iconed { display: flex; align-items: center; gap: 8px; }
.iconed--top { align-items: flex-start; }
.icon { flex: none; color: var(--c-muted); }
.phone { font-size: 23px; font-weight: 650; line-height: 1.2; text-decoration: none; white-space: nowrap; letter-spacing: -.5px; }
.phone:hover { color: var(--c-accent); }
.messengers { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.messenger { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; text-decoration: none; }
.messenger img { width: 18px; height: 18px; }
.messenger:hover { color: var(--c-accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 18px 25px; border: 0; border-radius: 8px; background: var(--c-accent); color: #fff; font: 600 15px/1.3 var(--font); text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: var(--c-accent-dark); transform: translateY(-2px); }
.btn span { font-size: 21px; font-weight: 400; }
.text-link { display: inline-flex; gap: 20px; align-items: center; font-size: 14px; font-weight: 600; text-decoration: none; }
.text-link span { font-size: 22px; font-weight: 400; }
.text-link:hover { color: var(--c-accent); }
.eyebrow { margin-bottom: 20px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
/* Шапка */
.header { background: #fff; }
.header__inner { display: grid; grid-template-columns: 240px 1fr auto; align-items: center; gap: 40px; padding-block: 23px; }
.header__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.header__logo img { display: block; width: 188px; height: auto; }
.header__tagline { font-size: 11px; color: var(--c-muted); padding-left: 5px; }
.header__middle { display: flex; flex-direction: column; gap: 12px; }
.header__place { font-size: 12px; color: var(--c-muted); }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.badges img { display: block; height: 27px; width: auto; }
.header__contact { display: grid; grid-template-columns: auto auto; align-items: center; gap: 8px 25px; }
.header__contact .messengers { grid-column: 1; }
.header__booking { grid-column: 2; grid-row: 1 / 3; padding: 16px 20px; }
.navigation { border-block: 1px solid var(--c-line); }
.navigation__inner { display: flex; align-items: center; gap: 38px; min-height: 61px; }
.navigation a { font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.navigation a:hover { color: var(--c-accent); }
.navigation__departments { display: flex; align-items: center; gap: 13px; padding-right: 34px; border-right: 1px solid var(--c-line); }
.navigation__departments span { font-size: 20px; color: var(--c-accent); }
.navigation__note { margin-left: auto; font-size: 12px; color: var(--c-muted); }
/* Первый экран */
.hero { padding-top: 28px; }
.hero__panel { display: grid; grid-template-columns: 1.08fr 1fr; border-radius: 16px; overflow: hidden; background: #f3f5f1; }
.hero__content { padding: 51px 38px 37px 48px; }
.hero .eyebrow { display: flex; gap: 9px; align-items: center; font-size: 10px; letter-spacing: .08em; }
.status-dot { display: inline-block; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: #0e8d8f; }
h1 { margin: 0 0 22px; font-size: clamp(40px, 4.2vw, 61px); font-weight: 500; letter-spacing: -.055em; line-height: 1.13; }
h1 span { color: #158080; }
.hero__description { max-width: 420px; color: var(--c-muted); font-size: 14px; line-height: 1.8; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 22px; margin-top: 29px; }
.hero__actions .text-link { font-size: 12px; gap: 10px; }
.hero__note { display: flex; align-items: center; gap: 10px; padding-top: 30px; font-size: 10px; color: var(--c-muted); }
.hero__note span { color: #168481; font-size: 17px; }
.hero__visual { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; margin: 16px 16px 16px 0; padding: 28px 32px; border-radius: 10px; background: #244c49; color: #f4f4e9; overflow: hidden; }
.hero__visual::before, .hero__visual::after { content: ''; position: absolute; z-index: -1; pointer-events: none; width: 430px; height: 430px; border: 1px solid #ffffff12; border-radius: 50%; right: -150px; top: -180px; }
.hero__visual::after { width: 570px; height: 570px; right: -220px; top: -250px; }
.hero__signature { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 10px; letter-spacing: .15em; color: #cee0d6; }
.hero__asterisk { font-size: 44px; line-height: 1; color: #f0b6a6; }
.hero__anniversary { display: flex; align-items: center; gap: 23px; margin: 22px 0; }
.hero__years { font-size: clamp(130px, 14vw, 210px); font-weight: 300; letter-spacing: -.09em; line-height: .95; }
.hero__years-unit { font-size: 30px; font-weight: 300; }
.hero__anniversary p { margin-top: 11px; color: #cee0d6; font-size: 12px; line-height: 1.5; }
.hero__promise { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid #ffffff30; }
.hero__promise p { font-size: clamp(28px, 3vw, 41px); font-weight: 400; letter-spacing: -.025em; line-height: 1.13; }
.hero__promise em { color: #b9d7c5; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.hero__promise a { display: grid; place-items: center; flex: none; width: 43px; height: 43px; border: 1px solid #b9d7c566; border-radius: 50%; text-decoration: none; font-size: 24px; }
.hero__promise a:hover { background: #ffffff12; }
.trust-strip { display: grid; grid-template-columns: 1.15fr 1fr 1fr auto; gap: 25px; align-items: center; padding: 31px 0; border-bottom: 1px solid var(--c-line); }
.trust-strip p { font-size: 11px; line-height: 1.7; color: var(--c-muted); }
.trust-strip strong { color: var(--c-text); }
.trust-strip__item { display: flex; align-items: center; gap: 15px; }
.small-cross { display: grid; place-items: center; height: 38px; width: 38px; border-radius: 50%; background: #eef3ef; color: #178380; font-size: 26px; font-weight: 300; }
.trust-strip__link { display: flex; align-items: center; gap: 17px; font-size: 11px; text-decoration: none; }
.trust-strip__link > span { font-size: 23px; }
/* Направления */
.section { padding: 76px 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 35px; }
.section-heading .eyebrow { color: var(--c-muted); margin-bottom: 14px; }
.section__title { margin: 0; font-size: clamp(29px, 3vw, 42px); line-height: 1.18; letter-spacing: -.04em; font-weight: 500; }
.section-heading__description { padding-bottom: 3px; color: var(--c-muted); font-size: 13px; }
.directions__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.direction { border: 1px solid var(--c-line); border-radius: 9px; background: #fff; transition: border-color .2s, background .2s; }
.direction:hover, .direction[open] { background: #f4f7f4; border-color: #a0b9ac; }
.direction summary { position: relative; min-height: 156px; padding: 23px 25px; cursor: pointer; list-style: none; }
.direction summary::-webkit-details-marker { display: none; }
.direction__number { display: block; margin-bottom: 21px; font-size: 10px; color: #7a8c83; }
.direction__name { display: block; font-size: 23px; line-height: 1.3; letter-spacing: -.5px; font-weight: 500; }
.direction__caption { display: block; margin-top: 5px; font-size: 12px; color: var(--c-muted); }
.direction__arrow { position: absolute; top: 19px; right: 22px; font-size: 25px; color: #568173; transition: transform .2s; }
.direction[open] .direction__arrow { transform: rotate(90deg); }
.direction__body { padding: 0 25px 25px; font-size: 13px; color: var(--c-muted); }
.direction__body .text-link { margin-top: 15px; color: var(--c-text); font-size: 12px; }
/* Знакомство с клиникой */
.about { background: #f3f5f1; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; }
.about__intro .section__title { font-size: clamp(33px, 3.6vw, 49px); }
.about__intro .section__title span { color: #158080; }
.about__intro > p:not(.eyebrow) { max-width: 420px; margin-top: 25px; font-size: 14px; color: var(--c-muted); line-height: 1.85; }
.about__intro .text-link { margin-top: 25px; }
.about__steps article { display: flex; gap: 25px; padding: 27px 0; border-bottom: 1px solid #d7dfd7; }
.about__steps article:first-child { padding-top: 8px; }
.about__steps article > span { flex: none; font-size: 12px; color: #13817b; padding-top: 4px; }
.about__steps h3 { font-size: 21px; font-weight: 500; letter-spacing: -.5px; margin-bottom: 11px; }
.about__steps p { color: var(--c-muted); font-size: 13px; line-height: 1.8; }
.team__photo { background: #fafaf8; border-radius: 10px; overflow: hidden; padding-top: 24px; }
.team__photo img { display: block; width: 100%; mix-blend-mode: multiply; }
.team__caption { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; color: var(--c-muted); font-size: 12px; }
/* Награды */
.recognition { border-top: 1px solid var(--c-line); padding-block: 55px; }
.awards { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.awards__list { display: flex; align-items: center; flex-wrap: wrap; gap: 30px; }
.awards img { display: block; object-fit: contain; }
.awards--block .awards__list { flex: 1; justify-content: space-between; max-width: 740px; }
.awards--block img { width: 100px; height: 100px; }
.affiliation { font-weight: 500; text-decoration: none; max-width: 190px; line-height: 1.4; }
.affiliation:hover { color: var(--c-accent); }
.awards--block .affiliation { font-size: 20px; border-left: 1px solid var(--c-line); padding-left: 28px; max-width: 240px; }
/* Запись */
.appointment { padding-top: 20px; }
.appointment__panel { display: grid; grid-template-columns: 1.25fr 1fr; gap: 50px; padding: 50px; background: #244c49; color: #fff; border-radius: 13px; }
.appointment .eyebrow { color: #d0e3dd; }
.appointment h2 { margin-bottom: 20px; font-size: clamp(35px, 4vw, 52px); font-weight: 450; letter-spacing: -.04em; line-height: 1.15; }
.appointment__panel > div > p:last-child { color: #d0e0da; font-size: 13px; line-height: 1.8; }
.appointment__contact { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-left: 50px; border-left: 1px solid #50706a; }
.appointment__contact .phone { font-size: clamp(24px, 2.5vw, 34px); font-weight: 500; letter-spacing: -1px; }
.appointment__contact > span { margin-top: 12px; color: #d0e0da; font-size: 12px; }
.appointment__messengers { display: flex; gap: 12px; margin-top: 28px; }
.appointment__messengers a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid #79918b; border-radius: 6px; font-size: 12px; text-decoration: none; }
.appointment__messengers a:hover { background: #35615b; }
.appointment__messengers a span { padding-left: 10px; }
.booking-fab { position: fixed; z-index: 30; right: 22px; bottom: 24px; width: 78px; height: 78px; border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; background: var(--c-accent); color: #fff; box-shadow: 0 5px 25px #6e182b30; font-size: 12px; font-weight: 600; text-decoration: none; }
.booking-fab span { font-size: 25px; line-height: 1.3; }
.booking-fab:hover { background: var(--c-accent-dark); }
/* Кнопка не заменяется внешним виджетом и не зависит от скорости его загрузки. */
.booking-dialog { width: min(520px, calc(100% - 24px)); height: min(850px, calc(100dvh - 32px)); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 12px; color: var(--c-text); background: #fff; box-shadow: 0 15px 70px #182e3b40; }
.booking-dialog[open] { display: flex; flex-direction: column; }
.booking-dialog::backdrop { background: #172d38a6; }
.booking-dialog__header { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 12px 18px; border-bottom: 1px solid var(--c-line); }
.booking-dialog__header h2 { margin: 0; font-size: 16px; font-weight: 600; }
.booking-dialog__header button { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--c-surface); color: var(--c-text); font: 28px/1 var(--font); cursor: pointer; }
.booking-dialog__frame { display: block; width: 100%; flex: 1; min-height: 0; border: 0; }
/* Подвал */
.footer { --c-text: #eaf1ed; --c-muted: #bdcfc6; --c-line: #ffffff26; margin-top: 0; border-top: 4px solid #b2c8bb; background: #203b3a; color: var(--c-text); font-size: 14px; }
.footer__col .iconed > img { filter: brightness(0) invert(1); opacity: .8; }
.footer a:hover { color: #ffb9bc; }
.footer .awards--footer img { padding: 4px; border-radius: 5px; background: #f3f5f1; }
.footer__content { display: grid; grid-template-columns: 1.1fr 1.1fr 1fr; gap: 50px; padding-block: 45px; }
.footer__title { margin: 0 0 17px; font-size: 12px; font-weight: 600; }
.footer__col p { font-size: 13px; color: var(--c-muted); }
.footer__col .messengers { margin-top: 17px; }
.phone--footer { font-size: 21px; color: var(--c-text); }
.footer__links a { color: var(--c-muted); font-size: 12px; text-underline-offset: 4px; }
.footer__links a:hover { color: var(--c-accent); }
.footer__awards { padding-bottom: 30px; }
.footer__awards .container { display: flex; align-items: center; gap: 40px; }
.footer__awards .footer__title { margin: 0; }
.awards--footer { flex: 1; justify-content: flex-start; gap: 40px; }
.awards--footer img { width: 45px; height: 45px; }
.awards--footer .affiliation { max-width: none; font-size: 13px; }
.footer__legal { padding: 20px 0; border-top: 1px solid var(--c-line); font-size: 11px; color: var(--c-muted); }
.footer__legal .container { display: flex; justify-content: space-between; gap: 20px; }
.notice { padding: 22px 100px 22px 24px; background: #172e2d; font-size: 17px; font-weight: 400; letter-spacing: .055em; text-align: center; text-transform: uppercase; color: #c1d1c8; }
@media (min-width: 1550px) { .hero__content { padding-block: 65px 45px; } }
@media (max-width: 1180px) {
    .header__inner { grid-template-columns: 195px 1fr auto; gap: 20px; }
    .header__contact { display: flex; flex-direction: column; align-items: flex-end; }
    .header__booking { display: none; }
    .navigation__inner { gap: 28px; }
    .navigation__note { display: none; }
    .hero__content { padding: 38px 28px; }
    .hero__actions { gap: 15px; }
    .hero__actions .btn { padding: 16px; gap: 14px; font-size: 13px; }
    .trust-strip { grid-template-columns: 1fr 1fr 1fr; }
    .trust-strip__link { display: none; }
    .about__grid { gap: 60px; }
    .appointment__contact { padding-left: 30px; }
}
@media (max-width: 800px) {
    .container { width: calc(100% - 40px); }
    .header__inner { grid-template-columns: 1fr auto; padding-block: 18px; }
    .header__middle { display: none; }
    .header__logo img { width: 158px; }
    .header__tagline { font-size: 10px; }
    .header__contact .phone { font-size: 19px; }
    .navigation__inner { gap: 27px; min-height: 55px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
    .navigation__inner::-webkit-scrollbar { display: none; }
    .navigation__inner a { font-size: 12px; }
    .navigation__departments { padding-right: 23px; }
    .hero { padding-top: 20px; }
    .hero__panel { grid-template-columns: 1fr; }
    .hero__content { padding: 35px; }
    h1 { font-size: clamp(42px, 7vw, 58px); }
    .hero__description { max-width: 530px; }
    .hero__visual { margin: 0 16px 16px; }
    .hero__anniversary { margin: 16px 0 24px; }
    .hero__years { font-size: 150px; }
    .hero__promise p { font-size: 33px; }
    .hero__note { padding-top: 20px; }
    .trust-strip { gap: 12px; padding-block: 25px; }
    .trust-strip__item { gap: 10px; }
    .small-cross { display: none; }
    .trust-strip p { font-size: 10px; }
    .section { padding-block: 50px; }
    .directions__grid { grid-template-columns: repeat(2, 1fr); }
    .section-heading__description { font-size: 12px; }
    .about__grid { gap: 40px; }
    .about__steps h3 { font-size: 18px; }
    .about__steps article { gap: 15px; }
    .team__caption { flex-direction: column; gap: 6px; }
    .awards--block .affiliation { border-left: 0; padding-left: 0; max-width: none; font-size: 16px; }
    .appointment { padding-top: 0; }
    .appointment__panel { padding: 35px; gap: 30px; grid-template-columns: 1fr; }
    .appointment__contact { padding: 25px 0 0; border-left: 0; border-top: 1px solid #50706a; }
    .appointment__contact .phone { font-size: 30px; }
    .footer__content { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer__col:last-child { grid-column: 1 / -1; }
    .footer__awards .container, .footer__legal .container { flex-direction: column; align-items: flex-start; gap: 15px; }
    .awards--footer { gap: 20px; }
    .notice { font-size: 13px; }
}
@media (max-width: 480px) {
    .container { width: calc(100% - 32px); }
    .header__inner { gap: 12px; }
    .header__logo img { width: 132px; }
    .header__tagline { font-size: 8px; }
    .header__contact .phone { font-size: 16px; letter-spacing: -.5px; }
    .messengers { gap: 10px; }
    .messenger { font-size: 10px; gap: 4px; }
    .messenger img { width: 16px; height: 16px; }
    .hero__content { padding: 28px 23px; }
    .hero .eyebrow { font-size: 8px; letter-spacing: .035em; gap: 6px; }
    h1 { font-size: 39px; }
    .hero__description { font-size: 13px; }
    .hero__actions { align-items: flex-start; flex-direction: column; }
    .hero__actions .btn { padding: 17px 20px; gap: 25px; }
    .hero__note { font-size: 9px; align-items: flex-start; }
    .hero__visual { margin: 0 10px 10px; padding: 24px; }
    .hero__signature { font-size: 9px; }
    .hero__years { font-size: 136px; }
    .hero__anniversary { gap: 23px; }
    .trust-strip { grid-template-columns: 1fr 1fr; gap: 20px 15px; }
    .trust-strip__item:first-child { grid-column: 1 / -1; border-top: 0; padding-top: 0; }
    .trust-strip__item { border-top: 1px solid var(--c-line); padding-top: 15px; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 25px; }
    .section__title { font-size: 31px; }
    .eyebrow { font-size: 9px; }
    .directions__grid { gap: 10px; }
    .direction summary { padding: 18px 15px; min-height: 155px; }
    .direction__name { font-size: 18px; overflow-wrap: anywhere; }
    .direction__caption { font-size: 10px; }
    .direction__number { margin-bottom: 25px; }
    .direction__arrow { top: 13px; right: 13px; font-size: 22px; }
    .direction__body { padding: 0 15px 18px; font-size: 12px; }
    .direction__body .text-link { font-size: 11px; gap: 5px; }
    .about__grid { grid-template-columns: 1fr; gap: 30px; }
    .about__intro .section__title { font-size: 38px; }
    .about__steps article { padding-block: 22px; }
    .team__photo { padding-top: 10px; }
    .team__caption { font-size: 10px; }
    .awards--block img { width: 63px; height: 72px; }
    .awards--block .awards__list { gap: 15px; width: 100%; }
    .appointment__panel { padding: 30px 24px; }
    .appointment__contact .phone { font-size: 26px; }
    .appointment__messengers { gap: 10px; width: 100%; }
    .appointment__messengers a { padding: 10px; gap: 8px; }
    .appointment__messengers a span { padding-left: 0; }
    .footer__content { grid-template-columns: 1fr; padding-block: 35px; }
    .footer__col:last-child { grid-column: auto; }
    .awards--footer .awards__list { gap: 20px; }
    .notice { padding: 20px 90px 20px 16px; font-size: 11px; }
    .booking-fab { width: 65px; height: 65px; right: 15px; bottom: 18px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}

/* ---------- Страницы из content/ ---------- */

.page { padding-top: 24px; padding-bottom: 48px; }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 20px; padding: 0; list-style: none; font-size: 14px; color: var(--c-muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: 8px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--c-accent); text-decoration: underline; }

.prose { width: 100%; max-width: none; }
.prose h1 { margin: 0 0 20px; font-size: 34px; line-height: 1.2; }
.prose h2 { margin: 32px 0 12px; font-size: 24px; line-height: 1.25; }
.prose h3 { margin: 24px 0 8px; font-size: 19px; line-height: 1.3; }
.prose p, .prose ul, .prose ol, .prose table { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li > p { margin-bottom: 8px; }
.prose li + li { margin-top: 4px; }
.prose a { color: var(--c-accent); }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 8px 10px; border: 1px solid var(--c-line); text-align: left; vertical-align: top; }

.subpages { margin-top: 40px; }
.prose .subpages ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.subpages li + li { margin-top: 0; }
.subpages a { display: block; height: 100%; padding: 14px 16px; border: 1px solid var(--c-line); border-radius: 8px; color: inherit; font-weight: 600; text-decoration: none; transition: border-color .2s, color .2s; }
.subpages a:hover { border-color: var(--c-accent); color: var(--c-accent); }

@media (max-width: 480px) {
    .prose h1 { font-size: 28px; }
    .prose h2 { font-size: 21px; }
}

/* Отзывы пациентов (R-019) */
.reviews { margin-top: 40px; }
.review { margin: 0 0 14px; padding: 16px 20px; border: 1px solid var(--c-line); border-radius: 8px; background: var(--c-surface); }
.review__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 6px; }
.review__date, .review__rating { font-size: 14px; color: var(--c-muted); }
.review p { margin: 0; overflow-wrap: anywhere; }

/* Перекрёстные ссылки «заболевание ↔ лечение» (R-026) */
.related { margin-top: 32px; padding: 16px 20px; border: 1px solid var(--c-line); border-radius: 8px; background: var(--c-surface); }
.prose .related h2 { margin: 0 0 8px; font-size: 19px; }
.prose .related ul { margin: 0; padding-left: 20px; }

/* Широкие таблицы в статьях прокручиваются внутри блока, а не расширяют страницу */
.prose table { display: block; max-width: 100%; overflow-x: auto; }

/* Лицензии, документы и контакты на главной */
.clinic-documents { border-top: 1px solid var(--c-line); }
.clinic-documents__grid { display: grid; grid-template-columns: .8fr 1.6fr; gap: 32px; align-items: start; }
.clinic-identity { padding: 32px; border-radius: 12px; background: #f2f5ee; }
.document-symbol { display: grid; place-items: center; width: 56px; height: 62px; margin-bottom: 30px; border: 1px solid #b5c9ba; border-radius: 8px; color: #28716a; }
.clinic-identity .eyebrow { font-size: 9px; color: var(--c-muted); margin-bottom: 13px; }
.clinic-identity h3 { margin: 0 0 25px; font-size: 22px; font-weight: 500; letter-spacing: -.025em; line-height: 1.4; overflow-wrap: anywhere; }
.clinic-identity dl { margin: 0 0 25px; }
.clinic-identity dl > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 15px; padding: 10px 0; border-bottom: 1px solid #d7e0d5; font-size: 12px; }
.clinic-identity dt { color: var(--c-muted); }
.clinic-identity dd { margin: 0; font-variant-numeric: tabular-nums; }
.clinic-identity .text-link { font-size: 12px; gap: 12px; }
.license-content { font-size: 13px; }
.license-content > p:first-child { margin: 0 0 18px; font-size: 13px; color: var(--c-muted); }
.license-content ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0; margin: 0; list-style: none; }
.license-content li { position: relative; margin: 0; padding: 26px; border: 1px solid var(--c-line); border-radius: 10px; color: var(--c-muted); font-size: 12px; line-height: 1.8; }
.license-content li::before { content: '✚'; display: block; margin-bottom: 20px; color: #2b7d70; font-size: 23px; line-height: 1; }
.license-content li a { display: block; margin-bottom: 15px; color: var(--c-text); font-size: 17px; font-weight: 600; line-height: 1.5; text-decoration: none; text-underline-offset: 4px; overflow-wrap: anywhere; }
.license-content li a:hover { color: var(--c-accent); text-decoration: underline; }
.license-content > p:last-child:not(:first-child) { margin: 18px 0 0; color: var(--c-muted); font-size: 11px; line-height: 1.8; }
.document-links { margin-top: 24px; border-top: 1px solid var(--c-line); }
.document-links a { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 17px 0; border-bottom: 1px solid var(--c-line); font-size: 13px; text-decoration: none; }
.document-links a > span:last-child { flex: none; color: #267a70; font-size: 22px; }
.document-links a:hover { color: var(--c-accent); }
.clinic-contacts { padding-top: 66px; background: #f6f7f3; }
.clinic-contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-location { display: flex; flex-direction: column; align-items: flex-start; padding: 36px; border: 1px solid #d4e2d6; border-radius: 13px; background: #e9f0e8; }
.contact-location__top { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 25px; margin-bottom: 28px; }
.contact-location__top .eyebrow { margin: 0; color: #536e61; font-size: 10px; }
.contact-location__city { font-size: clamp(44px, 5vw, 64px); letter-spacing: -.05em; line-height: 1.1; }
.contact-location address { margin: 15px 0 22px; font-size: 19px; font-style: normal; line-height: 1.5; }
.contact-location > .text-link { font-size: 12px; }
.contact-hours { width: 100%; margin-top: 34px; padding-top: 22px; border-top: 1px solid #c8d7c8; }
.contact-hours h3 { margin-bottom: 10px; color: #536e61; font-size: 11px; font-weight: 500; }
.contact-hours p { font-size: 14px; line-height: 1.9; }
.contact-channels { padding: 10px 25px; }
.contact-channel { padding: 20px 0 25px; }
.contact-channel + .contact-channel { border-top: 1px solid var(--c-line); }
.contact-channel__label { display: block; margin-bottom: 15px; color: var(--c-muted); font-size: 11px; }
.contact-channel .phone { font-size: clamp(24px, 2.9vw, 36px); font-weight: 500; letter-spacing: -.035em; }
.contact-channel > p { margin-top: 13px; color: var(--c-muted); font-size: 12px; }
.contact-channel__email { font-size: 25px; letter-spacing: -.03em; text-decoration: none; overflow-wrap: anywhere; }
.contact-channel__email:hover { color: var(--c-accent); }
.contact-socials { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-socials a { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid var(--c-line); border-radius: 7px; background: #fff; font-size: 13px; text-decoration: none; }
.contact-socials a > span { margin-left: 14px; font-size: 20px; color: #267a70; }
.contact-socials a:hover { border-color: #82ac97; }
.team + .appointment { padding-top: 0; }
.footer__links li + li { margin-top: 10px; }
.page--legal, .page--contacts { padding-top: 32px; padding-bottom: 72px; }
.page--legal > .prose, .page--contacts > .prose { margin: 32px 0 0; padding: 0; }
.page--legal .prose > .eyebrow, .page--contacts .prose > .eyebrow { color: #38796c; font-size: 10px; }
.page--legal .prose > h1, .page--contacts .prose > h1 { margin-bottom: 32px; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.035em; }
.page--legal .prose, .page--contacts .prose { font-size: 15px; line-height: 1.85; }
.page--legal .prose h2, .page--contacts .prose h2 { padding-top: 18px; border-top: 1px solid var(--c-line); font-size: 23px; font-weight: 500; }
.page--legal .license-content li + li { margin-top: 0; }
.page--contacts .prose > ul { margin-bottom: 28px; padding: 22px 26px; border-radius: 8px; background: #f3f6f0; list-style: none; }
.page--contacts .prose > ul > li { padding-block: 6px; overflow-wrap: anywhere; }
@media (max-width: 1000px) {
    .clinic-documents__grid { grid-template-columns: 1fr; }
    .clinic-identity { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
    .clinic-identity .document-symbol { grid-row: 1 / 3; width: 50px; height: 54px; margin-bottom: 18px; }
    .clinic-identity h3 { grid-column: 1; }
    .clinic-identity .eyebrow { grid-column: 1; }
    .clinic-identity dl { grid-column: 2; grid-row: 1 / 4; align-self: center; }
    .clinic-identity .text-link { grid-column: 1 / -1; }
    .contact-channels { padding-inline: 8px; }
    .contact-location { padding: 28px; }
}
@media (max-width: 650px) {
    .clinic-documents, .clinic-contacts { padding-block: 46px; }
    .clinic-documents__grid { gap: 26px; }
    .clinic-identity { display: block; padding: 26px; }
    .clinic-identity h3 { font-size: 21px; }
    .license-content ul { grid-template-columns: 1fr; }
    .license-content li { padding: 24px; }
    .clinic-contacts__grid { grid-template-columns: 1fr; gap: 14px; }
    .contact-location { padding: 27px; }
    .contact-location address { font-size: 18px; }
    .contact-channels { padding: 0 8px; }
    .contact-channel .phone { font-size: 28px; }
    .contact-channel__email { font-size: 24px; }
    .contact-socials a { gap: 9px; padding: 12px; }
    .contact-socials a > span { margin-left: 8px; }
    .page--legal > .prose, .page--contacts > .prose { margin-top: 22px; }
    .page--legal .prose, .page--contacts .prose { font-size: 14px; }
    .page--contacts .prose > ul { padding: 17px; }
}
@media (max-width: 360px) {
    .contact-channel .phone { font-size: 24px; }
}
