/* =================== ПОДВАЛ =================== */
.site-footer {
    background-color: #1a1a1a;
    padding: 1.8rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    border-top: 1px solid #2a2a2a;
    font-size: 0.85rem;
    color: #777;
    z-index: 100;
    letter-spacing: 0.5px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.site-footer .copyright {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.3;
}

/* Приписка "Ваш провайдер услуг..." */
.site-footer .copyright .footer-break {
    display: inline;
}

.site-footer .copyright .footer-break::before {
    content: ' — ';
}

.site-footer a {
    color: #777;
    text-decoration: none;
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.site-footer a:hover {
    color: #aaa;
}

/* =================== МОДАЛЬНОЕ ОКНО =================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    padding: 2.5rem;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-content h2 {
    color: #c49a2b;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.modal-content p {
    color: #999;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-close {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    background: #1a1a1a;
    border: none;
    color: #777;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 10;
    padding: 0.2rem 0.5rem;
}

.modal-close:hover {
    color: #fff;
}

.modal-content a {
    color: #c49a2b;
    text-decoration: none;
    border-bottom: 1px solid rgba(196, 154, 43, 0.3);
}

.modal-content a:hover {
    color: #e0c060;
    border-bottom-color: #e0c060;
}