:root{
  --rd-red:#e51b23;
  --rd-red-dark:#bd141b;
  --rd-ink:#171719;
  --rd-text:#303036;
  --rd-muted:#66666f;
  --rd-border:#e8e8ec;
  --rd-container:1180px;
}

html{scroll-behavior:smooth}
body{font-family:'Inter','Segoe UI',system-ui,-apple-system,sans-serif!important;color:var(--rd-text)}
h1,h2,h3,h4,h5,h6,.logo,.btn{font-family:'Manrope','Inter',sans-serif}

/* Cabecera única: estas reglas prevalecen sobre las copias antiguas que
   todavía conserva cada página y evitan que el menú cambie de posición. */
body>header{height:72px;background:rgba(255,255,255,.98);border-bottom:1px solid var(--rd-border)}
body>header .wrap.nav{width:100%;max-width:var(--rd-container)!important;height:72px!important;margin:0 auto!important;padding:0 22px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:30px!important}
body>header .logo{display:flex!important;align-items:center!important;flex:0 0 auto!important;font-family:'Manrope','Inter',sans-serif!important;font-size:1.2rem!important;font-weight:800!important;line-height:1!important;letter-spacing:-.025em!important}
body>header .logo img{display:block!important;width:auto!important;max-width:190px!important;max-height:46px!important;object-fit:contain!important}
body>header .nav-links{display:flex;align-items:center;justify-content:flex-end;gap:25px!important;margin-left:auto}
body>header .nav-links a{font-family:'Inter',sans-serif!important;color:#303036;font-size:.9rem!important;font-weight:600!important;line-height:1.2!important;white-space:nowrap}
body>header .nav-links a:hover,body>header .nav-links a.activo{color:var(--rd-red)!important}
body>header .nav-links .btn{background:var(--rd-red)!important;color:#fff!important;padding:12px 22px!important;border-radius:999px!important;box-shadow:0 8px 20px rgba(229,27,35,.22)!important}
body>header .nav-links .btn:hover{background:var(--rd-red-dark)!important;color:#fff!important}
body>header .menu-btn{display:none}

@media(max-width:980px){
  body>header .nav-links{gap:16px!important}
  body>header .nav-links a{font-size:.82rem!important}
  body>header .nav-links .btn{padding:11px 16px!important}
}

@media(max-width:860px){
  body>header .nav-links{display:none}
  body>header .menu-btn{display:block!important;margin-left:auto}
  body>header .nav-links[style]{z-index:999;align-items:stretch!important;margin:0!important;box-shadow:0 16px 30px rgba(0,0,0,.1)}
  body>header .nav-links[style] a{padding:8px 4px}
  body>header .nav-links[style] .btn{text-align:center;padding:12px 18px!important}
}
