/* ==========================================================
            Mobile Footer
        ========================================================== */

.mobile-footer {

    position: fixed;

    right: 0;

    bottom: 0;

    left: 0;

    height: 72px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: var(--header);

    border-top: 4px solid var(--primary);

    color: #fff;

    z-index: 900;

}

.footer-item {

    flex: 1;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 6px;

    text-decoration: none;

    /*color:var(--muted);*/
    color: rgba(255, 255, 255, .75);

    font-size: 12px;

    transition: .25s;

}

.footer-item i {

    font-size: 20px;

}

.footer-item:hover {

    /*color:var(--primary);*/
    color: #fff;

}

.footer-item.active {

    /*color:var(--primary);*/
    color: #fff;

}

/* ==========================================================
    Center Button
========================================================== */

.footer-center {

    flex: 0 0 auto;

    width: 68px;

    height: 68px;

    min-width: 68px;

    min-height: 68px;

    border: none;

    border-radius: 50%;

    aspect-ratio: 1/1;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--primary);

    color: #fff;

    position: relative;

    transform: translateY(-18px);

    box-shadow: 0 12px 30px rgba(0, 0, 0, .20);

    cursor: pointer;

}

.footer-center:hover {

    background: var(--primary-dark);

}

.footer-center i {

    font-size: 26px;

}

/* ==========================================================
    Overlay
========================================================== */

.contact-overlay {

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, .45);

    backdrop-filter: blur(6px);

    opacity: 0;

    visibility: hidden;

    transition: .3s;

    z-index: 998;

}

.contact-overlay.show {

    opacity: 1;

    visibility: visible;

}

/* ==========================================================
    Contact Sheet
========================================================== */

.contact-sheet {

    position: fixed;

    right: 0;

    left: 0;

    bottom: 0;

    background: var(--sheet-bg);

    color: var(--sheet-text);

    border-radius: 28px 28px 0 0;

    padding: 24px;

    transform: translateY(100%);

    transition: .35s ease;

    z-index: 999;

}

.contact-sheet.show {

    transform: translateY(0);

}

/* ==========================================================
    Handle
========================================================== */

.sheet-handle {

    width: 64px;

    height: 6px;

    margin: 0 auto 20px;

    border-radius: 20px;

    background: var(--sheet-border);

}

/* ==========================================================
    Title
========================================================== */

.contact-sheet h3 {

    margin-bottom: 24px;

    text-align: center;

    color: var(--sheet-text);

    font-size: 18px;

    font-weight: 700;

}

/* ==========================================================
    Contact Item
========================================================== */

.contact-sheet a {

    display: flex;

    align-items: center;

    gap: 16px;

    height: 60px;

    margin-bottom: 14px;

    padding: 0 18px;

    border-radius: 16px;

    text-decoration: none;

    color: var(--sheet-text);

    background: var(--sheet-item-bg);

    border: 1px solid var(--sheet-border);

    transition: .25s;

}

.contact-sheet a:hover {

    background: var(--sheet-item-hover);

    border-color: var(--primary);

}

.contact-sheet a i {

    width: 26px;

    font-size: 22px;

    text-align: center;

    color: var(--primary);

}

/* ==========================================================
    Close Button
========================================================== */

.contact-close {

    width: 100%;

    height: 56px;

    border: none;

    border-radius: 16px;

    background: var(--primary);

    color: #fff;

    font-weight: 700;

    cursor: pointer;

}

.contact-close:hover {

    background: var(--primary-dark);

}

/* ==========================================================
    Mobile
========================================================== */

@media (min-width: 768px) {

    .mobile-footer,
    .contact-sheet,
    .contact-overlay {

        display: none;

    }

}
