/* ⚖️ Páginas legales públicas · Cygnus Streaming */
:root {
    --bg: #060910; --card: #0e131c; --border: #1e2633; --accent: #2b8fff;
    --text: #e7ebf3; --muted: #8a93a7; --ok: #35e07e; --warn: #f0a020; --danger: #ff5c80;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Inter', system-ui, -apple-system, sans-serif; background: radial-gradient(circle at top right, #141a2e 0%, #060910 55%); color: var(--text); line-height: 1.65; min-height: 100vh; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.lg-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 20px; background: rgba(8, 11, 18, .88); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.lg-brand { font-weight: 800; font-size: 17px; display: flex; align-items: center; gap: 9px; }
.lg-brand i { color: var(--accent); }
.lg-brand b { color: var(--accent); }
.lg-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.lg-nav a { color: var(--muted); font-size: 13px; font-weight: 600; padding: 7px 11px; border-radius: 9px; }
.lg-nav a:hover { color: #fff; background: rgba(255, 255, 255, .05); text-decoration: none; }
.lg-nav a.active { color: #fff; background: rgba(43, 143, 255, .15); }

.lg-wrap { max-width: 860px; margin: 0 auto; padding: 32px 18px 70px; }
.lg-title { font-size: 28px; font-weight: 800; margin: 6px 0 4px; }
.lg-sub { color: var(--muted); font-size: 14px; margin: 0 0 26px; }
.lg-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 26px 26px 28px; }
.lg-card h2 { font-size: 18px; font-weight: 800; margin: 26px 0 10px; color: #fff; }
.lg-card h2:first-child { margin-top: 0; }
.lg-card p, .lg-card li { color: #cfd6e4; font-size: 14.5px; }
.lg-card ul { padding-left: 20px; margin: 8px 0; }
.lg-card li { margin: 6px 0; }
.lg-card strong { color: #fff; }
.lg-note { background: rgba(43, 143, 255, .08); border: 1px solid rgba(43, 143, 255, .25); border-radius: 12px; padding: 14px 16px; font-size: 13.5px; color: #bcd4ff; margin: 18px 0; }

.lg-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 8px; }
.lg-contact-item { background: #0a0f17; border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.lg-contact-item i { color: var(--accent); font-size: 18px; }
.lg-contact-item .l { color: var(--muted); font-size: 12px; margin: 8px 0 3px; text-transform: uppercase; letter-spacing: .5px; }
.lg-contact-item .v { font-weight: 700; font-size: 15px; word-break: break-word; }
.lg-wa { display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: #06240f; font-weight: 800; padding: 12px 18px; border-radius: 12px; margin-top: 18px; }
.lg-wa:hover { filter: brightness(1.05); text-decoration: none; }

/* Botón Libro de Reclamaciones (INDECOPI) */
.lg-libro-btn { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #0a2a5e; font-weight: 800; padding: 10px 16px; border-radius: 10px; border: 2px solid #0a2a5e; }
.lg-libro-btn:hover { text-decoration: none; filter: brightness(.97); }
.lg-libro-btn .book { font-size: 20px; }

/* Formulario (Libro de Reclamaciones) */
.lg-form { display: flex; flex-direction: column; gap: 18px; }
.lg-fieldset { border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.lg-fieldset legend { padding: 0 8px; font-weight: 800; font-size: 14px; color: var(--accent); }
.lg-row { display: flex; gap: 14px; flex-wrap: wrap; }
.lg-fld { flex: 1; min-width: 170px; display: flex; flex-direction: column; }
.lg-fld.full { flex-basis: 100%; }
.lg-fld label { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.lg-fld input, .lg-fld select, .lg-fld textarea { background: #0a0f17; border: 1px solid #27303f; color: #fff; border-radius: 10px; padding: 11px 13px; font-size: 14px; font-family: inherit; }
.lg-fld textarea { min-height: 90px; resize: vertical; }
.lg-fld input:focus, .lg-fld select:focus, .lg-fld textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(43, 143, 255, .2); }
.lg-radio { display: flex; gap: 20px; margin-top: 4px; }
.lg-radio label { display: flex; align-items: center; gap: 7px; color: var(--text); font-size: 14px; cursor: pointer; }
.lg-hp { position: absolute; left: -9999px; }
.lg-submit { background: var(--accent); color: #fff; border: none; border-radius: 12px; padding: 14px; font-size: 15px; font-weight: 800; cursor: pointer; }
.lg-submit:hover { filter: brightness(1.1); }
.lg-submit:disabled { opacity: .6; cursor: not-allowed; }
.lg-ok { display: none; background: rgba(53, 224, 126, .1); border: 1px solid rgba(53, 224, 126, .35); border-radius: 14px; padding: 22px; text-align: center; }
.lg-ok h3 { margin: 0 0 8px; color: var(--ok); }
.lg-ok .hoja { font-family: 'JetBrains Mono', monospace; font-size: 24px; font-weight: 800; color: #fff; margin: 10px 0; letter-spacing: 1px; }
.lg-err { color: var(--danger); font-size: 13.5px; min-height: 18px; }

.lg-footer { border-top: 1px solid var(--border); padding: 24px 18px; text-align: center; color: var(--muted); font-size: 13px; }
.lg-footer .links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.lg-footer .links a { color: var(--muted); }
.lg-footer .links a:hover { color: #fff; }

@media (max-width: 560px) {
    .lg-title { font-size: 23px; }
    .lg-card { padding: 20px; }
    .lg-nav { width: 100%; justify-content: flex-start; overflow-x: auto; }
}

/* Botón de tema (lo pone tema.js al final del menú) */
.theme-toggle { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: transparent; color: var(--muted); cursor: pointer; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; margin-left: 4px; }
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }

/* ===================== MODO CLARO (páginas legales, contacto, libro de reclamaciones) ===================== */
html[data-theme="light"] { --bg: #eef1f7; --card: #ffffff; --border: rgba(14, 24, 48, .11); --accent: #1f63e6; --text: #141b2b; --muted: #5a6880; --ok: #0a8f47; --warn: #9a6100; --danger: #c81e45; }
html[data-theme="light"] body { background: radial-gradient(circle at top right, #e2ebfb 0%, #eef1f7 55%); color: var(--text); }
html[data-theme="light"] .lg-header { background: rgba(255, 255, 255, .9); }
html[data-theme="light"] .lg-nav a:hover { color: #141b2b; background: rgba(14, 24, 48, .05); }
html[data-theme="light"] .lg-nav a.active { color: #141b2b; background: rgba(43, 111, 255, .12); }
html[data-theme="light"] .lg-card { box-shadow: 0 10px 30px rgba(20, 40, 80, .06); }
html[data-theme="light"] .lg-card h2, html[data-theme="light"] .lg-card strong, html[data-theme="light"] .lg-ok .hoja { color: #141b2b; }
html[data-theme="light"] .lg-card p, html[data-theme="light"] .lg-card li { color: #3c4658; }
html[data-theme="light"] .lg-note { color: #1d3f7a; background: rgba(43, 111, 255, .07); }
html[data-theme="light"] .lg-contact-item { background: #f6f8fc; }
html[data-theme="light"] .lg-fld input, html[data-theme="light"] .lg-fld select, html[data-theme="light"] .lg-fld textarea { background: #fff; border-color: #d0d7e6; color: #141b2b; }
html[data-theme="light"] .lg-footer .links a:hover { color: #141b2b; }
html[data-theme="light"] .cyg-mini-social a { background: rgba(14, 24, 48, .06); }

