.footer-wrapper {
    background: #18383C;
    width: 100%;
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    background: #E8E6D4;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-card {
    width: 100%;
    background: #E8E6D4;
    border-radius: 8px;
}

.footer-main-content {
    display: flex;
    padding: 50px 0;
    border-radius: 8px;
    gap: 40px;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.footer-columns-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.footer-column {
    width: 290px;
    /* height: 353px; */
    display: flex;
    flex-direction: column;
}

.footer-column:nth-child(1) {
    justify-content: space-between;
}

.footer-column:nth-child(1) .footer-nav-section, .footer-column:nth-child(1) .footer-license {
    margin: 0;
}

.footer-column:nth-child(2) {
    gap: 30px;
}

.footer-column:nth-child(3) {
    justify-content: space-between;
}

.footer-column:nth-child(3) .footer-services-section {
    flex: 1;
}

.footer-column:nth-child(4) {
    justify-content: flex-start;
}
.footer-logo__container i{
    color: var(--color-text);
    font-style: normal;
    text-align: left;
    display: block;
    text-transform: uppercase;
    margin: auto;
    font-size: 10px;
}
.footer-logo {
    width: 149px;
    height: 32px;
}

.footer-nav-section, .footer-address-section, .footer-services-section, .footer-docs-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-section-title {
    color: #76824A;
    font-family: Inter, sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
}

.footer-nav-links, .footer-services-links, .footer-docs-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-link {
    color: #18383C;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.3;
    text-decoration: none;
    transition: color 0.3s ease;
}


.footer-addresses {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-address {
    color: #18383C;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.footer-license {
    color: #18383C;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.whatsapp-button {
    display: flex;
    padding: 14px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 50px;
    background: #76824A;
    border: 2px solid #76824A;
    color: #FFF;
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 198px;
    height: 46px;
    box-sizing: border-box;
}

.whatsapp-button:hover {
    background: #FFF;
    color: #76824A;
}

.whatsapp-button svg {
    width: 18px;
    height: 18px;
    transition: all 0.3s ease;
}

.whatsapp-button:hover svg path {
    fill: #76824A;
}
.footer-schedule{
    color: var(--color-text);
    font-size: 14px;
    display: flex;
    align-items: center;
    margin-top: 10px;
    gap: 10px;
}
.appointment-button {
    display: flex;
    padding: 14px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 50px;
    background: #BF4D34;
    border: 2px solid #BF4D34;
    color: #FFF;
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 199px;
    height: 46px;
    box-sizing: border-box;
}

.appointment-button:hover {
    background: #FFF;
    color: #BF4D34;
}

.appointment-button svg {
    width: 18px;
    height: 18px;
    transition: all 0.3s ease;
}

.appointment-button:hover svg path {
    fill: #BF4D34;
}

.footer-bottom-section {
    display: flex;
    padding-top: 40px;
    border-top: 1px solid rgba(24, 56, 60, 0.20);
    justify-content: space-between;
    width: 100%;
}

.footer-social-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-section-title {
    color: #18383C;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    --bg-color: #039BE5;
    --icon-color: #ffffff;
    display: inline-flex;
    transition: all 0.3s ease;
    opacity: 1;
}

.social-icon:hover {
    opacity: 0.8;
}

.social-icon svg {
    width: 36px;
    height: 36px;
}

.social-icon svg rect {
    fill: var(--bg-color);
    transition: fill 0.3s ease;
}

.social-icon svg path {
    fill: var(--icon-color);
    transition: fill 0.3s ease;
}

.social-icon:hover svg rect {
    fill: var(--icon-color);
}

.social-icon:hover svg path {
    fill: var(--bg-color);
}

.footer-apps-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.apps-section-title {
    color: #18383C;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.app-buttons {
    display: flex;
    gap: 9px;
}

.app-button {
    display: block;
}

.app-icon {
    width: 110px;
    height: 37px;
    border-radius: 5px;
    transition: opacity 0.3s ease;
}

.app-button:hover .app-icon {
    opacity: 0.8;
}

.footer-subscribe-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.subscribe-section-title {
    color: #18383C;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.subscribe-form {
    display: flex;
    gap: 10px;
    position: relative;
}
.subscribe-form .error-message{
    position: absolute;
    left: 4px;
    bottom: -16px;
    
}
.subscribe-input {
    padding: 10px 20px;
    background: white;
    border-radius: 30px;
    outline: 1px solid #18383C;
    border: none;
    color: rgba(24, 56, 60, 0.70);
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 400;
    width: 170px;
    height: 37px;
}

/* Цвет плейсхолдера для поля подписки */
.subscribe-input::placeholder{color: #39484A;opacity: .5;}
.subscribe-input::-webkit-input-placeholder{color: #39484A;opacity: .5;}
.subscribe-input::-moz-placeholder{color: #39484A;opacity: .5;}
.subscribe-input:-ms-input-placeholder{color: #39484A;opacity: .5;}
.subscribe-input::-ms-input-placeholder {
    color: #39484A;
    opacity: .5;
}

/* Повышенная специфичность, чтобы перекрыть глобальные стили форм */
.footer .subscribe-input::placeholder,
.footer .subscribe-input::-webkit-input-placeholder,
.footer .subscribe-input::-moz-placeholder,
.footer .subscribe-input:-ms-input-placeholder,
.footer .subscribe-input::-ms-input-placeholder {
    color: #39484A !important;
    opacity: 1 !important;
}

.subscribe-button {
    padding: 10px 30px;
    background: #BF4D34;
    border-radius: 30px;
    border: none;
    color: #E8E6D4;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.subscribe-button:hover {
    background: #a03d27;
}
.bottom-text b,
.bottom-text strong{
    font-weight: 900;
}
.footer-bottom-text {
    color: #E8E6D4;
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    max-width: 1150px;
    margin: 0 auto 20px;
}
@media screen and (max-width: 1023px){
    .footer-columns-container{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .footer-column{
        width: 100%;
        height: auto;
        margin-bottom: 40px;
    }
    .footer .appointment-button,
    .footer .whatsapp-button{
        position: absolute;
        left: 0;
        top: 110px;
    }
    .footer .whatsapp-button{
        top: 160px;
    }
    .footer-column:first-of-type .footer-nav-section{
        padding-top: 140px;
    }
    .footer-bottom-section{
        flex-direction: column;
        gap: 30px;
    }
    .footer-license{
        display: none;
    }
    .footer-main-content{
        gap: 0;
    }
}
@media screen and (max-width: 460px){
    .footer .subscribe-form{
        flex-direction: column;
    }
    .footer .subscribe-form input{
        width: 100%;
    }
    .footer .app-buttons{
        flex-wrap: wrap;
    }
}