/* QWERTYMAIL — site footer */
.qwerty-footer {
    flex-shrink: 0;
    margin: 0;
    padding: 46px 24px 24px;
    background: #302b2b;
    color: #fff;
}

.qwerty-footer__inner {
    width: 100%;
    max-width: var(--qw-container);
    margin: 0 auto;
}

.qwerty-footer__top {
    display: grid;
    grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(0, 1fr));
    gap: 34px;
    align-items: start;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.qwerty-footer__logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
}

.qwerty-footer__logo img {
    display: block;
    width: 130px;
    height: auto;
}

.qwerty-footer__brand p {
    max-width: 410px;
    margin: 0;
    color: rgba(255,255,255,0.68);
    font-size: 14px;
    line-height: 1.65;
}

.qwerty-footer__col h4 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
}

.qwerty-footer__col ul,
.qwerty-footer__contacts {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.qwerty-footer__col a,
.qwerty-footer__bottom-links a {
    color: rgba(255,255,255,0.66);
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
    transition: color .2s ease;
}

.qwerty-footer__col a:hover,
.qwerty-footer__bottom-links a:hover {
    color: #fff;
}

.qwerty-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 20px;
}

.qwerty-footer__copy {
    color: rgba(255,255,255,0.56);
    font-size: 13px;
}

.qwerty-footer__bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 1199px) {
.qwerty-footer__top {
    grid-template-columns: 1.4fr 1fr 1fr;
}

}

@media (max-width: 991px) {
.qwerty-footer__top {
    grid-template-columns: 1fr 1fr;
}

.qwerty-footer__brand {
    grid-column: span 2;
}

}

@media (max-width: 767px) {
.qwerty-footer {
    padding: 36px 16px 22px;
}

.qwerty-footer__top {
    grid-template-columns: 1fr;
    gap: 24px;
}

.qwerty-footer__brand {
    grid-column: auto;
}

.qwerty-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
}

}

.qwerty-footer__top {
    grid-template-columns: minmax(270px, 1.45fr) repeat(4, minmax(135px, 1fr));
    gap: 30px;
}

.qwerty-footer__brand p {
    max-width: 390px;
}

.qwerty-footer__start {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 20px;
    padding: 0 16px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
}

.qwerty-footer__col a {
    display: inline-block;
}

@media (max-width: 1199px) {
.qwerty-footer__top {
    grid-template-columns: 1.4fr repeat(2, 1fr);
}

.qwerty-footer__brand {
    grid-row: span 2;
}

}

@media (max-width: 767px) {
.qwerty-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
}

.qwerty-footer__brand {
    grid-column: 1 / -1;
    grid-row: auto;
}

}

@media (max-width: 520px) {
.qwerty-footer__top {
    grid-template-columns: 1fr;
}

.qwerty-footer__brand {
    grid-column: auto;
}

}
