/* Páginas legales de Conta La Seu: misma identidad visual que la aplicación (azul marino + esmeralda). */
:root { --navy: #0F172A; --navy-950: #090D16; --emerald: #10B981; --emerald-700: #047857; --slate: #334155; --muted: #64748B; --line: #E2E8F0; --bg: #F8FAFC; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--navy); line-height: 1.65; }
a { color: var(--emerald-700); }
a:hover { color: #065F46; }
.l-header { position: sticky; top: 0; z-index: 20; background: var(--navy); color: #fff; border-bottom: 1px solid #1E293B; }
.l-header-in { max-width: 1120px; margin: 0 auto; padding: 0 20px; height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.l-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; letter-spacing: -.01em; }
.l-brand img { width: 30px; height: 30px; }
.l-brand em { font-style: normal; color: #34D399; }
.l-brand small { font-size: 12px; font-weight: 500; color: #94A3B8; border-left: 1px solid #334155; padding-left: 10px; margin-left: 2px; }
.l-cta { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 9px; background: var(--emerald); color: var(--navy-950); font-weight: 700; font-size: 12.5px; text-decoration: none; white-space: nowrap; }
.l-cta:hover { background: #34D399; color: var(--navy-950); }
.l-hero { background: var(--navy); color: #fff; }
.l-hero-in { max-width: 1120px; margin: 0 auto; padding: 28px 20px 34px; }
.l-kicker { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(52, 211, 153, .85); font-weight: 600; margin: 0; }
.l-hero h1 { font-size: clamp(22px, 3.2vw, 30px); line-height: 1.25; margin: 8px 0 10px; letter-spacing: -.02em; }
.l-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; }
.l-meta span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 3px 10px; color: #CBD5E1; }
.l-wrap { max-width: 1120px; margin: 0 auto; padding: 28px 20px 56px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.l-toc { position: sticky; top: 80px; max-height: calc(100vh - 100px); overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; font-size: 12.5px; }
.l-toc p { margin: 2px 8px 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.l-toc a { display: block; padding: 5px 8px; border-radius: 7px; color: #475569; text-decoration: none; line-height: 1.35; }
.l-toc a:hover { background: #F1F5F9; color: var(--navy); }
.l-doc { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 4vw, 40px); min-width: 0; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.l-doc h2 { font-size: 18px; margin: 34px 0 10px; letter-spacing: -.01em; scroll-margin-top: 80px; padding-top: 6px; border-top: 1px solid #F1F5F9; }
.l-doc h2:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }
.l-doc h3 { font-size: 15px; margin: 22px 0 6px; color: #1E293B; scroll-margin-top: 80px; }
.l-doc p, .l-doc li { font-size: 14.5px; color: var(--slate); }
.l-doc ul, .l-doc ol { padding-left: 1.3rem; }
.l-doc li + li { margin-top: 4px; }
.l-doc strong { color: var(--navy); }
.l-lead { font-size: 15px !important; color: #475569 !important; }
.l-table-wrap { overflow-x: auto; margin: 12px 0; border: 1px solid var(--line); border-radius: 10px; }
.l-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 560px; }
.l-table th, .l-table td { padding: 9px 11px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--slate); }
.l-table th { background: #F8FAFC; color: #1E293B; font-weight: 600; }
.l-table tr:last-child td { border-bottom: 0; }
.l-key { margin: 20px 0; border: 2px solid #F59E0B; background: #FFFBEB; border-radius: 14px; padding: 18px 20px; }
.l-key h2, .l-key h3 { border-top: 0 !important; padding-top: 0 !important; margin-top: 0 !important; color: #78350F; }
.l-key p, .l-key li { color: #451A03; }
.l-note { margin: 14px 0; border: 1px solid #BBF7D0; background: #F0FDF4; border-radius: 12px; padding: 12px 15px; font-size: 13.5px; color: #14532D; }
.l-note p { color: #14532D; margin: 0; }
.pending { background: #FEF3C7; color: #92400E; border: 1px dashed #F59E0B; border-radius: 6px; padding: 0 6px; font-weight: 600; font-size: .92em; white-space: normal; }
.l-ident { display: grid; grid-template-columns: max-content 1fr; gap: 4px 18px; font-size: 14px; background: #F8FAFC; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 12px 0; }
.l-ident dt { font-weight: 600; color: #1E293B; }
.l-ident dd { margin: 0; color: var(--slate); }
.l-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 16px; }
.l-card { display: block; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; color: var(--navy); transition: border-color .15s, box-shadow .15s; }
.l-card:hover { border-color: #6EE7B7; box-shadow: 0 6px 16px rgba(15,23,42,.06); color: var(--navy); }
.l-card b { display: block; font-size: 15px; }
.l-card span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.l-btn { font: inherit; display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 10px; border: 1.5px solid var(--navy); background: var(--navy); color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; text-decoration: none; }
.l-btn:hover { background: #1E293B; color: #fff; }
.l-footer { background: var(--navy-950); color: #94A3B8; font-size: 12.5px; }
.l-footer-in { max-width: 1120px; margin: 0 auto; padding: 26px 20px; display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
.l-footer h4 { margin: 0 0 8px; color: #E2E8F0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.l-footer nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.l-footer a, .l-footer button { color: #CBD5E1; text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.l-footer a:hover, .l-footer button:hover { color: #fff; text-decoration: underline; }
.l-print { margin-left: auto; }
@media (max-width: 900px) {
  .l-wrap { grid-template-columns: 1fr; }
  .l-toc { position: static; max-height: none; }
  .l-brand small { display: none; }
}
@media print {
  .l-header, .l-toc, .l-footer, .l-cta, .clsc-banner, .no-print { display: none !important; }
  .l-hero { background: #fff; color: #000; }
  .l-wrap { display: block; padding: 0; }
  .l-doc { border: 0; box-shadow: none; padding: 0; }
}
