/* =====================================================================
   Brandex · Header & Footer shared styles (used by home + registro + ...)
   ===================================================================== */

:root.brx-skin {
    --brx-ink: #15130f;
    --brx-yellow: #edec2e;
    --brx-surface: #fff;
    --brx-sky-1: #cfe1f6;
    --brx-sky-2: #e6eef7;
    --brx-cream: #f6efdf;
    --brx-line: #e7e1d0;
    --brx-ink-soft: #6e6a58;
    --brx-accent-blue: #3057a6;
    --brx-bg: #fbf9f3;
    --brx-ink-hover: #2a261d;
    --brx-font-display: 'Fraunces', Georgia, serif;
    --brx-font-body: 'Inter', system-ui, sans-serif;
    --brx-font-mono: 'IBM Plex Mono', ui-monospace, monospace;
    --brx-r-card: 24px;
    --brx-r-ctl: 12px;
}

/* ── Nav ─────────────────────────────────────────────── */
.brx-nav-header {
    background: var(--brx-surface);
}
.brx-nav-inner {
    max-width: 1152px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 24px;
}
.brx-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: var(--brx-ink);
}
.brx-logo-img {
    height: 56px;
    width: auto;
    display: block;
}
.brx-nav-links {
    display: none;
    align-items: center;
    gap: 28px;
}
@media (min-width: 1024px) { .brx-nav-links { display: flex; } }
.brx-nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--brx-ink-soft);
    text-decoration: none;
    transition: color .15s;
}
.brx-nav-links a:hover { color: var(--brx-ink); }
.brx-nav-actions { display: flex; align-items: center; gap: 12px; }

/* ── Buttons (shared) ────────────────────────────────── */
.brx-btn-outline {
    border-radius: var(--brx-r-ctl);
    background: transparent;
    color: var(--brx-ink);
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--brx-line);
    transition: background .15s, border-color .15s;
    white-space: nowrap;
}
.brx-btn-outline:hover { background: rgba(21,19,15,0.04); border-color: var(--brx-ink); }
.brx-btn-dark {
    border-radius: var(--brx-r-ctl);
    background: var(--brx-ink);
    color: var(--brx-surface);
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s;
    white-space: nowrap;
}
.brx-btn-dark:hover { background: var(--brx-ink-hover); color: var(--brx-surface); }

/* ── Footer ──────────────────────────────────────────── */
.brx-footer {
    border-top: 1px solid var(--brx-line);
    background: var(--brx-bg);
    padding: 56px 24px 32px;
}
.brx-footer-inner {
    max-width: 1152px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 48px;
    align-items: start;
}
@media (max-width: 768px) { .brx-footer-inner { flex-direction: column; } }
.brx-footer-nav { display: flex; gap: 64px; flex-wrap: wrap; }
.brx-footer-col-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--brx-ink-soft);
    margin-bottom: 12px;
}
.brx-footer-col a {
    display: block;
    font-size: 13px;
    color: var(--brx-ink);
    text-decoration: none;
    line-height: 28px;
    transition: opacity .15s;
}
.brx-footer-col a:hover { opacity: 0.65; }
.brx-footer-bottom {
    max-width: 1152px;
    margin: 40px auto 0;
    border-top: 1px solid var(--brx-line);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11.5px;
    color: var(--brx-ink-soft);
}
.brx-footer-bottom a { color: inherit; text-decoration: underline; }

@media print { .brx-nav-header, .brx-footer { display: none; } }