* { margin: 0; padding: 0; box-sizing: border-box; }
:root { --accent: #005bff; --text: #000; --gray: #f1f1f1; --gray-dark: #e5e5e5; --muted: #999; --bg: #fff; }
body { font-family: sans-serif; background: var(--bg); color: var(--text); display: flex; flex-direction: column; min-height: 100vh; }
.main { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 20px; }
.footer { padding: 24px; text-align: center; font-size: 12px; color: var(--muted); margin-top: auto; }
.header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; }
.logo { font-size: 22px; font-weight: 900; text-transform: uppercase; text-decoration: none; border: 1.5px solid var(--accent); border-radius: 50px; padding: 6px 16px; color: var(--text); }
.logo span { color: var(--accent); }
.header-right { display: flex; align-items: center; gap: 12px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--gray); display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; border: none; }
.city { background: var(--gray); padding: 8px 12px; border-radius: 50px; font-size: 13px; cursor: pointer; border: none; }
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; opacity: 0; visibility: hidden; transition: 0.3s; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 90%; max-width: 600px; background: #fff; border-radius: 16px; z-index: 1001; opacity: 0; visibility: hidden; display: flex; flex-direction: column; }
.modal.active { opacity: 1; visibility: visible; }
.modal-header { display: flex; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--gray-dark); }
.modal-body { padding: 20px; }

/* Стили для ссылок в подвале */
.footer a {
    color: var(--muted) !important;
    text-decoration: none;
    margin: 0 6px;
    font-size: 12px;
    transition: color 0.2s;
}
.footer a:hover {
    color: var(--accent) !important;
}
.footer a { color: #999 !important; text-decoration: none !important; }
.footer a:hover { color: #005bff !important; }
