/* ============================================================
   HR Trailer Service — Professional Header & Footer
   ============================================================ */

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }

/* ── TOP BAR ── */
.hr-topbar {
    background: #0d1c30;
    padding: 8px 0;
    font-size: 12.5px;
    color: rgba(255,255,255,0.75);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hr-topbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.hr-topbar-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hr-topbar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hr-topbar a { color: rgba(255,255,255,0.75); text-decoration: none; transition: color .2s; }
.hr-topbar a:hover { color: #fff; }
.hr-topbar-item { display: flex; align-items: center; gap: 6px; }
.hr-topbar-item svg { flex-shrink: 0; }
.hr-topbar-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.2); }

/* Social icons */
.hr-topbar-social { display: flex; gap: 10px; }
.hr-topbar-social a {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
    color: rgba(255,255,255,0.7);
    font-size: 11px;
    text-decoration: none;
}
.hr-topbar-social a:hover { background: #BF092F; color: #fff; }

/* ── MAIN HEADER ── */
.hr-main-header {
    background: #132440;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hr-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    height: 72px;
    gap: 24px;
}

/* Logo */
.hr-logo { flex-shrink: 0; display: flex; align-items: center; }
.hr-logo img { height: 52px; width: auto; max-width: 180px; object-fit: contain; }
.hr-logo-text { color: #fff; font-size: 18px; font-weight: 800; text-decoration: none; letter-spacing: -0.3px; }
.hr-logo-text span { color: #BF092F; }

/* Main navigation */
.hr-main-nav { flex: 1; display: flex; justify-content: center; }
.hr-nav-list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
}
.hr-nav-list > li { position: relative; }
.hr-nav-list > li > a {
    display: flex; align-items: center; gap: 4px;
    padding: 0 14px;
    height: 72px;
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
    white-space: nowrap;
    transition: color .2s, background .2s;
    border-bottom: 3px solid transparent;
}
.hr-nav-list > li > a:hover,
.hr-nav-list > li.current-menu-item > a {
    color: #fff;
    border-bottom-color: #BF092F;
    background: rgba(255,255,255,0.04);
}
/* Dropdown arrow */
.hr-nav-list > li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    margin-left: 2px;
}
/* Dropdown menu */
.hr-nav-list .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    list-style: none;
    margin: 0; padding: 8px 0;
    z-index: 10000;
    border-top: 3px solid #BF092F;
}
.hr-nav-list li:hover > .sub-menu { display: block; }
.hr-nav-list .sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: #1a1a2e;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.hr-nav-list .sub-menu li a:hover {
    background: #f4f6ff;
    color: #BF092F;
    padding-left: 26px;
}

/* Header right actions */
.hr-header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Cart button */
.hr-cart-btn {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: background .2s;
}
.hr-cart-btn:hover { background: rgba(255,255,255,0.18); }
.hr-cart-btn svg { width: 18px; height: 18px; }
.hr-cart-count {
    position: absolute;
    top: -4px; right: -4px;
    background: #BF092F;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px; height: 18px;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px;
    border: 2px solid #132440;
}
/* Shop Now button */
.hr-shop-btn {
    background: #BF092F;
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background .2s, transform .15s;
    white-space: nowrap;
    border: 2px solid #BF092F;
}
.hr-shop-btn:hover { background: #a00827; border-color: #a00827; transform: translateY(-1px); }

/* Mobile menu toggle */
.hr-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #fff;
    flex-direction: column;
    gap: 5px;
}
.hr-menu-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}

/* ── FOOTER ── */
.hr-footer {
    background: #132440;
    color: rgba(255,255,255,0.75);
    font-size: 13.5px;
    line-height: 1.7;
    padding-top: 60px;
}
.hr-footer a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color .2s; }
.hr-footer a:hover { color: #BF092F; }
.hr-footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 48px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 48px;
}
.hr-footer-col-title {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #BF092F;
    display: inline-block;
}
/* Column 1 — brand */
.hr-footer-logo { margin-bottom: 16px; }
.hr-footer-logo img { height: 52px; width: auto; }
.hr-footer-desc { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.65); }
.hr-footer-readmore { color: #BF092F !important; font-weight: 600; font-size: 12.5px; }
.hr-footer-readmore:hover { color: #fff !important; }
.hr-footer-social { display: flex; gap: 10px; margin-top: 20px; }
.hr-footer-social a {
    width: 34px; height: 34px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    transition: background .2s, color .2s;
    border: 1px solid rgba(255,255,255,0.12);
}
.hr-footer-social a:hover { background: #BF092F; color: #fff; border-color: #BF092F; }

/* Link lists */
.hr-footer-links { list-style: none; margin: 0; padding: 0; }
.hr-footer-links li { margin-bottom: 10px; display: flex; align-items: flex-start; gap: 8px; }
.hr-footer-links li::before {
    content: '›';
    color: #BF092F;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    flex-shrink: 0;
}
.hr-footer-links a { color: rgba(255,255,255,0.7); }
.hr-footer-links a:hover { color: #BF092F; padding-left: 2px; }

/* Contact info */
.hr-footer-contact-list { list-style: none; margin: 0; padding: 0; }
.hr-footer-contact-list li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.hr-footer-contact-list .icon {
    width: 32px; height: 32px;
    background: #BF092F;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.hr-footer-contact-list .icon svg { width: 14px; height: 14px; fill: #fff; }
.hr-footer-contact-list .info strong { display: block; color: #fff; font-size: 12.5px; margin-bottom: 2px; }
.hr-footer-contact-list .info span { font-size: 13px; color: rgba(255,255,255,0.65); }
.hr-footer-contact-list .info a { color: rgba(255,255,255,0.65); }
.hr-footer-contact-list .info a:hover { color: #BF092F; }

/* Divider */
.hr-footer-divider {
    max-width: 1280px;
    margin: 0 auto;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Bottom bar */
.hr-footer-bottom {
    background: #0d1c30;
    padding: 18px 24px;
}
.hr-footer-bottom-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.hr-copyright { font-size: 12.5px; color: rgba(255,255,255,0.5); }
.hr-copyright a { color: rgba(255,255,255,0.5); }
.hr-copyright a:hover { color: #BF092F; }
.hr-payment-logos { display: flex; align-items: center; gap: 8px; }
.hr-payment-logo {
    background: #fff;
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    height: 26px;
    display: flex; align-items: center; justify-content: center;
    color: #1a1a2e;
}
.hr-payment-logo.visa { color: #1a1f71; font-style: italic; font-size: 13px; }
.hr-payment-logo.mc { background: linear-gradient(90deg, #eb001b 40%, #f79e1b 60%); color: #fff; }
.hr-payment-logo.paypal { color: #003087; }
.hr-payment-logo.discover { background: linear-gradient(90deg, #e55c00, #f79e1b); color: #fff; }
.hr-payment-logo.amex { background: #007bc1; color: #fff; font-size: 10px; letter-spacing: 1px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .hr-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    .hr-topbar-left .hr-topbar-divider,
    .hr-topbar-left .hr-topbar-item:not(.hr-topbar-phone) { display: none; }
    .hr-main-nav { display: none; }
    .hr-main-nav.open { display: flex; }
    .hr-menu-toggle { display: flex; }
    .hr-nav-list {
        position: fixed;
        top: 72px; left: 0; right: 0;
        background: #132440;
        flex-direction: column;
        padding: 16px 0 24px;
        align-items: flex-start;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
        z-index: 9998;
    }
    .hr-nav-list > li > a { height: auto; padding: 12px 24px; width: 100%; }
    .hr-nav-list .sub-menu { position: static; box-shadow: none; border-radius: 0; border-top: none; background: rgba(0,0,0,0.2); }
    .hr-nav-list .sub-menu li a { padding-left: 40px; color: rgba(255,255,255,0.7); }
    .hr-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .hr-shop-btn { display: none; }
    .hr-footer-bottom-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .hr-header-inner { padding: 0 16px; }
    .hr-topbar-inner { padding: 0 16px; }
    .hr-footer-grid { padding: 0 16px 40px; }
}

/* ── OVERRIDE Hello Elementor defaults ── */
.site-header, .elementor-section.elementor-section-boxed > .elementor-container { max-width: 1280px; }
body.elementor-page .site-header { display: none !important; }