
.page-footer {
    position: relative;
    margin-top: -1px;
    color: var(--white);
    background: var(--secondary-color);
}

.page-footer a {
    text-decoration: none;
}

.footer-logo {
    position: relative;
    z-index: 1;
    max-width: 169px;
    margin: 0 auto;
}

.footer-logo img {
    margin-top: -104px;
}

.logo-resideo a {
    display: block;
}

.logo-resideo img {
    width: 330px;
}

.footer-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 11px;
}

.footer-col {
    width: max-content;
    margin-bottom: 32px;
}

.footer-contact-info {
    max-width: 150px;
}

.footer-col h5 {
    margin-bottom: 20px;
    font-family: var(--secondary-font);
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
}

.footer-col ul {
    margin: 0;
    padding: 0;
}

.footer-col ul li {
    margin: 0 0 15px;
    padding: 0;
}

.footer-col ul li:before {
    display: none;
}

.footer-col ul li a,
.footer-col p a {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5em;
    color: var(--white);
}

.footer-col p {
    position: relative;
    margin-bottom: 15px;
    padding-left: 26px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5em;
    color: var(--white);
}

.footer-col p a {
    font-weight: 600;
}

.footer-col p span {
    display: inline-block;
    font-weight: 600;
}

.footer-col p i {
    position: absolute;
    top: 3px;
    left: 0;
    font-size: 18px;
    font-weight: normal;
    line-height: 1em;
}

.footer-licenses-info p {
    padding-left: 0;
}

.footer-col ul li:last-child,
.footer-col p:last-child {
    margin-bottom: 0;
}

.footer-social-media ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.footer-social-media ul li {
    margin: 0;
    padding: 0;
}

.footer-social-media ul li:before {
    display: none;
}

.footer-social-media ul li a {
    font-size: 35px;
    color: var(--white);
    text-decoration: none;
}

.footer-sub-col {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 10px 0 42px 0;
}

.back-to-top .btn-primary {
    padding: 12px 43px 13px 17px;
}

.back-to-top .btn-primary::after {
    right: 18px;
    font-size: 16px;
    transform: translate(0, -50%) rotate(-90deg);
    content: '\e90a';
}

.footer-bottom {
    padding-bottom: 42px;
}

.footer-secondary-menu {
    margin-top: 44px;
}

.footer-secondary-menu ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 45px;
    margin: 0;
    padding: 0;
    text-align: center;
}

.footer-secondary-menu ul li {
    margin: 0;
    padding: 0;
}

.footer-secondary-menu ul li:before {
    display: none;
}

.footer-secondary-menu ul li a {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5em;
    color: var(--white);
}

a.footer-address-link {
    font-weight: normal !important;
}

/*
 * Footer column paragraph links: global.css removes touch ::before inside prose (p a);
 * re-apply same hit area here with higher specificity so footer legal/contact lines keep 44×44.
 */
.page-footer .footer-col p a[href]:not(.sr-only):not(.btn):not(.icons-button):not(.job-card) {
	position: relative;
	z-index: 0;
}

.page-footer .footer-col p a[href]:not(.sr-only):not(.btn):not(.icons-button):not(.job-card)::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: var(--touch-target-min);
	height: var(--touch-target-min);
	min-width: var(--touch-target-min);
	min-height: var(--touch-target-min);
	transform: translate(-50%, -50%);
	box-sizing: border-box;
}


@media (min-width: 768px) {
    .page-footer {
        margin-top: -1px;
    }

    .footer-logo {
        max-width: 158px;
    }

    .footer-logo img {
        margin-top: -96px;
    }

    .footer-flex {
        margin-top: 14px;
    }

    .footer-col {
        width: 150px;
        margin-bottom: 25px;
    }

    .footer-contact-info {
        width: 239px;
        max-width: 100%;
    }

    .footer-licenses-info {
        width: 217px;
    }

    .footer-col h5 {
        font-size: 20px;
    }

    .footer-col ul li a,
    .footer-col p a {
        font-size: 16px;
    }

    .footer-col p {
        font-size: 16px;
    }

    .logo-resideo img {
        width: 257px;
    }

    .footer-sub-col {
        width: 342px;
        margin: 0;
    }

    .back-to-top .btn-primary {
        padding: 14px 48px 14px 20px;
    }

    .back-to-top .btn-primary::after {
        right: 18px;
    }

    .footer-secondary-menu ul {
        gap: 16px 58px;
    }

    .footer-secondary-menu ul li a {
        font-size: 16px;
    }
}


@media (min-width: 1200px) {
    .page-footer {
        margin-top: -1px;
    }

    .footer-logo {
        max-width: 169px;
        margin: 0 auto 68px;
    }

    .footer-logo img {
        margin-top: -86px;
    }

    .footer-flex {
        margin-top: 0;
    }

    .footer-col {
        margin-bottom: 45px;
    }

    .footer-col h5 {
        font-size: 24px;
    }

    .footer-col ul li a,
    .footer-col p a,
    .footer-col p,
    .footer-secondary-menu ul li a {
        font-size: 18px;
    }

    .footer-contact-info {
        width: auto;
        max-width: 239px;
    }

    .footer-licenses-info {
        width: 32%;
        max-width: 335px;
    }

    .footer-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 42px;
    }

    .footer-secondary-menu {
        margin-top: 0;
    }

    .footer-secondary-menu ul {
        gap: 15px 87px;
    }

    .back-to-top .btn-primary {
        padding: 17px 55px 17px 25px;
    }

    .back-to-top .btn-primary::after {
        right: 26px;
        font-size: 14px;
    }

    .footer-social-media ul li a:hover,
    .footer-col ul li a:hover,
    .footer-col p a:hover,
    .footer-secondary-menu ul li a:hover {
        color: var(--primary-color);
    }
}
