/* Mobile header refinement. Desktop header retains its existing layout. */
.mobile-office-strip-v62{display:none}
@media(max-width:760px){
 .header .topbar{min-height:56px!important;padding:6px 8px!important;grid-template-columns:92px minmax(0,1fr) 36px!important;gap:6px!important;align-items:center!important}
 .header .header-actions{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:4px!important;padding:0!important}
 .header .header-actions .phone{font-size:12px!important;line-height:1.2!important}
 .header .header-messengers{gap:9px!important}
 .header .header-messengers>span{width:18px!important;height:18px!important}
 .header .header-messengers svg{width:12px!important;height:12px!important}
 .header .mobile-toggle{position:relative;display:block!important;align-self:center!important;justify-self:center;width:36px!important;height:40px!important;margin:0!important;padding:0!important;line-height:0!important;font-size:0!important}
 .header .mobile-toggle:before{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:20px;height:16px;display:block;margin:0!important}
 .header .mobile-toggle[aria-expanded=true]:before{width:24px;height:24px;line-height:24px;font-size:28px}
 .header>.mobile-page-links{display:none!important}
 .mobile-office-strip-v62{display:grid;padding:3px 9px 5px;gap:0}
 .mobile-office-row-v62{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:9px 0;min-width:0}
 .mobile-office-row-v62+.mobile-office-row-v62{border-top:1px solid #eeece5}
 .mobile-office-copy-v62{min-width:0;display:grid;gap:3px}
 .mobile-office-copy-v62 strong{display:flex;align-items:center;gap:5px;font-size:11px;font-weight:650;line-height:1.35}
 .mobile-office-copy-v62 .station-name{white-space:normal;text-decoration:none;font:inherit}
 .mobile-office-copy-v62 .metro-nodes{width:33px;height:20px;flex-shrink:0}
 .mobile-office-row-v62:nth-child(2) .metro-nodes{width:45px}
 .mobile-office-copy-v62>span{font-size:11px;color:#6a6c64;line-height:1.3;white-space:normal}
 .mobile-office-route-v62{display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid #e1e2d9;border-radius:9px;min-height:34px;padding:6px 8px;font-size:10px;font-weight:650;line-height:1.25;white-space:nowrap;background:#f6f5ef;color:#303a35;text-decoration:none}
 .mobile-office-route-v62 svg{width:13px;height:13px;flex-shrink:0}
 .mobile-office-route-v62:active{background:#fff1a0}
 .header .nav.open{max-height:calc(100dvh - var(--mobile-header-height-v62,204px) - 20px);overflow-y:auto;overscroll-behavior:contain}
 .header .nav .mobile-page-links{display:grid!important;grid-template-columns:1fr 1fr;white-space:normal!important;overflow:visible!important;gap:7px;padding:2px 0 12px;margin:0 0 5px;border-bottom:1px solid #eeece5;flex:none;width:100%}
 .header .nav .mobile-page-links a{display:flex;align-items:center;min-height:42px;padding:9px 10px;background:#f6f5ef;border-radius:10px;font-size:12px;font-weight:600;line-height:1.35;white-space:normal;min-width:0}
 .hero.hero-v8 .hero-copy{padding-top:calc(var(--mobile-header-height-v62,204px) + 28px)!important}
 .hero.hero-v8{height:calc(650px + var(--mobile-header-extra-v62,80px))!important;min-height:calc(650px + var(--mobile-header-extra-v62,80px))!important;max-height:none!important}
 .branches-page.advantages-page-v60>main{padding-top:calc(var(--mobile-header-height-v62,204px) + 20px)!important}
 .branches-page:not(.advantages-page-v60)>main{padding-top:calc(var(--mobile-header-extra-v62,80px) + 160px)!important}
}
@media(min-width:500px) and (max-width:760px){
 .header .topbar{grid-template-columns:130px minmax(0,1fr) 42px!important}
 .header .header-actions{flex-direction:row!important;gap:18px!important}
 .header .header-actions .phone{font-size:14px!important}
 .mobile-office-strip-v62{grid-template-columns:1fr 1fr;gap:16px;padding:7px 12px}
 .mobile-office-row-v62{grid-template-columns:1fr;gap:6px;padding:4px 0}
 .mobile-office-row-v62+.mobile-office-row-v62{border-top:0;border-left:1px solid #eeece5;padding-left:16px}
 .mobile-office-route-v62{justify-self:start}
}

@media(min-width:500px) and (max-width:760px){.hero.hero-v8{height:calc(930px + var(--mobile-header-extra-v62,80px))!important;min-height:calc(930px + var(--mobile-header-extra-v62,80px))!important}}

@media(max-width:760px){.header .nav .mobile-direct-link-v62{display:flex;justify-content:space-between;text-decoration:none}.mobile-direct-arrow-v62{font-size:17px;font-weight:400;line-height:1;color:#71776c}}

@media(max-width:760px){.header .nav.open{flex-wrap:nowrap!important;overflow-x:hidden}.header .nav .mobile-direct-link-v62{display:flex!important;justify-content:space-between!important;flex-shrink:0;min-width:0}.mobile-direct-arrow-v62{margin-left:12px;flex-shrink:0}.mobile-direct-arrow-v62 .site-icon{width:15px;height:15px}}

/* Slim address lines requested after mobile review. */
@media(max-width:760px){
 .header .topbar{min-height:44px!important;padding:4px 8px!important}
 .header .header-actions{gap:2px!important}
 .header .header-actions .phone{font-size:11px!important}
 .header .header-messengers>span{width:16px!important;height:16px!important}
 .header .header-messengers svg{width:11px!important;height:11px!important}
 .header .mobile-toggle{height:32px!important}
 .mobile-office-strip-v62{display:grid;grid-template-columns:1fr;gap:0;padding:2px 7px 3px}
 .mobile-office-row-v62{display:flex;align-items:center;justify-content:space-between;min-height:25px;gap:4px;padding:0!important;border:0!important}
 .mobile-office-row-v62+.mobile-office-row-v62{border-top:1px solid #f0eee7!important}
 .mobile-office-copy-v62{display:flex;flex-direction:row;align-items:center;gap:4px;white-space:nowrap;min-width:0}
 .mobile-office-copy-v62 strong{font-size:9px;font-weight:550;line-height:1.2;gap:3px;white-space:nowrap;flex-shrink:0}
 .mobile-office-copy-v62 .station-name{font:inherit;white-space:nowrap}
 .mobile-office-copy-v62>span{font-size:9px;line-height:1.2;white-space:nowrap}
 .mobile-office-copy-v62>span:before{content:'·';margin-right:4px;color:#a4a69a}
 .mobile-office-copy-v62 .metro-nodes{width:23px;height:15px}
 .mobile-office-row-v62:nth-child(2) .metro-nodes{width:30px}
 .mobile-office-route-v62{min-height:23px;width:23px;min-width:23px;padding:3px;gap:0;border:0;background:transparent;border-radius:6px;color:#555e53;flex-shrink:0}
 .mobile-office-route-v62 svg{width:15px;height:15px}
}
@media(max-width:360px){
 .mobile-office-copy-v62{gap:3px}
 .mobile-office-copy-v62 strong,.mobile-office-copy-v62>span{font-size:8px}
 .mobile-office-copy-v62 .metro-nodes{width:20px}
 .mobile-office-row-v62:nth-child(2) .metro-nodes{width:26px}
 .mobile-office-copy-v62>span:before{margin-right:3px}
}

@media(max-width:760px){
 .mobile-office-route-v62{width:auto;min-width:0;gap:3px;padding:3px 0 3px 3px}
 .mobile-office-route-v62:before{content:'Как добраться';font-size:7px;font-weight:500;line-height:1;white-space:nowrap;color:#6b7368}
 .mobile-office-route-v62 svg{width:13px;height:13px}
}
@media(max-width:360px){.mobile-office-route-v62{gap:2px;padding-left:1px}.mobile-office-route-v62:before{font-size:6.5px}}

/* Readable station names above street addresses; true circular markers. */
@media(max-width:760px){
 .mobile-office-strip-v62{padding:2px 9px 4px}
 .mobile-office-row-v62{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;min-height:45px;padding:6px 0!important}
 .mobile-office-copy-v62{display:flex;flex-direction:column;align-items:flex-start;gap:3px;white-space:normal;min-width:0}
 .mobile-office-copy-v62 strong{font-size:12px;font-weight:750;line-height:1.3;gap:5px;white-space:normal;flex-shrink:1;max-width:100%;letter-spacing:.01em}
 .mobile-office-copy-v62 .station-name{white-space:normal;font:inherit;min-width:0}
 .mobile-office-copy-v62>span{font-size:10.5px;font-weight:550;line-height:1.3;white-space:normal;color:#656b61}
 .mobile-office-copy-v62>span:before{content:none}
 .mobile-office-copy-v62 .metro-nodes{display:block;width:28.8px;height:18px;min-width:28.8px;max-width:28.8px;flex:0 0 28.8px;aspect-ratio:48/30}
 .mobile-office-row-v62:nth-child(2) .metro-nodes{width:40.8px;height:18px;min-width:40.8px;max-width:40.8px;flex:0 0 40.8px;aspect-ratio:68/30}
 .mobile-office-route-v62{width:auto;min-width:0;min-height:28px;gap:4px;padding:4px 0;align-self:center}
 .mobile-office-route-v62:before{font-size:9px;font-weight:650;line-height:1.2;color:#525e50}
 .mobile-office-route-v62 svg{width:15px;height:15px;min-width:15px;flex:0 0 15px}
 .header .header-messengers>span{width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;min-height:18px!important;max-height:18px!important;flex:0 0 18px!important;border-radius:50%!important;aspect-ratio:1;box-sizing:border-box}
 .header .header-messengers svg{width:12px!important;height:12px!important;flex-shrink:0}
}
@media(max-width:360px){
 .mobile-office-row-v62{gap:6px}
 .mobile-office-copy-v62 strong{font-size:11px}
 .mobile-office-copy-v62>span{font-size:10px}
 .mobile-office-route-v62:before{font-size:8px}
}

@media(max-width:760px){.mobile-office-copy-v62>span{padding-left:33.8px}.mobile-office-row-v62:nth-child(2) .mobile-office-copy-v62>span{padding-left:45.8px}}

/* Clickable messenger links and one-row mobile contacts. */
.header .header-messengers>a{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;flex:0 0 24px;border-radius:50%;text-decoration:none;box-sizing:border-box}
.header .header-messengers>a:focus-visible{outline:2px solid #242b26;outline-offset:3px}
@media(max-width:760px){
 .header .topbar{grid-template-columns:84px minmax(0,1fr) 30px!important;gap:6px!important}
 .header .header-actions{flex-direction:row!important;justify-content:space-between!important;gap:6px!important;min-width:0}
 .header .header-messengers{order:0;display:flex!important;gap:5px!important;flex-shrink:0;margin-left:auto}
 .header .header-actions .phone{order:1;white-space:nowrap;margin-left:auto;font-size:11px!important;flex-shrink:0}
 .header .header-messengers>a{width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;min-height:18px!important;max-height:18px!important;flex:0 0 18px!important;border-radius:50%!important;aspect-ratio:1}
 .header .mobile-toggle{width:30px!important}
}
@media(max-width:360px){
 .header .topbar{grid-template-columns:82px minmax(0,1fr) 26px!important;gap:4px!important;padding:4px 6px!important}
 .header .header-actions{gap:4px!important}
 .header .header-actions .phone{font-size:10px!important}
 .header .header-messengers{gap:3px!important}
 .header .header-messengers>a{width:16px!important;height:16px!important;min-width:16px!important;max-width:16px!important;min-height:16px!important;max-height:16px!important;flex-basis:16px!important}
 .header .mobile-toggle{width:26px!important}
}
