.footer {
    background: #F0EDDF;
    border-radius: 20px 20px 0 0;
    position: relative;
    z-index: 1;
    color: #fff;

    .bg-footer {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;

        &:before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #6a4a1d87;
        }

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
}

.footer .footer-body {
    padding: 45px 0;
}

.footer-body {
    --gutter: 15px;
}

.col-contact ul li {
    list-style: disc;
    margin-left: 18px;
    font-size: 15px;
    margin-bottom: 5px;
}

/* Brand col */
.footer .brand-logo img {
    max-width: 110px;
    width: 100%;
}

.footer .brand-logo {
    display: block;
    margin-bottom: 5px;
    text-align: center;
}

.footer-body .social-links p {
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
}

.footer-body .social-links ul {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-body .social-links ul li {
    list-style: none;
    margin-left: 0;
}

.footer-body .social-links ul a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #b8843a;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.22s, transform 0.2s;
}

.footer-body .social-links ul a img {
    width: 15px !important;
    height: 15px;
}

.footer-body .col h2 {
    text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1.5px solid #d4ccc0ab;
}

/* Services col */
.footer-body .col-services ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-body .col-services ul li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-body .col-services ul li::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: white;
    mask-image: url("data:image/svg+xml;utf8,<svg width='64px' height='64px' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M5.5 5L11.7929 11.2929C12.1834 11.6834 12.1834 12.3166 11.7929 12.7071L5.5 19' stroke='%239a6d28' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/><path d='M13.5 5L19.7929 11.2929C20.1834 11.6834 20.1834 12.3166 19.7929 12.7071L13.5 19' stroke='%239a6d28' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    mask-repeat: no-repeat;
    mask-size: contain;
}

.footer .footer-body .col-services ul li .chevron-icon {
    width: 14px;
    height: 14px;
    stroke: #b8843a;
    fill: none;
    flex-shrink: 0;
}

.footer .footer-body .col-services ul li a {
    font-size: 15px;
    color: #fff;

    &:hover {
        color: var(--color-4);
    }
}

/* Contact col */
.footer-body .col-contact p {
    display: grid;
    grid-template-columns: 25px auto;
    gap: 5px;
    margin-bottom: 10px;
    font-size: 15px;
}

.footer-body .col-contact p img {
    width: 20px !important;
}

/* Newsletter col */
.footer-body .col-newsletter>p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-body .newsletter-form {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 100px;
    padding: 6px 6px 6px 20px;
    gap: 8px;
    border: 1.5px solid #e4ddd0;
}

.footer-body .newsletter-form input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    width: 100%;
}

.footer-body .newsletter-form button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #6a4a1d;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.22s;
}

.footer-body .newsletter-form button:hover {
    background: #9a6d28;
}

.footer-body .newsletter-form button svg {
    width: 15px;
    height: 15px;
    stroke: #fff;
    fill: none;
}

/* â”€â”€ Bottom bar â”€â”€ */
.footer-bottom {
    background: #6a4a1d;
    padding: 16px 0;
}

.footer-bottom .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-bottom .copyright {
    font-size: 15px;
    color: #FFF;
}

.footer-bottom .copyright a {
    color: #FFF;
}

.footer-bottom ul {
    display: flex;
    align-items: center;
}

.footer-bottom ul li {
    list-style: none;
    line-height: 1;
}

.footer-bottom ul li:not(:first-child) {
    padding-left: 15px;
    margin-left: 15px;
    border-left: 1px solid #FFF;
}

.footer-bottom ul li a {
    font-size: 15px;
    color: #FFF !important;
}

.footer-bottom ul li a:hover {
    color: #e4a452 !important;
}

.backtotop {
    cursor: pointer;
    background: var(--color-3);
    bottom: 10px;
    color: #FFF;
    font-size: 12px;
    font-weight: 700;
    height: 53px;
    padding: 2px;
    position: fixed;
    right: 25px;
    text-align: center;
    text-transform: uppercase;
    width: 53px;
    z-index: 3;
    border-radius: 50%;
}

.backtotop svg {
    width: 28px;
    height: 22px;
    margin-bottom: -8px;
}

.backtotop svg path {
    stroke: #fff;
}

#button-contact-vr {
    bottom: 55px;
    margin: -10px;
    transform: scale(0.8);
    margin-bottom: 0px !important;
    position: fixed;
    z-index: 3;
    right: 3px;
}

#gom-all-in-one #viber-vr {
    transition: 1.3s all;
    -moz-transition: 1.3s all;
    -webkit-transition: 1.3s all;
}

#button-contact-vr .button-contact .phone-vr {
    position: relative;
    visibility: visible;
    background-color: transparent;
    width: 80px;
    height: 80px;
    cursor: pointer;
    z-index: 11;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: visibility 0.5s;
    left: 0;
    bottom: 0;
    display: block;
}

.phone-vr-circle-fill {
    width: 70px;
    height: 70px;
    top: 6px;
    left: 6px;
    position: absolute;
    box-shadow: 0 0 0 0 #c31d1d;
    background-color: rgba(230, 8, 8, 0.7);
    border-radius: 50%;
    border: 2px solid transparent;
    -webkit-animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
    animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
    transition: all 0.5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-animuiion: zoom 1.3s infinite;
    animation: zoom 1.3s infinite;
}

#viber-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #ED1A36;
    background-color: rgba(237, 26, 54, .7);
}

.phone-vr-img-circle {
    background-color: #e60808;
    width: 60px;
    height: 60px;
    line-height: 40px;
    top: 12px;
    left: 12px;
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    animation: phone-vr-circle-fill 1s infinite ease-in-out;
}

#viber-vr .phone-vr-img-circle {
    background-color: #ED1A36;
}

.phone-vr-img-circle a {
    display: block;
    line-height: 37px;
}

.phone-vr-img-circle svg {
    fill: #ffffff;
    width: 38px;
    height: 44px;
    margin-top: 8px;
}

.phone-vr-img-circle svg path {
    stroke: #fff;
}

@-webkit-keyframes phone-vr-circle-fill {
    0% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }

    10% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }

    20% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }

    30% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }

    40% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }

    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }

    100% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }
}

@keyframes zoom {
    0% {
        transform: scale(0.9);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent;
    }

    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 transparent;
    }
}

.wrap-button-fixed {
    position: absolute;
    bottom: calc(100% + 10px);
    right: 0;
    background: #f5f6fa;
    width: 210px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 20px 40px 10px 20px;
    display: none;
}

.wrap-button-fixed.active {
    display: block;
}

.wrap-button-fixed .close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
}

.wrap-button-fixed .close svg {
    width: 20px;
    height: 20px;
}

.wrap-button-fixed .link {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.wrap-button-fixed .link img {
    width: 40px;
    height: 40px;
}

.wrap-button-fixed .link .text {
    font-size: 18px;
}

@media (max-width: 768px) {
    .footer-body {
        --gutter: 10px;

    }

    .footer .footer-body {
        padding: 5px 0 20px;
    }

    .footer-body .col {
        margin-top: 20px;
    }

    .footer-bottom .inner {
        text-align: center;
    }

    .footer-bottom .copyright {
        font-size: 14px;
    }

    #button-contact-vr {
        bottom: 45px;
    }
}


.contact-footer-m {
    position: fixed;
    width: 100%;
    z-index: 90;
    bottom: 0;
}

.contact-footer-m .inner {
    padding-bottom: 10px;
    display: flex;
    position: relative;
    padding-top: 5px;
}

.contact-footer-m .inner .item {
    position: relative;
    display: block;
    width: 25%;
    text-align: center;
    padding: 11px 0 0px 0;
}

.contact-footer-m .inner span {
    display: block;
}

.contact-footer-m .item img {
    height: 30px;
    width: 30px;
}

.contact-footer-m .item .label {
    padding: 0px 2px 0 2px;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
}

.contact-footer-m .item .icon {
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    background-image: linear-gradient(92.83deg, #da112c 0, #ed1a36 100%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: -28px;
    text-align: center;
    box-shadow: rgb(0 0 0 / 15%) 0 -3px 10px 0px;
    border: 2px solid #fff;
}

.phone-vr-circle-filll {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    box-shadow: 0 0 0 0 #ed1a36;
    border: 2px solid #FFF;
    transition: all .5s;
    animation: zoom 1.3s infinite;
}

@keyframes zoom {
    0% {}

    70% {
        box-shadow: 0 0 0 15px transparent;
    }

    100% {
        box-shadow: 0 0 0 0 transparent;
    }
}

.contact-footer-m .item .icon img {
    max-width: 25px;
    height: auto !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contact-footer-m .item .label.center {
    position: absolute;
    left: 50%;
    bottom: 2px;
    transform: translateX(-50%);
    padding: 0px 8px;
    background-image: linear-gradient(92.83deg, #da112c 0, #ed1a36 100%);
    border-radius: 30px;
    color: white;
    display: inline-block;
}

.contact-footer-m::after {
    content: "";
    position: absolute;
    pointer-events: none;
    background-image: url('../images/mb-footer-bg.svg');
    background-color: unset;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100%;
    box-shadow: unset;
    height: 76px;
    width: 100%;
    margin-left: 0;
    margin-bottom: 0;
    left: 0;
    bottom: 0;
    z-index: -1;
}

.contact-footer-m .svg-iconn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ed1936;
    color: #FFF;
    margin: 0 auto 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__logo img {
    height: 80px;
}

.footer__contact {
    padding-right: 45px;
}

@media (max-width: 992px) {
    .tag-list ul {
        grid-template-columns: repeat(5, 1fr);
    }

    .footer__newsletter-container {
        grid-template-columns: 1fr;
    }

    .footer__newsletter-container .inner {
        justify-content: left;
        margin-top: 10px;
    }

    .footer__container {
        grid-template-columns: 1fr 1fr;
    }

    .col-subscribe {
        width: 45%;
    }

    .col-links {
        width: 48%;
    }

    .col-services {
        /* width: 48%; */
    }

    .col-contact {
        width: 45%;
    }
}

@media (min-width: 768px) {
    .contact-footer-m {
        display: none;
    }
}

@media (max-width: 768px) {
    .footer-body .col ul {
        gap: 12px;
    }

    .footer-body .col h2 {
        font-size: 18px;
    }

    #button-contact-vr {
        display: none;
    }

    .footer__bottom {
        padding: 20px 0 115px;
        font-size: 13.5px;
    }

    .footer .footer-topbar {
        display: block;
    }

    .footer .footer-topbar .topbar-desc {
        margin: 15px 0;
    }
}


@media (max-width: 576px) {
    .footer-bottom {
        justify-content: center;
    }

    .col-contact {
        width: 100%;
        /* padding-right: 40px; */
    }

    .col-subscribe {
        width: 100%;
    }

    .tag-list ul {
        grid-template-columns: repeat(2, 1fr);
    }

    footer .text-content img {
        width: 250px !important;
    }

    .footer__newsletter-container .inner {
        display: block;
        text-align: center;
    }

    .footer__logo {
        text-align: center;
    }

    .footer__logo img {
        height: 65px;
    }

    .footer__newsletter-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .footer__container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* .footer__quick-links,
    .footer__services {
        grid-column: span 1;
    } */

    .footer__about,
    .footer__contact {
        grid-column: 1 / -1;
    }

    .footer__container h3 {
        font-size: 18px;
    }

    .footer::before {
        display: none;
    }

    .footer__main {
        padding: 30px 0 20px;
    }

    .footer__contact {
        padding-right: 0;
    }



    .backtotop {
        right: 25px;
        bottom: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ===== WIDGET WRAPPER ===== */
#widget {
    position: fixed;
    bottom: 80px;
    right: 24px;
    z-index: 99;
}

/* ===== POPUP PANEL ===== */
#panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 260px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: none;
    animation: slideUp 0.25s ease;
}

#panel.active {
    display: block;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Panel Header */
.panel-header {
    background: #E3B25A;
    padding: 12px 18px;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.3px;
}

/* Contact Items */
.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f3f3f3;
    transition: background 0.15s;
    text-decoration: none;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item:hover {
    background: #fafafa;
}

.contact-icon {
    display: flex;
    border-radius: 50%;
}

.contact-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    padding: 5px;
    border-radius: 50%;
}

#fab img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    position: absolute;
    transition: opacity 0.25s, transform 0.25s;
    opacity: 0;
    transform: scale(0.7);
}

.contact-text {
    flex: 1;
}

.contact-name {
    font-weight: 600;
    font-size: 14px;
    color: #222;
}

.contact-sub {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

/* ===== FLOATING BUTTON ===== */
#fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    outline: none;
    position: relative;
}

#fab:hover {
    transform: scale(1.1);
}

#fab img {
    width: 26px;
    height: 26px;
    /* fill: white; */
    position: absolute;
    transition: opacity 0.25s, transform 0.25s;
}

/* Pulse ring */
#fab::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 3px solid #E3B25A;
    opacity: 0.4;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.4;
    }

    70% {
        transform: scale(1.3);
        opacity: 0;
    }

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

/* Close X button style */
#fab.is-open::before {
    display: none;
}

#fab.is-open {
    transform: none;
}

#fab.is-open:hover {
    transform: rotate(90deg);
}

/* Backdrop */
#backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 98;
}

#backdrop.active {
    display: block;
}

@media (max-width: 575px) {
    #fab {
        width: 45px;
        height: 45px;
    }

    #widget {
        bottom: 85px;
    }
}