.footer-section {
    width: 100%;
    background-color: #F6F8FA;
    padding: 40px 0 20px;
    position: relative;
    overflow: visible;
}

.footer-section__container {
    max-width: 1866px;
    margin: 0 auto;
    padding: 0 285px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    position: relative;
}

/* Верхняя часть футера */
.footer-section__top {
    margin-bottom:60px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    z-index: 2;
}

.footer-section__logo-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-section__logo {
    width: auto;
    height: auto;
}

.footer-section__logo-img {
    width: auto;
    height: auto;
    max-width: 200px;
    object-fit: contain;
}

.footer-section__slogan {
    font-family: 'Rubik', Arial, sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.3em;
    color: #353535;
    margin: 0;
}

.footer-section__services {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4em;
    color: #696464;
    margin: 0;
}

/* CTA баннер - абсолютно позиционирован, растянут до правого края */
.footer-section__cta-banner {
    position: absolute;
    top: -210px;
    left: calc(23% + 285px);
    right: 0;
    background-image: url('/wp-content/themes/oknov/images/footer-worker1.png');
    background-repeat: no-repeat;
    border-radius: 14px 0 0 14px;
    padding: 120px 0 40px 40px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
}

.footer-section__cta-content {
    flex: 1;

    display: flex;
    flex-direction: column;
    gap: 9px;
    position: relative;
    z-index: 2;
}

.footer-section__cta-title {
    font-family: 'Rubik', Arial, sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.3em;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0;
}

.footer-section__cta-subtitle {
    font-family: 'Rubik', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3em;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0;
}

.footer-section__cta-form {
    margin-top:23px;
    margin-bottom:10px;
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: stretch;
    max-width:485px;
}

.footer-section__cta-input {
    flex: 1;
    padding: 8px 20px;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4em;
    color: #353535;
    background-color: #FFFFFF;
    outline: none;
    transition: box-shadow 0.3s ease;
}

.footer-section__cta-input::placeholder {
    color: #696464;
}

.footer-section__cta-input:focus {
    box-shadow: 0 0 0 2px rgba(237, 30, 121, 0.3);
}

.footer-section__cta-button {
    padding: 8px 32px;
    background-color: #ED1E79;
    border: none;
    border-radius: 8px;
    font-family: 'Rubik', Arial, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2em;
    text-transform: uppercase;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.footer-section__cta-button:hover {
    filter: brightness(0.95);
}

.footer-section__cta-button:active {
    transform: translateY(0);
}


/* Нижняя часть футера */
.footer-section__bottom {
    display: flex;
    gap: 60px;
    padding-top: 40px;
    position: relative;
    z-index: 2;
}

.footer-section__nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-section__nav-title {
    font-family: 'Rubik', Arial, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 18px;
    text-transform: uppercase;
    color: #353535;
    margin: 0;
    cursor: pointer;
    transition: color 0.3s ease;
    
}
a.footer-section__nav-link{
    text-decoration: none;
}

.footer-section__nav-title:hover {
    color: #ED1E79;
}

.footer-section__contacts {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-section__contacts-title {
font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4em;
    text-transform: uppercase;
    color: #000000;
    margin: 0;
}

.footer-section__phone {
    font-family: 'Rubik', Arial, sans-serif;
    font-weight: 500;
    font-size: 28px;
    line-height: 1.3em;
    color: #353535;
    text-decoration: none;
    transition: color 0.3s ease;
     letter-spacing: -0.02em;
}

.footer-section__phone:hover {
    color: #ED1E79;
}

.footer-section__address {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-section__address-title {
font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4em;
    text-transform: uppercase;
    color: #000000;
    margin: 0;
}

.footer-section__address-text {
    font-family: 'Rubik', Arial, sans-serif;
    font-weight: 500;
    font-size: 28px;
    line-height: 19.5px;
    color: #353535;
    margin: 0;
}

.footer-section__hours {
    font-family: 'Rubik', Arial, sans-serif;
    font-weight: 300;
    font-size: 13px;
    line-height: 19.5px;
    color: #353535;
    margin: 0;
}

/* Копирайт */
.footer-section__copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 2;
        border-top: 1px solid #FFFFFF;
}

.footer-section__copyright-text {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4em;
    color: #000000;
    margin: 0;
}

.footer-section__privacy-link {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section__privacy-link:hover {
    color: #C91A6A;
    text-decoration: underline;
}

.footer-section__developer-text {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4em;
    color: #000000;
    margin: 0;
}

/* Адаптивность */
@media (max-width: 1440px) {
    .footer-section__container {
        padding: 0 120px;
    }
    
    .footer-section__cta-banner {
    left: calc(23% + 140px);
    }
}

@media (max-width: 1024px) {
    .footer-section {
        padding: 40px 0 20px;
    }
    
    .footer-section__container {
        padding: 0 60px;
        gap: 30px;
    }
    
    .footer-section__cta-banner {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        border-radius: 14px;
        padding: 40px;
        margin: 30px 0;
    }
    
    .footer-section__cta-content {
        padding-left: 0;
        max-width: 100%;
    }
    
    .footer-section__cta-banner {
        flex-direction: column;
    }
    
    .footer-section__bottom {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 0;
    }
    
    .footer-section__copyright {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .footer-section {
        padding: 30px 0 20px;
    }
    
    .footer-section__container {
        padding: 0 20px;
        gap: 24px;
    }
    
    .footer-section__cta-banner {
        padding: 30px 20px;
    }
    
    .footer-section__cta-title {
        font-size: 22px;
    }
    
    .footer-section__cta-subtitle {
        font-size: 16px;
    }
    
    .footer-section__cta-form {
        flex-direction: column;
    }
    
    .footer-section__slogan {
        font-size: 18px;
    }
    
    .footer-section__services {
        font-size: 14px;
    }
    
    .footer-section__nav-title,
    .footer-section__contacts-title,
    .footer-section__address-title {
        font-size: 24px;
    }
    
    .footer-section__phone {
        font-size: 20px;
    }
    
    .footer-section__address-text,
    .footer-section__hours {
        font-size: 14px;
    }
    
    .footer-section__copyright-text,
    .footer-section__developer-text {
        font-size: 12px;
    }
}
