/* Site footer - builds on the theme's .footer-one background and colour variables */

.site-footer {
    color: #cdcdcd;
    margin-top: 80px;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: var(--primary-300, #66C2E6);
}

/* Call to action */
.site-footer__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: 56px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__eyebrow {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-300, #66C2E6);
}

.site-footer__cta-title {
    margin: 0;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.2;
    color: #fff;
}

.site-footer .tmp-btn.btn-primary:hover {
    color: #fff;
}

/* Main columns */
.site-footer__main {
    padding: 64px 0 56px;
}

.site-footer__brand {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
}

.site-footer__about {
    max-width: 320px;
    margin-bottom: 24px;
    line-height: 1.7;
    color: #cdcdcd;
}

.site-footer__title {
    position: relative;
    margin-bottom: 24px;
    padding-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.site-footer__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 3px;
    border-radius: 2px;
    background: var(--primary-300, #66C2E6);
}

.site-footer__links,
.site-footer__posts,
.site-footer__contact,
.site-footer__social {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__links li {
    margin: 0 0 12px;
}

.site-footer__links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.site-footer__links a::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-300, #66C2E6);
    transition: transform 0.3s;
}

.site-footer__links a:hover::before {
    transform: scale(1.5);
}

.site-footer__posts li {
    margin: 0 0 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__posts li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.site-footer__posts a {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
}

.site-footer__posts time,
.site-footer__muted {
    font-size: 14px;
    color: #8c919b;
}

.site-footer__contact li {
    display: flex;
    gap: 12px;
    margin: 0 0 14px;
    line-height: 1.6;
    white-space: pre-line;
}

.site-footer__contact i {
    flex: 0 0 auto;
    width: 18px;
    margin-top: 4px;
    color: var(--primary-300, #66C2E6);
}

.site-footer__social {
    display: flex;
    gap: 10px;
}

.site-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    transition: background 0.3s, border-color 0.3s;
}

.site-footer__social a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* Copyright bar */
.site-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.site-footer__top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 767px) {
    .site-footer__cta {
        padding: 40px 0;
    }

    .site-footer__main {
        padding: 40px 0;
    }

    .site-footer__bottom-inner {
        justify-content: center;
        text-align: center;
    }
}
