/* Site header v2 — global layout + polish (loads after style.css) */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
    --brand-maroon-deep: #3d0d10;
    --brand-maroon: #4a1011;
    --brand-maroon-mid: #5e191b;
    --brand-maroon-light: #722f37;
    --brand-gold: #c9a227;
    --brand-gold-soft: #e8d48a;
    /* Top strip: deep maroon → warm orange */
    --header-strip-red: #8b2224;
    --header-strip-red-rgb: 139, 34, 36;
    --header-strip-orange: #ff9a3c;
    --header-strip-orange-rgb: 255, 154, 60;
    /* Footer — maroon → orange (left → right), matches reference strip */
    --footer-gradient-start: #a1211b;
    --footer-gradient-end: #f1821b;
}

.site-header {
    position: relative;
    z-index: 1100;
}

/* ——— B2B ribbon (below nav, all pages) ——— */
.site-header__ribbon {
    position: relative;
    background: #3d0d10;
    color: rgba(255, 252, 248, 0.95);
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    padding: 0.52rem 1rem;
    border-top: 1px solid rgba(201, 162, 39, 0.45);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12) inset;
}

.site-header__ribbon::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(232, 212, 138, 0.5),
        transparent
    );
    pointer-events: none;
}

.site-header__ribbon-text {
    margin: 0;
    line-height: 1.45;
}

.site-header__ribbon a {
    color: var(--brand-gold-soft);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(232, 212, 138, 0.45);
    transition: color 0.18s ease, border-color 0.18s ease;
}

.site-header__ribbon a:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.75);
}

.site-header__ribbon-strong {
    color: rgba(255, 255, 255, 0.98);
    font-weight: 700;
}

.site-header__ribbon-sep {
    opacity: 0.75;
    margin: 0 0.2em;
    font-weight: 600;
}

@media (max-width: 575.98px) {
    .site-header__ribbon {
        font-size: 0.68rem;
        padding: 0.45rem 0.65rem;
        letter-spacing: 0.045em;
    }
}

/* ——— Top strip — red → orange (reference: puneeatouts.in top-header) ——— */
.site-header__top.header-top-bar {
    position: relative;
    background: linear-gradient(
        to right,
        #5c1214 0%,
        rgb(var(--header-strip-red-rgb)) 32%,
        #e85d2a 72%,
        rgb(var(--header-strip-orange-rgb)) 100%
    );
    color: #ffffff;
    padding: 0;
    font-size: 0.875rem;
    min-height: 40px;
    border-bottom: none;
    box-shadow: none;
    overflow: hidden;
}

.site-header__top.header-top-bar::before {
    display: none;
}

.site-header__top.header-top-bar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 248, 220, 0.85),
        rgba(232, 212, 138, 0.95),
        rgba(255, 248, 220, 0.85),
        transparent
    );
    pointer-events: none;
    z-index: 2;
}

.site-header__top-inner.header-top-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    padding: 0.35rem 0;
    min-height: 40px;
}

.site-header__top-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.85rem;
}

.site-header__phone.top-bar-phone {
    color: #fff !important;
    font-weight: 600;
    letter-spacing: 0.02em;
    gap: 0.45rem;
}

.site-header__phone.top-bar-phone:hover {
    opacity: 0.92;
    color: #fff !important;
}

.site-header__divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.45);
    flex-shrink: 0;
    display: inline-block;
}

.site-header__email {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.site-header__email i {
    font-size: 0.82em;
    opacity: 0.95;
}

.site-header__email:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: 0.95;
}

.site-header__top .top-bar-social-link {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
}

.site-header__top .top-bar-social-link:hover {
    background: rgba(255, 255, 255, 0.38);
    transform: none;
}

.site-header__top .top-bar-social-link .social-logo {
    width: 16px;
    height: 16px;
}

/* Hide top-bar email on phones & small tablets (tap-to-call stays) */
@media (max-width: 767.98px) {
    .site-header__top-left .site-header__email {
        display: none !important;
    }

    .site-header__top-left .site-header__divider {
        display: none !important;
    }
}

/* ——— Main bar — flat corporate: paper white + single gold accent ——— */
.site-header__bar.header.sticky-header {
    position: sticky;
    top: 0;
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(61, 13, 16, 0.07);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 1) inset, 0 2px 14px rgba(61, 13, 16, 0.04);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header__bar.header.sticky-header::after {
    display: none;
}

.site-header__nav.navbar {
    padding: 0.55rem 0;
    position: relative;
    z-index: 2;
}

.site-header__nav-inner.container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: min(1240px, calc(100% - 2rem));
    max-width: 1240px;
}

.site-header__brand.navbar-brand {
    flex-direction: row;
    align-items: center;
    gap: 0.7rem;
    margin-right: auto;
    padding: 0.25rem 0.5rem 0.25rem 0;
    text-decoration: none;
    border-radius: 0;
    border: none;
    border-bottom: 2px solid transparent;
    transition:
        border-color 0.2s ease,
        opacity 0.2s ease;
}

.site-header__brand.navbar-brand:hover {
    background: transparent;
    border-bottom-color: rgba(201, 162, 39, 0.55);
    box-shadow: none;
    opacity: 0.95;
}

.site-header__brand.navbar-brand:hover .site-header__brand-name {
    color: var(--brand-maroon-deep);
}

.site-header .site-header__logo.logo-img {
    width: 56px !important;
    height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    object-fit: contain;
    border-radius: 50%;
    box-shadow:
        0 0 0 2px #ffffff,
        0 0 0 4px rgba(45, 106, 79, 0.35),
        0 4px 14px rgba(61, 13, 16, 0.12);
    border: 2px solid rgba(45, 106, 79, 0.45);
    background: #fff;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header .site-header__brand.navbar-brand:hover .site-header__logo.logo-img {
    transform: none;
    box-shadow:
        0 0 0 2px #ffffff,
        0 0 0 4px rgba(201, 162, 39, 0.45),
        0 6px 18px rgba(61, 13, 16, 0.14);
    border-color: rgba(201, 162, 39, 0.55);
}

.site-header__brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    line-height: 1.15;
}

.site-header__brand-name {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-weight: 700;
    font-size: 1.08rem;
    letter-spacing: -0.02em;
    color: #1a1214;
    transition: color 0.2s ease;
    line-height: 1.15;
}

.site-header__brand-tag {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-maroon-mid);
}

@media (max-width: 575.98px) {
    .site-header__brand-tag {
        display: none;
    }
    .site-header__brand-name {
        font-size: 1rem;
        max-width: 9.5rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.site-header__links.navbar-nav {
    gap: 0.15rem;
    align-items: center;
}

@media (min-width: 992px) {
    /* Flat nav row — no nested pill tray (cleaner / more corporate) */
    .site-header__links.navbar-nav {
        align-items: center;
        gap: 0.125rem;
        padding: 0;
        border-radius: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .site-header .nav-item-contact {
        margin-left: 0.65rem;
        padding-left: 0.85rem;
        border-left: 1px solid rgba(94, 25, 27, 0.12);
    }
}

/* Remove legacy per-link icons for cleaner nav */
.site-header .header.sticky-header .navbar-nav .nav-link::before {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
}

.site-header .header.sticky-header .navbar-nav .nav-link {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
    color: #3d3a3b !important;
    padding: 0.55rem 0.62rem !important;
    border-radius: 0 !important;
    gap: 0.28rem !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    box-shadow: none !important;
    transition:
        color 0.18s ease,
        border-color 0.18s ease;
}

.site-header .header.sticky-header .navbar-nav .nav-item:not(.nav-item-contact) .nav-link:hover {
    color: var(--brand-maroon-mid) !important;
    background: transparent !important;
    border-bottom-color: rgba(201, 162, 39, 0.35) !important;
    transform: none;
}

.site-header .header.sticky-header .navbar-nav .nav-item:not(.nav-item-contact) .nav-link.active {
    color: var(--brand-maroon-deep) !important;
    font-weight: 600 !important;
    background: transparent !important;
    border-bottom-color: var(--brand-gold) !important;
    box-shadow: none !important;
}

.site-header .header.sticky-header .navbar-nav .nav-link:hover::after,
.site-header .header.sticky-header .navbar-nav .nav-link.active::after {
    display: none !important;
}

.site-header .header.sticky-header .navbar-nav .nav-item-contact .nav-link {
    background: #ffffff !important;
    color: var(--brand-maroon-deep) !important;
    border: 1px solid #d8d8d8 !important;
    border-bottom: 1px solid #d8d8d8 !important;
    border-radius: 2px !important;
    padding: 0.48rem 1.1rem !important;
    margin-left: 0;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    font-size: 0.8125rem !important;
    text-transform: none;
    box-shadow: none !important;
}

.site-header .header.sticky-header .navbar-nav .nav-item-contact .nav-link:hover {
    background: #fafafa !important;
    color: var(--brand-maroon-deep) !important;
    border-color: rgba(201, 162, 39, 0.65) !important;
    transform: none;
    box-shadow: none !important;
}

.site-header .header.sticky-header .navbar-nav .nav-item-contact .nav-link.active {
    background: #ffffff !important;
    color: var(--brand-maroon-deep) !important;
    border-color: var(--brand-gold) !important;
    box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.25) !important;
}

.site-header .header.sticky-header .dropdown-menu {
    border-radius: 14px;
    border: 1px solid rgba(94, 25, 27, 0.12);
    border-top: 3px solid var(--brand-gold);
    box-shadow:
        0 4px 6px -2px rgba(61, 13, 16, 0.06),
        0 22px 44px -12px rgba(61, 13, 16, 0.2);
    padding: 0.45rem;
    margin-top: 0.5rem !important;
    min-width: 14rem;
    animation: site-header-dropdown-in 0.22s ease;
}

@keyframes site-header-dropdown-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-header .header.sticky-header .dropdown-item {
    border-radius: 10px;
    font-weight: 600;
    padding: 0.48rem 0.95rem;
    font-size: 0.9rem;
}

.site-header .header.sticky-header .dropdown-item:hover,
.site-header .header.sticky-header .dropdown-item:focus {
    background: rgba(94, 25, 27, 0.08);
    color: var(--brand-maroon-deep);
}

.site-header .dropdown-toggle::after {
    display: none !important;
}

.site-header .nav-link.dropdown-toggle .fa-chevron-down {
    font-size: 0.58em;
    opacity: 0.5;
    margin-left: 0.2rem;
    vertical-align: middle;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.site-header .nav-item.dropdown.show > .nav-link.dropdown-toggle .fa-chevron-down {
    transform: rotate(-180deg);
    opacity: 0.95;
}

.site-header .header.sticky-header .navbar-nav .nav-link:focus {
    outline: none;
}

.site-header .header.sticky-header .navbar-nav .nav-link:focus-visible {
    outline: 2px solid var(--brand-maroon-mid);
    outline-offset: 2px;
}

.site-header .header.sticky-header .navbar-nav .nav-item-contact .nav-link:focus-visible {
    outline-color: var(--brand-gold);
    outline-offset: 3px;
}

/* Mobile menu */
@media (max-width: 991.98px) {
    .site-header__links.navbar-nav {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
        gap: 0.15rem !important;
    }

    .site-header .header.sticky-header .navbar-nav .nav-link {
        border-radius: 0 !important;
        padding: 0.65rem 0.85rem !important;
        border-bottom: 1px solid rgba(94, 25, 27, 0.06) !important;
        text-transform: none !important;
        letter-spacing: 0.02em !important;
        font-size: 0.9rem !important;
    }

    .site-header .header.sticky-header .navbar-nav .nav-item:not(.nav-item-contact) .nav-link.active {
        background: transparent !important;
        border-left: 3px solid var(--brand-gold);
        padding-left: calc(0.85rem - 3px);
        border-bottom-color: rgba(94, 25, 27, 0.06) !important;
        color: var(--brand-maroon-deep) !important;
        font-weight: 600 !important;
    }

    .site-header__nav-inner .navbar-collapse {
        margin-top: 0.65rem;
        padding: 0.5rem 0.5rem 0.75rem;
        border: 1px solid rgba(94, 25, 27, 0.1);
        border-radius: 16px;
        background: linear-gradient(180deg, #fffefb 0%, #faf6f0 100%);
        box-shadow: 0 8px 28px rgba(61, 13, 16, 0.08);
    }

    .site-header__nav-inner .navbar-collapse .nav-item {
        border-bottom: 1px solid rgba(94, 25, 27, 0.06);
    }

    .site-header__nav-inner .navbar-collapse .nav-item:last-child {
        border-bottom: none;
    }

    .site-header .navbar-nav {
        gap: 0.25rem !important;
    }

    .site-header .nav-item-contact {
        margin-left: 0 !important;
        padding-left: 0 !important;
        border-left: none !important;
    }

    .site-header .header.sticky-header .navbar-nav .nav-item-contact .nav-link {
        margin-left: 0;
        margin-top: 0.35rem;
        text-align: center;
        justify-content: center;
        width: 100%;
        max-width: none;
        font-size: 0.75rem !important;
        padding: 0.65rem 1rem !important;
    }

    .site-header .site-header__logo.logo-img {
        width: 50px !important;
        height: 50px !important;
        max-width: 50px !important;
        max-height: 50px !important;
    }

    .site-header__nav.navbar {
        padding: 0.5rem 0;
    }
}

.site-header .navbar-toggler {
    border-radius: 12px !important;
    border: 1px solid rgba(94, 25, 27, 0.15) !important;
    background: linear-gradient(180deg, #ffffff 0%, #faf6f0 100%) !important;
    padding: 0.5rem !important;
    box-shadow: 0 2px 8px rgba(61, 13, 16, 0.06);
}

.site-header .navbar-toggler:hover {
    background: #ffffff !important;
    border-color: rgba(201, 162, 39, 0.55) !important;
}

.site-header .navbar-toggler-icon span {
    background-color: var(--brand-maroon-mid) !important;
}

@media (min-width: 992px) {
    .site-header .site-header__logo.logo-img {
        width: 58px !important;
        height: 58px !important;
        max-width: 58px !important;
        max-height: 58px !important;
    }
}

/* ——— Global footer — maroon → orange (matches header strip / reference bar) ——— */
.footer.footer-pls {
    --pls-bg: var(--footer-gradient-start);
    --pls-card: rgba(255, 255, 255, 0.1);
    --pls-emerald: #fff8e7;
    --pls-emerald-dark: #ffe6a8;
    --pls-amber: #fff3cd;
    --pls-muted: rgba(255, 255, 255, 0.88);
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, transparent 35%, rgba(0, 0, 0, 0.14) 100%),
        linear-gradient(to right, var(--footer-gradient-start) 0%, var(--footer-gradient-end) 100%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.footer.footer-pls::before {
    height: 2px !important;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.15),
        rgba(255, 255, 255, 0.55),
        rgba(255, 255, 255, 0.15)
    ) !important;
    opacity: 1 !important;
}

.footer .footer-pls__title-green {
    color: #fff8e7 !important;
}

.footer .footer-pls__title-yellow {
    color: #ffffff !important;
}

.footer.footer-pls .footer-bottom.footer-pls__bottom {
    background: linear-gradient(to right, #4a0d0a, #7a2108, #8f3a08) !important;
    border-top-color: rgba(255, 255, 255, 0.12) !important;
}

.footer.footer-pls .footer-pls__newsletter-btn {
    background: #ffffff !important;
    color: var(--footer-gradient-start) !important;
    font-weight: 600 !important;
}

.footer.footer-pls .footer-pls__newsletter-btn:hover {
    background: #fff8e7 !important;
    color: var(--footer-gradient-start) !important;
}

.footer.footer-pls .footer-pls__dev-link {
    color: rgba(255, 248, 231, 0.95) !important;
}

.footer.footer-pls .footer-pls__dev-link:hover {
    color: #ffffff !important;
}

.footer.footer-pls .footer-pls__contact-value--link:hover {
    color: #ffffff !important;
}

.footer.footer-pls .footer-pls__highlights .highlight-item i {
    color: #fff0c2 !important;
}

.back-to-top.footer-pls__scroll-top,
.back-to-top.footer__scroll-top {
    background: #3d5c0b !important;
    color: #fff !important;
}

.back-to-top.footer-pls__scroll-top:hover,
.back-to-top.footer__scroll-top:hover {
    background: #66a014 !important;
    color: #fff !important;
}
