.atrest-footer {
    background: #f9f9f9;
    border-top: 1px solid #ddd;
    padding: 40px 20px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #000;
}

.atrest-footer .contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.atrest-footer .contact-info {
    flex: 1;
    min-width: 280px;
    max-width: 520px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.atrest-footer .contact-block {
    flex: 1 1 260px;
    min-width: 260px;
}

.atrest-footer .contact-label {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8c8c8c;
    margin-bottom: 6px;
    font-weight: 600;
}

.atrest-footer .contact-line {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
}

.atrest-footer .contact-info a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #111;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.15s ease;
}

.atrest-footer .contact-info a:hover {
    color: #e60000;
    transform: translateX(3px);
}

.atrest-footer .contact-info svg {
    width: 18px;
    height: 18px;
    fill: #111;
    flex-shrink: 0;
    transition: fill 0.2s ease;
}

.atrest-footer .contact-info a:hover svg {
    fill: #e60000;
}

.atrest-footer .contact-maps {
    flex: 1;
    min-width: 280px;
    max-width: 700px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-end;
}

.atrest-footer .contact-map {
    flex: 1 1 320px;
    min-width: 260px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
    background: #fff;
    padding: 12px 12px 0;
    transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.atrest-footer .contact-map:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.14);
}

.atrest-footer .map-label {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8c8c8c;
    margin-bottom: 6px;
    font-weight: 600;
}

.atrest-footer .contact-map iframe {
    width: 100%;
    height: 260px;
    border: 0;
    border-radius: 12px;
}

.atrest-footer .footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 14px;
    color: #555;
}

.atrest-footer .footer-legal {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 260px;
}

.atrest-footer .legal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
}

.atrest-footer .legal-link {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    flex: 1 1 auto;
}

.atrest-footer .legal-link:hover {
    color: #e60000;
}

.atrest-footer .legal-download {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #e60000;
    background: #fff;
    color: #e60000;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.atrest-footer .legal-download:hover {
    background: #e60000;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230,0,0,0.25);
}

@media (max-width: 480px) {
    .atrest-footer .legal-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

.atrest-footer .footer-help {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.atrest-footer .footer-help span {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.atrest-footer .footer-help .help-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    background: #e60000;
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
}

.atrest-footer .footer-help .help-btn:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(204,0,0,0.35);
}

.atrest-footer .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    padding: 12px;
    box-sizing: border-box;
}

.atrest-footer .modal-content {
    background: #fff;
    padding: 30px 24px 24px;
    border-radius: 12px;
    max-width: 520px;
    width: 100%;
    position: relative;
    box-sizing: border-box;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.atrest-footer .modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e60000;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(230,0,0,0.35);
    z-index: 2;
}

.atrest-footer .modal-content > *:not(.modal-close) {
    margin-top: 16px;
}

@media (max-width: 600px) {
    .atrest-footer .modal-content {
        padding: 24px 16px 16px;
        max-height: calc(100vh - 24px);
    }
}

@media (max-width: 1024px) {
    .atrest-footer .contact-container {
        gap: 28px;
    }
}

@media (max-width: 900px) {
    .atrest-footer .contact-container {
        flex-direction: column;
        gap: 24px;
    }
    .atrest-footer .contact-maps {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .atrest-footer {
        padding: 28px 16px 16px;
    }
    .atrest-footer .footer-bottom {
        flex-direction: column;
        gap: 18px;
    }
    .atrest-footer .footer-help {
        align-items: flex-start;
    }
}

