/*
Theme Name: Inspiro Child
Template: inspiro
*/

@font-face {
    font-family: 'd_Eurostile Bold Extended #2';
    src: url('https://driveimport.ru/fonts/d_EurostileBoldExtended2-Bold.woff2') format('woff2'),
         url('https://driveimport.ru/fonts/d_EurostileBoldExtended2-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Akzidenz-Grotesk Pro';
    src: url('https://driveimport.ru/fonts/AkzidenzGroteskPro-Regular.woff2') format('woff2'),
         url('https://driveimport.ru/fonts/AkzidenzGroteskPro-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mont';
    src: url('https://driveimport.ru/fonts/Mont-LightItalic.woff2') format('woff2'),
         url('https://driveimport.ru/fonts/Mont-LightItalic.woff') format('woff');
    font-style: italic;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Mont';
    src: url('https://driveimport.ru/fonts/Mont-Regular.woff2') format('woff2'),
         url('https://driveimport.ru/fonts/Mont-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.custom-site-footer {
    background-color: #141414;
    color: #ffffff;
    padding: 40px 20px 20px;
}

.custom-site-footer,
.custom-site-footer p,
.custom-site-footer h3,
.custom-site-footer a,
.custom-site-footer li,
.custom-site-footer span {
    color: #ffffff;
}

.custom-site-footer .footer-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.custom-site-footer .footer-section {
    flex: 1 1 200px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.custom-site-footer .footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.custom-site-footer .footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.custom-site-footer .footer-phone,
.custom-site-footer .footer-email,
.custom-site-footer .footer-hours {
    margin: 0;
    font-family: 'd_Eurostile Bold Extended #2', sans-serif;
    font-size: 18px;
    line-height: 1.25;
    color: #ffffff;
}

.custom-site-footer .footer-desc {
    margin: 0 0 22px 0;
    font-family: 'Akzidenz-Grotesk Pro', sans-serif;
    font-size: 18px;
    line-height: 1.35;
    color: #ececec;
}

.custom-site-footer .footer-icons {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.custom-site-footer .footer-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.custom-site-footer .footer-icons a img {
    height: 44px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.custom-site-footer .footer-icons a:hover img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.custom-site-footer .footer-title {
    margin: 0 0 12px 0;
    font-family: 'd_Eurostile Bold Extended #2', sans-serif;
    font-size: 26px;
    line-height: 1.1;
    color: #ffffff !important;
}

.custom-site-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.custom-site-footer .footer-links li {
    margin: 0;
    padding: 0;
    line-height: 1.35;
}

.custom-site-footer .footer-links li a {
    font-family: 'Akzidenz-Grotesk Pro', sans-serif;
    color: #ececec;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.2s ease;
}

.custom-site-footer .footer-links li a:hover {
    text-decoration: underline;
    color: #ffffff;
}

.custom-site-footer .footer-button {
    margin-top: 32px;
    padding: 20px 22px;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    background-color: #ffffff;
    color: #0a0908 !important;
    font-family: 'Mont', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.custom-site-footer .footer-button:hover {
    background-color: #c1c4c2;
    color: #0a0908 !important;
    text-decoration: none !important;
}

.custom-site-footer .footer-bottom {
    margin: 40px 0 0 0;
    text-align: center;
    font-family: 'Akzidenz-Grotesk Pro', sans-serif;
    font-size: 13px;
    line-height: 1.4;
    color: #999999;
}

.custom-site-footer .footer-bottom p {
    margin: 0 0 8px 0;
    color: #999999;
}

.custom-site-footer .footer-bottom a {
    color: #999999 !important;
    text-decoration: none;
}

.custom-site-footer .footer-bottom a:hover {
    text-decoration: underline;
}

.custom-site-footer .footer-mobile-button {
    display: none;
}

@media (max-width: 1024px) {
    .custom-site-footer .footer-container {
        gap: 30px;
    }

    .custom-site-footer .footer-title {
        font-size: 22px;
    }

    .custom-site-footer .footer-links li a {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .custom-site-footer {
        padding: 32px 15px 18px;
    }

    .custom-site-footer .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 0 10px;
    }

    .custom-site-footer .footer-section {
        align-items: center;
        text-align: center;
        min-width: auto;
        width: 100%;
    }

    .custom-site-footer .footer-logo img {
        height: 40px;
        margin-bottom: 20px;
    }

    .custom-site-footer .footer-phone,
    .custom-site-footer .footer-email,
    .custom-site-footer .footer-hours {
        font-size: 18px;
    }

    .custom-site-footer .footer-desc {
        font-size: 16px;
    }

    .custom-site-footer .footer-icons a img {
        height: 48px;
    }

    .custom-site-footer .footer-title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .custom-site-footer .footer-links {
        gap: 6px;
    }

    .custom-site-footer .footer-links li a {
        font-size: 16px;
    }

    .custom-site-footer .footer-button {
        padding: 14px 18px;
        font-size: 14px;
        margin-top: 20px;
    }

    .custom-site-footer .footer-bottom {
        font-size: 12px;
        margin-top: 30px;
    }

    .custom-site-footer .footer-section:nth-child(2),
    .custom-site-footer .footer-section:nth-child(3),
    .custom-site-footer .footer-section:nth-child(4) {
        display: none;
    }

    .custom-site-footer .footer-mobile-button {
        display: flex;
        justify-content: center;
        margin: 20px 0;
    }

    .custom-site-footer .footer-section:nth-child(4) .footer-button {
        display: none;
    }
}




/* Footer responsiveness improvements */
.custom-site-footer,
.custom-site-footer *,
.custom-site-footer *::before,
.custom-site-footer *::after {
    box-sizing: border-box;
}

.custom-site-footer {
    overflow-x: clip;
}

.custom-site-footer .footer-container {
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(160px, 1fr));
    gap: 32px 24px;
}

.custom-site-footer .footer-section {
    min-width: 0;
}

.custom-site-footer .footer-links li a,
.custom-site-footer .footer-phone,
.custom-site-footer .footer-email,
.custom-site-footer .footer-hours,
.custom-site-footer .footer-desc,
.custom-site-footer .footer-title {
    overflow-wrap: anywhere;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .custom-site-footer {
        padding: 36px 20px 20px;
    }

    .custom-site-footer .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        gap: 28px 20px;
    }

    .custom-site-footer .footer-section,
    .custom-site-footer .footer-logo {
        align-items: flex-start;
        text-align: left;
    }

    .custom-site-footer .footer-icons {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .custom-site-footer .footer-title {
        font-size: 21px;
    }

    .custom-site-footer .footer-links li a {
        font-size: 18px;
    }

    .custom-site-footer .footer-phone,
    .custom-site-footer .footer-email,
    .custom-site-footer .footer-hours,
    .custom-site-footer .footer-desc {
        font-size: 16px;
    }

    .custom-site-footer .footer-button {
        width: 100%;
        max-width: 280px;
        padding: 16px 18px;
    }
}

@media (max-width: 768px) {
    .custom-site-footer .footer-container {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        padding: 0;
    }

    .custom-site-footer .footer-icons {
        flex-wrap: wrap;
    }

    .custom-site-footer .footer-button {
        width: 100%;
        max-width: 320px;
    }
}

html,
body {
    overflow-x: hidden;
}

