/* Единые векторные логотипы без внешних шрифтов. */
.logo { align-items: center; }
.logo .brand-wordmark { display:block; width:160px; height:34px; flex:none; object-fit:contain; }
@media(max-width:420px){.header .logo .brand-wordmark{width:134px;height:30px}.header .logo small{font-size:10px;letter-spacing:.08em}}
/* На тёмной прозрачной шапке — светлый знак; при прокрутке — графитовый. */
.header:not(.is-solid) .brand-wordmark { filter: brightness(0) invert(1); }
.menu-open .header .brand-wordmark { filter:none; }
@media (forced-colors:active) { .header:not(.is-solid) .brand-wordmark { filter:none; } }
.page-catalog .header .brand-wordmark { filter:none; }
@media (max-width:899px) and (prefers-reduced-transparency:reduce) { .header:not(.is-solid) .brand-wordmark { filter:none; } }

/* Созвон15.11: название направления не должно сжиматься и наезжать на навигацию. */
.header .logo{flex:none;white-space:nowrap;align-items:center}
.header .nav{min-width:0;gap:0}
.header__pill{gap:14px}
.header .nav a{padding-inline:9px}
@media(min-width:1081px) and (max-width:1350px){.header__tel{display:none}.header .nav a{padding-inline:8px}}
@media(min-width:1081px) and (max-width:1180px){.header .logo small{font-size:10px;letter-spacing:.06em}.header .brand-wordmark{width:140px}}

.header:not(.is-solid) .logo small{color:rgba(255,255,255,.82)}
.menu-open .header .logo small,.page-catalog .header .logo small{color:var(--ink)}
