/* =========================================================
   FAMILY DENTAL CLINIC
   PREMIUM FOOTER
========================================================= */


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    position: relative;

    margin-top: 70px;

    color: #dceff5;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(8, 167, 178, 0.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(8, 117, 185, 0.14),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #062b41 0%,
            #083b55 50%,
            #062c43 100%
        );

    overflow: hidden;
}


/* subtle top line */

.site-footer::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            #0875b9,
            #08a7b2,
            #49c6c8
        );
}


/* =========================================================
   FOOTER MAIN
========================================================= */

.footer-main {
    padding: 70px 0 55px;
}


.footer-grid {
    display: grid;

    grid-template-columns:
        1.45fr
        0.8fr
        1fr
        1.35fr;

    gap: 42px;
}


/* =========================================================
   BRAND
========================================================= */

.footer-brand {
    padding-right: 20px;
}


.footer-logo-link {
    display: inline-flex;

    align-items: center;

    gap: 13px;

    color: #ffffff;

    text-decoration: none;
}


.footer-logo-wrap {
    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            #effcff,
            #e8fbf8
        );

    border:
        1px solid rgba(255, 255, 255, 0.25);

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.16);
}


.footer-logo {
    width: 47px;
    height: 47px;

    object-fit: contain;
}


.footer-brand-text {
    display: flex;

    flex-direction: column;

    line-height: 1.1;
}


.footer-brand-text strong {
    color: #ffffff;

    font-size: 1.12rem;

    font-weight: 800;

    letter-spacing: -0.02em;

    white-space: nowrap;
}


.footer-brand-text small {
    margin-top: 6px;

    color: #6ed2d3;

    font-size: 0.66rem;

    font-weight: 700;

    letter-spacing: 0.025em;

    white-space: nowrap;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.footer-description {
    max-width: 360px;

    margin:
        22px 0 24px;

    color: #a9c8d2;

    font-size: 0.88rem;

    line-height: 1.75;
}


/* =========================================================
   FOOTER ACTIONS
========================================================= */

.footer-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}


.footer-action {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    min-height: 40px;

    padding:
        8px 13px;

    border:
        1px solid rgba(255, 255, 255, 0.12);

    border-radius: 10px;

    color: #dff8fa;

    background:
        rgba(255, 255, 255, 0.055);

    text-decoration: none;

    font-size: 0.78rem;

    font-weight: 700;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.footer-action:hover {
    color: #ffffff;

    background:
        rgba(8, 167, 178, 0.16);

    border-color:
        rgba(72, 203, 207, 0.35);

    transform:
        translateY(-2px);
}


.footer-action-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    border-radius: 50%;

    color: #75d9da;

    background:
        rgba(8, 167, 178, 0.12);

    font-size: 12px;
}


/* =========================================================
   FOOTER COLUMNS
========================================================= */

.footer-column h3 {
    margin:
        3px 0 9px;

    color: #ffffff;

    font-size: 0.95rem;

    font-weight: 800;
}


/* =========================================================
   HEADING LINE
========================================================= */

.footer-heading-line {
    width: 38px;
    height: 2px;

    margin-bottom: 17px;

    border-radius: 5px;

    background:
        linear-gradient(
            90deg,
            #08a7b2,
            #65d5d5
        );
}


/* =========================================================
   FOOTER LINKS
========================================================= */

.footer-links {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.footer-links a {
    display: flex;

    align-items: center;

    gap: 8px;

    width: fit-content;

    padding:
        5px 0;

    color: #a9c8d2;

    text-decoration: none;

    font-size: 0.78rem;

    line-height: 1.4;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.footer-links a span {
    color: #42c5c7;

    font-size: 13px;

    transition:
        transform 0.2s ease;
}


.footer-links a:hover {
    color: #ffffff;

    transform:
        translateX(3px);
}


.footer-links a:hover span {
    transform:
        translateX(2px);
}


/* =========================================================
   CONTACT
========================================================= */

.footer-contact-item {
    display: flex;

    align-items: flex-start;

    gap: 12px;

    margin-bottom: 18px;
}


.footer-contact-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    flex-shrink: 0;

    border-radius: 10px;

    color: #6bd5d6;

    background:
        rgba(8, 167, 178, 0.12);

    font-size: 15px;
}


.footer-contact-item strong {
    display: block;

    margin-bottom: 5px;

    color: #ffffff;

    font-size: 0.76rem;

    font-weight: 800;
}


.footer-contact-item p {
    margin: 0;

    color: #a9c8d2;

    font-size: 0.75rem;

    line-height: 1.65;
}


.footer-contact-item a {
    color: #a9c8d2;

    text-decoration: none;

    font-size: 0.78rem;

    font-weight: 600;

    transition:
        color 0.2s ease;
}


.footer-contact-item a:hover {
    color: #6bd5d6;
}


/* =========================================================
   APPOINTMENT BUTTON
========================================================= */

.footer-appointment {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    width: 100%;

    margin-top: 20px;

    padding:
        12px 14px;

    border:
        1px solid rgba(94, 214, 216, 0.25);

    border-radius: 11px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            rgba(8, 117, 185, 0.35),
            rgba(8, 167, 178, 0.25)
        );

    text-decoration: none;

    font-size: 0.78rem;

    font-weight: 800;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


.footer-appointment strong {
    color: #70d8d9;

    font-size: 16px;
}


.footer-appointment:hover {
    color: #ffffff;

    transform:
        translateY(-2px);

    background:
        linear-gradient(
            135deg,
            rgba(8, 117, 185, 0.50),
            rgba(8, 167, 178, 0.40)
        );

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    border-top:
        1px solid rgba(255, 255, 255, 0.09);
}


.footer-bottom-inner {
    min-height: 58px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


.footer-bottom p {
    margin: 0;

    color: #779aa7;

    font-size: 0.7rem;

    line-height: 1.5;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .footer-grid {
        grid-template-columns:
            1.3fr
            0.8fr
            1fr;

        gap: 35px;
    }

    .footer-brand {
        grid-column: span 3;
        padding-right: 0;
    }

    .footer-description {
        max-width: 600px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .site-footer {
        margin-top: 50px;
    }


    .footer-main {
        padding:
            50px 0 35px;
    }


    .footer-grid {
        grid-template-columns: 1fr;

        gap: 32px;
    }


    .footer-brand {
        grid-column: auto;
    }


    .footer-description {
        max-width: none;

        margin-top: 18px;
    }


    .footer-column h3 {
        font-size: 0.92rem;
    }


    .footer-links a {
        font-size: 0.79rem;
    }


    .footer-bottom-inner {
        min-height: auto;

        padding:
            15px 0;

        flex-direction: column;

        align-items: flex-start;

        gap: 5px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .footer-logo-wrap {
        width: 50px;
        height: 50px;

        border-radius: 14px;
    }


    .footer-logo {
        width: 40px;
        height: 40px;
    }


    .footer-brand-text strong {
        font-size: 1rem;
    }


    .footer-brand-text small {
        font-size: 0.58rem;
    }


    .footer-description {
        font-size: 0.82rem;
    }


    .footer-actions {
        width: 100%;
    }


    .footer-action {
        flex: 1;

        justify-content: center;
    }

}

/* =========================================
   FAMILY DENTAL CLINIC
   UNIQUE ROUND STICKY CONTACT
========================================= */

.fdc-sticky-contact {
    position: fixed;

    right: 22px;
    bottom: 25px;

    z-index: 99999;

    display: flex;
    flex-direction: column;

    gap: 14px;
}


/* -----------------------------------------
   ROUND BUTTON
----------------------------------------- */

.fdc-contact {
    position: relative;

    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    text-decoration: none;

    box-sizing: border-box;

    box-shadow:
        0 10px 28px rgba(0, 0, 0, .18);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


/* -----------------------------------------
   ICON
----------------------------------------- */

.fdc-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,.20);

    color: #ffffff;
}

.fdc-icon svg {
    width: 25px;
    height: 25px;

    display: block;
}


/* -----------------------------------------
   LABEL
----------------------------------------- */

.fdc-label {
    position: absolute;

    right: 72px;

    top: 50%;

    transform:
        translateY(-50%)
        translateX(8px);

    padding: 9px 14px;

    border-radius: 10px;

    background: #ffffff;

    color: #173d50;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;

    opacity: 0;
    visibility: hidden;

    box-shadow:
        0 8px 25px rgba(0,0,0,.13);

    transition:
        opacity .2s ease,
        visibility .2s ease,
        transform .2s ease;

    pointer-events: none;
}


/* -----------------------------------------
   CALL
----------------------------------------- */

.fdc-call {
    background: linear-gradient(
        145deg,
        #159bd8,
        #0875b9
    );

    color: #ffffff;
}


/* -----------------------------------------
   WHATSAPP
----------------------------------------- */

.fdc-whatsapp {
    background: linear-gradient(
        145deg,
        #39e879,
        #16c965
    );

    color: #ffffff;
}


/* -----------------------------------------
   HOVER
----------------------------------------- */

.fdc-contact:hover {
    transform: scale(1.10);

    box-shadow:
        0 14px 35px rgba(0,0,0,.22);
}

.fdc-contact:hover .fdc-label {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(-50%)
        translateX(0);
}

.fdc-contact:hover .fdc-icon {
    transform: scale(1.08);
}


/* -----------------------------------------
   MOBILE
----------------------------------------- */

@media (max-width: 767px) {

    .fdc-sticky-contact {

        right: 15px;
        bottom: 85px;

        gap: 12px;
    }

    .fdc-contact {

        width: 58px;
        height: 58px;
    }

    .fdc-icon {

        width: 42px;
        height: 42px;
    }

    .fdc-icon svg {

        width: 22px;
        height: 22px;
    }

    .fdc-label {

        display: none;
    }
}

/* =========================================
   HIDE STICKY CONTACT BUTTONS ON MOBILE
=========================================

@media (max-width: 767px) {
    .fdc-sticky-contact {
        display: none !important;
    }
}
 =========================================
   HIDE STICKY CONTACT BUTTONS ON MOBILE
========================================= */