/* Juralivo — hoja de estilos única. Sin dependencias externas. */

:root {
  --navy: #0f2a44;
  --navy-2: #173a5c;
  --gold: #c8973a;
  --gold-soft: #f6ecd8;
  --ink: #1c2430;
  --muted: #5d6b7a;
  --line: #e2e7ee;
  --bg: #f6f8fb;
  --card: #ffffff;
  --brand: #1f5f99;
  --brand-dark: #174b7a;
  --ok: #1d7a4a;
  --ok-bg: #e7f5ed;
  --err: #b42318;
  --err-bg: #fdecea;
  --info-bg: #eaf2fb;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 42, 68, .06), 0 4px 16px rgba(15, 42, 68, .06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); letter-spacing: -.01em; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; }

/* ---------- Cabecera ---------- */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; }
.brand:hover { color: #fff; }
.brand-mark { width: 28px; height: 28px; color: var(--gold); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a, .nav .link { color: #dbe6f2; text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: .95rem; }
.nav a:hover, .nav .link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .12); }
.nav .btn { color: var(--navy); background: var(--gold); margin-left: 4px; }
.nav .btn:hover { background: #d8a94e; color: var(--navy); }
.nav-sep { width: 1px; height: 22px; background: rgba(255, 255, 255, .2); margin: 0 6px; }
.nav-form { margin: 0; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: #fff; position: relative; content: ""; }
.bars::before { position: absolute; top: -7px; }
.bars::after { position: absolute; top: 7px; }
.badge { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 6px; border-radius: 10px; background: var(--gold); color: var(--navy); font-size: .75rem; font-weight: 700; text-align: center; line-height: 20px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--navy); padding: 8px 16px 16px; box-shadow: 0 8px 16px rgba(0, 0, 0, .2); }
  .nav.is-open { display: flex; }
  .nav a, .nav .link { padding: 12px; }
  .nav .link { text-align: left; width: 100%; }
  .nav-sep { width: auto; height: 1px; margin: 6px 0; }
  .nav .btn { margin: 6px 0 0; text-align: center; }
}

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 20px; border-radius: 10px; border: 1px solid transparent; background: var(--brand); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2; transition: background .15s; }
.btn:hover { background: var(--brand-dark); color: #fff; }
.btn-sm { padding: 7px 12px; font-size: .9rem; border-radius: 8px; }
.btn-block { display: flex; width: 100%; }
.btn-ghost { background: #fff; color: var(--brand); border-color: #c9d6e4; }
.btn-ghost:hover { background: var(--info-bg); color: var(--brand-dark); }
.btn-light { background: var(--gold); color: var(--navy); }
.btn-light:hover { background: #d8a94e; color: var(--navy); }
.btn-promo { background: var(--gold); color: var(--navy); font-size: 1.05rem; padding: 12px 24px; box-shadow: 0 4px 14px rgba(200, 151, 58, .35); }
.btn-promo::before { content: "🎁"; }
.btn-promo:hover { background: #d8a94e; color: var(--navy); }
.btn-danger { background: var(--err); }
.btn-danger:hover { background: #8f1c13; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Mensajes flash ---------- */
.flash { padding: 12px 16px; border-radius: 10px; margin: 16px 0; border: 1px solid; }
.flash-ok { background: var(--ok-bg); border-color: #b9e0c9; color: #14532d; }
.flash-error { background: var(--err-bg); border-color: #f5c2bd; color: #7a1a12; }
.flash-info { background: var(--info-bg); border-color: #c4d9f0; color: #163d63; }
.flash a { margin-left: 6px; }

/* ---------- Portada ---------- */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #e8eff7; padding: 56px 0 64px; }
.hero-sm { padding: 48px 0; }
.hero h1 { color: #fff; max-width: 820px; font-size: clamp(1.8rem, 4.5vw, 2.9rem); }
.hero .lead { color: #c5d4e4; max-width: 680px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--gold); margin-bottom: .6em; }
.lead { font-size: 1.12rem; color: var(--muted); }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 0; margin: 20px 0 0; font-size: .95rem; color: #c5d4e4; }
.hero-points li::before { content: "✓ "; color: var(--gold); font-weight: 700; }

.search { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.25fr) auto; gap: 8px; background: #fff; padding: 8px; border-radius: 14px; box-shadow: var(--shadow); margin-top: 24px; }
.search input, .search select { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 11px 12px; font: inherit; background: #fff; color: var(--ink); }
@media (max-width: 900px) { .search { grid-template-columns: 1fr 1fr; } .search-q { grid-column: 1 / -1; } .search .btn { grid-column: 1 / -1; } }
@media (max-width: 520px) { .search { grid-template-columns: 1fr; } }

.section { padding: 48px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: 1.5rem; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.section-head h1, .section-head h2 { margin: 0; }
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 36px 0 28px; }
.page-head .search { box-shadow: none; border: 1px solid var(--line); }

.areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.area { display: flex; flex-direction: column; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--navy); font-weight: 600; }
.area:hover { border-color: var(--brand); color: var(--brand); }
.area .small { font-weight: 400; }

.steps { counter-reset: paso; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { counter-increment: paso; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(paso); width: 32px; height: 32px; border-radius: 50%; background: var(--gold-soft); color: var(--navy); font-weight: 700; display: grid; place-items: center; }
.steps strong { color: var(--navy); font-size: 1.05rem; }
.steps span { color: var(--muted); }
.steps-vertical { grid-template-columns: 1fr; margin-bottom: 1.5em; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--navy); color: #c5d4e4; border-radius: 16px; padding: 32px; }
.cta h2 { color: #fff; }
.cta p { margin: 0; max-width: 620px; }

/* ---------- Tarjetas ---------- */
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
@media (max-width: 360px) { .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 16px; }
.grid .card { margin-bottom: 0; }
.card-flush { padding: 0; overflow: hidden; }
.card-pad { padding: 16px 20px; margin: 0; }
.card-danger { border-color: #f5c2bd; }
.card-title { margin: 0 0 4px; font-size: 1.08rem; }
.card-title a { color: var(--navy); text-decoration: none; }
.card-title a:hover { color: var(--brand); }
.meta { color: var(--muted); font-size: .9rem; margin-bottom: .6em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag { display: inline-block; padding: 3px 9px; border-radius: 20px; background: var(--info-bg); color: #1d4c78; font-size: .8rem; font-weight: 500; margin: 0 4px 4px 0; }

.lawyer-card { display: flex; flex-direction: column; }
.lawyer-card-head { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.lawyer-card-title { font-weight: 500; margin-bottom: 4px; }
.lawyer-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }

.service-card { display: flex; flex-direction: column; }
.service-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.service-lawyer { display: flex; align-items: center; gap: 10px; font-size: .92rem; line-height: 1.3; margin-bottom: 12px; }
.service-foot .service-lawyer { margin: 0; }
.price { color: var(--navy); white-space: nowrap; }
.price-lg { font-size: 1.6rem; font-weight: 700; margin-bottom: 12px; }

.verified { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); font-size: .82rem; font-weight: 600; margin-right: 6px; }
.verified svg { width: 16px; height: 16px; }
.stars { color: var(--gold); letter-spacing: 1px; }
.stars-off { color: #d5dbe3; }

/* ---------- Avatares ---------- */
.avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--gold-soft); }
.avatar-ini { display: inline-grid; place-items: center; color: var(--navy); font-weight: 700; }
.avatar-sm { width: 32px; height: 32px; font-size: .75rem; }
.avatar-md { width: 44px; height: 44px; font-size: .9rem; }
.avatar-lg { width: 60px; height: 60px; font-size: 1.1rem; }
.avatar-xl { width: 112px; height: 112px; font-size: 2rem; }

/* ---------- Perfil ---------- */
.profile { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; padding-top: 32px; padding-bottom: 48px; align-items: start; }
@media (max-width: 900px) { .profile { grid-template-columns: 1fr; } }
.profile-head { display: flex; gap: 20px; align-items: center; }
.profile-head h1 { margin-bottom: 4px; }
.profile-title { font-size: 1.1rem; font-weight: 500; margin-bottom: 6px; }
@media (max-width: 520px) { .profile-head { flex-direction: column; text-align: center; } }
.sticky { position: sticky; top: 84px; }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px 24px; margin: 20px 0 0; }
.facts dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.facts dd { margin: 2px 0 0; }

.service-list { list-style: none; margin: 0; padding: 0; }
.service-list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.service-list li:first-child { border-top: 0; }
.service-list h3 { margin-bottom: 4px; }
.service-list p { margin-bottom: 6px; }
.service-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.service-side form { margin: 0; }
.service-list-admin li { padding: 16px 20px; }
@media (max-width: 560px) { .service-list li { flex-direction: column; } .service-side { flex-direction: row; align-items: center; } }

.reviews { list-style: none; padding: 0; margin: 0; }
.reviews li { padding: 12px 0; border-top: 1px solid var(--line); }
.reviews li:first-child { border-top: 0; }

/* ---------- Formularios ---------- */
.form { display: flex; flex-direction: column; gap: 14px; }
.form-wide { max-width: 820px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .95rem; color: var(--navy); }
.form input[type="text"], .form input[type="email"], .form input[type="password"], .form input[type="tel"], .form input[type="number"],
.form input[type="search"], .form input[type="file"], .form select, .form textarea, .inline-form input, .inline-form select {
  font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid #cdd6e1; border-radius: 9px; padding: 10px 12px; width: 100%;
}
.form textarea { resize: vertical; min-height: 90px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--brand); outline: 2px solid rgba(31, 95, 153, .2); outline-offset: 0; }
[aria-invalid="true"] { border-color: var(--err) !important; }
.field-error { color: var(--err); font-size: .875rem; margin: -6px 0 0; }
.hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
.form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--ink); }
.check input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 16px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; color: var(--navy); margin-bottom: 8px; padding: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.form-actions form { margin: 0; }
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0 0 12px; }
.inline-form input { width: auto; flex: 1 1 220px; }
.inline-form label { display: flex; gap: 8px; align-items: center; }
.inline-form select { width: auto; }
.avatar-edit { display: flex; gap: 20px; align-items: center; margin-bottom: 14px; }
@media (max-width: 520px) { .avatar-edit { flex-direction: column; align-items: flex-start; } }

.auth { max-width: 460px; margin: 0 auto; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 4px; margin-bottom: 14px; }
.segmented a { text-align: center; padding: 8px; border-radius: 7px; text-decoration: none; color: var(--muted); font-weight: 600; }
.segmented a[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: var(--shadow); }

.rating-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; flex-wrap: wrap; }
.rating-input legend { width: 100%; }
.rating-input input { position: absolute; opacity: 0; }
.rating-input label { font-size: 2rem; color: #d5dbe3; cursor: pointer; line-height: 1; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--gold); }
.rating-input input:focus-visible + label { outline: 2px solid var(--gold); }

/* ---------- Panel ---------- */
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tabs a { padding: 10px 14px; text-decoration: none; color: var(--muted); font-weight: 600; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a[aria-current="page"] { color: var(--navy); border-color: var(--gold); }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--muted); }
.stat strong { font-size: 1.8rem; color: var(--navy); line-height: 1.1; }
a.stat:hover { border-color: var(--brand); }
.checklist { margin: 0; padding-left: 0; list-style: none; }
.checklist li { padding: 8px 0 8px 28px; position: relative; border-top: 1px solid var(--line); }
.checklist li:first-child { border-top: 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 12px; width: 16px; height: 16px; border: 2px solid #c9d6e4; border-radius: 50%; }
.empty { text-align: center; background: #fff; border: 1px dashed #c9d6e4; border-radius: var(--radius); padding: 40px 20px; }
.empty p { color: var(--muted); max-width: 520px; margin-left: auto; margin-right: auto; }

.pill { display: inline-block; padding: 2px 9px; border-radius: 20px; font-size: .75rem; font-weight: 600; vertical-align: middle; white-space: nowrap; }
.pill-abierta { background: #fff4dc; color: #8a5a00; }
.pill-aceptada { background: var(--info-bg); color: #1d4c78; }
.pill-completada { background: var(--ok-bg); color: var(--ok); }
.pill-cancelada { background: #eef1f5; color: var(--muted); }

.pagination { display: flex; gap: 16px; justify-content: center; align-items: center; margin-top: 24px; }

.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--bg); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.table form { margin: 0 0 4px; }
.admin-lawyer .facts { margin: 8px 0 12px; }

/* ---------- Conversaciones y chat ---------- */
.conv-list { list-style: none; margin: 0; padding: 0; }
.conv { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.conv-list li:first-child .conv { border-top: 0; }
.conv:hover { background: var(--bg); color: var(--ink); }
.conv.is-active { background: var(--info-bg); }
.conv.is-unread strong { color: var(--navy); }
.conv.is-unread .conv-last { color: var(--ink); font-weight: 600; }
.conv-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.conv-top { display: flex; justify-content: space-between; gap: 8px; }
.conv-subject { font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv-last { font-size: .87rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.chat-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 16px; padding-top: 24px; padding-bottom: 32px; }
.chat-sidebar { max-height: calc(100vh - 120px); overflow-y: auto; margin: 0; }
.chat-sidebar-head { padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: .9rem; }
@media (max-width: 900px) { .chat-layout { grid-template-columns: 1fr; } .chat-sidebar { display: none; } }
.chat { display: flex; flex-direction: column; height: calc(100vh - 120px); min-height: 480px; margin: 0; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.chat-head-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.chat-head-info a { color: var(--navy); }
.chat-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px; }
.chat-actions form { margin: 10px 0; }
.chat-actions:empty { display: none; }
.chat-messages { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); border-top: 1px solid var(--line); }
.msg { display: flex; flex-direction: column; max-width: 78%; }
.msg-mine { align-self: flex-end; align-items: flex-end; }
.msg-theirs { align-self: flex-start; }
.msg-bubble { padding: 10px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); overflow-wrap: anywhere; }
.msg-mine .msg-bubble { background: var(--brand); color: #fff; border-color: var(--brand); border-bottom-right-radius: 4px; }
.msg-theirs .msg-bubble { border-bottom-left-radius: 4px; }
.msg-time { font-size: .75rem; color: var(--muted); margin-top: 3px; }
.msg-system { align-self: center; font-size: .82rem; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 4px 12px; border-radius: 20px; margin: 4px 0; text-align: center; }
.msg.is-pending { opacity: .6; }
.chat-form { display: flex; gap: 10px; padding: 12px; border-top: 1px solid var(--line); align-items: flex-end; }
.chat-form textarea { flex: 1; font: inherit; border: 1px solid #cdd6e1; border-radius: 10px; padding: 10px 12px; resize: none; max-height: 160px; }
.chat-review { padding: 12px 18px; border-top: 1px solid var(--line); background: var(--gold-soft); }
.chat-review .form { gap: 8px; }
.chat-closed { padding: 14px 18px; margin: 0; border-top: 1px solid var(--line); }

/* ---------- Pie ---------- */
.site-footer { background: var(--navy); color: #a9bbcf; padding: 40px 0 24px; margin-top: 32px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.footer-grid a { display: block; color: #dbe6f2; text-decoration: none; padding: 3px 0; }
.footer-grid a:hover { color: #fff; }
.footer-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin-bottom: 8px; }
.brand-footer { padding: 0 !important; }
.site-footer .muted { color: #a9bbcf; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 24px; padding-top: 16px; font-size: .82rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
