/* Office routes: shared desktop control and mobile bottom sheet. */
@media(max-width:480px){html[lang^="kk"] .site-topbar .hw-directions-trigger::after{content:'Бағыт'}}
.hw-contacts .hw-contact-routes{margin:4px 0 15px;padding:16px 0 18px;border-bottom:1px solid #e3e8dc}.hw-contacts .hw-contact-routes>p{margin:0 0 10px;color:#5b6c60;font-size:12px;font-weight:600}.hw-contacts .hw-contact-routes nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.hw-contacts .hw-contact-routes a{display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 8px;border:1px solid #d7e2d0;border-radius:999px;background:#eef3e8;color:#294c36;font-size:13px;font-weight:650;text-decoration:none;white-space:nowrap}.hw-contacts .hw-contact-routes a:hover{background:#dfeada;border-color:#9cb68e}.hw-contacts .hw-contact-routes a:focus-visible{outline:3px solid #8fac77;outline-offset:3px}
.hw-directions-dialog .hw-office-card{display:flex;flex-direction:column}.hw-directions-dialog .hw-office-links{margin-top:auto;padding-top:12px}
@media(max-width:480px){.site-topbar:has(.hw-directions-trigger){flex-wrap:wrap}.site-topbar .hw-directions-trigger{flex-shrink:0}.site-topbar .hw-directions-trigger span{display:none}.site-topbar .hw-directions-trigger::after{content:'Проезд'}.site-topbar:has(.hw-directions-trigger) .city-picker summary{white-space:nowrap;flex-wrap:nowrap}}
.site-topbar .hw-directions-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 13px;margin-left:auto;border:0;border-radius:999px;background:#dfe9db;color:#345b43;font:650 12px/1.25 system-ui,-apple-system,'Segoe UI',sans-serif;white-space:nowrap;cursor:pointer;transition:background .18s ease,box-shadow .18s ease}
.hw-directions-trigger svg{display:block;width:19px;height:19px;flex:none;stroke:currentColor;fill:none;stroke-width:1.7}
.site-topbar .hw-directions-trigger:hover{background:#d3e2cd;box-shadow:0 2px 8px #345b4310}
.hw-directions-trigger:focus-visible,.hw-directions-close:focus-visible,.hw-office-links a:focus-visible{outline:3px solid #8fac77;outline-offset:4px}
.hw-directions-dialog{box-sizing:border-box;width:min(760px,calc(100% - 40px));max-width:760px;max-height:90dvh;margin:auto;padding:34px;border:1px solid #e1e7dc;border-radius:28px;background:#f8f8f2;color:#182b26;box-shadow:0 28px 100px #13271e35;overflow:auto;overscroll-behavior:contain;font:15px/1.6 system-ui,-apple-system,'Segoe UI',sans-serif}
.hw-directions-dialog::backdrop{background:#162b2666;backdrop-filter:blur(5px)}
.hw-directions-dialog>header{position:relative;padding-right:38px;margin-bottom:26px}
.hw-directions-dialog h2{margin:0 0 10px;font-size:30px;line-height:1.18;font-weight:650;letter-spacing:-.035em;color:#182b26}
.hw-directions-dialog>header p{max-width:52ch;margin:0;color:#5c6c60;font-size:14px;line-height:1.6}
.hw-directions-dialog .hw-directions-close{position:absolute;top:-12px;right:-13px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;padding:0;border:0;border-radius:50%;background:#e9eee3;color:#345b43;font-size:25px;font-weight:400;line-height:1;cursor:pointer}
.hw-directions-close svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7}
.hw-directions-dialog .hw-directions-close:hover{background:#dce7d6}
.hw-office-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.hw-office-card{min-width:0;padding:24px 22px;border:1px solid #dce4d5;border-radius:20px;background:#fff}
.hw-office-card h3{margin:0 0 7px;color:#213b2d;font-size:24px;line-height:1.2;font-weight:650;letter-spacing:-.025em}
.hw-office-role{margin:0 0 15px;color:#66765f;font-size:12px;line-height:1.5}
.hw-office-address{margin:0 0 21px;color:#3f5044;font-size:15px;line-height:1.65;overflow-wrap:anywhere}
.hw-office-links{display:flex;flex-direction:column;gap:9px;margin-top:18px}
.hw-office-links a{display:flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:11px 14px;border:1px solid #d6e0cf;border-radius:999px;background:#f4f7ef;color:#345b43;text-decoration:none;font-size:13px;font-weight:650;line-height:1.35;text-align:center;transition:background .18s ease}
.hw-office-links a:first-child{border-color:#345b43;background:#345b43;color:white}
.hw-office-links a:hover{background:#e8efdf;text-decoration:none}
.hw-office-links a:first-child:hover{border-color:#284936;background:#284936}
.hw-office-links svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7}
.hw-directions-note{margin:22px 0 0;color:#65725e;font-size:12px;line-height:1.65}
.hw-office-status{display:inline-block;margin:0 0 12px;padding:4px 9px;border-radius:999px;background:#edf3e6;color:#48613c;font-size:11px;line-height:1.5}
@media(max-width:760px){.site-topbar .hw-directions-trigger{margin-left:0;margin-right:auto;padding:8px 10px;font-size:12px;background:transparent}.site-topbar .hw-directions-trigger:hover{background:#dfe9db}.site-topbar:has(.hw-directions-trigger){gap:8px;padding-top:3px;padding-bottom:3px}.hw-directions-dialog{width:100%;max-width:none;max-height:90dvh;max-height:90svh;inset:auto 0 0;margin:0;padding:29px 20px max(24px,env(safe-area-inset-bottom));border:0;border-radius:26px 26px 0 0;box-shadow:0 -14px 70px #162b2633}.hw-directions-dialog>header{margin-bottom:21px;padding-right:35px}.hw-directions-dialog h2{font-size:27px}.hw-directions-dialog>header p{font-size:13px}.hw-directions-dialog .hw-directions-close{top:-10px;right:-6px}.hw-office-grid{grid-template-columns:1fr;gap:13px}.hw-office-card{padding:20px;border-radius:18px}.hw-office-card h3{font-size:23px}.hw-office-role{margin-bottom:10px}.hw-office-address{margin-bottom:15px;font-size:14px}.hw-office-links{margin-top:14px}.hw-directions-note{margin-top:18px}}
@media(prefers-reduced-motion:reduce){.hw-directions-trigger,.hw-office-links a{transition:none}}
