/* Подвал — полоса во всю ширину экрана: подложка, верхняя линия и скругление
   лежат на самом footer, а содержимое держится в общей колонке контента. */
footer {
    padding: 0 var(--gutter);
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        var(--bg-0);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--card-brd);
    border-radius: 20px 20px 0 0;
    /* подвал заходит на «Контакты» на высоту скругления: в уголках виден
       фон секции над ним, а не тёмный фон страницы (были чёрные треугольники) */
    position: relative;
    z-index: 1;
    margin-top: -20px;
}

/* та же раскладка, что и была (адрес и копирайт слева, круг и номер справа),
   только всё примерно вдвое мельче */
.footer-conteiner {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 24px;
    max-width: var(--maxw);
    margin: auto;
    padding: 28px 0;
}
.footer-conteiner > div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}
.footer-text {
    color: var(--text);
    font-size: clamp(14px, 1.1vw, 16px);
    line-height: 1.4;
    font-style: normal;
}
.footer-rules {
    color: var(--text-mute);
    font-size: clamp(12px, 0.95vw, 14px);
    line-height: 1.4;
}
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}
.circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent-grad);
    box-shadow: 0 0 22px var(--glow);
    cursor: pointer;
    /* при наведении чуть увеличивается и ярче светится; форма всегда круглая */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.circle:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(30, 94, 255, 0.5);
}
.circle:active {
    transform: scale(0.96);
}
.circle img {
    width: 22px;
    filter: brightness(0) invert(1);
}
.number {
    font-size: clamp(20px, 1.8vw, 28px);
    font-weight: bold;
    line-height: 1.1;
    white-space: nowrap;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    footer {
        border-radius: 15px 15px 0 0;
        margin-top: -15px;
    }
    .footer-conteiner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
        padding: 24px 0;
    }
    .footer-conteiner > div:first-child {
        gap: 6px;
    }
    .footer-right {
        flex-direction: row;
        align-items: center;
    }
    .circle {
        width: 40px;
        height: 40px;
    }
    .circle img {
        width: 17px;
    }
}
