/* Страницы филиалов (/mangilik/ …): поверх styles.css и doctors/profile.css. */
.branch-main { padding-bottom: calc(28px + var(--tabbar-h, 0px)); }
.branch-hero { padding: 22px 20px; border-radius: var(--radius-md); color: white; background: linear-gradient(150deg, var(--green), var(--green-2)); }
.branch-kicker { margin: 0 0 6px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .78; }
.branch-hero h1 { margin: 0; font-size: clamp(1.55rem, 6vw, 2.1rem); line-height: 1.12; }
.hero-note { margin: 8px 0 0; font-weight: 650; opacity: .9; }
.hero-rating { display: inline-block; margin-top: 12px; padding: 6px 11px; border-radius: 999px; color: white; background: rgba(255, 255, 255, .14); font-size: .84rem; text-decoration: none; }
.hero-rating b { color: #ffd66b; }
.hero-actions { margin-top: 18px; }
.branch-info { display: grid; gap: 1px; margin-top: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--line); }
.info-row { display: grid; grid-template-columns: 82px 1fr auto; align-items: center; gap: 10px; padding: 13px 16px; color: var(--ink); background: var(--white); text-decoration: none; font-size: .9rem; }
.info-row span { color: var(--muted); font-size: .78rem; }
.info-row em { color: var(--green-2); font-size: .78rem; font-style: normal; font-weight: 700; white-space: nowrap; }
.branch-section { margin-top: 26px; }
.branch-section h2 { margin: 0 0 12px; font-size: 1.2rem; }
.branch-section h2 small { color: var(--muted); font-size: .85rem; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { padding: 8px 12px; border-radius: 999px; color: var(--green); background: var(--mint); font-size: .84rem; font-weight: 650; text-decoration: none; }
.chips small { opacity: .65; }
.branch-bullets { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: .86rem; }
.branch-bullets:empty { display: none; }
.doc-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.doc-card { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.doc-photo { width: 72px; height: 72px; overflow: hidden; border-radius: 12px; background: var(--mint); display: grid; place-items: center; color: var(--green); font-weight: 800; }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.doc-body h3 { margin: 0; font-size: .95rem; line-height: 1.25; }
.doc-body h3 a { color: var(--ink); text-decoration: none; }
.doc-spec { margin: 3px 0 0; color: var(--green-2); font-size: .8rem; font-weight: 650; }
.doc-exp { display: inline-block; margin-top: 4px; color: var(--muted); font-size: .76rem; }
.doc-praise { margin: 6px 0 0; font-size: .8rem; line-height: 1.35; }
.more-link { display: inline-block; margin-top: 10px; color: var(--green); font-size: .86rem; font-weight: 700; }
.branch-faq details { padding: 12px 0; border-top: 1px solid var(--line); }
.branch-faq summary { font-weight: 700; cursor: pointer; }
.branch-faq p { margin: 8px 0 0; color: var(--muted); font-size: .88rem; }
.fill-me { padding: 2px 6px; border: 1px dashed #c47a00; border-radius: 6px; color: #8a5600; background: #fff4dc; font-size: .8rem; }
@media (min-width: 761px) {
  .hero-actions .action-book { color: var(--green); background: white; }
  .doc-grid { grid-template-columns: 1fr 1fr; }
  .branch-hero { padding: 30px 32px; }
}
.doc-more summary { margin-top: 10px; color: var(--green); font-size: .88rem; font-weight: 700; cursor: pointer; }
.doc-more .doc-grid { margin-top: 10px; }
