/* ION Heat — Footer */

.site-footer {
    background: var(--fon2);
    padding: 50px 0 0;
}

.footer__inner {
    max-width: calc(1640px + var(--section-padding-x) * 2);
    padding: 0 var(--section-padding-x);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Декоративная линия */
.footer__line {
    width: 100%;
    height: auto;
    margin-bottom: 40px;
}

/* Верхний блок: лого + колонки */
.footer__info {
    display: flex;
    flex-direction: row;
    gap: 3vw;
    align-items: flex-start;
    align-self: stretch;
}

/* Лого + копирайт */
.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
    flex-shrink: 0;
    width: 261px;
}

.footer__logo {
    width: 211px;
    height: 64px;
    display: block;
}

.footer__logo img {
    width: 100%;
    height: auto;
}

.footer__copy {
    color: var(--white);
    font-family: var(--menu-font-family);
    font-size: var(--menu-font-size);
    line-height: var(--menu-line-height);
    font-weight: var(--menu-font-weight);
}

/* Колонки навигации */
.footer__nav {
    display: flex;
    flex-direction: row;
    gap: 3vw;
    align-items: flex-start;
    flex: 1;
    justify-content: space-between;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    flex: 1;
}

.footer__col-title {
    color: var(--white);
    font-family: var(--nadzagolovok-font-family);
    font-size: var(--nadzagolovok-font-size);
    line-height: var(--nadzagolovok-line-height);
    font-weight: var(--nadzagolovok-font-weight);
    text-transform: uppercase;
    align-self: stretch;
    cursor: default;
}

.footer__col-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    align-self: stretch;
}

.footer__col-link {
    color: var(--white);
    font-family: var(--menu-font-family);
    font-size: var(--menu-font-size);
    line-height: var(--menu-line-height);
    font-weight: var(--menu-font-weight);
    text-decoration: none;
    align-self: stretch;
    transition: color 0.2s;
}

.footer__col-link:hover {
    color: var(--main);
}

/* Форма подписки */
.footer__subscribe {
    padding: 50px 0;
    display: flex;
    flex-direction: row;
    gap: 26px;
    align-items: center;
    justify-content: flex-start;
    align-self: stretch;
}

.footer__subscribe-field {
    border-bottom: 1px solid var(--white);
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    flex: 1;
}
.footer__cf7-inner{

display: flex;
flex-direction: row;
gap: 30px;
align-items: flex-start;
align-self: stretch;

}
.footer__subscribe-title {
    color: var(--white);
    font-family: "Open Sans", sans-serif;
    font-size: clamp(32px, 4vw, 64px);
    line-height: 130%;
    font-weight: 300;
}

/* CF7 — форма подписки */
.footer__cf7-wrap .wpcf7-form p {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
    margin: 0;
}

/* Поле email */
.footer__cf7-wrap .wpcf7-form-control-wrap[data-name="your-email"] {
    flex: 1;
    min-width: 200px;
    border-bottom: 1px solid var(--white);
}

.footer__cf7-wrap input[type="email"] {
    background: none;
    border: none;
    outline: none;
    color: var(--active);
    font-family: var(--menu-font-family);
    font-size: var(--menu-font-size);
    line-height: var(--menu-line-height);
    width: 100%;
    padding: 10px 0;
}

.footer__cf7-wrap input[type="email"]::placeholder {
    color: var(--active);
    opacity: 0.8;
}

/* br — скрываем */
.footer__cf7-wrap .wpcf7-form p br {
    display: none;
}

/* Чекбокс согласия */
.footer__cf7-wrap .wpcf7-form-control-wrap[data-name="acceptance-consent"] {
    flex: 1 1 100%;
    order: 3;
}

.footer__cf7-wrap .wpcf7-acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

.footer__cf7-wrap .wpcf7-acceptance input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--main);
    width: 16px;
    height: 16px;
}

.footer__cf7-wrap .wpcf7-list-item-label {
    color: var(--white);
    font-family: var(--menu-font-family);
    font-size: 14px;
    line-height: 130%;
}

.footer__cf7-wrap .wpcf7-list-item-label a {
    color: var(--main);
    transition: color 0.2s;
}

.footer__cf7-wrap .wpcf7-list-item-label a:hover {
    color: var(--accent);
}

/* Submit + spinner */
.footer__cf7-wrap input[type="submit"] {
    background: var(--main);
    border-radius: 100px;
    padding: 12px 58px;
    border: none;
    cursor: pointer;
    color: var(--white);
    font-family: var(--button-font-family);
    font-size: var(--button-font-size);
    font-weight: var(--button-font-weight);
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    order: 2;
    width: 558px;
    transition: background 0.2s;
}

.footer__cf7-wrap input[type="submit"]:hover:not(:disabled) {
    background: var(--accent);
}

.footer__cf7-wrap input[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.footer__cf7-wrap .wpcf7-spinner {
    display: none;
}

/* Ответ формы */
.footer__cf7-wrap .wpcf7-response-output {
    color: var(--main);
    font-family: var(--menu-font-family);
    font-size: 14px;
    border: none;
    padding: 8px 0 0;
    margin: 0;
}

.footer__cf7-wrap .wpcf7-not-valid-tip {
    color: #ff6b6b;
    font-size: 13px;
}

/* Адаптив */
@media (max-width: 1200px) {
    .footer__cf7-wrap .wpcf7-form p {
        flex-direction: column;
        align-items: stretch;
    }

    .footer__cf7-wrap input[type="submit"] {
        width: 100%;
        order: 2;
    }
}

@media (max-width: 860px) {

    .footer__cf7-inner {
  
        flex-direction: column;
        gap: 30px;
        align-self: stretch;
    }
}



/* Нижняя строка */
.footer__bottom {
    margin-top: 30px;
    padding: 50px 0;
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
    align-self: stretch;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer__socials {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.footer__social-link:hover {
    opacity: 0.7;
}

.footer__social-link img {
    width: 51px;
    height: 51px;
}

.footer__policies {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.footer__policy-link {
    color: var(--white);
    font-family: var(--menu-font-family);
    font-size: var(--menu-font-size);
    line-height: var(--menu-line-height);
    font-weight: var(--menu-font-weight);
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.footer__policy-link:hover {
    color: var(--main);
}

/* ── Адаптив ─────────────────────────────────────────────── */
@media (max-width: 1200px) {
    .footer__info {
        flex-direction: column;
        gap: 40px;
    }

    .footer__brand {
        width: 100%;
    }

    .footer__nav {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    /* Аккордеон колонок */
    .footer__col {
        border-bottom: 1px solid rgba(255,255,255,0.15);
        gap: 0;
    }

    .footer__col-title {
        padding: 16px 0;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .footer__col-title::after {
        content: '';
        width: 20px;
        height: 20px;
        background: url('../img/ArrowRight.svg') center / contain no-repeat;
        transition: transform 0.3s;
        flex-shrink: 0;
    }

    .footer__col.is-open .footer__col-title::after {
        transform: rotate(180deg);
    }

    .footer__col-links {
        display: none;
        padding-bottom: 16px;
    }

    .footer__col.is-open .footer__col-links {
        display: flex;
    }

    .footer__subscribe {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }


    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .footer__policies {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .footer__policies {
        flex-direction: column;
        gap: 12px;
    }
}