/* ==========================================================================
   Darkrain Unified Footer Styles
   ========================================================================== */
.footer {
    background: #000;
    color: #fff;
    width: 100%;
    position: relative;
    z-index: 10;
}
.footer a {
    color: inherit;
    text-decoration: none;
}
.footer__inner {
    color: #fff;
    padding-top: 60px;
    padding-bottom: 60px;
    display: flex;
    justify-content: space-between;
}
.footer .px-60 {
    padding-left: 60px;
    padding-right: 60px;
}
.footer-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.footer-contacts__item {
    font-size: 24px;
    line-height: 1.1;
    margin: 0;
}
.footer-contacts__item a:hover {
    opacity: 0.7;
}
.footer-contacts__social {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
.footer-contacts__social a {
    transition: opacity 300ms ease;
    display: flex;
    align-items: center;
}
.footer-contacts__social--text {
    opacity: 0.5;
    margin: 0;
}
.footer-contacts__social--text, 
.footer-contacts__social--groups a {
    font-size: 14px;
    line-height: 1;
}
.footer-contacts__social--groups {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
}
.footer-contacts__social--groups a {
    transition: opacity 300ms ease;
}
.footer-nav {
    display: flex;
    justify-content: space-between;
    gap: 180px;
}
.footer-nav__col {
    display: flex;
    flex-direction: column;
}
.footer-nav__title {
    opacity: 0.5;
    margin-bottom: 12px;
    font-size: 14px;
    background: none;
    border: none;
    color: #fff;
    padding: 0;
    text-align: left;
    cursor: default;
}
.footer-nav__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-nav__item {
    font-size: 14px;
    transition: opacity 300ms ease;
}
.footer-nav__item a:hover {
    opacity: 0.7;
}
.footer-subscribe {
    display: flex;
    flex-direction: column;
}
.footer-subscribe__text {
    opacity: .5;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.4;
}
.footer .form-subscribe {
    margin: 0;
}
.footer .form-subscribe__row {
    flex-direction: column;
    gap: 10px;
    display: flex;
}
.footer .form-subscribe label, 
.footer .form-subscribe input {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}
.footer .form-subscribe input {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 16px 20px;
    font-size: 14px;
    outline: none;
    border-radius: 0;
}
.footer .form-subscribe input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.footer .form-subscribe button,
.footer-subscribe__btn {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    font-size: 14px;
    border: 1px solid #fff;
    background: #000;
    color: #fff;
    padding: 16px 20px;
    cursor: pointer;
    transition: background 300ms ease, color 300ms ease;
    border-radius: 0;
}
.footer .form-subscribe button:hover,
.footer-subscribe__btn:hover {
    background: #fff;
    color: #000;
}
.footer .form-subscribe__caption {
    margin-top: 10px;
    font-size: 11px;
    opacity: 0.5;
    line-height: 1.4;
}
.footer .form-subscribe__caption a {
    color: #fff;
    text-decoration: underline;
    margin-left: 4px;
}
.footer-copyright {
    margin-top: 30px;
}
.footer-copyright__text {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 12px;
    margin-top: 0;
    opacity: 0.7;
}
.footer-copyright__make {
    opacity: .7;
    font-size: 10px;
    line-height: 1.5;
    text-transform: uppercase;
    margin: 0;
}
.footer-copyright__make a {
    color: inherit;
    text-decoration: none;
}

@media (hover: hover) {
    .footer-nav__list:hover li:not(:hover), 
    .footer-contacts__social:hover a:not(:hover), 
    .footer-contacts__social--groups:hover a:not(:hover) {
        opacity: .5;
    }
}

@media (min-width: 992px) {
    .footer .only-mobile {
        display: none !important;
    }
    .footer-subscribe {
        max-width: 310px;
        text-align: right;
    }
    .footer .form-subscribe label, 
    .footer .form-subscribe input {
        text-align: right;
    }
    .footer .form-subscribe__caption {
        text-align: right;
    }
}

@media (max-width: 1349px) and (min-width: 992px) {
    .footer-nav {
        gap: 90px;
    }
}

@media (max-width: 991px) {
    .footer .only-pc {
        display: none !important;
    }
    .footer .px-60 {
        padding-left: 10px;
        padding-right: 10px;
    }
    .footer__inner {
        padding-top: 40px;
        padding-bottom: 40px;
        gap: 40px;
        flex-direction: column;
    }
    .footer-contacts {
        order: 3;
        align-items: center;
        text-align: center;
    }
    .footer-contacts__item {
        font-size: 20px;
    }
    .footer-contacts__social {
        margin-bottom: 0;
    }
    .footer-contacts__social--text {
        margin-top: 30px;
        margin-bottom: 16px;
    }
    .footer-nav {
        order: 2;
        gap: 20px;
        flex-direction: column;
    }
    .footer-nav__col {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-nav__title {
        cursor: pointer;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0;
        padding: 8px 0;
    }
    .footer-nav__title span::after {
        content: url('data:image/svg+xml,%3Csvg%20width%3D%2215%22%20height%3D%229%22%20viewBox%3D%220%200%2015%209%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M14.5664%200.424096L7.49536%207.49516L0.424293%200.424094%22%20stroke%3D%22white%22%20stroke-width%3D%221.2%22%2F%3E%0A%3C%2Fsvg%3E');
        margin-left: 10px;
        transition: transform 0.3s ease;
        display: inline-block;
    }
    .footer-nav__title.is-show span::after {
        transform: rotate(-180deg);
    }
    .footer-nav__list {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        width: 100%;
        text-align: center;
    }
    .footer-nav__list.is-show,
    .footer-nav__title.is-show + .footer-nav__list {
        margin-top: 12px;
    }
    .footer-subscribe {
        order: 1;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    .footer-subscribe__text {
        text-align: center;
    }
    .footer .form-subscribe label,
    .footer .form-subscribe input {
        text-align: center;
    }
    .footer .form-subscribe__caption {
        text-align: center;
    }
    .footer-copyright {
        text-align: center;
        margin-top: 0;
        order: 4;
    }
}
