/* Shared header + footer for product, category and service-area pages
   (injected by scripts/seo-meta.js). Matches the homepage's dark navbar and red brand. */
.sw-header,
.sw-footer {
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
}
.sw-header *,
.sw-footer * {
    box-sizing: border-box;
}

/* Header */
.sw-header {
    position: relative;
    z-index: 50;
    background: #0b0f19;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sw-header-inner {
    width: min(1240px, 100% - 32px);
    margin: 0 auto;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.sw-logo img {
    display: block;
    height: 40px;
    width: auto;
}
.sw-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}
.sw-nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 11px;
    border-radius: 8px;
    white-space: nowrap;
}
.sw-nav a:hover,
.sw-nav a:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
    outline: none;
}
.sw-nav .sw-call {
    margin-left: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
}
.sw-nav .sw-quote {
    margin-left: 6px;
    background: #dc3220;
    color: #ffffff;
    font-weight: 800;
}
.sw-nav .sw-quote:hover,
.sw-nav .sw-quote:focus-visible {
    background: #b9271a;
}
.sw-menu-btn {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.sw-menu-btn:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}
.sw-menu-icon,
.sw-menu-icon::before,
.sw-menu-icon::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    position: relative;
}
.sw-menu-icon::before,
.sw-menu-icon::after {
    content: "";
    position: absolute;
    left: 0;
}
.sw-menu-icon::before { top: -6px; }
.sw-menu-icon::after { top: 6px; }

@media (max-width: 1060px) {
    .sw-menu-btn {
        display: inline-flex;
    }
    .sw-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 10px 16px 18px;
        background: #0b0f19;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
    }
    .sw-header.is-open .sw-nav {
        display: flex;
    }
    .sw-nav a {
        padding: 12px 12px;
        font-size: 1rem;
    }
    .sw-nav .sw-call,
    .sw-nav .sw-quote {
        margin: 8px 0 0;
        text-align: center;
    }
}

/* Footer */
.sw-footer {
    margin-top: 56px;
    background: #0b0f19;
    color: #94a3b8;
    font-size: 0.9rem;
}
.sw-footer-inner {
    width: min(1240px, 100% - 32px);
    margin: 0 auto;
    padding: 44px 0 20px;
}
.sw-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 32px;
}
.sw-footer h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.sw-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.sw-footer li + li {
    margin-top: 7px;
}
.sw-footer a {
    color: #cbd5e1;
    text-decoration: none;
}
.sw-footer a:hover,
.sw-footer a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}
.sw-footer-brand img {
    display: block;
    height: 44px;
    width: auto;
    margin-bottom: 12px;
}
.sw-footer-brand p {
    margin: 0;
    max-width: 34ch;
}
.sw-footer address {
    font-style: normal;
}
.sw-footer-bottom {
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.82rem;
}
.sw-footer-bottom nav {
    display: flex;
    gap: 16px;
}
@media (max-width: 900px) {
    .sw-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 560px) {
    .sw-footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }
}
