/*
 * CLEAN FOOTER CSS (Redesigned)
 */
.site-footer {
    background-color: #f6f5ef;
    padding: 60px 0 20px;
    color: #5d675b;
    font-family: inherit;
    border-top: 1px solid #eae8df;
}

.site-footer__main {
    display: grid;
    grid-template-columns: 1.8fr 1.5fr 2.2fr 1.5fr;
    gap: 30px;
    margin-bottom: 40px;
}

.site-footer__title {
    font-size: 16px;
    font-weight: 700;
    color: #383e36;
    margin-bottom: 20px;
    margin-top: 0;
}

.site-footer__content,
.site-footer__brand-text {
    font-size: 14px;
    line-height: 1.6;
    color: #666e64;
}

.site-footer__brand-text img {
    max-width: 250px;
    height: auto;
    margin-bottom: 15px;
    display: block;
}

.site-footer__brand-text p {
    margin-bottom: 15px;
    padding-right: 15px;
}

.site-footer__socials ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

.site-footer__socials ul li a,
.site-footer__socials a {
    color: #383e36;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
}

.site-footer__socials ul li a:hover,
.site-footer__socials a:hover {
    color: #3f462d;
}

.site-footer__socials img {
    width: 20px;
    height: 20px;
    /* padding: 1px; */
    /* filter: brightness(0.3); */
}

.site-footer__contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__contact li,
.site-footer__contact p {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666e64;
}

.site-footer__contact i,
.site-footer__contact img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: brightness(0.3);
}

.site-footer__links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 390px) {
    .site-footer__links-grid {
        grid-template-columns: 1fr;
    }
}

.site-footer__links-inner ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__links-inner li {
    margin-bottom: 12px;
}

.site-footer__links-inner a {
    color: #666e64;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.site-footer__links-inner a:hover {
    color: #3f462d;
}

.site-footer__newsletter .site-footer__content p {
    margin-bottom: 15px;
}

.site-footer__form {
    display: flex;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e0dfd5;
}

.site-footer__input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 13px;
    outline: none;
    background: transparent;
}

.site-footer__submit {
    background: #3f462d;
    color: #fff;
    border: none;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.site-footer__submit:hover {
    background: #383e36;
}

.site-footer__bottom {
    border-top: 1px solid #eae8df;
    padding-top: 20px;
}

.site-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.site-footer__copyright {
    font-size: 13px;
    color: #888;
}

.site-footer__copyright p {
    margin: 0;
    font-size: 15px;
}

.site-footer__policies {
    font-size: 13px;
    color: #888;
}

.site-footer__policies a {
    color: #888;
    text-decoration: none;
}

.site-footer__policies a:hover {
    color: #3f462d;
}

.site-footer__policies ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

/* Back to Top */
#topcontrol .backtotop {
    position: fixed;
    right: 18px;
    bottom: 10px;
    width: 45px;
    height: 45px;
    background: #3f462d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
}

#topcontrol .backtotop:hover {
    background: #a99988;
}

#topcontrol .backtotop svg {
    stroke: #fff;
}

.site-footer__content h2 {
    text-transform: uppercase;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
}

.site-footer__contact li a {
    color: #666e64
}

.site-footer__links-inner h2 {
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
}

.site-footer__socials h2 {
    text-transform: uppercase;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

.site-footer__socials ul li {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #3f462d;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 6px rgb(0 0 0 / 25%);
    flex-shrink: 0;
    padding: 0;
    overflow: hidden;
}

@media (max-width: 1500px) {
    .site-footer__bottom .ctnr {
        padding-right: 80px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .site-footer__main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .site-footer__main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .site-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}


/* ====================================================
   Support Widget / Contact Panel
   ==================================================== */
.support-widget {
    position: fixed;
    bottom: 80px;
    right: 15px;
    z-index: 99;
}

.trigger-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #3f462d;
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(212, 167, 84, 0.4);
    transition: transform 0.2s;
}

.trigger-btn:hover {
    transform: scale(1.05);
}

.trigger-btn .icon-bvc-member img {
    /* width: 34px;
    height: 34px; */
    border-radius: 50%;
    object-fit: cover;
}

.trigger-btn .icon-close-main {
    display: none;
    width: 22px;
    height: 22px;
    fill: #fff;
}

.trigger-btn.active .icon-bvc-member {
    display: none;
}

.trigger-btn.active .icon-close-main {
    display: block;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #3f462d;
    animation: pulse-ring 2s ease-out infinite;
    pointer-events: none;
}

.pulse-ring:nth-child(2) {
    animation-delay: 0.8s;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.contact-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 340px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.06);
    padding: 20px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    z-index: 999;
}

.contact-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 14px 0;
    background: transparent;
    color: #0f172a;
}

.panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-info {
    flex: 1;
}

.panel-avatar img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: none;
}

.panel-info h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
    line-height: 1.2;
}

.panel-info span {
    font-size: 13px;
    color: #22c55e;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.online-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    display: inline-block;
    flex-shrink: 0;
}

.close-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.panel-greeting {
    padding: 0;
    font-size: 14px;
    color: #475569;
    margin: 0 0 16px 0;
    border-bottom: none;
    line-height: 1.5;
    font-weight: 400;
}

.contact-list {
    display: flex;
    flex-direction: column;
    /* gap: 10px; */
    padding: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border-radius: 14px;
    text-decoration: none !important;
    background: #edf5fd;
    border: 1px solid #d0e4ff;
    color: #0f172a !important;
    transition: all 0.2s ease;
    gap: 12px;
    margin-bottom: 10px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item:hover {
    background: #e2f0fe;
    border-color: #3b82f6;
    text-decoration: none !important;
    transform: translateY(-1px);
}

.contact-item .icon-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    overflow: hidden;
}

.contact-item .icon-wrap img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: contain;
}

.contact-text {
    flex: 1;
}

.contact-text strong {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    display: block;
    line-height: 1.25;
}

.contact-text p {
    font-size: 13px;
    color: #64748b;
    margin: 2px 0 0 0;
    line-height: 1.3;
    font-weight: 400;
}

.contact-arrow {
    margin-left: auto;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.contact-item:hover .contact-arrow {
    color: #475569;
    transform: translateX(2px);
}

.icon-bvc-member svg {
    width: 30px;
    height: 30px;
    fill: #FFF;
}

.icon-headset {
    fill: #3b82f6;
    width: 38px;
    height: 38px;
}

@media (max-width: 575px) {
    .contact-panel {
        width: 300px;

    }
}