/* =====================================================================
   Classificado Manutenção — Design System
   ===================================================================== */
:root {
    --bg: #f4f6fa;
    --surface: #ffffff;
    --surface-2: #f9fafc;
    --border: #e3e7ef;
    --text: #1a1f2e;
    --text-2: #5a6477;
    --text-muted: #8892a6;
    --primary: #0b3d91;
    --primary-2: #1659c9;
    --primary-bg: #e7efff;
    --accent: #ff6b35;
    --success: #0f8257;
    --success-bg: #d1f0e2;
    --warn: #b8860b;
    --warn-bg: #fff3cd;
    --danger: #c0392b;
    --danger-bg: #fde2e2;
    --gold: #b8860b;
    --gold-bg: #fff8e1;
    --radius: 10px;
    --radius-sm: 6px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .06);
    --shadow: 0 4px 6px -1px rgba(15, 23, 42, .08), 0 2px 4px -2px rgba(15, 23, 42, .06);
    --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, .12), 0 8px 10px -6px rgba(15, 23, 42, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary-2); text-decoration: none; transition: color .15s; }
a:hover { color: var(--primary); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--text); line-height: 1.25; }
h1 { font-size: 2rem; margin: 0 0 12px; }
h2 { font-size: 1.5rem; margin: 0 0 16px; }
h3 { font-size: 1.1rem; margin: 0 0 8px; }
p { margin: 0 0 12px; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.lead { font-size: 1.05rem; color: var(--text-2); }

/* =================== Topbar =================== */
.topbar {
    background: linear-gradient(135deg, #0b3d91 0%, #1659c9 100%);
    color: #fff;
    padding: 14px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand:hover { text-decoration: none; color: #fff; }
.brand-mark {
    background: rgba(255,255,255,.18);
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: .5px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.22);
}
.brand-text { font-size: .8rem; line-height: 1.1; opacity: .9; }
.brand-text strong { font-size: 1rem; opacity: 1; }
.nav-main { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nav-main a, .nav-main .nav-link-btn {
    color: #fff;
    font-size: .92rem;
    text-decoration: none;
    background: none;
    border: 0;
    cursor: pointer;
    font: inherit;
    padding: 6px 0;
    opacity: .92;
    transition: opacity .15s;
}
.nav-main a:hover, .nav-main .nav-link-btn:hover { opacity: 1; text-decoration: none; }
.nav-cta {
    background: var(--accent);
    padding: 8px 16px !important;
    border-radius: 8px;
    font-weight: 600;
    opacity: 1 !important;
    transition: transform .12s, box-shadow .12s !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255, 107, 53, .35); }
.inline { display: inline; }

/* =================== Layout shell + sidebar =================== */
.layout-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 20px 40px;
}
.layout-shell.has-sidebar { grid-template-columns: 1fr 320px; }
.main-content { min-width: 0; }
.sidebar { display: flex; flex-direction: column; gap: 16px; }
.side-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.side-card h3 { font-size: .95rem; margin: 0 0 14px; color: var(--text); }
.side-card.promo {
    background: linear-gradient(135deg, #0b3d91 0%, #1659c9 100%);
    color: #fff;
    border: none;
}
.side-card.promo h3 { color: #fff; }
.side-card.promo p { color: rgba(255,255,255,.92); font-size: .9rem; }
.side-card.promo .btn-promo {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 9px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: .9rem;
    margin-top: 6px;
}
.side-card.promo .btn-promo:hover { background: #ff5722; text-decoration: none; }

.side-anuncios { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.side-anuncios li a { display: flex; gap: 10px; padding: 8px; border-radius: var(--radius-sm); color: inherit; transition: background .12s; }
.side-anuncios li a:hover { background: var(--surface-2); text-decoration: none; }
.side-anuncios img, .thumb-placeholder {
    width: 56px; height: 56px;
    object-fit: cover; border-radius: 6px;
    flex-shrink: 0; background: var(--surface-2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
}
.side-anuncios .title { display: block; font-size: .85rem; font-weight: 600; color: var(--text); }

.side-eventos { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.side-eventos li a {
    display: grid; grid-template-columns: 50px 1fr; gap: 10px;
    padding: 10px 8px; border-radius: var(--radius-sm);
    color: inherit; transition: background .12s;
    align-items: center;
}
.side-eventos li a:hover { background: var(--surface-2); text-decoration: none; }
.side-eventos .data {
    background: var(--primary-bg); color: var(--primary);
    border-radius: 6px; padding: 4px 6px;
    text-align: center; font-weight: 700; font-size: .85rem;
}
.side-eventos .title { font-size: .85rem; font-weight: 600; line-height: 1.3; display: block; }
.side-eventos .local { font-size: .75rem; color: var(--text-muted); }
.see-all { display: inline-block; font-size: .85rem; margin-top: 8px; }

.side-cats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.side-cats li a {
    display: block; padding: 8px 10px; border-radius: var(--radius-sm);
    font-size: .9rem; color: var(--text-2); transition: all .12s;
}
.side-cats li a:hover { background: var(--primary-bg); color: var(--primary); text-decoration: none; }

@media (max-width: 920px) {
    .layout-shell.has-sidebar { grid-template-columns: 1fr; }
    .sidebar { order: 2; }
}

/* =================== Hero =================== */
.hero {
    background: linear-gradient(135deg, #0b3d91 0%, #1659c9 100%);
    color: #fff;
    border-radius: 16px;
    padding: 56px 40px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.15) 0%, transparent 50%);
    pointer-events: none;
}
.hero-content { position: relative; max-width: 720px; }
.hero h1 { color: #fff; font-size: 2.4rem; margin: 0 0 12px; line-height: 1.15; letter-spacing: -.5px; }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.92); margin: 0 0 28px; }
.hero-search {
    display: flex; gap: 0; max-width: 600px;
    background: #fff; padding: 4px; border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.hero-search input {
    flex: 1; padding: 14px 18px; border: 0; border-radius: 8px;
    font-size: 1rem; background: transparent; color: var(--text);
}
.hero-search input:focus { outline: none; }
.hero-search button {
    padding: 14px 28px; background: var(--accent); color: #fff;
    border: 0; border-radius: 8px; cursor: pointer; font-weight: 600;
    transition: background .12s;
}
.hero-search button:hover { background: #ff5722; }
.hero-stats { display: flex; gap: 32px; margin-top: 24px; flex-wrap: wrap; }
.hero-stats div { font-size: .9rem; opacity: .92; }
.hero-stats .num { display: block; font-size: 1.5rem; font-weight: 700; }

/* =================== Sections =================== */
.section { margin-bottom: 40px; }
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.section-header h2 { margin: 0; }
.empty-state { background: var(--surface); padding: 32px; border-radius: var(--radius); text-align: center; color: var(--text-2); border: 1px dashed var(--border); }
.page-header { margin-bottom: 24px; }

/* =================== Categorias =================== */
.cat-grid {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
}
.cat-grid a {
    display: block; padding: 14px 16px;
    background: var(--surface); border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    color: var(--text-2); font-size: .92rem;
    transition: all .15s;
}
.cat-grid a:hover {
    background: var(--primary-bg); color: var(--primary);
    border-color: var(--primary-2); text-decoration: none;
    transform: translateY(-1px); box-shadow: var(--shadow);
}

/* =================== Anúncios cards =================== */
.anuncios-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}
.anuncio-card {
    background: var(--surface); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: transform .15s, box-shadow .15s;
}
.anuncio-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.anuncio-card a { display: block; color: inherit; }
.anuncio-card a:hover { text-decoration: none; }
.anuncio-card.plano-destaque { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow-sm); }
.anuncio-card.plano-premium {
    border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary), var(--shadow);
}
.card-img {
    position: relative; aspect-ratio: 4/3;
    background: var(--surface-2);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img .placeholder { font-size: 2.5rem; color: var(--text-muted); }
.card-img .badge {
    position: absolute; top: 10px; left: 10px;
    z-index: 2; font-size: .7rem;
}
.card-img .tipo {
    position: absolute; bottom: 10px; left: 10px; z-index: 2;
}
.card-body { padding: 14px 16px; }
.card-body h3 { font-size: .95rem; margin: 0 0 6px; line-height: 1.3; }
.card-body .meta { font-size: .8rem; color: var(--text-muted); margin: 0 0 6px; }
.card-body .preco { font-size: 1rem; font-weight: 700; color: var(--success); margin: 4px 0 0; }

/* =================== Tipos / badges =================== */
.tipo {
    display: inline-block; padding: 3px 10px; border-radius: 12px;
    font-size: .72rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: .3px;
}
.tipo-manutencao   { background: var(--warn-bg); color: var(--warn); }
.tipo-servico      { background: #cff4fc; color: #055160; }
.tipo-venda        { background: var(--success-bg); color: var(--success); }
.tipo-oportunidade { background: #e2d9f3; color: #5b21b6; }

.badge {
    display: inline-block; padding: 3px 9px; border-radius: 12px;
    font-size: .7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .4px;
}
.badge-destaque, .badge-free { background: var(--gold-bg); color: var(--gold); }
.badge-premium { background: var(--primary); color: #fff; }
.badge-pendente { background: var(--warn-bg); color: var(--warn); }

/* =================== Eventos =================== */
.eventos-strip {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}
.evento-mini {
    display: flex; gap: 14px;
    background: var(--surface); border-radius: var(--radius);
    padding: 14px; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
    transition: transform .12s;
}
.evento-mini:hover { transform: translateY(-2px); text-decoration: none; box-shadow: var(--shadow); }
.evento-mini-data {
    background: var(--primary-bg); color: var(--primary);
    border-radius: 8px; padding: 8px 10px;
    text-align: center; min-width: 56px;
}
.evento-mini-data .dia { display: block; font-size: 1.4rem; font-weight: 800; line-height: 1; }
.evento-mini-data .mes { display: block; font-size: .7rem; font-weight: 700; }
.evento-mini h3 { font-size: .95rem; margin: 0 0 4px; color: var(--text); }
.evento-mini p { font-size: .85rem; color: var(--text-muted); margin: 0; }

.eventos-list { display: flex; flex-direction: column; gap: 14px; }
.evento-card {
    display: grid; grid-template-columns: 80px 1fr; gap: 18px;
    background: var(--surface); padding: 20px; border-radius: var(--radius);
    box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.evento-data {
    background: var(--primary-bg); color: var(--primary);
    border-radius: 10px; padding: 12px; text-align: center;
    align-self: start;
}
.evento-data .dia { display: block; font-size: 1.8rem; font-weight: 800; line-height: 1; }
.evento-data .mes { display: block; font-size: .75rem; font-weight: 700; margin-top: 4px; }
.evento-info h2 { font-size: 1.15rem; margin: 0 0 6px; }
.evento-meta { color: var(--text-muted); font-size: .9rem; margin: 0 0 8px; }

.evento-detalhe { background: var(--surface); padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.evento-descricao { white-space: pre-wrap; line-height: 1.6; margin: 16px 0; }

/* =================== Form =================== */
.form {
    display: flex; flex-direction: column; gap: 14px;
    max-width: 560px;
    background: var(--surface); padding: 28px;
    border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.form label {
    display: flex; flex-direction: column; gap: 6px;
    font-size: .9rem; font-weight: 500; color: var(--text-2);
}
.form input, .form select, .form textarea {
    padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px;
    font: inherit; font-size: .95rem; background: #fff; color: var(--text);
    transition: border-color .15s, box-shadow .15s;
}
.form input:focus, .form select:focus, .form textarea:focus {
    outline: none; border-color: var(--primary-2);
    box-shadow: 0 0 0 3px rgba(22, 89, 201, .12);
}
.form button {
    padding: 12px 18px; background: var(--primary); color: #fff;
    border: 0; border-radius: 8px; cursor: pointer;
    font-weight: 600; font-size: .95rem;
    transition: background .12s, transform .08s;
}
.form button:hover { background: var(--primary-2); }
.form button:active { transform: translateY(1px); }
.form .checkbox { flex-direction: row; align-items: center; gap: 10px; font-weight: 400; }
.form-anuncio { max-width: 760px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }

.form-inline { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; align-items: center; }
.form-inline input, .form-inline select {
    padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px;
    font: inherit; font-size: .9rem; background: #fff;
}
.form-inline input:focus, .form-inline select:focus { outline: none; border-color: var(--primary-2); }
.form-inline button { padding: 9px 16px; background: var(--primary); color: #fff; border: 0; border-radius: 8px; cursor: pointer; }
.hint { font-size: .85rem; color: var(--text-muted); }

/* Planos */
.planos { border: 0; padding: 0; margin: 0 0 14px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.planos legend { font-weight: 700; margin-bottom: 8px; color: var(--text); }
.plano-card {
    border: 2px solid var(--border); border-radius: var(--radius); padding: 16px;
    cursor: pointer; transition: all .15s;
    background: #fff;
    display: flex; gap: 12px; align-items: flex-start;
    flex-direction: row !important;
}
.plano-card input { margin-top: 4px; flex-shrink: 0; }
.plano-card div { flex: 1; }
.plano-card h3 { margin: 0 0 4px; font-size: 1rem; }
.plano-card .preco { font-size: 1.2rem; font-weight: 800; color: var(--primary); margin: 0 0 8px; }
.plano-card .preco small { font-size: .75rem; color: var(--text-muted); font-weight: 500; }
.plano-card ul { list-style: none; padding: 0; margin: 0; font-size: .82rem; color: var(--text-2); }
.plano-card ul li { margin: 3px 0; }
.plano-card:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22, 89, 201, .15); }
.plano-card.destaque:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 134, 11, .2); }
.plano-card.premium:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11, 61, 145, .2); }

/* =================== Buttons =================== */
.btn-primary {
    display: inline-block; padding: 11px 20px;
    background: var(--primary); color: #fff;
    border-radius: 8px; font-weight: 600; font-size: .92rem;
    border: 0; cursor: pointer;
    transition: background .12s, transform .1s;
}
.btn-primary:hover { background: var(--primary-2); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn-large { padding: 14px 28px; font-size: 1rem; }
.btn-link { background: none; border: 0; color: var(--primary-2); cursor: pointer; padding: 0; font: inherit; }
.btn-link.danger, .danger { color: var(--danger); }

/* =================== Flashes =================== */
.flashes { margin: 16px auto 0; padding: 0 20px; }
.flash {
    padding: 12px 16px; border-radius: 8px; margin: 8px 0;
    border-left: 4px solid;
    font-size: .92rem;
}
.flash-success { background: var(--success-bg); color: var(--success); border-color: var(--success); }
.flash-error   { background: var(--danger-bg);  color: var(--danger);  border-color: var(--danger); }

/* =================== Tabela =================== */
.table {
    width: 100%; border-collapse: collapse;
    background: var(--surface); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm);
}
.table th, .table td {
    padding: 12px 14px; text-align: left;
    border-bottom: 1px solid var(--border); vertical-align: top;
    font-size: .9rem;
}
.table th { background: var(--surface-2); font-weight: 600; color: var(--text-2); font-size: .82rem; text-transform: uppercase; letter-spacing: .3px; }
.table tbody tr:hover { background: var(--surface-2); }

.status { padding: 3px 9px; border-radius: 12px; font-size: .72rem; font-weight: 600; text-transform: uppercase; }
.status-pendente   { background: var(--warn-bg); color: var(--warn); }
.status-ativo, .status-confirmado { background: var(--success-bg); color: var(--success); }
.status-reprovado, .status-recusado, .status-bloqueado, .status-expirado { background: var(--danger-bg); color: var(--danger); }

/* =================== Anúncio detalhe =================== */
.anuncio-detalhe {
    background: var(--surface); padding: 32px; border-radius: var(--radius);
    box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.anuncio-header { margin-bottom: 18px; }
.anuncio-header h1 { margin: 8px 0; }
.fotos-galeria {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px; margin: 18px 0;
}
.fotos-galeria img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.preco { font-size: 1.6rem; font-weight: 800; color: var(--success); margin: 8px 0; }
.descricao { white-space: pre-wrap; line-height: 1.65; padding: 18px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 18px 0; }
.contato { padding: 18px 0; }
.contato .anunciante { color: var(--text-2); }
.perfil-tag { background: var(--primary-bg); color: var(--primary); padding: 2px 9px; border-radius: 10px; font-size: .72rem; font-weight: 600; text-transform: uppercase; }
.seo-cta { background: var(--primary-bg); padding: 14px 18px; border-radius: var(--radius); margin-top: 16px; color: var(--primary); font-size: .92rem; }

/* =================== Chat =================== */
.chat { background: var(--surface); padding: 18px; border-radius: var(--radius); margin: 16px 0; box-shadow: var(--shadow-sm); }
.msg { padding: 10px 14px; border-radius: 12px; margin: 8px 0; max-width: 75%; }
.msg.mine { background: var(--primary-bg); margin-left: auto; }
.msg.theirs { background: var(--surface-2); }
.msg .who { font-size: .78rem; color: var(--text-muted); margin: 0 0 4px; }

/* =================== Pagamento =================== */
.pgto-box {
    background: var(--surface); padding: 28px; border-radius: var(--radius);
    box-shadow: var(--shadow); max-width: 600px;
}
.pgto-valor { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 2px solid var(--primary-bg); margin-bottom: 18px; }
.pgto-valor span { color: var(--text-muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .3px; }
.pgto-valor strong { font-size: 2rem; color: var(--primary); }
.pgto-pix code { background: var(--surface-2); padding: 4px 8px; border-radius: 4px; font-size: .92rem; }

/* =================== CTA / Promo =================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
    color: #fff;
    padding: 40px;
    border-radius: var(--radius);
    text-align: center;
}
.cta-section h2 { color: #fff; margin: 0 0 12px; }
.cta-section p { color: rgba(255,255,255,.9); max-width: 640px; margin: 0 auto 20px; }
.cta-section .btn-primary { background: var(--accent); }
.cta-section .btn-primary:hover { background: #ff5722; }

/* =================== Stats / Conversas =================== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.stat { background: var(--surface); padding: 20px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.stat .num { display: block; font-size: 2.2rem; font-weight: 800; color: var(--primary); }
.admin-nav { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.admin-nav a { background: var(--surface); padding: 10px 18px; border-radius: 8px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.admin-nav a:hover { background: var(--primary-bg); color: var(--primary); text-decoration: none; }

.conversas { list-style: none; padding: 0; }
.conversas li a { display: block; background: var(--surface); padding: 14px; border-radius: var(--radius); margin-bottom: 10px; color: inherit; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.conversas li a:hover { background: var(--surface-2); text-decoration: none; }
.conversas .last { color: var(--text-muted); font-size: .9rem; margin: 4px 0 0; }

.paginacao { margin: 28px 0; display: flex; gap: 12px; justify-content: center; }
.paginacao a { padding: 8px 16px; background: var(--surface); border-radius: 8px; border: 1px solid var(--border); }

/* =================== Footer =================== */
.site-footer {
    background: #0a1929; color: #c5cdd9;
    padding: 40px 0 20px;
    margin-top: 60px;
    font-size: .9rem;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; margin-bottom: 30px; }
.footer-grid strong { color: #fff; display: block; margin-bottom: 12px; font-size: .95rem; }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid ul li { margin: 6px 0; }
.footer-grid a { color: #c5cdd9; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; text-align: center; font-size: .82rem; opacity: .75; }
