*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #b91c1c;
    color: #000000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.container {
    max-width: 800px;
    width: 100%;
    text-align: center;
    background-color: #ffffff;
    padding: 40px 30px;
    border: 4px solid #000000;
    box-shadow: 10px 10px 0px 0px #000000;
}
h1 {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: #000000;
    margin-bottom: 5px;
    text-transform: uppercase;
}
.address {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
}
.description {
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 40px;
    line-height: 1.5;
}
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}
@media (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 400px) {
    .grid {
        grid-template-columns: 1fr;
    }
}
.btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #eeeeee;
    color: #000000;
    text-decoration: none;
    padding: 20px;
    font-family: 'Arial Black', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    text-transform: uppercase;
    border: 4px solid #000000;
    box-shadow: 5px 5px 0px 0px #000000;
    transition: transform 0.1s, box-shadow 0.1s, background-color 0.2s;
}
.btn:hover {
    background-color: #dddddd;
}
.btn:active {
    transform: translate(5px, 5px);
    box-shadow: 0px 0px 0px 0px #000000;
}
.btn span {
    font-size: 0.9rem;
    font-weight: 900;
    color: #be1e2d;
    margin-top: 5px;
    text-transform: uppercase;
}
.footer {
    border-top: 4px solid #000000;
    padding-top: 25px;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.6;
}
.footer-title {
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.footer a {
    color: #000000;
    text-decoration: underline;
    font-weight: 900;
}
.footer a:hover {
    color: #b91c1c;
}

/* Стилі для попапів на чистому CSS */
.modal {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal:target {
    opacity: 1;
    pointer-events: auto;
}
.modal-content {
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    background: #fff;
    border: 4px solid #000;
    box-shadow: 8px 8px 0px 0px #000;
    padding: 25px;
    overflow-y: auto;
    text-align: left;
    position: relative;
}
.modal-close {
    display: inline-block;
    float: right;
    background: #b91c1c;
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    font-weight: 900;
    border: 2px solid #000;
    margin-bottom: 15px;
    box-shadow: 3px 3px 0px #000;
    transition: transform 0.1s, box-shadow 0.1s, background-color 0.2s;
}
.modal-close:hover {
    background: #a01925;
}
.modal-close:active {
    transform: translate(3px, 3px);
    box-shadow: 0px 0px 0px #000;
}
.modal h2 {
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 900;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
}
.modal p {
    margin-bottom: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 500;
}