/* v10.3 — enlarged desktop header within the existing 1120px container.
   Mobile rules (up to 700px) remain in mobile-ui.css. */
@media (min-width:701px){
 .site-header .wrap{width:calc(100% - 48px);max-width:1120px;margin-inline:auto}
 .site-header .header-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;grid-template-rows:auto;min-height:0;height:72px;padding:8px 0;gap:8px;box-sizing:border-box;align-items:center}
 .site-header .brand{grid-column:1;grid-row:1;justify-self:start;font-size:35px;line-height:1;letter-spacing:-1px;gap:7px;white-space:nowrap}
 .site-header .brand-mark{width:48px;height:33px;flex-basis:48px}
 .site-header .top-nav{grid-column:2;grid-row:1;display:flex;gap:10px;justify-content:center;justify-self:center;width:auto;padding:0;overflow:visible;flex-wrap:nowrap}
 .site-header .top-nav a{font-size:17px;font-weight:800;line-height:1.3;white-space:nowrap}
 .site-header .header-contacts{grid-column:3;grid-row:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;justify-self:start;gap:4px;width:auto;margin:0;flex-wrap:nowrap}
 .site-header .header-contacts a{font-size:15px;font-weight:800;line-height:1.2;white-space:nowrap}
 .site-header .header-actions{grid-column:4;grid-row:1;display:flex;flex-direction:row;align-items:center;justify-self:end;justify-content:flex-end;gap:6px;width:auto;flex-wrap:nowrap}
 .site-header .header-phone{display:none}
 .site-header .header-controls{display:contents}
 .site-header .header-request{order:2;min-height:40px;padding:9px 10px;font-size:15px;font-weight:800;line-height:1.2;border-radius:5px}
 .site-header .header-messengers{order:1;gap:6px}
 .site-header .messenger-icon{width:38px;height:38px;flex-basis:38px;border-radius:7px}
 .site-header .messenger-icon svg{width:26px;height:26px}
 .site-header .theme-switcher{order:3;display:flex;flex-direction:column;padding:2px;gap:2px;margin:0;border-radius:5px;flex:0 0 auto}
 .site-header .theme-switcher button{min-height:22px;padding:3px 5px;font-size:11px;font-weight:800;line-height:1.2;white-space:nowrap}
 .site-header .mobile-header-theme{display:none}
}
@media (min-width:701px) and (max-width:1149px){
 .site-header .header-row{grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto auto;height:auto;min-height:94px;gap:7px 10px}
 .site-header .header-contacts{grid-column:2;grid-row:1;justify-self:center}
 .site-header .header-actions{grid-column:3;grid-row:1}
 .site-header .top-nav{grid-column:1 / -1;grid-row:2;gap:24px}
}
@media (min-width:701px) and (max-width:900px){
 .site-header .brand{font-size:31px}
 .site-header .brand-mark{width:43px;height:30px;flex-basis:43px}
 .site-header .header-contacts a{font-size:13px}
 .site-header .header-request{font-size:14px;padding-inline:8px}
 .site-header .messenger-icon{width:34px;height:34px;flex-basis:34px}
 .site-header .messenger-icon svg{width:24px;height:24px}
 .site-header .header-row{column-gap:6px}
}
@media (min-width:701px) and (max-width:780px){
 .site-header .header-row{grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto auto;min-height:119px}
 .site-header .header-actions{grid-column:2;grid-row:1}
 .site-header .header-contacts{grid-column:1 / -1;grid-row:2;flex-direction:row;gap:16px}
 .site-header .top-nav{grid-row:3}
}


/* v10.3: 12% transparent background, opaque header content. */
@media(min-width:701px){
 .site-header{position:sticky;top:0;z-index:30;transition:background-color .25s ease;backdrop-filter:none}
 .site-header .header-row{height:57px;padding-block:.5px}
 .site-header .brand{font-size:38.5px}
 .site-header .theme-switcher button{font-size:10.45px;min-height:20.9px;padding:2.85px 4.75px}
 .site-header .theme-switcher{padding:1.9px;gap:1.9px}
 .site-header .top-nav{transform:translateY(8px)}
 .site-header.desktop-header-transparent{background-color:color-mix(in srgb,var(--paper) 88%,transparent)}
}
@media(min-width:701px) and (max-width:1149px){.site-header .header-row{height:82px;min-height:0;padding-bottom:8.5px;row-gap:3px;grid-template-rows:minmax(0,1fr) auto}}
@media(min-width:701px) and (max-width:900px){.site-header .brand{font-size:34.1px}}
@media(min-width:701px) and (max-width:780px){.site-header .header-row{height:104px;min-height:0;row-gap:4px;grid-template-rows:minmax(0,1fr) auto auto}}
@media(prefers-reduced-motion:reduce){.site-header{transition:none}}

