/* Единое написание имени и услуг: 31.10.2026 */
header.wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px 26px;padding-top:24px;padding-bottom:24px}
header .brand{grid-column:1;grid-row:1;min-width:0}header .header-phone{grid-column:2;grid-row:1;white-space:nowrap}header nav{grid-column:1/-1;grid-row:2;justify-content:flex-start}
.brand .identity-name{display:block;font-family:Manrope,Arial,sans-serif;font-size:24px;font-weight:800;letter-spacing:-.5px;line-height:1.4}
.brand .identity-tagline{display:block;font-family:Manrope,Arial,sans-serif;font-size:14px;font-weight:800;letter-spacing:0;line-height:1.7;margin-top:7px;white-space:normal;text-wrap:balance}
footer .brand{max-width:720px;min-width:0}footer .brand .identity-name{font-size:22px}footer .brand .identity-tagline{font-size:14px}
.driver-title h2{font-size:clamp(26px,3vw,39px);overflow-wrap:normal}.driver-title .name-line{display:block;font-size:13px;font-weight:800;line-height:1.8;max-width:390px}
@media(max-width:700px){header.wrap{display:flex;gap:14px;min-height:0;padding:22px 0}header nav{display:none}.brand .identity-name,footer .brand .identity-name{font-size:clamp(17px,5vw,22px);letter-spacing:-.5px;white-space:nowrap}.brand .identity-tagline,footer .brand .identity-tagline{font-size:13px;line-height:1.7;max-width:100%;text-wrap:balance}header .header-phone{font-size:15px}.driver-title h2{font-size:30px}.driver-title .name-line{font-size:13px}}

/* Компактная шапка: меню по центру, телефон справа */
@media(min-width:1151px){header.wrap{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;column-gap:28px;row-gap:0;min-height:118px;padding-top:22px;padding-bottom:22px}header .brand{grid-column:1;grid-row:1}header nav{grid-column:2;grid-row:1;justify-self:center;justify-content:center;gap:24px;white-space:nowrap}header .header-phone{grid-column:3;grid-row:1;justify-self:end}}
@media(min-width:701px) and (max-width:1150px){header.wrap{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;gap:12px 24px;min-height:118px;padding-top:20px;padding-bottom:20px}header .brand{grid-column:1;grid-row:1 / span 2}header nav{grid-column:2;grid-row:1;justify-content:center;justify-self:center;gap:18px;white-space:nowrap}header .header-phone{grid-column:2;grid-row:2;justify-self:center}header .brand .identity-name{font-size:22px}header .brand .identity-tagline{font-size:13px}}
