/* Общая шапка и подвал. Независимы от старых wb_* стилей страниц. */
.as-shell { width:100%; flex:0 0 auto; font:14px/1.6 'Open Sans',Arial,sans-serif; }
.as-shell *, .as-shell *::before, .as-shell *::after { box-sizing:border-box; }
.as-shell a { text-decoration:none; color:inherit; }
.as-shell h2, .as-shell h3, .as-shell p { margin:0; font-family:inherit; }
.as-shell a:focus-visible, .as-shell button:focus-visible { outline:3px solid #d7a831; outline-offset:5px; }
.as-shell-wrap { max-width:1200px; padding:0 32px; margin:0 auto; }
.as-header { background:#fff; color:#172d3e; border-bottom:1px solid #e2e7eb; position:relative; z-index:100; }
.as-header-strip { background:#f0f4f6; color:#61717e; font-size:11px; letter-spacing:.3px; }
.as-header-strip .as-shell-wrap { display:flex; justify-content:space-between; gap:20px; padding-top:8px; padding-bottom:8px; }
.as-header-main { min-height:100px; display:flex; align-items:center; gap:24px; }
.as-brand { display:flex; align-items:center; gap:17px; flex-shrink:0; }
.as-brand img { display:block; width:204px; height:60px; object-fit:contain; }
.as-nav { display:flex; align-items:center; justify-content:center; gap:5px; margin-left:auto; }
.as-nav a { padding:11px 12px; border-radius:6px; font-size:12px; font-weight:600; transition:background .18s,color .18s; }
.as-nav a:hover { background:#f0f4f6; }
.as-nav a[aria-current="page"] { background:#fff5d6; color:#70500a; }
.as-header-phone { display:flex; flex-direction:column; gap:3px; padding-left:23px; border-left:1px solid #e0e7eb; white-space:nowrap; }
.as-header-phone > span { color:#70818c; font-size:10px; }
.as-header-phone strong { font-size:14px; font-weight:700; }
.as-header-phone strong span { color:#9b710c; margin-left:7px; }
.as-menu-toggle { display:none; }
.as-footer { background:#142b3d; color:#f4f7f9; scroll-margin-top:20px; }
.as-footer-intro { display:flex; justify-content:space-between; align-items:center; gap:30px; padding:50px 0 38px; border-bottom:1px solid #ffffff20; }
.as-shell-eyebrow { color:#bac7d0; font-size:10px; letter-spacing:1.8px; text-transform:uppercase; margin-bottom:15px !important; }
.as-footer-intro h2 { color:#f4f7f9; font-size:clamp(26px,3vw,37px); font-weight:600; letter-spacing:-1px; line-height:1.22; }
.as-shell-button { background:#ffc329; color:#142b3d !important; border-radius:6px; min-height:48px; padding:13px 20px; display:inline-flex; align-items:center; gap:30px; font-size:13px; font-weight:700; white-space:nowrap; }
.as-shell-button:hover { background:#ffd25c; }
.as-footer-grid { display:grid; grid-template-columns:1.05fr .8fr 1.25fr; gap:50px; padding:38px 0 40px; }
.as-footer h3 { font-size:11px; line-height:1.5; color:#a5b7c4; font-weight:600; margin-bottom:20px; letter-spacing:1.2px; text-transform:uppercase; }
.as-footer-number { display:block; font-size:20px; font-weight:600; line-height:1.4; margin-bottom:9px; white-space:nowrap; }
.as-footer-email { display:inline-block; color:#f0c95f !important; font-size:14px; margin-top:10px; }
.as-footer-email span { margin-left:12px; }
.as-footer-about { color:#a5b7c4; font-size:12px; line-height:1.8; margin-top:25px !important; max-width:270px; }
.as-footer-catalog a { display:block; color:#dde6ec; font-size:13px; margin-bottom:11px; }
.as-footer a:not(.as-shell-button):hover { color:#ffd25c; }
.as-footer-all { margin-top:21px; color:#f0c95f !important; }
.as-footer-all span { margin-left:10px; }
.as-footer-location address { color:#dde6ec; font-size:12px; line-height:1.8; font-style:normal; margin:0 0 17px; }
.as-footer-map { width:100%; height:170px; overflow:hidden; border-radius:7px; background:#243c4e; border:1px solid #ffffff20; }
.as-footer-map > div { width:100%; height:100%; }
.as-route-link { display:inline-flex; justify-content:space-between; width:100%; font-size:12px; color:#dde6ec !important; padding-top:12px; }
.as-footer-bottom { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:23px 0; border-top:1px solid #ffffff20; }
.as-footer-bottom > a:first-child { font-size:16px; font-weight:800; letter-spacing:-.5px; white-space:nowrap; }
.as-footer-bottom > a:first-child > span:first-child { color:#ffc329; }
.as-footer-copy { color:#91a5b3; font-size:11px; font-weight:400; letter-spacing:0; margin-left:16px; }
.as-footer-bottom p, .as-footer-bottom > a:last-child { font-size:10px; color:#a5b7c4; }
.as-footer-bottom > a:last-child { white-space:nowrap; }
@media(max-width:1100px) {
    .as-brand img { width:170px; height:50px; }
    .as-header-main { gap:18px; }
    .as-nav a { padding:10px; }
    .as-footer-grid { gap:28px; }
    .as-footer-number { font-size:18px; }
}
@media(max-width:760px) {
    .as-shell-wrap { padding-left:20px; padding-right:20px; }
    .as-header-strip .as-shell-wrap { justify-content:center; font-size:10px; }
    .as-header-strip .as-shell-wrap > span:last-child { display:none; }
    .as-header-main { flex-wrap:wrap; gap:0; min-height:80px; padding-top:4px; padding-bottom:4px; }

    .as-brand { gap:12px; }
    .as-header-phone { display:none; }
    .as-menu-toggle:not([hidden]) { display:inline-flex; align-items:center; justify-content:center; gap:9px; margin-left:auto; border:1px solid #dce3e7; border-radius:6px; padding:12px; color:#172d3e; background:#fff; font:600 12px 'Open Sans',Arial,sans-serif; cursor:pointer; min-height:44px; }
    .as-menu-bars { width:15px; height:11px; border-top:1.5px solid currentColor; border-bottom:1.5px solid currentColor; position:relative; }
    .as-menu-bars::after { content:''; position:absolute; top:4px; left:0; width:15px; border-top:1.5px solid currentColor; }
    .as-nav { width:100%; flex-direction:column; align-items:stretch; gap:4px; padding:12px 0; border-top:1px solid #e2e7eb; }
    .as-nav a { padding:13px 15px; font-size:14px; }
    .as-header.is-ready .as-nav { display:none; }
    .as-header.is-ready.is-open .as-nav { display:flex; }
    .as-footer-intro { align-items:flex-start; padding:35px 0 28px; }
    .as-footer-intro h2 { font-size:29px; }
    .as-footer-grid { grid-template-columns:1fr 1fr; gap:32px 24px; padding:30px 0; }
    .as-footer-location { grid-column:1/-1; }
    .as-footer-map { height:210px; }
    .as-footer-about { max-width:100%; }
    .as-footer-bottom { flex-wrap:wrap; }
    .as-footer-bottom p { order:3; width:100%; }
}
@media(max-width:460px) {
    .as-menu-toggle:not([hidden]) { padding:11px 10px; }
    .as-footer-intro { flex-direction:column; gap:22px; }
    .as-footer-grid { grid-template-columns:1fr; gap:30px; }
    .as-footer-contact { padding-bottom:28px; border-bottom:1px solid #ffffff20; }
    .as-footer-number { font-size:23px; }
    .as-footer h3 { margin-bottom:16px; }
    .as-footer-catalog { display:grid; grid-template-columns:1fr 1fr; gap:0 15px; }
    .as-footer-catalog h3 { grid-column:1/-1; }
    .as-footer-catalog a { font-size:12px; }
    .as-footer-all { margin-top:0; }
}
@media(prefers-reduced-motion:reduce) { .as-nav a { transition:none; } }

/* Horizontal crane logo shared by every page. */
.as-footer-logo { display:inline-block; width:170px; height:50px; vertical-align:middle; }
.as-shell .as-footer-grid > * { min-width:0; }
.as-footer { position:relative; z-index:1; }

/* One mobile call action, grouped with the menu; desktop contact stays unchanged. */
.as-header-actions{display:none}
@media(max-width:760px){
    .as-header-actions{display:flex;align-items:center;gap:8px;margin-left:auto}
    .as-mobile-call{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex:0 0 44px;border:1px solid #eed798;border-radius:7px;background:#fff5d6;color:#70500a}
    .as-mobile-call:hover{background:#ffe7a0}
    .as-header-actions .as-menu-toggle:not([hidden]){margin-left:0}
}
@media(max-width:380px){
    .as-header-actions{gap:6px}
    .as-header-actions .as-menu-toggle:not([hidden]){width:44px;height:44px;padding:0}
    .as-header-actions .as-menu-toggle>span:last-child{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}
