/* =============================================================
   Warren Pro Air — Sitewide Custom Styles (footer + sticky header)
   Palette: blue #4a87cb · orange #f47629 · dark #252936
   ============================================================= */

/* ---------- Sticky header (.responsive-header.sticky): vertically center logo ---------- */
.responsive-header.sticky {
    min-height: 84px;
    padding: 0 !important;
}
.responsive-header.sticky > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    min-height: 84px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.responsive-header.sticky .responsive_hd_logo {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.responsive-header.sticky .responsive_hd_logo a {
    display: flex;
    align-items: center;
    line-height: 0;
}
.responsive-header.sticky .responsive_hd_logo img,
.responsive-header.sticky .responsive_hd_logo > a img {
    width: auto !important;
    max-width: 220px;
    height: auto !important;
    max-height: 56px !important;
    display: block;
    object-fit: contain;
}
.responsive-header.sticky .responsive_header_navigations {
    float: none !important;
    display: flex;
    align-items: center;
    margin: 0 !important;
}
.responsive-header.sticky .responsive_header_navigations nav ul li {
    padding: 12px 16px !important;
}


#wpa-footer {
    --wpa-blue: #4a87cb;
    --wpa-orange: #f47629;
    --wpa-dark: #1a1f2c;
    --wpa-darker: #14181f;
    --wpa-line: rgba(255, 255, 255, 0.08);
    --wpa-text: rgba(255, 255, 255, 0.7);
    background: var(--wpa-dark);
    color: var(--wpa-text);
    font-family: 'Roboto', sans-serif;
    position: relative;
    margin-top: 0;
}

#wpa-footer * { box-sizing: border-box; }
#wpa-footer .container {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

#wpa-footer a {
    color: var(--wpa-text);
    text-decoration: none;
    transition: color .25s ease;
}
#wpa-footer a:hover { color: var(--wpa-orange); }

#wpa-footer p {
    margin: 0 0 14px;
    line-height: 1.65;
    font-size: 14px;
}

/* Decorative top bar */
#wpa-footer:before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--wpa-blue) 0%, var(--wpa-orange) 100%);
}

/* ---------- Main grid ---------- */
.wpa-footer__top { padding: 70px 0 50px; }

.wpa-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 40px;
}

.wpa-footer__col h4 {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 22px;
    text-transform: none;
    letter-spacing: .3px;
    position: relative;
    padding-bottom: 12px;
}
.wpa-footer__col h4:after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 36px; height: 2px;
    background: var(--wpa-orange);
}

/* ---------- Brand column ---------- */
.wpa-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.wpa-footer__logo-mark {
    width: 50px; height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--wpa-blue), #6ba6e0);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 8px 22px rgba(74, 135, 203, 0.35);
}
.wpa-footer__logo-text strong {
    display: block;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
}
.wpa-footer__logo-text em {
    display: block;
    font-style: normal;
    font-size: 12px;
    color: var(--wpa-orange);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 2px;
}

.wpa-footer__col--brand p {
    color: var(--wpa-text);
    font-size: 14px;
    margin-bottom: 22px;
    max-width: 340px;
}

/* Social */
.wpa-footer__social {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
}
.wpa-footer__social a {
    display: inline-flex;
    width: 40px; height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--wpa-line);
    color: #fff;
    font-size: 15px;
    transition: all .3s ease;
}
.wpa-footer__social a:hover {
    background: var(--wpa-orange);
    border-color: var(--wpa-orange);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 18px rgba(244, 118, 41, 0.35);
}

/* ---------- Links columns ---------- */
.wpa-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.wpa-footer__links li {
    margin-bottom: 11px;
}
.wpa-footer__links a {
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .25s ease;
}
.wpa-footer__links a:before {
    content: '›';
    color: var(--wpa-orange);
    font-size: 18px;
    line-height: 1;
    transition: transform .25s ease;
}
.wpa-footer__links a:hover { color: #fff; }
.wpa-footer__links a:hover:before { transform: translateX(3px); }

/* ---------- Contact column ---------- */
.wpa-footer__contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.wpa-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.55;
}
.wpa-footer__contact li > i {
    flex-shrink: 0;
    width: 36px; height: 36px;
    background: rgba(74, 135, 203, 0.18);
    color: var(--wpa-blue);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-top: 2px;
}
.wpa-footer__contact li strong { color: var(--wpa-orange); font-weight: 600; }
.wpa-footer__contact li a { color: var(--wpa-text); }
.wpa-footer__contact li a:hover { color: var(--wpa-orange); }

/* ---------- Bottom bar ---------- */
.wpa-footer__bottom {
    background: var(--wpa-darker);
    border-top: 1px solid var(--wpa-line);
    padding: 22px 0;
}
.wpa-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}
.wpa-footer__bottom p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}
.wpa-footer__bottom p strong { color: #fff; font-weight: 600; }
.wpa-footer__bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 22px;
}
.wpa-footer__bottom-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}
.wpa-footer__bottom-links a:hover { color: var(--wpa-orange); }

/* ---------- Scroll-to-top ---------- */
.wpa-scroll-top,
a.scrollTop {
    background: var(--wpa-orange) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(244, 118, 41, 0.4) !important;
}
.wpa-scroll-top:hover,
a.scrollTop:hover { background: var(--wpa-blue) !important; }

/* ---------- Hide leftover legacy footer chunks if they slip back in ---------- */
body > footer.no_redux,
body > section.newsletter-sec.footer_base-class,
body > div.our_map.v1 {
    display: none !important;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1199px) {
    .wpa-footer__grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}

@media (max-width: 600px) {
    .wpa-footer__top { padding: 50px 0 30px; }
    .wpa-footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .wpa-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
    .wpa-footer__bottom-links { flex-wrap: wrap; gap: 14px; }
}
