/* Stomadent Vital footer — Joomla replica v005 */

.site-footer {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 28px 0 0;
    background: #ed2d4e;
    color: #ffffff;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
    box-sizing: border-box;
}

.site-footer__tooth{
    position:absolute;
    left:20px;
    bottom:20px;

    width:100%;
    height:100%;
    top: 0;
    background:url("../img/footer-bg.png") no-repeat left bottom;
    background-size:contain;
    display: block;
    opacity: 1;
    pointer-events:none;
}

.site-footer__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px;
    align-items: start;
}

.site-footer__column {
    min-width: 0;
}

.site-footer h2 {
    margin: 0 0 15px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.site-footer p,
.site-footer a,
.site-footer span {
    font-size: 13px;
}

.site-footer p {
    margin: 0;
    color: rgba(255,255,255,.96);
    line-height: 1.7;
}

.site-footer__logo {
    display: inline-block;
    margin-top: 19px;
}

.site-footer__logo img {
    display: block;
    width: 225px;
    max-width: 100%;
    height: auto;
}

.site-footer__socials {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.site-footer__socials a {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255,255,255,.88);
    border-radius: 50%;
    color: #ffffff;
    font-size: 13px;
    text-decoration: none;
    transition: .2s ease;
}

.site-footer__socials a:hover,
.site-footer__socials a:focus-visible {
    background: #ffffff;
    color: #ed2d4e;
}

.site-footer__links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__links li + li {
    margin-top: 10px;
}

.site-footer__links a {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    line-height: 1.5;
    text-decoration: none;
    transition: .2s ease;
}

.site-footer__links a::before {
    content: "›";
    margin-right: 8px;
    font-size: 17px;
    line-height: 1;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
    transform: translateX(3px);
    text-decoration: underline;
}

.site-footer__contact address {
    margin: 0;
    font-style: normal;
}

.site-footer__contact address > a,
.site-footer__phones a {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: #ffffff;
    line-height: 1.55;
    text-decoration: none;
}

.site-footer__contact address > a + a,
.site-footer__contact address > a + .site-footer__phones,
.site-footer__phones + a {
    margin-top: 12px;
}

.site-footer__phones {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.site-footer__contact i {
    flex: 0 0 auto;
    margin-top: 3px;
    font-size: 12px;
}

.site-footer__contact a:hover,
.site-footer__contact a:focus-visible {
    text-decoration: underline;
}

.site-footer__bottom {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin-top: 22px;
    padding: 13px 0 15px;
    text-align: center;
}

.site-footer__bottom p {
    font-size: 12px;
    line-height: 1.45;
}

.site-footer__bottom a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
}

.site-footer__bottom a:hover,
.site-footer__bottom a:focus-visible {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .site-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 46px;
    }

    .site-footer__about {
        grid-column: 1 / -1;
        max-width: 720px;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding-top: 34px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .site-footer__about {
        grid-column: auto;
    }

    .site-footer__logo img {
        width: 205px;
    }

    .site-footer__tooth {
        left: -42px;
        bottom: 50px;
        width: 165px;
        height: 165px;
    }

    .site-footer__bottom {
        flex-direction: column;
        margin-top: 28px;
    }
}
