/**
 * Global footer chrome + mobile menu scroll.
 * Header/nav keeps original theme style; footer uses premium chrome.
 */
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&display=swap');

:root {
    --sc-dark: #121621;
    --sc-dark-soft: #151c29;
    --sc-bg: #f2f4f5;
    --sc-border: #e8eaed;
    --sc-accent: var(--primary, #DC2814);
    --sc-brand-start: #6a76b5;
    --sc-brand-end: #1a1a4b;
    --sc-footer-input-bg: #9aa3ad;
    --sc-footer-input-bg-focus: #8d97a3;
    --sc-footer-input-border: #7f8994;
}

/* ── Footer trust strip ── */
.hp-site-footer-trust {
    background: #fff !important;
    border-top: 1px solid var(--sc-border) !important;
}

.hp-site-footer-trust a {
    transition: background 0.2s, transform 0.2s, color 0.2s;
}

.hp-site-footer-trust a:hover {
    background: var(--sc-bg);
    transform: translateY(-1px);
}

.hp-site-footer-trust a:hover h4 {
    color: var(--sc-brand-end);
}

.hp-site-footer-trust .la,
.hp-site-footer-trust .las {
    color: var(--sc-brand-start) !important;
    transition: color 0.2s, transform 0.2s;
}

.hp-site-footer-trust a:hover .la,
.hp-site-footer-trust a:hover .las {
    color: var(--sc-accent) !important;
    transform: scale(1.05);
}

.hp-site-footer-trust h4 {
    color: #333;
    font-weight: 600;
    transition: color 0.2s;
}

.hp-site-footer-trust .border-left,
.hp-site-footer-trust .border-right {
    border-color: var(--sc-border) !important;
}

/* ── Footer main (homepage + all inner pages via shared footer) ── */
.hp-site-footer-main,
.hp-site-footer-main.footer-widget {
    background: var(--sc-dark) !important;
}

.hp-site-footer-main h4,
.hp-site-footer-main.footer-widget h4 {
    color: #fff !important;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-bottom-color: rgba(255, 255, 255, 0.12) !important;
}

.hp-site-footer-main .opacity-50.hov-opacity-100:hover,
.hp-site-footer-main.footer-widget .opacity-50.hov-opacity-100:hover {
    opacity: 1 !important;
    color: #fff !important;
}

.hp-site-footer-main a.text-reset:hover,
.hp-site-footer-main.footer-widget a.text-reset:hover {
    color: rgba(255, 255, 255, 0.95) !important;
}

.hp-site-footer-main .btn-primary,
.hp-site-footer-main.footer-widget .btn-primary {
    border-radius: 999px;
    font-weight: 600;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.hp-site-footer-main .btn-primary:hover,
.hp-site-footer-main.footer-widget .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.hp-site-footer-main .form-control,
.hp-site-footer-main.footer-widget .form-control,
.hp-site-footer-main.text-light .form-control,
.hp-site-footer-main.bg-dark .form-control {
    border-radius: 999px 0 0 999px !important;
    border: 1px solid var(--sc-footer-input-border) !important;
    background: var(--sc-footer-input-bg) !important;
    color: #2b2f33 !important;
    min-width: 200px;
}

.hp-site-footer-main .form-control::placeholder,
.hp-site-footer-main.footer-widget .form-control::placeholder {
    color: #4f5862 !important;
}

.hp-site-footer-main .form-control:focus,
.hp-site-footer-main.footer-widget .form-control:focus {
    background: var(--sc-footer-input-bg-focus) !important;
    border-color: rgba(106, 118, 181, 0.65) !important;
    color: #2b2f33 !important;
    box-shadow: none !important;
}

.hp-site-footer-main .form-inline,
.hp-site-footer-main.footer-widget .form-inline {
    display: inline-flex;
    align-items: stretch;
    flex-wrap: nowrap;
}

.hp-site-footer-main .form-inline .form-group,
.hp-site-footer-main.footer-widget .form-inline .form-group {
    margin-bottom: 0 !important;
    display: flex;
}

.hp-site-footer-main .form-inline .form-control,
.hp-site-footer-main.footer-widget .form-inline .form-control,
.hp-site-footer-main .form-inline .btn-primary,
.hp-site-footer-main.footer-widget .form-inline .btn-primary {
    height: 40px;
    min-height: 40px;
    line-height: 1.25;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    box-sizing: border-box;
    margin: 0;
    vertical-align: top;
}

.hp-site-footer-main .form-inline .btn-primary,
.hp-site-footer-main.footer-widget .form-inline .btn-primary {
    border-radius: 0 999px 999px 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hp-site-footer-main .opacity-30,
.hp-site-footer-main.footer-widget .opacity-30 {
    color: rgba(255, 255, 255, 0.55) !important;
}

.hp-site-footer-main .opacity-70,
.hp-site-footer-main.footer-widget .opacity-70 {
    color: rgba(255, 255, 255, 0.88) !important;
}

/* ── Footer bottom ── */
.hp-site-footer-bottom {
    background: #111 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hp-site-footer-bottom .social.colored a {
    border-radius: 50%;
    width: 36px;
    height: 36px;
    line-height: 36px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hp-site-footer-bottom .social.colored a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* ── Mobile menu scroll (header unchanged) ── */
@media (max-width: 991.98px) {
    .hp-site-menu-bar .container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .hp-site-menu-bar .container::-webkit-scrollbar {
        display: none;
    }

    .hp-site-menu-bar .list-inline {
        flex-wrap: nowrap;
        white-space: nowrap;
        margin-bottom: 0;
    }

    .hp-site-footer-trust .row > [class*="col-"] {
        margin-bottom: 0.5rem;
    }

    .hp-site-footer-trust a {
        border-radius: 8px;
    }

    .hp-site-footer-main .col-lg-3,
    .hp-site-footer-main .col-lg-2,
    .hp-site-footer-main .col-md-4 {
        margin-bottom: 1.5rem;
    }

    .hp-site-footer-main .form-control,
    .hp-site-footer-main.footer-widget .form-control {
        min-width: 0;
        width: 100%;
        margin-bottom: 0.5rem;
        border-radius: 999px !important;
    }

    .hp-site-footer-main .form-inline,
    .hp-site-footer-main.footer-widget .form-inline {
        flex-direction: column;
        align-items: stretch;
    }

    .hp-site-footer-main .form-inline .btn-primary,
    .hp-site-footer-main.footer-widget .form-inline .btn-primary {
        border-radius: 999px !important;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .hp-site-footer-bottom .text-center.text-md-left,
    .hp-site-footer-bottom .text-center.text-md-right {
        text-align: center !important;
        margin-bottom: 0.75rem;
    }
}
