/* ===========================
   RappoDigi – Legal layout (FINAL)
=========================== */

html, body{
  margin:0;
  padding:0;
}

body.rd-legal{
  background:#0e0f12 !important;
  color:#d6d9de !important;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  line-height:1.7 !important;
  overflow-y:auto;
}

/* HEADER BLANCO EN LEGALES */
body.rd-legal header{
  position:sticky !important;
  top:0;
  z-index:300;
  background:#ffffff !important;
  border-bottom:1px solid rgba(0,0,0,.08) !important;
  backdrop-filter:none !important;
}

/* NAV Y LINKS VISIBLES SIEMPRE */
body.rd-legal header nav,
body.rd-legal header nav *{
  filter:none !important;
  mix-blend-mode:normal !important;
}

body.rd-legal header nav a,
body.rd-legal header nav .brand,
body.rd-legal header nav .brand span{
  color:#111111 !important;
  opacity:1 !important;
  visibility:visible !important;
  text-decoration:none !important;
}

body.rd-legal header nav a:hover{
  color:#000000 !important;
}

/* HAMBURGUESA NEGRA EN LEGALES */
body.rd-legal .nav-toggle-icon,
body.rd-legal .nav-toggle-icon::before,
body.rd-legal .nav-toggle-icon::after{
  background:#111111 !important;
}

/* CONTENIDO LEGAL */
body.rd-legal .rd-legal-main{
  background:#0e0f12 !important;
  padding:32px 0 80px !important;
  min-height:calc(100vh - 120px);
}

body.rd-legal .rd-legal-wrap{
  max-width:920px;
  margin:0 auto;
  padding:56px 40px 72px;
  background:rgba(255,255,255,.03) !important;
  border:1px solid rgba(255,255,255,.08) !important;
  border-radius:16px;
  box-shadow:none !important;
}

/* TIPOGRAFÍA */
body.rd-legal h1{
  color:#ffffff !important;
  font-size:32px;
  font-weight:700;
  margin:0 0 24px;
  letter-spacing:.3px;
}

body.rd-legal h2{
  color:#ffffff !important;
  font-size:18px;
  font-weight:600;
  margin:44px 0 14px;
  letter-spacing:.2px;
}

body.rd-legal p,
body.rd-legal li{
  color:#cfd3da !important;
  font-size:15px;
}

body.rd-legal p{ margin:0 0 14px; }

body.rd-legal ul{
  padding-left:20px;
  margin:0 0 14px;
}

body.rd-legal strong{
  color:#ffffff !important;
  font-weight:600;
}

/* LINKS DEL CONTENIDO */
body.rd-legal .rd-legal-main a{
  color:#8a7cff !important;
  text-decoration:none;
  transition:color .2s ease;
}

body.rd-legal .rd-legal-main a:hover{
  color:#ffffff !important;
}

/* RESPONSIVE */
@media (max-width:720px){
  body.rd-legal .rd-legal-wrap{
    padding:40px 22px 56px;
    border-radius:12px;
  }
  body.rd-legal h1{ font-size:26px; }
}

/* FOOTER */
.rd-footer{
  width:100%;
  background:#0e0f12;
  border-top:1px solid rgba(255,255,255,.08);
  color:#bfc3c9;
  font-size:13px;
}

.rd-footer-inner{
  max-width:1200px;
  margin:0 auto;
  padding:28px 24px 22px;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.rd-footer-brand{
  display:flex;
  flex-direction:column;
  gap:2px;
  letter-spacing:.3px;
}

.rd-footer-brand strong{
  color:#ffffff;
  font-weight:700;
}

.rd-footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
}

.rd-footer-links a{
  color:#bfc3c9;
  text-decoration:none;
  transition:color .2s ease;
}

.rd-footer-links a:hover{
  color:#ffffff;
}

.rd-footer-copy{
  color:#7e838a;
  font-size:12px;
}

.rd-footer-seal img,
.rd-footer-seal iframe{
  max-height:32px;
}

/* ENLACES FOOTER EN LEGALES */
body.rd-legal .rd-footer a,
body.rd-legal .rd-footer a:link,
body.rd-legal .rd-footer a:visited,
body.rd-legal .rd-footer a:active{
  color:#bfc3c9 !important;
  text-decoration:none;
}

body.rd-legal .rd-footer a:hover{
  color:#ffffff !important;
}
