/* GorGid V39 — polish original home, location map, balanced footers, true centered contact symbols. */
:root{--qs-footer-ink:#eaf2fc}
.qs-city-map-card{padding:18px!important;background:#fff!important;color:#1f4265!important;border:1px solid #dbe5f1!important;box-shadow:0 20px 60px #2444661b!important;overflow:hidden}
.qs-map-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 2px 12px}
.qs-map-kicker{font-size:13px;color:#67809d;font-weight:600}
.qs-map-tag{font-size:11px;letter-spacing:.1em;background:#e7effa;color:#34679e;border-radius:999px;padding:7px 11px;font-weight:700}
.qs-geo-illustration{position:relative;overflow:hidden;border-radius:15px;aspect-ratio:540/350;background:#e8f2fa}
.qs-map-svg{display:block;width:100%;height:100%;object-fit:cover}
.qs-map-bottom{padding:17px 3px 2px;display:flex;align-items:end;justify-content:space-between;gap:10px;min-width:0}
.qs-map-bottom>div{min-width:0;display:grid;gap:4px}
.qs-map-location{display:inline-flex;align-items:center;gap:6px;color:#2a6fba;font-size:13px;font-weight:700}
.qs-map-bottom strong{font-size:17px;color:#1f4265;line-height:1.25}
.qs-map-bottom small{font-size:12px;color:#718398}
.qs-map-ready{white-space:nowrap;color:#276bb8;background:#e9f2ff;border-radius:9px;padding:9px 11px;font-weight:650;font-size:12px}
/* Gentle color coding across the popular directions, rather than identical pale blue tiles. */
.qh-home #popular .qh-popular-card{transition:transform .2s ease, box-shadow .2s ease;border-width:1px}
.qh-home #popular .qh-popular-card:nth-child(6n + 1){background:#edf6ff;border-color:#cddff4}
.qh-home #popular .qh-popular-card:nth-child(6n + 2){background:#edf9f3;border-color:#d0e9da}
.qh-home #popular .qh-popular-card:nth-child(6n + 3){background:#fff5ea;border-color:#f0e0c8}
.qh-home #popular .qh-popular-card:nth-child(6n + 4){background:#f4efff;border-color:#e2d9f3}
.qh-home #popular .qh-popular-card:nth-child(6n + 5){background:#f1f9fa;border-color:#d3e8eb}
.qh-home #popular .qh-popular-card:nth-child(6n + 6){background:#fff0f2;border-color:#f1d9de}
.qh-home #popular .qh-popular-card:nth-child(6n + 1)>.qh-icon{color:#2c6fc5}
.qh-home #popular .qh-popular-card:nth-child(6n + 2)>.qh-icon{color:#27805c}
.qh-home #popular .qh-popular-card:nth-child(6n + 3)>.qh-icon{color:#bf7426}
.qh-home #popular .qh-popular-card:nth-child(6n + 4)>.qh-icon{color:#805ac6}
.qh-home #popular .qh-popular-card:nth-child(6n + 5)>.qh-icon{color:#21868f}
.qh-home #popular .qh-popular-card:nth-child(6n + 6)>.qh-icon{color:#bd5a72}
/* Footer grid: all four columns fit within the container, no overflow on desktop or phone. */
.footer .wrap{max-width:1200px;min-width:0}
.footer .ql-footer-grid,.footer .footergrid{display:grid;align-items:start;grid-template-columns:minmax(0,1.25fr) minmax(0,.88fr) minmax(0,.88fr) minmax(0,1.08fr);gap:clamp(22px,3vw,43px);width:100%;max-width:100%;min-width:0}
.footer .ql-footer-grid>div,.footer .footergrid>div{min-width:0!important;max-width:100%;overflow-wrap:anywhere}
.footer .ql-footer-grid>div:first-child,.footer .footergrid>div:first-child{grid-column:auto!important}
.footer .ql-footer-grid a,.footer .footergrid a{max-width:100%;overflow-wrap:anywhere}
.footer .ql-footer-grid .brand,.footer .footergrid .brand{display:inline-flex;align-items:center;gap:10px;white-space:nowrap}
.footer .ql-footer-grid .brand span,.footer .footergrid .brand span{overflow-wrap:normal}
.footer .ql-footer-grid .btn,.footer .footergrid .btn{box-sizing:border-box;max-width:100%;min-width:0;width:100%;white-space:normal!important;overflow-wrap:normal;word-break:normal;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 9px;border-radius:11px;font-weight:650;line-height:1.25}
.footer .ql-footer-grid a.qs-footer-number,.footer .footergrid a.qs-footer-number{font-size:clamp(12px,.87vw + 4px,14px);letter-spacing:-.015em;white-space:nowrap!important;font-variant-numeric:tabular-nums}
.footer .ql-footer-grid a.qs-footer-number span,.footer .footergrid a.qs-footer-number span{min-width:0;flex:none;white-space:nowrap}
.footer .ql-footer-grid .qs-contact-svg,.footer .footergrid .qs-contact-svg{width:17px;height:17px;flex:none}
.footer .ql-footer-end,.footer .footend{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;column-gap:28px;row-gap:8px;padding-top:20px;margin-top:28px;line-height:1.5;min-width:0}
.footer .ql-footer-end a,.footer .footend a{color:#bdcee0;text-decoration:none}
.footer .ql-footer-end a:hover,.footer .footend a:hover{color:#fff}
.footer .qs-foot-muted{color:#8095ab;font-size:14px}
.footer .ql-footer-grid .qs-foot-about p{max-width:290px}
/* Header controls: buttons, svg optical center and accessible hit area. */
body:not(.qh-home) .header .head-actions{align-items:center!important}
body:not(.qh-home) .header .head-actions .qs-head-icon,
body:not(.qh-home) .header .head-actions .menu-toggle{position:relative;box-sizing:border-box;display:inline-grid;place-items:center;vertical-align:middle;line-height:1;flex:none;overflow:hidden}
body:not(.qh-home) .header .head-actions .menu-toggle .ico{display:block;position:static;width:21px;height:21px;margin:auto;transform:none;flex:none;stroke-width:2}
body:not(.qh-home) .header .head-actions .qs-head-wa .qs-contact-svg{height:21px;width:21px;display:block;margin:auto;transform:none;fill:none;stroke-width:1.8}
body:not(.qh-home) .header .nav .qs-menu-contact .qs-contact-svg{width:18px;height:18px;margin:0;transform:none;flex:none}
body:not(.qh-home) .header .nav .qs-menu-contact .btn{min-width:0;overflow:visible;box-sizing:border-box}
@media(max-width:1080px){.footer .ql-footer-grid,.footer .footergrid{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr) minmax(0,1fr);gap:25px}.footer .ql-footer-grid>div:nth-child(4),.footer .footergrid>div:nth-child(4){grid-column:auto}}
@media(max-width:780px){.footer .ql-footer-grid,.footer .footergrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}.footer .ql-footer-grid>div:nth-child(4),.footer .footergrid>div:nth-child(4){grid-column:auto}}
@media(max-width:560px){.footer .ql-footer-grid,.footer .footergrid{grid-template-columns:1fr!important;gap:24px!important}.footer .ql-footer-grid>div,.footer .footergrid>div{grid-column:1/-1!important}.footer .ql-footer-grid a.qs-footer-number,.footer .footergrid a.qs-footer-number{font-size:15px}.footer .ql-footer-grid a.qs-footer-number,.footer .footergrid a.qs-footer-number{width:100%;max-width:100%;white-space:nowrap!important}.footer .ql-footer-end,.footer .footend{flex-direction:column;align-items:flex-start;gap:8px}.qs-map-bottom{align-items:start}.qs-map-ready{font-size:11px;padding:7px 8px}.qh-home .qs-city-map-card{padding:15px!important}}
@media(max-width:370px){.qs-map-bottom{flex-wrap:wrap}.footer .ql-footer-grid .btn,.footer .footergrid .btn{padding-inline:7px}}

.footer .qs-developer-credit{max-width:1200px;margin:0 auto;padding:15px 22px 24px;text-align:right;border-top:1px solid rgba(255,255,255,.08);font-size:12px;color:#98adc4}.footer .qs-developer-credit a{color:#afc1d4;text-decoration:none}.footer .qs-developer-credit a:hover{color:#fff}@media(max-width:560px){.footer .qs-developer-credit{text-align:left;padding-inline:17px}}
