
/* =========================================
   PRIDE AUTO - FOOTER
   ========================================= */

.paFooter {
    background: #282828;
    color: #fff;
    font-family: inherit;
}

.paFooter *,
.paFooter *::before,
.paFooter *::after {
    box-sizing: border-box;
}

.paFooter__container {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.4fr 1fr;
    gap: 38px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 55px 25px 45px;
}

.paFooter__heading {
    position: relative;
    margin: 0 0 24px;
    padding-bottom: 13px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.paFooter__heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 38px;
    height: 3px;
    border-radius: 2px;
    background: #f99820;
}

.paFooter__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.paFooter__links li {
    margin-bottom: 13px;
}

.paFooter__links a {
    display: inline-block;
    color: #c7c7c7;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    transition: color .2s ease;
}

.paFooter__links a:hover,
.paFooter__links a:focus-visible {
    color: #f99820;
}

.paFooter__socialText {
    margin: 0 0 20px;
    color: #c7c7c7;
    font-size: 14px;
    line-height: 1.7;
}

.paFooter__socialLinks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.paFooter__socialLinks a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border: 1px solid #555;
    border-radius: 9px;
    background: #353535;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease;
}

.paFooter__socialLinks a:hover {
    background: #f99820;
    border-color: #f99820;
    color: #282828;
}

/* Нижняя строка */

.paFooter__bottom {
    border-top: 1px solid #454545;
    background: #222;
}

.paFooter__bottomInner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 22px 25px;
}

.paFooter__copyright {
    color: #aaa;
    font-size: 13px;
}

.paFooter__home {
    color: #aaa;
    font-size: 13px;
    text-decoration: none;
}

.paFooter__home:hover {
    color: #f99820;
}

/* Планшеты */

@media (max-width: 900px) {
    .paFooter__container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px;
    }
}

/* Смартфоны */

@media (max-width: 600px) {
    .paFooter__container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 18px;
        padding: 35px 18px;
    }

    .paFooter__heading {
        margin-bottom: 18px;
        font-size: 15px;
    }

    .paFooter__links li {
        margin-bottom: 11px;
    }

    .paFooter__links a,
    .paFooter__socialText {
        font-size: 13px;
    }

    .paFooter__bottomInner {
        flex-direction: column;
        text-align: center;
        padding: 20px 18px;
    }
}

@media (max-width: 360px) {
    .paFooter__container {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   PRIDE AUTO - ОБРАТНЫЙ ЗВОНОК В ФУТЕРЕ
   ========================================= */

.paFooterRecall {
    padding: 0 25px 45px;
    background: #282828;
}

.paFooterRecall__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1050px;
    margin: 0 auto;
    padding: 30px 35px;
    border: 1px solid #505050;
    border-radius: 14px;
    background: #333;
}

.paFooterRecall__content {
    flex: 1;
}

.paFooterRecall__title {
    margin-bottom: 9px;
    color: #fff;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.3;
}

.paFooterRecall__description {
    max-width: 580px;
    margin: 0;
    color: #c7c7c7;
    font-size: 14px;
    line-height: 1.7;
}

.paFooterRecall__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 52px;
    padding: 14px 25px;
    border-radius: 9px;
    background: #f99820;
    color: #282828 !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none !important;
    transition: background .2s ease, transform .2s ease;
}

.paFooterRecall__button:hover {
    background: #ffad3f;
    color: #282828 !important;
    transform: translateY(-2px);
}

.paFooterRecall__button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 768px) {

    .paFooterRecall {
        padding: 0 18px 30px;
    }

    .paFooterRecall__container {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 25px 20px;
        text-align: center;
    }

    .paFooterRecall__title {
        font-size: 21px;
    }

    .paFooterRecall__description {
        font-size: 13px;
    }

    .paFooterRecall__button {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Компактные пункты меню футера */

.paFooter__links li {
    margin-bottom: 7px;
}

.paFooter__links a {
    line-height: 1.4;
}

/* Мобильная версия */

@media (max-width: 600px) {
    .paFooter__links li {
        margin-bottom: 6px;
    }
}


/* =========================================
   PRIDE AUTO - FOOTER SEO TEXT
   ========================================= */

.paFooter__seo {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 25px 28px;
    color: #aaa;
    font-size: 13px;
    line-height: 1.65;
}

.paFooter__seo p {
    margin: 0 0 8px;
}

.paFooter__seo p:last-child {
    margin-bottom: 0;
}

.paFooter__seo strong {
    color: #ddd;
    font-weight: 600;
}

/* Мобильная версия */

@media (max-width: 600px) {
    .paFooter__seo {
        padding: 0 18px 24px;
        font-size: 12px;
        line-height: 1.6;
    }
}


/* =========================================
   PRIDE AUTO - FOOTER DIVIDERS
   ========================================= */

/* Разделитель между меню и формой */

.paFooterRecall {
    position: relative;
    padding-top: 34px;
}

.paFooterRecall::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(900px, calc(100% - 50px));
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(
        90deg,
        transparent 0%,
        #555 20%,
        #f99820 50%,
        #555 80%,
        transparent 100%
    );
}

.paFooterRecall::after {
    content: "";
    position: absolute;
    top: -4px;
    left: 50%;
    width: 9px;
    height: 9px;
    background: #f99820;
    border: 2px solid #282828;
    transform: translateX(-50%) rotate(45deg);
}

/* Разделитель перед SEO-текстом */

.paFooter__seo {
    position: relative;
    padding-top: 32px;
}

.paFooter__seo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: calc(100% - 50px);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(
        90deg,
        transparent,
        #555 25%,
        #f99820 50%,
        #555 75%,
        transparent
    );
}

/* Адаптация под смартфоны */

@media (max-width: 600px) {

    .paFooterRecall {
        padding-top: 26px;
    }

    .paFooterRecall::before {
        width: calc(100% - 36px);
    }

    .paFooter__seo {
        padding-top: 26px;
    }

    .paFooter__seo::before {
        width: calc(100% - 36px);
    }
}
